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

📄 reg.aspx

📁 asp.net 商业2.0论坛对理解论坛的制作很用帮助
💻 ASPX
字号:
<%@ Register TagPrefix="Forum" TagName="Bt" Src="_Bt.ascx" %>
<%@ Register TagPrefix="Forum" TagName="Top" Src="_Top.ascx" %>
<%@ Page language="c#" Codebehind="Reg.aspx.cs" AutoEventWireup="false" Inherits="Forum.Reg" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=Title%>
		</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="Forum.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body topMargin="0" leftmargin="0">
		<form id="Reg" method="post" runat="server">
			<Forum:Top Id="Top" Runat="server"></Forum:Top>
			<table width="97%" align="center" cellpadding="4" cellspacing="1">
				<tr>
					<td>
						<asp:Label id="Path" runat="server"></asp:Label>
					</td>
				</tr>
			</table>
			<asp:Table id="Table2" runat="server" HorizontalAlign="Center" Width="97%" CellPadding="4" CellSpacing="1">
				<asp:TableRow AccessKey="H">
					<asp:TableCell HorizontalAlign="Center">
						<B>服务条款和声明</B></asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell ColumnSpan="2" HorizontalAlign="left">
						<FONT color="#000000"><B>继续注册前请先阅读论坛协议</B>
							<P>欢迎您加入本站点参加交流和讨论,本站点为公共论坛,为维护网上公共秩序和社会稳定,请您自觉遵守以下条款:<BR>
								<BR>
								一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播下列信息:
								<BR>
								(一)煽动抗拒、破坏宪法和法律、行政法规实施的;<BR>
								(二)煽动颠覆国家政权,推翻社会主义制度的;<BR>
								(三)煽动分裂国家、破坏国家统一的;<BR>
								(四)煽动民族仇恨、民族歧视,破坏民族团结的;<BR>
								(五)捏造或者歪曲事实,散布谣言,扰乱社会秩序的;<BR>
								(六)宣扬封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪的;<BR>
								(七)公然侮辱他人或者捏造事实诽谤他人的,或者进行其他恶意攻击的;<BR>
								(八)损害国家机关信誉的;<BR>
								(九)其他违反宪法和法律行政法规的;<BR>
								(十)进行商业广告行为的。<BR>
								二、互相尊重,对自己的言论和行为负责。
								<BR>
							<P></P>
						</FONT>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="H">
					<asp:TableCell HorizontalAlign="Center">
<asp:button id="submitform" onclick="checkreg1_onclick" runat="server" text="我同意"></asp:button>&nbsp;&nbsp;
<asp:button id="Button2" onclick="checkreg2_onclick" runat="server" text="不同意"></asp:button>
</asp:TableCell>
				</asp:TableRow>
			</asp:Table>
			<asp:Table id="Table1" runat="server" HorizontalAlign="Center" Width="97%" CellPadding="4" CellSpacing="1" Visible="False">
				<asp:TableRow AccessKey="H">
					<asp:TableCell ColumnSpan="2" HorizontalAlign="Center" Text="用户注册"></asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Width="30%" Text="用户名称:"></asp:TableCell>
					<asp:TableCell Width="70%">
						<asp:TextBox runat="server" Columns="30" ID="UsersName"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="UsersName" ErrorMessage="请输入你的用户名称" ID="RequiredFieldValidator1"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Text="用户密码:"></asp:TableCell>
					<asp:TableCell>
						<asp:TextBox runat="server" TextMode="Password" Columns="30" ID="UsersPwd"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="UsersPwd" ErrorMessage="请输入你的用户密码" ID="Requiredfieldvalidator2"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Text="确认密码:"></asp:TableCell>
					<asp:TableCell>
						<asp:TextBox runat="server" TextMode="Password" Columns="30" ID="ConfirmPwd"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="ConfirmPwd" ErrorMessage="请确认你的用户密码" ID="Requiredfieldvalidator3"></asp:RequiredFieldValidator>
						<asp:CompareValidator runat="server" ControlToCompare="ConfirmPwd" Display="None" ControlToValidate="UsersPwd" ErrorMessage="两次输入的密码不相同" ID="CompareValidator1"></asp:CompareValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Text="提示问题:"></asp:TableCell>
					<asp:TableCell>
						<asp:TextBox runat="server" Columns="30" ID="UsersAsk"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="UsersAsk" ErrorMessage="请输入你的提示问题" ID="Requiredfieldvalidator4"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Text="问题答案:"></asp:TableCell>
					<asp:TableCell>
						<asp:TextBox runat="server" Columns="30" ID="UsersAnswer"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="UsersAnswer" ErrorMessage="请输入你的问题答案" ID="Requiredfieldvalidator5"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top" Text="电子信箱:"></asp:TableCell>
					<asp:TableCell>
						<asp:TextBox runat="server" Columns="30" ID="UsersEmail"></asp:TextBox>
						<asp:RequiredFieldValidator runat="server" Display="None" ControlToValidate="UsersEmail" ErrorMessage="请输入你的电子信箱" ID="Requiredfieldvalidator6"></asp:RequiredFieldValidator>
						<asp:RegularExpressionValidator runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="None" ControlToValidate="UsersEmail" ErrorMessage="电子信箱输入有错误" ID="RegularExpressionValidator1"></asp:RegularExpressionValidator>
					</asp:TableCell>
				</asp:TableRow>
			</asp:Table>
			<table align="center" width="97%" cellpadding="4" cellspacing="1">
				<tr>
					<td align="middle">
						<asp:Button ID="btnReg" Runat="server" Text="注 册" Visible="False"></asp:Button>
					</td>
				</tr>
			</table>
			<table align="center" width="97%" cellpadding="4" cellspacing="1">
				<tr>
					<td>
						<asp:Label ForeColor="red" ID="Info" Runat="server" EnableViewState="False"></asp:Label>
						<asp:ValidationSummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True" DisplayMode="List" EnableViewState="False"></asp:ValidationSummary>
					</td>
				</tr>
			</table>
			<FORUM:Bt id="Bt" Runat="server" EnableViewState="False"></FORUM:Bt>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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