D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ipuco
/
public_html
/
superadmin
/
Filename :
index.php
back
Copy
<?php ob_start(); session_start(); include('include/connection.php'); if(isset($_POST['submit'])) { $emailid=$_REQUEST['emailid']; $password=$_REQUEST['password']; $password1 = md5($password); $vlogin=mysqli_query($conn,"select * from admin where emailid='$emailid' and password='$password1' and status='1' "); $data=mysqli_num_rows($vlogin); $row=mysqli_fetch_array($vlogin); if($data==1) { $_SESSION['emailid']=$row['emailid']; $_SESSION['id']=$row['id']; //echo '<div class="alert alert-danger">Goto Dashboard!</div>'; header('location: dashboard.php'); ?> <?php } else { echo '<div class="alert alert-danger">Login Email Id Or Password Dont Match Plz Try again..!</div>'; } } ?> <!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,user-scalable=0,minimal-ui"> <title>Super Admin Panel</title> <meta content="Admin Dashboard" name="description"> <meta content="Themesbrand" name="author"> <link rel="shortcut icon" href="assets/images/favicon.ico"> <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="assets/css/metismenu.min.css" rel="stylesheet" type="text/css"> <link href="assets/css/icons.css" rel="stylesheet" type="text/css"> <link href="assets/css/style.css" rel="stylesheet" type="text/css"> </head> <body> <div class="home-btn d-none d-sm-block"><a href="index.php" class="text-white"><i class="fas fa-home h2"></i></a></div> <!-- Begin page --> <div class="accountbg"></div> <div class="wrapper-page account-page-full"> <div class="card"> <div class="card-body"> <div class="text-center"> <a href="index.php" class="logo"><img src="assets/images/logo-dark.png" height="35" alt="logo"></a> </div> <div class="p-3"> <h4 class="font-18 m-b-5 text-center">Welcome IPU.CO.IN - Admin Panel !</h4> <p class="text-muted text-center">Sign in to continue to Admin Panel.</p> <form class="form-horizontal m-t-30" action="#" method="post"> <div class="form-group"> <label for="username">Email Id</label> <input type="text" class="form-control" name="emailid" placeholder="Enter Email Id" required /> </div> <div class="form-group"> <label for="userpassword">Password</label> <input type="password" class="form-control" name="password" placeholder="Enter password" required /> </div> <div class="form-group row m-t-20"> <div class="col-sm-6"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="customControlInline"> <label class="custom-control-label" for="customControlInline">Remember me</label> </div> </div> <div class="col-sm-6 text-right"> <button class="btn btn-primary w-md waves-effect waves-light" type="submit" name="submit"> Log In</button> </div> </div> <div class="form-group m-t-10 mb-0 row"> </div> </form> </div> </div> </div> <div class="m-t-40 text-center"> <p>© 2023 IPU.CO.IN Crafted with <i class="mdi mdi-heart text-danger"></i> by K2 Digital Marketing Agency</p> </div> </div> <!-- end wrapper-page --> <!-- jQuery --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/bootstrap.bundle.min.js"></script> <script src="assets/js/metisMenu.min.js"></script> <script src="assets/js/jquery.slimscroll.js"></script> <script src="assets/js/waves.min.js"></script> <!-- App js --> <script src="assets/js/app.js"></script> </body> </html>