Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <link href="css/logincss.css" rel="stylesheet" type="text/css"/>
- <title>Push Information Akademik D3 Unggulan FTI Universitas Budi Luhur</title>
- <script language="javascript">
- function submitCheckForm(){
- var username = document.getElementById('username').value;
- var pass = document.getElementById('pass').value;
- if(username == "" || pass == ""){
- alert("Username dan Password harus diisi");
- return false;
- }else{
- document.form_login.action ="checklogin.php";
- return true;
- }
- }
- </script>
- </head>
- <body>
- <div id="login">
- <img src="image/logo_login.jpg"/>
- <span class="hide"/>
- <br/><br/>
- <form name="form_login" id="form_login" onSubmit="return submitCheckForm();" method="post">
- <p>
- <label>
- Username<br/>
- <input type="text" id="username" name="username" size="20" class="input"/>
- </label>
- </p>
- <p>
- <label>
- Password<br/>
- <input type="password" id="pass" name="pass" size="50" class="input"/>
- </label>
- </p>
- <p align="right">
- <input type="submit" align="right" value="Log In" class="button-submit"/>
- </p>
- </form>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment