<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Register.aspx.vb" Inherits="Register"%>
<%@ Register TagPrefix="TimeTracker" TagName="Banner" Src="Banner.ascx" %>
<!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>Email(Email帳號):
													<br>
													<asp:textbox id="Email" runat="server" Width="185px" MaxLength="50" CssClass="standard-text"></asp:textbox>&nbsp;
													<asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="必須輸入合法的 email 帳號。" ControlToValidate="Email" Display="Dynamic" ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+"></asp:regularexpressionvalidator><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="'Email帳號' 不能為空白。" 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="Register and Sign In Now">註冊並且登入系統</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>
