ok
Direktori : /home/keydecors/www/admin/pages/ |
Current File : /home/keydecors/www/admin/pages/index.php |
<?php session_start(); if(isset($_SESSION['login'])) { header("Location:index.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"/> </form> </div> </body> </html>