Server IP : 108.170.25.35 / Your IP : 3.15.168.194 Web Server : Apache/2 System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64 User : studio ( 1434) PHP Version : 8.1.28 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/studio/domains/studio7eleven.com/private_html/admin/ |
Upload File : |
<!DOCTYPE html> <html lang="en" class="h-100"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Focus - Bootstrap Admin Dashboard </title> <!-- Favicon icon --> <link rel="icon" type="image/png" sizes="16x16" href="./images/favicon.png"> <link href="./css/style.css" rel="stylesheet"> <link href="./css/ownstyle.css" rel="stylesheet"> </head> <?php include ("conn.php"); if(isset($_POST['submit'])) { $sql = mysqli_query($conn, "SELECT * FROM user"); while($row = mysqli_fetch_array($sql)) { $name=$row['username']; $pass=$row['password']; $name1=$_POST["username"]; $pass1=$_POST["pass"]; $pass2=md5($pass1); if($name==$name1 & $pass==$pass2) { session_start(); $_SESSION["username"] = $name1; header("Location:appointments.php"); } else { echo "<script> alert('Username Or Password Incorrect')</script>"; echo "<script> window.location.assign('login.php')</script>"; } } mysqli_close($con); } ?> <body class="h-100"> <div class="authincation h-100"> <div class="container-fluid h-100"> <div class="row justify-content-center h-100 align-items-center"> <div class="col-md-6"> <div class="authincation-content lg-bg"> <div class="row no-gutters"> <div class="col-xl-12"> <div class="auth-form"> <h4 class="text-center mb-4 nameclr"><img class="ad-img" src="./img/logo.png" alt="">Studio 7 Eleven</h4> <form action="" method="post" enctype="multipart/form-data"> <div class="form-group"> <label><strong class="clr">Username</strong></label> <input type="text" name="username"class="form-control" placeholder="Enter the user name"> </div> <div class="form-group"> <label><strong class="clr">Password</strong></label> <input type="password" name="pass"class="form-control" placeholder=" Enter the password"> </div> <div class="form-row d-flex justify-content-between mt-4 mb-2"> <div class="form-group"> <div class="form-check ml-2"> <input class="form-check-input" type="checkbox" id="basic_checkbox_1"> <label class="form-check-label" for="basic_checkbox_1">Remember me</label> </div> </div> <div class="form-group"> <a href="page-forgot-password.html">Forgot Password?</a> </div> </div> <div class="text-center"> <button href="appointment.php" name="submit" value="Login" type="submit" class="btn btn-primary btn-block">Login</button> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> <!--********************************** Scripts ***********************************--> <!-- Required vendors --> <script src="./vendor/global/global.min.js"></script> <script src="./js/quixnav-init.js"></script> <script src="./js/custom.min.js"></script> </body> </html>