📄 register.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>Register</title><script language="javascript">function CheckForm(pass1,pass2,email){if (document.form.user.value == ""){alert("Enter a username,please!");return false;} if (pass1 == ""){alert("Enter a password,please!")return false;}if (pass1 != pass2){alert("Password is not same,Try again!")return false;}invalid = "";if(!email)invalid ="Please enter your E-mail Address!";else{if (email.indexOf("@")==-1||(email.indexOf(".")==-1))invalid +="Your E-mail is incorrect!It must include '@' and '.'!";}if(invalid==""){return true;} else{alert("Some error in your E-mail:"+invalid);return false;}}</script><style type="text/css"><!--body { background-color: #66CCFF; margin-left: 10px; margin-top: 10px; margin-right: 10px; margin-bottom: 10px;}.style7 {font-family: Tahoma}body,td,th { font-family: Tahoma;}.style8 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px;}--></style></head><body><form name="form" method="post" action="http://www.myjavaserver.com/servlet/myelf.register" onSubmit="return CheckForm(document.form.pass1.value,document.form.pass2.value,document.form.email.value)"><table width="745" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="139" scope="col"><img src="pic/logo.jpg" width="139" height="82"></th> <th width="318" class="style7" scope="col"> </th> <th width="45" scope="col"> </th> <th width="59" valign="baseline" scope="col"><span class="style7"></span></th> <th width="103" valign="baseline" scope="col"> </th> <th width="81" valign="baseline" scope="col"><span class="style7"><a href="login.htm">Login</a></span></th> </tr></table><p> </p><table width="758" height="188" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <th colspan="2" scope="col"><div align="right" class="style8"> <h2><strong>Register </strong></h2> </div></th> <th width="10" scope="col"> </th> <th width="9" scope="col"><div align="left"></div></th> <th colspan="2" scope="col"><div align="left" class="style8"> <h2><strong>Form</strong></h2> </div></th> </tr> <tr> <th height="16" colspan="3" scope="row"> </th> <td colspan="3"> </td> </tr> <tr> <th width="354" scope="row"><div align="right">User Name:</div></th> <th width="4" scope="row"> </th> <th scope="row"> </th> <td> </td> <td width="112"><input name="user" type="text" size="16"></td> <td width="269"> </td> </tr> <tr> <th scope="row"><div align="right">Password:</div></th> <th scope="row"> </th> <th scope="row"> </th> <td> </td> <td><input name="pass1" type="password" size="16"></td> <td> </td> </tr> <tr> <th scope="row"><div align="right">Retype Password: </div></th> <th scope="row"> </th> <th scope="row"> </th> <td> </td> <td><input name="pass2" type="password" size="16"></td> <td> </td> </tr> <tr> <th scope="row"><div align="right">E-mail Address: </div></th> <th rowspan="4" scope="row"> </th> <th rowspan="4" scope="row"> </th> <td rowspan="4"> </td> <td><input name="email" type="text" size="16"></td> <td rowspan="4"> </td> </tr> <tr> <th scope="row"><div align="right"> </div></th> <td><div align="center"> </div></td> </tr> <tr> <th scope="row"><div align="right"> <input name="Submit" type="submit" class="style7" value="Submit"> </div></th> <td> <div align="left"> <input name="Submit2" type="reset" class="style7" value=" Reset "> </div></td> </tr> <tr> <th scope="row"> </th> <td> </td> </tr></table><p> </p></form></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -