?? reg.aspx
字號:
<%@ Page language="c#" Codebehind="reg.aspx.cs" AutoEventWireup="false" Inherits="txl.reg" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>用戶注冊</title>
<link rel="stylesheet" href="myStyle.css" type="text/css">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="reg" method="post" runat="server">
<TABLE align="center">
<tr>
<td><asp:panel id="step1" Height="300px" Width="760px" Runat="server"><FONT face="宋體">
<TABLE style="BORDER-COLLAPSE: collapse" borderColor="#2c6ed5" cellSpacing="0" width="760" border="1">
<TR>
<TD align="middle" bgColor="#92afec"><FONT color="#000000"><B>服務條款和聲明</B> </FONT>
</TD>
</TR>
<TR>
<TD onmouseover="this.bgColor='#C4D3F6';" onmouseout="this.bgColor='#E3EBFE';" bgColor="#e3ebfe"><FONT color="#000000"><B>繼續注冊前請先閱讀本協議</B>
<P>歡迎您加入本站點參加交流和討論,本站點為公共論壇,為維護網上公共秩序和社會穩定,請您自覺遵守以下條款:<BR>
<BR>
一、不得利用本站危害國家安全、泄露國家秘密,不得侵犯國家社會集體的和公民的合法權益,不得利用本站制作、復制和傳播下列信息: <BR>
(一)煽動抗拒、破壞憲法和法律、行政法規實施的;<BR>
(二)煽動顛覆國家政權,推翻社會主義制度的;<BR>
(三)煽動分裂國家、破壞國家統一的;<BR>
(四)煽動民族仇恨、民族歧視,破壞民族團結的;<BR>
(五)捏造或者歪曲事實,散布謠言,擾亂社會秩序的;<BR>
(六)宣揚封建迷信、淫穢、色情、賭博、暴力、兇殺、恐怖、教唆犯罪的;<BR>
(七)公然侮辱他人或者捏造事實誹謗他人的,或者進行其他惡意攻擊的;<BR>
(八)損害國家機關信譽的;<BR>
(九)其他違反憲法和法律行政法規的;<BR>
(十)進行商業廣告行為的。<BR>
二、互相尊重,對自己的言論和行為負責。<BR>
三、本論壇部沒有以任何形式提供任何擔保。</P>
</FONT>
</TD>
</TR>
<TR>
<TD align="middle" bgColor="#92afec">
<asp:Button id="btnAgree" Runat="server" CssClass="button" Text="我同意"></asp:Button></TD>
</TR>
</TABLE>
</FONT>
</asp:panel><asp:panel id="step2" Width="760" Runat="server"><FONT face="宋體">
<TABLE style="BORDER-COLLAPSE: collapse" borderColor="#2c6ed5" cellSpacing="0" cellPadding="2" width="760" align="center" bgColor="#e3ebfe" border="1">
<TR>
<TD align="right" bgColor="#e3ebfe">請輸入您的登錄名:</TD>
<TD bgColor="#e3ebfe">
<asp:TextBox id="txtAccount" Runat="server" CssClass="textbox" MaxLength="25"></asp:TextBox>(**)
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="此項不能為空" ControlToValidate="txtAccount"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="請檢查輸入的格式" ControlToValidate="txtAccount" ValidationExpression="\w+([-+.]\w+)*"></asp:RegularExpressionValidator><BR>
請注意您輸入的登錄名必須是屬于(a-z),(A-Z),(0-9)中的任意字符
</TD>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">請設置登錄口令:</TD>
<TD>
<asp:TextBox id="txtUpwd" runat="server" CssClass="textbox" TextMode="Password" MaxLength="20"></asp:TextBox>(**)
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="您不能輸入空密碼" ControlToValidate="txtUpwd"></asp:RequiredFieldValidator></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">確認口令:</TD>
<TD>
<asp:TextBox id="txtUpwd2" runat="server" CssClass="textbox" TextMode="Password" MaxLength="20"></asp:TextBox>(**)
<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="請您再次輸入口令" ControlToValidate="txtUpwd" ControlToCompare="txtUpwd2"></asp:CompareValidator></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right"></TD>
<TD>
<asp:Button id="btnNext" Runat="server" CssClass="button" Text="下一步"></asp:Button>
<asp:Label id="lblStep2" Runat="server" ForeColor="red"></asp:Label>
<asp:Label id="lblPwd" Runat="server" Visible="False"></asp:Label></TD>
</TR>
</TABLE>
</FONT>
</asp:panel><asp:panel id="step3" Height="100" Width="760" Runat="server"><FONT face="宋體">
<TABLE style="BORDER-COLLAPSE: collapse" borderColor="#2c6ed5" cellSpacing="0" cellPadding="1" width="760" align="center" bgColor="#e3ebfe" border="1">
<TR>
<TD align="left" width="22%" bgColor="#92afec" colSpan="2">請輸入您的具體信息,注意標記(**)項目為必填項</TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%" bgColor="#e3ebfe">真實姓名:</TD>
<TD>
<asp:TextBox id="txtUname" runat="server" CssClass="textbox" MaxLength="28"></asp:TextBox>(**)
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入您的真實性名" ControlToValidate="txtUname"></asp:RequiredFieldValidator></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD style="HEIGHT: 12px" align="right" width="22%">性別:</TD>
<TD style="HEIGHT: 12px" vAlign="top">
<asp:RadioButtonList id="rltSex" Runat="server" BackColor="#e3ebfe" RepeatDirection="Horizontal">
<asp:ListItem Value="男" Selected="True">男</asp:ListItem>
<asp:ListItem Value="女">女</asp:ListItem>
</asp:RadioButtonList></TD>
<TR bgColor="#e3ebfe">
<TD style="HEIGHT: 17px" align="right" width="22%">生日:</TD>
<TD style="HEIGHT: 17px">
<asp:DropDownList id="ddlYear" runat="server" CssClass="textbox"></asp:DropDownList>年
<asp:DropDownList id="ddlMonth" runat="server" CssClass="textbox"></asp:DropDownList>月
<asp:DropDownList id="ddlDay" runat="server" CssClass="textbox"></asp:DropDownList>日
</TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">工作單位:</TD>
<TD>
<asp:TextBox id="txtUjob" runat="server" Width="393px" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">商務電話:</TD>
<TD>
<asp:TextBox id="txtUtel1" runat="server" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">宅電:</TD>
<TD>
<asp:TextBox id="txtUtel2" runat="server" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">移動電話:</TD>
<TD>
<asp:TextBox id="txtUtel3" runat="server" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">尋呼機:</TD>
<TD>
<asp:TextBox id="txtUpager" runat="server" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">通訊地址:</TD>
<TD>
<asp:TextBox id="txtUaddr" runat="server" Width="389px" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">郵政編碼:</TD>
<TD>
<asp:TextBox id="txtUzip" runat="server" Width="110px" CssClass="textbox"></asp:TextBox>
<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ErrorMessage="請輸入六位郵政編碼" ControlToValidate="txtUzip" ValidationExpression="\d{6}"></asp:RegularExpressionValidator></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">E_mail:</TD>
<TD>
<asp:TextBox id="txtUemail" runat="server" Width="200px" CssClass="textbox"></asp:TextBox>
<asp:RegularExpressionValidator id="RegularExpressionValidator3" runat="server" ErrorMessage="請輸入正確E_mail地址" ControlToValidate="txtUemail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">ICQ:</TD>
<TD>
<asp:TextBox id="txtUicq" runat="server" Width="120px" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR bgColor="#e3ebfe">
<TD align="right" width="22%">Oicq:</TD>
<TD>
<asp:TextBox id="txtUqq" runat="server" Width="100px" CssClass="textbox"></asp:TextBox></TD>
</TR>
<TR>
<TD align="middle" bgColor="#e3ebfe" colSpan="2">
<asp:Button id="btnOK" Runat="server" CssClass="button" Text="確認"></asp:Button></TD>
</TR>
</TABLE>
</FONT>
</asp:panel><asp:panel id="step4" Width="760" Runat="server"><SPAN id="span1" runat="server"></SPAN>
<TABLE style="BORDER-COLLAPSE: collapse" borderColor="#2c6ed5" cellSpacing="0" borderColorDark="black" cellPadding="2" width="760" align="center" bgColor="#e3ebfe" borderColorLight="white" border="0">
<TR>
<TD align="middle" width="42%" bgColor="#92afec">請再次確認您輸入的數據
</TD>
<TD align="left" bgColor="#92afec">
<asp:Button id="btnSave" Runat="server" CssClass="button" Text="確定"></asp:Button>
<asp:Button id="btnReturn" Runat="server" CssClass="button" Text="返回"></asp:Button></TD>
</TR>
<TR>
<TD colSpan="2">
<asp:Label id="lblOK" runat="server"></asp:Label></TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
</TABLE>
</form>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -