Guest User

index.php

a guest
Dec 11th, 2019
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>PENDAFTARAN PELAJAR</title>
  5. <link rel="stylesheet" type="text/css" href="style.css">
  6. </head>
  7. <body>
  8.  
  9. <?php
  10. if(isset($_GET['pesan'])){
  11. if($_GET['pesan']=="gagal"){
  12. echo "<div class='alert'>Username dan Password tidak sesuai !</div>";
  13. }
  14. }
  15. ?>
  16.  
  17. <div class="kotak_login">
  18. <p class="tulisan_login">PLEASE LOG IN</p>
  19. <form action="cek_login.php" method="post">
  20. <label>Username</label>
  21. <input type="text" name="username" class="form_login" placeholder="Username .." required="required">
  22.  
  23. <label>Password</label>
  24. <input type="password" name="password" class="form_login" placeholder="Password .." required="required">
  25.  
  26. <input type="submit" class="tombol_login" value="LOGIN">
  27.  
  28. <br/>
  29. <br/>
  30. <p>
  31. Not yet a member? <a href="register.php">Sign up</a>
  32. </p>
  33. </form>
  34.  
  35. </div>
  36.  
  37.  
  38. </body>
  39. </html>
RAW Paste Data