⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 includeaccountfields.jsp

📁 JiveJdon 3.0不只是一个论坛程序
💻 JSP
字号:
<%--
<%@taglib uri="struts-bean" prefix="bean"%>
<%@taglib uri="struts-logic" prefix="logic"%>
<%@taglib uri="struts-html" prefix="html"%>
--%>
<%@ page contentType="text/html; charset=UTF-8" %>
<script>
<!--

function Juge(theForm)
{
   var myRegExp = /\w+\@[.\w]+/;
   if (!myRegExp.test(theForm.email.value)) {
		alert("请输入正确的Email");
		theForm.email.focus();
		return false;
  }
   myRegExp = /[A-z0-9]/;
   if (!myRegExp.test(theForm.username.value)) {
		alert("用户名必须为英文字符");
		theForm.username.focus();
		return false;
  }

 if (theForm.username.value == "")
  {
     alert("请输入用户名!");
     theForm.username.focus();
     return (false);
  }
  if (theForm.password.value != theForm.password2.value)
  {
     alert("两次密码不一致!");
     theForm.password.focus();
     return (false);
  }

}

-->
</script>    


<table bgcolor="#cccccc"
 cellspacing="0" cellpadding="0" border="0" width="500" align="center">
<tr><td>
<table bgcolor="#cccccc"
 cellspacing="1" cellpadding="3" border="0" width="100%">
<tr bgcolor="#FFFFCC">
 <td>
 <font class=p3 
     color="#000000">
 <b>注册资料</b>
 </font>
 </td>
</tr>
<tr bgcolor="#ffffff">
 <td align="center">
 <table border="0" cellpadding="3" cellspacing="0"  >
                 <tr>
                     <th align="right">用户名:</th>
                     <td align="left"><html:text property="username" />
                      <span class="small2">(英文字符或数字)</span>
                     </td>
  
                </tr>
                 <tr>
                     <th align="right">密码:</th>
                     <td align="left"><input type="password" name="password" value=""/></td>
                 </tr>
                 <tr>
                     <th align="right">确认密码:</th>
                     <td align="left"><input type="password" name="password2" value=""/></td>
                 </tr>
  

                 <tr>
                     <th align="right">密码问题:</th>
                     <td align="left"><html:text property="passwdtype" /></td>
                 </tr>
                 <tr>
                     <th align="right">密码答案:</th>
                     <td align="left"><html:text property="passwdanswer" /></td>
                 </tr>
  
                <tr>
                    <th align="right">Email:
                    </th>
                    <td align="left"><html:text property="email" />
                    <html:checkbox property="emailVisible"  ><span class="small2">公开</span></html:checkbox>
                    <br>* 忘记密码通过该信箱获得
                    </td>
                 </tr>
                  <tr>
                     <th align="right">验证码:</th>
                     <td align="left">
                       <input type="text" name="registerCode" size="10" maxlength="50" >
                       <html:img page="/account/registerCodeAction.shtml" border="0" />
                    </td>
                 </tr>
  
                <tr>
                    <td align="center" colspan="2">
                      <html:submit property="submit" value="确定"/>
                      <html:reset value ="Reset"/>
                  </td>
                 </tr>
   </table>


 </td>
</tr></table>
</td></tr>
</table>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -