Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <title>Router</title>
- <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <meta http-equiv=Content-Type content="text/html; charset=UTF-8">
- <link rel="stylesheet" href="reset.css">
- <link rel="stylesheet" href="base.css">
- <link rel="stylesheet" href="style.css">
- <script language=javascript>
- function onlogin() {
- if(document.test.username.value.length <= 0) {
- alert("Пожалуйста, введите имя пользователя!");
- document.test.username.focus();
- return false;
- }
- if(document.test.password.value.length <= 0) {
- alert("Пожалуйста, введите пароль!");
- document.test.password.focus();
- return false;
- }
- return true;
- }
- function frmLoad() {
- document.test.username.focus();
- }
- </script>
- </head>
- <body onload=frmLoad() id="login_body">
- <form action="login.cgi" method=POST name="test" autocomplete="off" >
- <div class="loginBox">
- <div class="login_left_bg"></div>
- <div class="loginCtr">
- <h2>Авторизация</h2>
- <table>
- <tr>
- <td>Имя пользователя:</td>
- <td><input type="text" id="username" name="username" maxlength="64"></td>
- </tr>
- <tr>
- <td>Пароль:</td>
- <td><input name="password" id="password" type="password" maxlength="64"></td>
- </tr>
- </table>
- <div class="login_btn">
- <input id="loginBtn" onclick="return onlogin()" type="submit" value="Войти" class="link_bg">
- <input id="rewBtn" type="reset" value="Сбросить" class="link_bg" autocomplete="off" >
- <input type="hidden" name="submit.htm?login.htm" value="Send">
- </div>
- </div>
- <div class="login_right_bg"></div>
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement