Server IP : 108.170.25.35 / Your IP : 3.17.176.169 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 : teamspirit ( 1601) 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/teamspirit/domains/teamspiritacademy.com/public_html/admin/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Admin Panel - Login</title> <!-- Custom fonts for this template--> <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> <!-- Custom styles for this template--> <link href="css/sb-admin-2.min.css" rel="stylesheet"> </head> <style> .card.o-hidden.border-0.shadow-lg.my-5 { margin-top: 110px!important; } .bg-login-image { background-color: url(http://localhost/Processing/cms/admin/img/login.png); background-position: center; background-size: cover; /* margin: 0 0 0 -16px; */ } img.logo5 { width: 78px; } .p-5 { padding-top: 17px!important; padding-bottom: 17px!important; } .logo-s{ width: 115px; padding-bottom: 15px; } .menub{ font-size: 23px; } </style> <?php include ("connect.php"); if(isset($_POST['submit'])) { $sql = " SELECT * FROM user"; $result=mysqli_query($conn,$sql); while($row = mysqli_fetch_array($result)) { $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:gallery_category.php"); } else { echo "<script> alert('Username Or Password Incorrect')</script>"; echo "<script> window.location.assign('login.php')</script>"; } } mysqli_close($con); } ?> <body class="" style="background-color:#000;"> <div class="container"> <!-- Outer Row --> <div class="row justify-content-center"> <div class="col-xl-5 col-lg-5 col-md-5"> <div class="card o-hidden border-0 shadow-lg my-5"> <div class="card-body p-0"> <!-- Nested Row within Card Body --> <div class="row"> <div class="col-lg-12" style="background-color:#F7F7F7;"> <div class="p-5"> <div class="text-center"> <img class="logo-s" src="img/logo.png"> <h1 class="menub"></h1><h1 class="h4 text-gray-900 mb-4" style="font-weight:bold;">Admin Panel</h1> </div> <form action="" class="user" method="post"> <div class="form-group"> <input type="text" class="form-control form-control-user" id="exampleInputEmail" aria-describedby="emailHelp" placeholder="Username" name="username"> </div> <div class="form-group"> <input type="password" class="form-control form-control-user" id="exampleInputPassword" placeholder="Password" name="pass"> </div> <input type="submit" class="btn btn-primary btn-user btn-block" value="Login" name="submit"> </form> <hr> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Bootstrap core JavaScript--> <script src="vendor/jquery/jquery.min.js"></script> <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- Core plugin JavaScript--> <script src="vendor/jquery-easing/jquery.easing.min.js"></script> <!-- Custom scripts for all pages--> <script src="js/sb-admin-2.min.js"></script> </body> </html>