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

📄 register.tpl.php

📁 a short sketch about linux syntex lines.
💻 PHP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>用户注册</title>
<link href="<?php echo $this->basedir;?>templates/public/images/re.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#form1").validate({
		rules:{
			username:{
				required:true,
				maxlength:30,
				minlength:5,
				remote:'<?php echo $this->installdir;?>?mod=member&action=check'
			},
			password:{
				required:true,
				maxlength:30,
				minlength:6
			},
			passwd:{
				required:true,
				equalTo:'#password'
			},
			email:{
				required:true,
				email:true,
				remote:'<?php echo $this->installdir;?>?mod=member&action=check'
			}
		},
		success: function(label) {
			label.text('ok').addClass("success");
		},
		messages:{
			username:{
				required:'请填写5-30个字符内的用户名!',
				maxlength:'你输入的字符超过了30个字符!',
				minlength:'您输入的字符太短!请输入5-30个字符',
				remote:'用户名已经被占用,请更换!'
			},
			email:{
				remote:'邮箱地址已经被占用,请更换!'
			}
		}
	})
});
</script>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <TABLE width=500 height=478 border=0 
align=center cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
    <TBODY>
      <TR>
        <TD height="34"><IMG height=34 src="<?php echo $this->basedir;?>templates/public/images/title27.gif" 
width=183></TD>
      </TR>
      <TR>
        <TD bgColor=#99cc33 height=3></TD>
      </TR>
      <TR>
        <TD height="213"><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
            <tr>
              <td width="760" valign="top" bgcolor="#FFFFFF"><?php echo $this->body;?></td>
            </tr>
          </table></TD>
      </TR>
      <TR>
        <TD width="350" height=25 class=td3><div align="center">* 用户注册注意事项</div></TD>
      </TR>
      <TR>
        <TD width="350" height=16 bgColor=#ff9900><div align="left"></div></TD>
      </TR>
      <TR>
        <TD height="187" class=td9><p>&nbsp;&nbsp;1、请认真填写并妥善保管以上资料,否则无法进行用户名和密码查询;<BR>
            &nbsp;&nbsp;2、帐号一经注册成功之后不可以随意更改,帐号不能包含中文字符;<BR>
            &nbsp;&nbsp;3、用户名称不能含有特殊字符以及不健康字符等;<BR>
            &nbsp;&nbsp;4、登陆密码由大小写英文字母、阿拉伯数字等组成;<BR>
            &nbsp;&nbsp;5、用户名和登陆密码不能相同,其长度均不得超过20位;<BR>
            &nbsp;&nbsp;6、如出现“<SPAN 
class=tdrz>用户名已被占用</SPAN>”的提示,请更换注册用户名;<BR>
            &nbsp;&nbsp;7、以上要填写的注册信息均区分英文大小写。</p>
          <p>&nbsp;</p></TD>
      </TR>
    </TBODY>
  </TABLE>
</form>
</body>
</html>

⌨️ 快捷键说明

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