korsygfhrfggfhfgfffgffg6655665dtggggggzangaiide
Elehhjhjjkjkfpf6df56fd65ffff
/
home2
/
sunpublicschools
/
public_html
/
SunShine_AdMin
/
Upload FileeE
HOME
<?php session_start(); ob_start(); include 'config.php'; $_SESSION['secure'] = rand(1000,9999); ?> <?php if(isset($_POST['submit'])) { $username = $_POST['username']; $password= md5($_POST['password']); $query = "SELECT * from webadmin WHERE username = '$username' and password = '$password'"; $result = mysqli_query($connect,$query); if(mysqli_num_rows($result) > 0) { $_SESSION['username'] = $username; echo '<script type="text/javascript"> location.href="index.php"; </script>'; } } ?> <!DOCTYPE html> <html lang="en"> <head> <title>SUNSHINE PUBLIC SCHOOL</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--===============================================================================================--> <link rel="icon" type="image/png" href="lgn/images/icons/favicon.ico"/> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/bootstrap/css/bootstrap.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/fonts/font-awesome-4.7.0/css/font-awesome.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/fonts/iconic/css/material-design-iconic-font.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/animate/animate.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/css-hamburgers/hamburgers.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/animsition/css/animsition.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/select2/select2.min.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/vendor/daterangepicker/daterangepicker.css"> <!--===============================================================================================--> <link rel="stylesheet" type="text/css" href="lgn/css/util.css"> <link rel="stylesheet" type="text/css" href="lgn/css/main.css"> <!--===============================================================================================--> </head> <body> <div id="mainform"> <div class="innerdiv"> <div class="limiter"> <div class="container-login100" style="background-image: url('lgn/images/bg-01.jpg');"> <div class="wrap-login100"> <form class="login100-form validate-form" method="post" enctype="multipart/form-data"> <span class="login100-form-logo"> <img src="lgn/images/logo.png" width="114" height="71" style="margin-left:0px; width: 100%;height: 160px;"> </span> <span class="login100-form-title p-b-34 p-t-27"> Log in </span> <div class="wrap-input100 validate-input" data-validate = "Enter username"> <input class="input100" type="text" name="username" placeholder="Username"> <span class="focus-input100" data-placeholder=""></span> </div> <div class="wrap-input100 validate-input" data-validate="Enter password"> <input class="input100" type="password" name="password" placeholder="Password"> <span class="focus-input100" data-placeholder=""></span> </div> <!-- <div class="captcha" style="width:97%;border:1px solid #ccc;text-align: center;padding:3px; margin-bottom: 13px;">--> <!-- <img src="process-login.php">--> <!-- </div>--> <br> <div class="wrap-input100 validate-input" data-validate="Enter password"> <p style="color:#fff;">Your Captcha Code is:</p> <input type="text" name="cap_hidden" value="<?php echo $_SESSION['secure']?>" style="width:70px;text-align: center; background: white; " disabled> <input name="cap" type="text" required class="input100" placeholder="enter captcha"> </div> <div class="container-login100-form-btn"> <input type="submit" name="submit" class="login100-form-btn" value="Login" > </div> <div class="text-center p-t-90"> <a class="txt1" href=""> </a> </div> </form> </div> </div> </div> </div> </div> <div id="dropDownSelect1"></div> <!--===============================================================================================--> <script src="lgn/vendor/jquery/jquery-3.2.1.min.js"></script> <!--===============================================================================================--> <script src="lgn/vendor/animsition/js/animsition.min.js"></script> <!--===============================================================================================--> <script src="lgn/vendor/bootstrap/js/popper.js"></script> <script src="lgn/vendor/bootstrap/js/bootstrap.min.js"></script> <!--===============================================================================================--> <script src="lgn/vendor/select2/select2.min.js"></script> <!--===============================================================================================--> <script src="lgn/vendor/daterangepicker/moment.min.js"></script> <script src="lgn/vendor/daterangepicker/daterangepicker.js"></script> <!--===============================================================================================--> <script src="lgn/vendor/countdowntime/countdowntime.js"></script> <!--===============================================================================================--> <script src="lgn/js/main.js"></script> </body> </html>