<%@ Register TagPrefix="TimeTracker" TagName="Banner" Src="Banner.ascx" %>
<%@ Page Language="c#" AutoEventWireup="false" Codebehind="Register.aspx.cs" Inherits="TTWebCSVS.Register" %>
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Time Tracker - User Registration</title>
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="styles.css" type="text/css" rel="stylesheet">
		<script language="javascript" src="script.js"></script>
	</HEAD>
	<body>
		<form id="Reports" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td vAlign="top" background="images/bars.gif" height="46"><timetracker:banner id="Banner1" runat="server"></timetracker:banner></td>
				</tr>
				<tr>
					<td><br>
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td width="8"><img height="8" src="images/spacer.gif" width="8"></td>
								<td vAlign="top">
									<table class="admin-tan-border" height="530" cellSpacing="0" cellPadding="0" width="100%"
										border="0">
										<tr height="20">
											<td width="14" style="HEIGHT: 30px">&nbsp;</td>
											<td style="HEIGHT: 32px"><span class="header-gray">建立新帐号 </span>
											</td>
										</tr>
										<tr vAlign="top">
											<td width="14" style="HEIGHT: 30px">&nbsp;</td>
											<td class="Normal">
												<p>电子邮件地址
													<br>
													<asp:textbox id="Email" runat="server" Width="185px" MaxLength="50" CssClass="standard-text"></asp:textbox>&nbsp;
													<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="必须填写有效地址" ControlToValidate="Email"
														Display="Dynamic" ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+"></asp:regularexpressionvalidator><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="地址不能为空" ControlToValidate="Email"></asp:requiredfieldvalidator>
												<p>显示名称
													<br>
													<asp:textbox id="DisplayName" runat="server" Width="185px" MaxLength="50" CssClass="standard-text"></asp:textbox>
												&nbsp;
												<p>密码
													<br>
													<asp:textbox id="Password" runat="server" TextMode="Password" Width="185px" MaxLength="50" CssClass="standard-text"></asp:textbox>&nbsp;
													<asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能为空" ControlToValidate="Password"></asp:requiredfieldvalidator>
												<p>确认密码
													<br>
													<asp:textbox id="ConfirmPassword" runat="server" TextMode="Password" Width="185px" MaxLength="50"
														CssClass="standard-text"></asp:textbox>&nbsp;
													<asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ErrorMessage="确认密码不能为空" ControlToValidate="ConfirmPassword"
														Display="Dynamic"></asp:requiredfieldvalidator><asp:comparevalidator id="CompareValidator1" runat="server" ErrorMessage="密码不匹配" ControlToValidate="ConfirmPassword"
														ControlToCompare="Password"></asp:comparevalidator>
												<p><asp:linkbutton class="CommandButton" id="RegisterBtn" runat="server" Text="注册并登录"></asp:linkbutton><br>
													<br>
												<p><asp:label id="Message" runat="server" CssClass="NormalRed"></asp:label></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
