Server IP : 162.240.98.243 / Your IP : 3.133.157.142 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/Pharmacy/pharma/ |
Upload File : |
<?php session_start(); include(".../header.php"); require_once('../../LoginManager.php'); require_once('../../DBManager.php'); if(isset($_SESSION[userid])) { echo "<script>window.location='price.php?adminid=$_POST[adminid]';</script>"; } if(isset($_POST[submit])) { { $result=LoginManager::pharmaLogin("$_POST[uname]","$_POST[password]"); if( $result) echo "<script>window.location='price.php?adminid=$_POST[adminid]';</script>"; else echo "<script>alert('Invalid login id and password entered..'); </script>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Dashboard"> <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina"> <title>Clinic | Login</title> <link href="../assets/css/bootstrap.css" rel="stylesheet"> <link href="../assets/font-awesome/css/font-awesome.css" rel="stylesheet" /> <link href="../assets/css/style.css" rel="stylesheet"> <link href="../assets/css/style-responsive.css" rel="stylesheet"> <link rel="stylesheet" href="./styles.css"> <link rel="manifest" href="./manifest.webmanifest"> <link rel="assetlinks" href="assetlinks.json"> </head> <body> <div id="login-page"> <div class="container"> <form class="form-login" name="submit" action="" method="post"> <h2 class="form-login-heading">sign in now</h2> <p style="color:#F00; padding-top:20px;" align="center"> <?php echo $_SESSION['action1'];?><?php echo $_SESSION['action1']="";?></p> <div class="login-wrap"> <input type="text" id="uname" name="uname" class="form-control" placeholder="User ID" autofocus> <br> <input type="password" name="password" class="form-control" placeholder="Password"><br > <input name="submit" id="submit" class="btn btn-theme btn-block" type="submit"> </div> </form> </div> </div> <script src="../assets/js/jquery.js"></script> <script src="../assets/js/bootstrap.min.js"></script> <script type="text/javascript" src="../assets/js/jquery.backstretch.min.js"></script> <script> $.backstretch("../assets/img/login-bg.jpg", {speed: 500}); <script src="./index.js" type="module"> </script> </body> </html>