<%@ Page Language="VB" MasterPageFile="../CBMS/CBSite.master" AutoEventWireup="false" CodeFile="CBForgot.aspx.vb" Inherits="Order_CBForgot" title="Untitled Page" %>

<%@ Register Src="~/CBControls/CBHeader.ascx" TagName="Header" TagPrefix="uc" %>
<%@ Register Src="~/CBControls/CBFooter.ascx" TagName="Footer" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ContactUsASA.ascx" TagName="ContactUsASA" TagPrefix="uc" %>
<%@ Register Src="../Controls/CustomContent.ascx" TagName="CustomContent" TagPrefix="uc" %>




<asp:Content ID="cntTop" ContentPlaceHolderID="cphTop" runat="Server">
    <uc:Header ID="ucHeader" runat="server" />
</asp:Content>
<asp:Content ID="cntLeft" ContentPlaceHolderID="cphLeft" runat="Server">
    <uc:ContactUsASA ID="ucContactUsASA" runat="server" ShowTitleEmail="true" Item="MyAccount" />
</asp:Content>
<asp:Content ID="cntCenter" ContentPlaceHolderID="cphCenter" runat="Server">


<!-- Begin PanelSubpanelBlue template -->    
<div id="centerBody">
    <div id="blue" class="roundedTopLeft">
        <div id="Div1" class="roundedTopRight">
            <div id="Div2" class="roundedBotRight">
                <div id="Div3" class="roundedBotLeft">
                    <div style="font-size: small; font-weight: bold">
                        <h2>
                            <%= strSectionTitle %>
                        </h2>
                    </div>
                    <div class="solidRoundedBlue">
                        <div class="solidRoundedTop">
                            <div>
                            </div>
                        </div>
                        <div id="solidRoundedContent">
                            <div id="form" class="noHeader">
                                <!-- begin content area -->
                                <!-- ################################# -->
                                <!-- ################################# -->
                                <!-- ################################# -->
                                
                                
                                

                                <asp:Panel ID="pnlForgotten" runat="server">                                            
                                    <table>
                                        <tr>
                                            <td style="background-color: #D9E4EE;">
                                                Please enter your Username 
                                                and provide your Security Question/Answer below:<br />
                                                <font color="red">*Required Fields</font><br /><br />
                                            </td>
                                            <td style="background-color: #D9E4EE;"></td>
                                        </tr>  
                                    </table>
                                    <table width="100%">
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Username: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:TextBox ID="txtUserName" runat="server" Width="200px" TabIndex="10001" style="padding-left:1px"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="vldUserNameSpecialChar" runat="server" ControlToValidate="txtUserName" ErrorMessage="The only special characters allowed for <b>Username</b> are .(dot), -(dash) or _(underscore)." Text="" Display="none" ValidationGroup="Forgotten" ValidationExpression="^[a-zA-Z0-9._-]+$" ></asp:RegularExpressionValidator>                                                
                                                <asp:RequiredFieldValidator ID="vldUserNameRequired" runat="server" Text="" ValidationGroup="Forgotten" ControlToValidate="txtUserName" Display="none" ErrorMessage="<b>Username</b> is a required field."></asp:RequiredFieldValidator><a href="http://www.charter.com/customers/support.aspx?SupportArticleID=1085#ID" target="_blank">Forgot Username?</a><br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Security Question: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:DropDownList ID="ddlQuestion" runat="server" Width="205px" TabIndex="10002">
                                                    <asp:ListItem Text="Choose One..." Value="0"></asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:RequiredFieldValidator ID="vldQuestionRequired" runat="server" ControlToValidate="ddlQuestion" InitialValue="0" Display="None" ErrorMessage="Please select a <b>Security Question</b>."></asp:RequiredFieldValidator><a href="http://www.charter.com/customers/support.aspx?SupportArticleID=1934" target="_blank">Why do I need one?</a><br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Security Answer: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:TextBox ID="txtAnswer" runat="server" Width="200px" TabIndex="10003" style="padding-left:1px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="vldAnswerRequired" runat="server" Text="" ValidationGroup="Forgotten" ControlToValidate="txtAnswer" Display="None" ErrorMessage="Please enter a <b>Security Answer</b> to the <b>Security Question</b>."></asp:RequiredFieldValidator><br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Service Address Zip Code: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:TextBox ID="txtZipCode" runat="server" Width="200px" TabIndex="10001" style="padding-left:1px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="vldZipCodeRequired1" runat="server" ControlToValidate="txtZipCode" ErrorMessage="<b>Zip Code</b> should be 5 characters in length." Display="None" SetFocusOnError="True" ValidationGroup="Forgotten"/>
                                                <asp:RegularExpressionValidator ID="vldZipCodeRegEx1" runat="server" ControlToValidate="txtZipCode" ErrorMessage="<b>Zip Code</b> should be 5 characters in length."  Display="None" SetFocusOnError="True"  ValidationExpression="\d{5}(-\d{4})?" ValidationGroup="Forgotten"></asp:RegularExpressionValidator>                                                
                                                
                                                <br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>                                          
                                        <tr>

                                            <td style="background-color: #D9E4EE; text-align:left" colspan="2">
                                                <asp:ValidationSummary ID="ValidationSummary1"  DisplayMode="List" HeaderText="" runat="server" ValidationGroup="Forgotten" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="background-color: #D9E4EE; text-align:center" colspan="2">&nbsp;<br />
                                                <asp:ImageButton ID="btnSubmit" runat="server" CausesValidation="true" ImageUrl="../Images/submit_but_blue.jpg" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                
                                
                                
                                <asp:Panel ID="pnlReset" runat="server">                                            
                                    <table>
                                        <tr>
                                            <td style="background-color: #D9E4EE;">
                                                To reset your password, please complete the form below:<br />
                                                <font color="red">*Required Fields</font><br /><br />
                                            </td>
                                            <td style="background-color: #D9E4EE;"></td>
                                        </tr>  
                                    </table>
                                    <table width="100%">
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Password: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:TextBox ID="txtPwd" runat="server" Width="200px" TextMode="Password" style="padding-left:1px"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="vldPasswordSpecialChar" runat="server" ControlToValidate="txtPwd" ErrorMessage="<b>Password</b> does not allow \(back slash) or &quot;(quotes)." Text="" Display="none" ValidationExpression="^[^\\^&quot;]*$" ></asp:RegularExpressionValidator>
                                                <asp:RequiredFieldValidator ID="vldPwdRequired" runat="server" Text="" ValidationGroup="Reset" ControlToValidate="txtPwd" Display="none" ErrorMessage="<b>Password</b> is a required field."></asp:RequiredFieldValidator>
                                                <asp:CompareValidator ID="vldPasswordCompare" runat="server" Text="" ControlToCompare="txtConfirmPwd" ControlToValidate="txtPwd" Display="None" ErrorMessage="<b>Confirm Password</b> does not match <b>Password</b>."></asp:CompareValidator><br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right; background-color: #D9E4EE; padding-left:50px" nowrap>
                                                <font color="red">*</font>Confirm Password: </td>
                                            <td style="text-align: left; background-color: #D9E4EE" nowrap>
                                                <asp:TextBox ID="txtConfirmPwd" runat="server" Width="200px" TextMode="Password" style="padding-left:1px"></asp:TextBox>
                                                <asp:RegularExpressionValidator ID="vldPassword2SpecialChar" runat="server" ControlToValidate="txtConfirmPwd" ErrorMessage="<b>Confirm Password</b> does not allow \(back slash) or &quot;(quotes)." Text="" Display="none" ValidationExpression="^[^\\^&quot;]*$" ></asp:RegularExpressionValidator>
                                                <asp:RequiredFieldValidator ID="vldConfirmPwdRequired" runat="server" Text="" ValidationGroup="Reset" ControlToValidate="txtConfirmPwd" Display="None" ErrorMessage="<b>Confirm Password</b> is a required field."></asp:RequiredFieldValidator><br />
                                                <img alt="" src="../images/spacer.gif" height="5" /><br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="background-color: #D9E4EE; text-align:left" colspan="2">&nbsp;<br />
                                                <asp:ValidationSummary ID="ValidationSummary2" DisplayMode="List" HeaderText="" runat="server" ValidationGroup="Reset" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="background-color: #D9E4EE; text-align:center" colspan="2">&nbsp;<br />
                                                <asp:ImageButton ID="btnResetPwd" runat="server" CausesValidation="true" ImageUrl="../Images/savechanges_but_blue.jpg" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                
                                
                                
                                <asp:Panel ID="pnlAttemptLimitReached" runat="server" Visible="false">&nbsp;<br />
                                    <table>
                                        <tr>
                                            <td style="background-color: #D9E4EE; width:50px; text-align:center">
                                                <img src="../Images/error-icon_big.GIF" alt="error" /></td>
                                            <td style="background-color: #D9E4EE">
                                                <b>You have exceeded the maximum number of <%= Application("MYACCOUNT_LOGIN_FAILED_ATTEMPT_MAX_COUNT") %> Login Attempts</b><br />
                                                For security purposes, your account has been temporarily locked.
                                                If you have forgotten your Username or Password, you may 
                                                <a href="#" onclick="javascript:window.open('../Visitors/chatlive.aspx?Chattype=BILLING','_charter_chat','width=550,height=660,left=50,top=15')">Chat Live</a> 
                                                or call 1-888-438-2427 for further assistance.</td>
                                        </tr>
                                        <tr>
                                            <td style="background-color: #D9E4EE; text-align:center" colspan="2">&nbsp;<br /><br />
                                                <asp:ImageButton ID="btnLogin" runat="server" CausesValidation="false" ImageUrl="../Images/login_but_blue.jpg" />
                                            </td>
                                        </tr>
                                    </table>&nbsp;<br />
                                </asp:Panel>
                                
                               
                                
                                
                                
                                <!-- ################################# -->
                                <!-- ################################# -->
                                <!-- ################################# -->
                                <!-- end content area -->
                            </div>
                        </div>
                        <div class="solidRoundedBot">
                            <div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- end PanelSubpanelBlue template -->    
    
    

</asp:Content>
<asp:Content ID="cntRight" ContentPlaceHolderID="cphRight" runat="Server">
	<uc:CustomContent ID="ucSupportHelpfulLinks" ContentKey="Support:HelpfulLinks" runat="server" />
    
</asp:Content>
<asp:Content ID="cntBottom" ContentPlaceHolderID="cphBottom" runat="Server">
    <uc:Footer ID="ucFooter" runat="server" />
</asp:Content>

