Guest User

Untitled

a guest
Oct 15th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. <html>
  2. <head>
  3. <link href="css/logincss.css" rel="stylesheet" type="text/css"/>
  4. <title>Push Information Akademik D3 Unggulan FTI Universitas Budi Luhur</title>
  5. <script language="javascript">
  6. function submitCheckForm(){
  7. var username = document.getElementById('username').value;
  8. var pass = document.getElementById('pass').value;
  9. if(username == "" || pass == ""){
  10. alert("Username dan Password harus diisi");
  11. return false;
  12. }else{
  13. document.form_login.action ="checklogin.php";
  14. return true;
  15. }
  16. }
  17. </script>
  18. </head>
  19. <body>
  20. <div id="login">
  21. <img src="image/logo_login.jpg"/>
  22. <span class="hide"/>
  23. <br/><br/>
  24. <form name="form_login" id="form_login" onSubmit="return submitCheckForm();" method="post">
  25. <p>
  26. <label>
  27. Username<br/>
  28. <input type="text" id="username" name="username" size="20" class="input"/>
  29. </label>
  30. </p>
  31. <p>
  32. <label>
  33. Password<br/>
  34. <input type="password" id="pass" name="pass" size="50" class="input"/>
  35. </label>
  36. </p>
  37. <p align="right">
  38. <input type="submit" align="right" value="Log In" class="button-submit"/>
  39. </p>
  40. </form>
  41. </div>
  42. </body>
  43. </html>
Add Comment
Please, Sign In to add comment