<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateUserAccount.aspx.cs" Inherits="CreateAccount" %>
<!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 runat="server">
<script src="scripts/ClientUtilities.js" language="JavaScript" type="text/javascript">
</script>
<title>Create PPS Account</title>
</head>
<body background="Images/CFBC-logo2.gif" onload="breakout_of_frame()">
<form id="form1" runat="server">
<div id="headerDiv" style="text-align: center;">
<asp:label runat="server" Style="left: 21px;
position: absolute; top: 24px; text-align: center; z-index: 100;" id="Label1" Font-Size="18pt"
Font-Bold="True" Font-Names="Arial" ForeColor="#000033"
Text="His Highness Prince Aga Khan Shia Imami Ismaili Council For British Columbia<br />Project Proposal System"></asp:label>
</div>
<div style="position: absolute; width:99%; text-align:right; left: 0px; top: 54px; z-index: 101;">
<asp:Label ID="currTimeStampLabel" runat="server" Style="left: 147px;
position: absolute; top: 44px; text-align: left;" Width="300px"></asp:Label>
<asp:Label ID="lblHeader" runat="server" Style="left: 587px;
position: absolute; top: 44px; text-align: left;" Width="214px"></asp:Label>
</div>
<div id="collectEmailDiv" runat="server" style="z-index: 103; left: 147px; width: 657px; position: absolute;
top: 124px; height: 281px; font-weight:normal; font-family:Arial; font-size: 10pt; display: block;">
<asp:Label ID="createAccountLabel" runat="server" Font-Bold="True" Style="z-index: 100; left: 0px;
position: absolute; top: 14px" Text="Create New User Account for PPS" Font-Names="Arial" Font-Size="10pt"></asp:Label>
<asp:Label ID="Label2" runat="server" Font-Names="Arial" Font-Size="10pt" Style="z-index: 101;
left: 0px; position: absolute; top: 38px; text-align:justify;" Width="652px">
Please provide the information requested for the new user.<br /><br />
</asp:Label>
<asp:Label ID="displayMessageLabel" runat="server" Font-Names="Arial" Font-Size="10pt" Style="z-index: 102;
left: 0px; position: absolute; top: 74px" ForeColor="Red" Visible="true" Width="581px"></asp:Label>
<asp:Label ID="userNameLabel" runat="server" Font-Names="Arial" Font-Size="10pt" Style="z-index: 103;
left: 0px; position: absolute; top: 119px" Text="User Name:"></asp:Label>
<asp:TextBox ID="userNameTextBox" runat="server" Font-Names="Arial" Font-Size="10pt" Style="z-index: 104;
left: 156px; position: absolute; top: 116px" Width="257px"></asp:TextBox>
<asp:RequiredFieldValidator ID="userNameRequiredValidator" runat="server" ControlToValidate="userNameTextBox"
Display="Static" ErrorMessage="User Name" Font-Name="Verdana"
Font-Size="10" Height="22px" Style="z-index: 105; left: 69px;
position: absolute; top: 116px" Text="*" ValidationGroup="createAccountEval" Width="15px" SetFocusOnError="True"></asp:RequiredFieldValidator>
<asp:Label ID="emailAddress1Label" runat="server" Style="z-index: 106; left: 3px; position: absolute;
top: 148px" Text="Email Address:" Font-Names="Arial" Font-Size="10pt"></asp:Label>
<asp:TextBox ID="emailAddress1TextBox" runat="server" Style="z-index: 107; left: 156px;
position: absolute; top: 145px" Font-Names="Arial" Font-Size="10pt" Width="257px"></asp:TextBox>
<asp:RequiredFieldValidator ID="emailAddress1Validator" runat="server" ControlToValidate="emailAddress1TextBox"
Display="Static" ErrorMessage="Email Address" Font-Name="Verdana"
Font-Size="10" Height="22px" Style="z-index: 108; left: 91px;
position: absolute; top: 145px" Text="*" ValidationGroup="createAccountEval" Width="15px" SetFocusOnError="True"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="emailAddress1TextBox"
ErrorMessage="Email Address 1 is not valid" Style="z-index: 109; left: 91px; position: absolute;
top: 148px" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="createAccountEval">*</asp:RegularExpressionValidator>
<asp:Label ID="emailAddress2Label" runat="server" Style="z-index: 110; left: 3px; position: absolute;
top: 178px" Text="Confirm Email Address:" Font-Names="Arial" Font-Size="10pt"></asp:Label>
<asp:TextBox ID="emailAddress2TextBox" runat="server" Style="z-index: 112; left: 156px;
position: absolute; top: 175px" Font-Names="Arial" Font-Size="10pt" Width="257px"></asp:TextBox>
<asp:RequiredFieldValidator ID="emailAddress2Validator" runat="server" ControlToValidate="emailAddress2TextBox"
Display="Static" ErrorMessage="Confirm Email Address" Font-Name="Verdana"
Font-Size="10" Height="22px" Style="z-index: 113; left: 138px;
position: absolute; top: 175px" Text="*" ValidationGroup="createAccountEval" Width="15px" SetFocusOnError="True"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="emailAddress2TextBox"
ErrorMessage="Email Address 2 is not valid" Style="z-index: 114; left: 138px; position: absolute;
top: 178px" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="createAccountEval">*</asp:RegularExpressionValidator>
<asp:CompareValidator ID="emailAddressCompareValidator" runat="server" ErrorMessage="Emails do not match!"
Style="z-index: 115; left: 138px; position: absolute; top: 178px" Text="*" ValidationGroup="createAccountEval"
ControlToValidate="emailAddress2TextBox" ControlToCompare="emailAddress1TextBox" SetFocusOnError="true"></asp:CompareValidator>
<asp:Label ID="Label3" runat="server" Font-Names="Arial" Font-Size="10pt" Style="z-index: 119;
left: 0px; position: absolute; top: 209px" Text="Add User to Role:"></asp:Label>
<asp:DropDownList ID="rolesDropDown" runat="server" Style="z-index: 116;
left: 156px; position: absolute; top: 206px" Font-Names="Arial" Font-Size="10pt" Width="262px" >
</asp:DropDownList>
<asp:Button ID="submitButton" runat="server" Style="z-index: 117; left: 231px; position: absolute;
top: 251px" Text="Submit" Width="113px" OnClick="submitButton_Click" ValidationGroup="createAccountEval" />
<asp:ValidationSummary ID="emailEvalSummary" runat="server"
ShowMessageBox="True" ShowSummary="false" DisplayMode="BulletList"
HeaderText="Please fix the following errors:" Font-Name="verdana" Font-Size="10"
style="z-index: 118; left: 461px; position: absolute; top: 147px"
ValidationGroup="createAccountEval" Width="286px" />
</div>
</form>
</body>
</html>