?? regesit.php
字號:
<?php
ob_start();
session_start();
//session_register("info");
//session_register("username");
//session_register("infom");
//$_session[info]="請輸入注冊用戶名!"
?>
<!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=gb2312" />
<title>新用戶注冊</title>
<style type="text/css">
a {text-decoration:none}
a:hover {color: red;text-decoration:none}
<!--
.STYLE1 {
font-family: "新宋體";
font-size: 16mm;
color:#FF9966;;
}
.STYLE3 {
color: #FFCC99;
font-weight: bold;
}
.STYLE4 {color: #FF9933}
.STYLE5 {color: #FF6600}
-->
</style>
</head>
<body>
<div align="center"><img src="image/houtaihead.gif" longdesc="image/houtaihead.gif" /></div>
<h1 align="center">
<span class="STYLE1">
添加用戶</span></span></h1>
<div align="center">
<form action="reg.php" method="post" name="form1">
<div align="center">
<table width="700" bordercolor="#cccccc" border="1" style="border-collapse:collapse" cellpadding="0" cellspacing="0">
<tr>
<td width="178" height="80" align="right">用戶名:</td>
<td width="226" height="80" align="center"><input name="text1" type="text" size="20" maxlength="20" value="<?php echo $_SESSION["username"]; ?>">
<br>
<font size="-1" color="red">
<?php
echo $_SESSION["info"];
$_SESSION["info"]="";
$_SESSION["username"]="";
?>
</font>
<br>
<input name="test" type="submit" onClick="action='namereg.php'" value="用戶名 是否被占用"> </td>
<td width="288" height="80" align="left" bgcolor="#FFFFFF"><font size="-1"> 登錄名:4-16個字符(包括4、16)或2-8個漢字, 請用英文小寫、漢字、數字、下劃線,不能全部是數字,下劃線不能在末尾。</font></td>
</tr>
<tr>
<td height="40" align="right">密碼:</td>
<td width="226" height="40" align="center"><input name="text2" type="password" size="20" maxlength="20" /></td>
<td rowspan="2"> <font size="-1">密碼為6—16位(包括6、16),限用英文、數字、半角“.”、“+”、“-”、“?”和下劃線,區分大小寫。</font></td>
</tr>
<tr>
<td height="40" align="right">確認密碼:</td>
<td width="226" height="40" align="center"><input name="text3" type="password" size="20" maxlength="20" /></td>
</tr>
<tr>
<td height="40" align="right">E-mail:</td>
<td width="226" height="40" align="center"><input name="text4" type="text" size="20" maxlength="20" /></td> <td height="40"><font size="-1"><font size="-1">請填寫正確的E-mail地址。</td>
</tr>
<tr>
<td height="40" align="right">密碼提示問題:</td>
<td width="226" height="40" align="center"><input name="text5" type="text" size="20" maxlength="20" /></td> <td rowspan="2" align="left"> <font size="-1">查詢問題:4-32個字母(支持大小寫)、數字、空格(空格不能在首尾)或2-16個漢字(包括16個)</font><br> <font size="-1">查詢答案:6個字母、數字、空格(空格不能在首尾)或3個漢字以上(包括6個)。</font>
</td>
</tr>
<tr>
<td height="40" align="right">密碼提示答案:</td>
<td width="226" height="40" align="center"><input name="text6" type="text" size="20" maxlength="20" /></td>
</tr>
</table>
</div>
<br>
<font size="-1" color="red">
<?php
echo $_SESSION['infom'];
$_SESSION['infom']="";
?>
</font>
<br>
<br>
<div align="center">
<input name="button12" type="submit" value="提交" />
<input name="button1" type="reset" value="重置">
</div>
</form>
<table align="center">
<tr><td bgcolor="#FFCC99"><div align="center"><font color="blue" size="-1"><a href="useradmin.php">返 回</a></font></div></td></tr></table>
<span class="STYLE4">
<?php include "./end.php"; ?>
</span>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -