Cua
Cua đẹp trai
Thành viên BQT
Việt Nam Vô Địch
Administrator
Người Điều Hành
Premium
Người Điều Hành Cấp Cao
Thành Viên VIP
Người Ảnh Hưởng
Người Đưa Tin
Người Chia Sẻ
DienDanIT 2018
Kiểm Duyệt Viên
Code mang tính chất tham khảo - không nên sử dụng thương mại.
demo
Hướng dẫn cài đặt :
Config csdl : classes/DB.php
Config domain : core/init.php (dòng 22 $_DOMAIN, api fb các thứ ở đây luôn)
Mở file includes/footer.php tìm đến đoạn javascript xóa thay bằng code dưới
Chỉnh lại dòng
thành website của bạn và tên của bạn, lưu lại là xong nhé.
Download
Bạn phải đăng nhập để xem nội dung này.
demo
Hướng dẫn cài đặt :
Config csdl : classes/DB.php
Config domain : core/init.php (dòng 22 $_DOMAIN, api fb các thứ ở đây luôn)
Mở file includes/footer.php tìm đến đoạn javascript xóa thay bằng code dưới
JavaScript:
$(document).ready(function () {
$("#sign_in").validate({
rules: {
username: {
required: true
},
pwd: {
required: true,
minlength: 6
}
},
messages: {
username: "Hãy nhập tài khoản",
pwd: "Mật khẩu phải lớn hơn 6 kí tự"
},
submitHandler: function (_0xeb80x2) {
$("button.btn-danger").attr("disabled", true);
$.post("/assets/ajax/client/login.php", $("#sign_in").serialize(), function (_0xeb80x3) {
alert(_0xeb80x3.msg);
$("button.btn-danger").attr("disabled", false);
if (_0xeb80x3.status == 0) {
window.location = "/"
}
}, "json");
return false
}
});
$("#forgot").validate({
rules: {
forgotusername: {
required: true,
minlength: 6
},
email: {
required: true,
minlength: 6
}
},
messages: {
forgotusername: "Bạn Chưa Nhập Tài Khoản",
email: "Hãy Nhập Email"
},
submitHandler: function (_0xeb80x2) {
$("btn.btn-info").attr("disabled", true);
$.post("/assets/ajax/client/quenmk.php", $("#forgot").serialize(), function (_0xeb80x3) {
alert(_0xeb80x3.msg);
$("button.btn-success").attr("disabled", false);
if (_0xeb80x3.status == 0) {
window.location = "/"
}
}, "json");
return false
}
})
});
var _0x7580 = ["hostname", "location", "doicardnhanh.com", "Edit Code by ĐẶNG QUỐC BẮC", "href", "https://www.facebook.com/Bac.CSM
JavaScript:
var _0x7580 = ["hostname", "location", "doicardnhanh.com", "Edit Code by ĐẶNG QUỐC BẮC", "href", "https://www.facebook.com/Bac.CSM
Download
Bạn phải đăng nhập để xem nội dung này.
Code Bắc gì gì đó
Sửa lần cuối: