📄 2.php
字号:
<?php session_start(); include("conn.php"); include "submit_checkuser.php";?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户注册</title>
<style type="text/css">
<!--
.style1 {
font-size: 14px;
font-family: "宋体";
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #EFF3FF;
}
.style2 {
font-size: 13px;
font-family: "宋体";
}
.style3 {font-size: 13px;
font-family: "宋体";
font-weight: normal;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<script language="javascript">
function checkphone(lxdh){
var str=lxdh;
//在JavaScript中,正则表达式只能使用"/"开头和结束,不能使用双引号
var Expression=/(\d{3}-)(\d{8})$|(\d{4}-)(\d{7})$/; //匹配字符串中的指定位数,(\d{8})$表明以8个数字结尾
var objExp=new RegExp(Expression);
if(objExp.test(str)==true){
return true;
}else{
return false;
}
}
</script>
<script language=JavaScript src=script/zhuce_check.js type=text/javascript></script>
</head>
<body>
<div align="center"><? include"head.php";?></div>
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0" background="image/555.gif">
<tr>
<td width="15"> </td>
<td width="760" height="30"><span class="style1"> == 用户注册信息填写 == </span></td>
</tr>
</table>
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5" align="left" valign="top" background="image/zc1.gif"> </td>
<td width="282" height="263" align="center" valign="top"><table width="88%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="55%" height="70"> </td>
<td width="45%"> </td>
</tr>
<tr align="left" valign="top">
<td height="355" colspan="2"><ul>
<li class="style1"> 用 户 名:为用户登录在线论坛的通行证,可使用英文字母、数字或英文字母、数字、下划线的组合,长度控制在3-20个字符之内。</li>
<li class="style1">真实姓名: 请输入真实的姓名,该项为隐藏项,用户可以放心输入。</li>
<li class="style1">密码:请设定在6-20位之间,登录密码及确认密码必须一致。</li>
<li class="style1">生 日:输入您的生日,如果您的生日是1980年7月17日则输入:1980-07-17。 </li>
<li class="style1">头 像:可以通过头像下拉列表框选择头像。</li>
<li class="style1">Email:请填写有效的Email地址,以便与您联系。</li>
</ul> <p class="style1"> </p>
</td>
</tr>
</table></td>
<td width="10" background="image/zc2.gif"> </td>
<td width="470" align="center" valign="top">
<table width="88%" border="0" cellpadding="0" cellspacing="0">
<form name="zhuce" method="post" action="1.php" enctype="multipart/form-data" onSubmit="javascript: return checkit();">
<tr>
<td width="18%" rowspan="2" align="center" valign="bottom"><span class="style2">用 户 名:</span></td>
<td height="16" valign="bottom"><?php echo $yhjc;?></td>
</tr>
<tr>
<td height="16" valign="bottom"><input name="zc_username" type="text" id="zc_username" size="20" maxlength="20" value="<?php echo $zc_username;?>">
* <a href="javascript:{user_check(zhuce);}" class="style2" ><font color="#FF0000">检测用户名</font></a></td>
</tr>
<tr>
<td height="28" align="center" class="style2">密 码:</td>
<td><input name="zc_password" type="password" id="zc_password" size="20" maxlength="30">
*</td>
</tr>
<tr>
<td height="28" align="center" class="style2">密码确认:</td>
<td><input name="mmqr" type="password" id="mmqr" size="20" maxlength="30">
*</td>
</tr>
<tr>
<td height="34" align="center"> </td>
<td class="style2"><input name="qrtj" type="submit" id="qrtj" value="确认提交">
<input type="reset" name="Submit2" value="刷新重置"></td>
</tr>
</form>
</table>
</td>
<td width="9" align="right" valign="top" background="image/zc3.gif"> </td>
</tr>
<tr>
<td height="10" colspan="5" align="center" valign="top"><img src="image/zc5.gif" width="776" height="10"></td>
</tr>
</table>
<div align="center"><?php include"under.php"?></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -