ok
Direktori : /home/keydecors/www/admin/pages/New folder/ |
Current File : /home/keydecors/www/admin/pages/New folder/index.php |
<?php session_start(); if(isset($_SESSION['login'])) { header("Location:dashboard.php");} ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Admin Login</title> <link rel="stylesheet" href="css/loginstyle.css" media="screen" type="text/css" /> </head> <body> <div id="login"> <div id="triangle"></div> <h1>Log in</h1> <form action="login_action.php" method="post"> <?php if(isset($_GET['msg'])){ echo "<h5 style='text-align:center; color:red;'>Username Or Password Incorrect !..</h5>";}?> <input type="text" placeholder="Username" name="username"/> <input type="password" placeholder="Password" name="password"/> <input type="submit" value="Log in"/> <h4><a href="forgot.php">Forget password</a></h4> </form> </div> </body> </html>