| Server IP : 162.214.74.102 / Your IP : 216.73.217.80 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/gasch/ui/lib/ |
Upload File : |
$(document).ready(function () {
var _url = $("#_url").val();
$("#application-msg").hide();
$("#fsubmit").click(function (e) {
e.preventDefault();
$(this).removeClass("primary");
$(this).addClass("info");
$(this).val('Checking...');
$.post( _url + "admin/ajaxlogin", {
username: $('#username').val(),
password: $('#password').val()
})
.done(function (data) {
setTimeout(function () {
var btn = $("#fsubmit");
var msg = $("#application-msg");
// alert (data);
// $("#rating").html(data);
// $("#vote").fadeOut('slow');
if (data == 'ok') {
msg.hide();
btn.removeClass("primary");
btn.addClass("success");
btn.val('Login Successful! Redirecting...');
window.location = 'a.php?_route=admin/dashboard';
}
else {
msg.html(data);
msg.fadeIn("slow");
btn.removeClass("info");
btn.addClass("primary");
btn.val('Login');
}
}, 2000);
});
});
});