<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
    <script src="../../utility/region.helper.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">

        <div>
           
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:EditAgent, IDS_PageTitle %>"></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="lblPageDesc" runat="server"  Text="<%$ Resources:EditAgent, IDS_PageDesc %>"></asp:Literal>
                </div>
            </div>
            
            <Hishop:EditAgent ID="EditAgent" runat="server">
                <SkinTemplate>
 
   
        
                    <Hishop:StatusMessage id="Status" runat="server" Visible="False" />

<UI:TabStrip runat="server" ID="Tabs" Width="100%">
            <Tabs>
            <UI:TabStripTab ID="TabStripTab1" runat="server" Title="基本信息">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                        <tr>
                            <!--身份标识编号-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal runat="server" Text="代理商链接"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                <asp:Literal ID="lblAgentLink" runat="server"></asp:Literal></td>
                        </tr>
                        <tr>
                            <!--登录名-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblLoginName" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblLoginName %>"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                <asp:Literal ID="lblLoginNameValue" runat="server"></asp:Literal></td>
                        </tr>
                        <tr>
                            <!--代理权限有效期-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_Expires %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <Hishop:WebCalendar ID="calExpires" runat="server" CalendarType="StartDate" />
                            </td>
                            <td class="rightTD">
                                <div class="msgNormal">
                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:EditUserControl,IDS_FromField_ExpiresHelp %>"></asp:Literal>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <!--是否允许绑定域名-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_IsUrlBindApproved %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <Hishop:YesNoRadioButtonList ID="radlIsUrlBindApproved" runat="server" />
                            </td>
                            <td class="rightTD">
                                <div class="msgNormal">
                                    <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:EditUserControl,IDS_FromField_IsUrlBindApprovedHelp %>"></asp:Literal>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <!--独立域名-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_SiteUrl %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                http://<asp:TextBox ID="txtSiteUrl" runat="server" MaxLength="255"></asp:TextBox>
                            </td>
                            <td class="rightTD">
                                <div class="msgNormal">
                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:EditUserControl,IDS_FromField_SiteUrlHelp %>"></asp:Literal>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <!--账户状态-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblAccountStatus" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblAccountStatus %>"></asp:Literal>：
                            </td>
                            <td colspan="2" class="rightTD">
                                <Hishop:AccountStatusDropDownList ID="dropAccountList" runat="server" EnableShowAll="false" />
                            </td>
                        </tr>
                        <tr>
                            <!--注册日期-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblRegsTime" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblRegsTime %>"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                 <Hishop:FormatedTimeLabel ID="lblRegsTimeValue" runat="server"></Hishop:FormatedTimeLabel></td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--最后登录日期-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblLastLoginTime" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblLastLoginTime %>"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                 <Hishop:FormatedTimeLabel ID="lblLastLoginTimeValue" runat="server"></Hishop:FormatedTimeLabel></td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <td class="bottonLeftTD">
                                &nbsp;</td>
                            <td class="rightTD">
                                <table>
                                    <tr>
                                        <td valign="top" style="padding-top: 5px;">
                                            <asp:Button ID="btnEditManagerAccount" runat="server" Text="<%$ Resources:EditUserControl, IDS_Button_EidtAccount %>"
                                                OnClientClick="return PageIsValid('validatAccount');" CssClass="inp_L1" /></td>
                                        <td>
                                            <div class="return_inp">
                                                <a href='<%= SiteUrls.Instance().UrlData.FormatUrl("admin_ManageAgents")%>'>
                                                    <asp:Label ID="Literal3" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblReturn %>"></asp:Label></a>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>
</UI:TabStripTab>
<UI:TabStripTab ID="TabStripTab2" runat="server" Title="个人资料">
            <!-- 账户管理结束-->
            <!-- 个人信息设置-->

                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                        <tr>
                            <!--真实姓名-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblRealName" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblRealName %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtRealName" runat="server" MaxLength="100"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtRealNameTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="valrRealName" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtRealName" Description="<%$ Resources:EditUserControl, IDS_Message_RealName_Desciption %>"
                                    Nullable="true" ValidateGroup="groupProfile">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditUserControl, IDS_Message_RealName_Desciption %>" LowerBound="0" UpperBound="100" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--生日-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblBirthday" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblBirthday %>"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                <Hishop:WebCalendar ID="calBirthday" runat="server" />
                                <!--结束-->
                            </td>
                        </tr>
                        <tr>
                            <!--性别-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblSex" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblSex %>"></asp:Literal>：</td>
                            <td colspan="2" class="rightTD">
                                <Hishop:GenderRadioButtonList runat="server" ID="gender" RepeatDirection="Horizontal" />
                            </td>
                            <!--结束-->
                        </tr>
                        <tr>
                            <!--电子邮件地址-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblprivateEmail" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblPrivateEmail%>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtprivateEmail" Width="220px" runat="server"></asp:TextBox>
                            </td>
                            <td class="rightTD">
                                <div id="txtprivateEmailTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="ValidateTarget3" runat="server" ControlToValidate="txtprivateEmail"
                                    ValidateGroup="groupProfile" ContainerId="ValidatorContainer" Description="<%$ Resources:AddUserControl,IDS_Message_Email_Description %>">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:AddUserControl,IDS_ErrorMessage_Email_ErrorMessage %>"
                                            Regex="([a-zA-Z\\.0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})" LowerBound="1"
                                            UpperBound="100" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                        </tr>
                        <tr>
                            <!--地区-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal10" runat="server" Text="<%$Resources:EditMember, IDS_DataField_Regions%>"></asp:Literal></td>
                            <td colspan="2" class="rightTD">
                                <Hishop:RegionSelector runat="server" ID="rsddlRegion" /></td>
                            <!--结束-->
                        </tr>
                        <tr>
                            <!--用户的详细地址-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:EditMember, IDS_FormField_Address %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtAddressTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="vtAddress" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtAddress" Description="<%$ Resources:EditMember, IDS_Message_Address%>"
                                    Nullable="true" ValidateGroup="groupProfile">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditMember, IDS_Message_Address%>" LowerBound="0" UpperBound="500" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                            <!-- 结束-->
                        </tr>
                         <tr>
                            <!--QQ-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:EditMember, IDS_FromField_lblQQ%>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtQQ" runat="server"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtQQTip" runat="server"></div>
                                <Hishop:ValidateTarget ID="validateTarget4" ContainerId="ValidatorContainer" runat="server" ValidateGroup="groupProfile"
                                   Nullable="true" ControlToValidate="txtQQ" Description="<%$ Resources:EditMember, IDS_Message_QQ%>">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditMember, IDS_Message_QQ%>"
                                            LowerBound="3" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--MSN-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal13" runat="server" Text="MSN"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtMSN" runat="server"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtMSNTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="ValidateTarget5" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtMSN" Description="<%$ Resources:EditMember, IDS_Message_MSN%>"
                                    Nullable="true" ValidateGroup="groupProfile">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditMember, IDS_Message_MSN%>" LowerBound="0" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--电话号码-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal14" runat="server" Text="<%$Resources:EditMember, IDS_DataField_TelPhone%>"></asp:Literal></td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtTel" runat="server"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtTelTip" runat="server"></div>
                                <Hishop:ValidateTarget ID="validateTarget6" ContainerId="ValidatorContainer" runat="server" ValidateGroup="groupProfile"
                                    Nullable="true" ControlToValidate="txtTel" Description="<%$ Resources:EditMember, IDS_Message_TelPhone%>">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditMember, IDS_Message_TelPhone%>"
                                            LowerBound="3" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>

                            </td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--手机号码-->
                            <td align="right" class="leftTD" style="height: 35px; width: 141px;">
                                <asp:Literal ID="Literal15" runat="server" Text="<%$Resources:EditMember, IDS_DataField_CellPhone%>"></asp:Literal></td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtCellPhone" runat="server"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtCellPhoneTip" runat="server"></div>
                                <Hishop:ValidateTarget ID="validateTarget7" ContainerId="ValidatorContainer" runat="server" ValidateGroup="groupProfile"
                                    Nullable="true" ControlToValidate="txtCellPhone" Description="<%$ Resources:EditMember, IDS_Message_CellPhone%>">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditMember, IDS_Message_CellPhone%>"
                                            LowerBound="3" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>

                            </td>
                            <!-- 结束-->
                        </tr>
                        <tr>
                            <!--   操作按钮 -->
                            <td class="bottonLeftTD">
                                &nbsp;</td>
                            <td class="rightTD">
                                <table>
                                    <tr>
                                        <td valign="top" style="padding-top: 5px;">
                                            <asp:Button ID="btnEditProfile" runat="server" Text="<%$ Resources:EditUserControl, IDS_Button_EditProfile %>"
                                                OnClientClick="return PageIsValid('groupProfile');" CssClass="inp_L1" /></td>
                                        <td>
                                            <div class="return_inp">
                                                <a href='<%= SiteUrls.Instance().UrlData.FormatUrl("admin_ManageAgents")%>'>
                                                    <asp:Literal ID="litReturnProfile" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblReturn %>"></asp:Literal></a>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>
 </UI:TabStripTab>
<UI:TabStripTab ID="TabStripTab3" runat="server" Title="安全设置">
            <!-- 个人信息设置结束-->
            <!-- 安全设置 -->

                    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="pageArtInfo">
                        <tbody>
                            <tr>
                                <td style="width: 50px">
                                    <img src="../images/loginPasswordIcon.gif" alt="" /></td>
                                <td class="pageArtText">
                                    <asp:Literal ID="lblUpdatePasssword" runat="server" Text="<%$ Resources:EditUserControl,IDS_FromField_lblUpdatePassword %>"></asp:Literal></td>
                            </tr>
                        </tbody>
                    </table>
                    <!--旧密码-->
                    <asp:Panel ID="panelOld" runat="server">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                            <tr>
                                <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                    <asp:Literal ID="lblOldPassWord" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblOldPassWord %>"></asp:Literal>：</td>
                                <td colspan="2" class="rightTD">
                                    <asp:TextBox ID="txtOldPassWord" runat="server"></asp:TextBox></td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                        <tr>
                            <!--新密码-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblNewPassWord" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblNewPassWord %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox runat="server" ID="txtNewPassWord" TextMode="Password"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtNewPassWordTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="validateTargetPassword" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtNewPassWord" Description="<%$ Resources:EditUserControl, IDS_Message_Password_Description %>"
                                    ValidateGroup="groupPassword">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_Password_ErrorMessage %>"
                                            LowerBound="6" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                        </tr>
                        <tr>
                            <!--重复密码-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblPassWordCompare" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblPassWordCompare %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox runat="server" ID="txtPassWordCompare" TextMode="Password"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtPassWordCompareTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="ValidateTargetPassWordCompar" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtPassWordCompare" Description="<%$ Resources:EditUserControl, IDS_Message_PasswordAgain_Description %>"
                                    ValidateGroup="groupPassword">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_Password_Compare %>"
                                            LowerBound="6" UpperBound="20" />
                                        <Hishop:CompareClientValidator DestinationId="txtNewPassWord" ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_Password_Compare%>" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                        </tr>
                        <tr>
                            <!--修改确定-->
                            <td class="bottonLeftTD">
                                &nbsp;</td>
                            <td class="rightTD">
                                <label>
                                    <asp:Button ID="btnEditPassWordOK" runat="server" Text="<%$ Resources:EditUserControl, IDS_Button_EditPassword%>"
                                        OnClientClick="return PageIsValid('groupPassword');" CssClass="inp_L1" />
                                </label>
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="pageArtInfo">
                        <tbody>
                            <tr>
                                <td style="width: 50px">
                                    <img src="../images/jiaoyiIcon.gif" alt="" /></td>
                                <td class="pageArtText">
                                    <asp:Literal ID="lblUpdateTranPassword" runat="server" Text="<%$ Resources:EditUserControl,IDS_FromField_lblUpdateTranPassword %>"></asp:Literal></td>
                            </tr>
                        </tbody>
                    </table>
                    <asp:Panel ID="panelOldTran" runat="server">
                        <!--旧交易密码-->
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                            <tr>
                                <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                    <asp:Literal ID="lblOldTranPassWord" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblOldPassWord %>"></asp:Literal>：</td>
                                <td colspan="2" class="rightTD">
                                    <asp:TextBox ID="txtOldTranPassWord" runat="server"></asp:TextBox></td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="formTableList">
                        <tr>
                            <!--新交易密码-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblTransactions" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblNewPassWord %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtTransactionPassWord" runat="server" TextMode="Password"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtTransactionPassWordTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="validateTargetTPassowrd" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtTransactionPassWord" Description="<%$ Resources:EditUserControl, IDS_Message_TranPassword_Description %>"
                                    ValidateGroup="grouptranPassowrd">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_TranPassword_ErrorMessage %>"
                                            LowerBound="6" UpperBound="20" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                        </tr>
                        <tr>
                            <!--重复交易密码-->
                            <td align="right" class="leftTD" style="height: 40px; width: 141px;">
                                <asp:Literal ID="lblTransactionPassWordCompare" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblPassWordCompare %>"></asp:Literal>：</td>
                            <td class="rightTD">
                                <asp:TextBox ID="txtTransactionPassWordCompare" runat="server" TextMode="Password"></asp:TextBox></td>
                            <td class="rightTD">
                                <div id="txtTransactionPassWordCompareTip" runat="server">
                                </div>
                                <Hishop:ValidateTarget ID="ValidateTarget1" runat="server" ContainerId="ValidatorContainer"
                                    ControlToValidate="txtTransactionPassWordCompare" Description="<%$ Resources:EditUserControl, IDS_Message_TranPasswordAgain_Description %>"
                                    ValidateGroup="grouptranPassowrd">
                                    <Validators>
                                        <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_Password_Compare%>"
                                            LowerBound="6" UpperBound="20" />
                                        <Hishop:CompareClientValidator DestinationId="txtTransactionPassWord" ErrorMessage="<%$ Resources:EditUserControl, IDS_ErrorMessage_Password_Compare%>" />
                                    </Validators>
                                </Hishop:ValidateTarget>
                            </td>
                        </tr>
                        <tr>
                            <!--   操作按钮 -->
                            <td class="bottonLeftTD">
                                &nbsp;</td>
                            <td class="rightTD">
                                <table>
                                    <tr>
                                        <td valign="top" style="padding-top: 5px;">
                                            <asp:Button ID="btnEditTransactionPassWord" runat="server" Text="<%$ Resources:EditUserControl, IDS_Button_TPassword%>"
                                                CssClass="inp_L1" OnClientClick="return PageIsValid('grouptranPassowrd');" /></td>
                                        <td>
                                            <div class="return_inp">
                                                <a href='<%= Globals.GetSiteUrls().UrlData.FormatUrl("admin_ManageAgents") %>' >

                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblReturn %>"></asp:Literal></a>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>  
    </UI:TabStripTab>
<UI:TabStripTab ID="TabStripTab4" runat="server" Title="模板设置">            
                <!--模板设置-->  
                     <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                        <tr>
                            <td>
                                请选择为该代理商开放哪些模板,勾选中的模板将允许被该代理商应用到其代理子站点
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DataList runat="server" ID="dtManageThemes" RepeatColumns="3"  RepeatDirection="Horizontal"  CssClass="dataListCss">                                    
                                    <HeaderTemplate>
                                        <table style="width:100%" cellspacing="0" cellpadding="0" border="0">                                                                
                                         <tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                           <td><table class="tableheight" width="100%" border="0" cellspacing="0" cellpadding="0">             
                                                    <tr style="width:150px; height:150px;">
                                                    <td style="text-align:center"><Hishop:DisplayThemesImages ID="themeImg" runat="server" Src='<%# Eval("ThemeImgUrl") %>' Width="150" Height="150"  ThemeName='<%# Eval("ThemeName") %>' IsAgentThemes="true"></Hishop:DisplayThemesImages></td>
                                                </tr>
                                                <tr>
                                                   <td style="text-align:center">                                                                                                          
                                                        <asp:CheckBox ID="rbCheckThemes" runat="server" /><asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                                                   </td>                               
                                                </tr>                
                                            </table></td>               
                                    </ItemTemplate>
                                    <FooterTemplate>                 
                                           </tr> 
                                         </table>
                                    </FooterTemplate>
                                </asp:DataList>  
                            </td>
                        </tr>
                        <tr>
                            <td class="rightTD">
                                <table>
                                    <tr>
                                        <td valign="top" style="padding-top: 2px;">
                                            <asp:Button ID="btnManageThemesOK" runat="server" Text="保存" CssClass="inp_L1"></asp:Button>
                                        </td>
                                        <td>
                                            <div class="return_inp">
                                                <a href='<%= SiteUrls.Instance().UrlData.FormatUrl("admin_ManageAgents")%>'>
                                                    <asp:Literal runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblReturn %>"></asp:Literal></a>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                              
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>               
    </UI:TabStripTab>
<UI:TabStripTab ID="TabStripTab5" runat="server" Title="下属会员等级">              
                <!--下属会员等级-->
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                        <tr>
                            <td>
                                此处列出的是该代理商自行添加的下属会员等级,您可在此处查看详情
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <Hishop:CustomGridView ID="grdKidMemberRankList" runat="server" AutoGenerateColumns="false" ShowHeader="true" DataKeyNames="RankId" CssClass="GridViewStyle" GridLines="None" 
                                  RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" SelectedRowStyle-BackColor="#FBFBF4" > 
			                      <Columns>
			                         <asp:TemplateField HeaderText="<%$ Resources:MemberRanks,IDS_Header_RankName %>"   >
			                               <ItemTemplate>
			                                    <asp:Label id="lblRankName" Text='<%#Eval("Name") %>' runat="server" ></asp:Label>
			                                </ItemTemplate>
			                         </asp:TemplateField>
			                         <asp:TemplateField HeaderText="<%$ Resources:MemberRanks,IDS_Header_IsDefault %>"   >
			                               <ItemTemplate>
			                                    <img id="imgIsDefault" src="<%# (bool)Eval("IsDefault") ? "../../utility/pics/true.gif" : "../../utility/pics/false.gif" %>" /> 
			                                </ItemTemplate>
			                         </asp:TemplateField>
			                         <asp:BoundField DataField="Point" HeaderText="<%$ Resources:MemberRanks,IDS_Header_RankPoint %>" />
			                         <asp:BoundField DataField="Description" HeaderText="<%$ Resources:AgentialRanks,IDS_DataField_RankDesc %>"/>
			                         <asp:TemplateField HeaderText="<%$ Resources:Resources,IDS_Header_Options %>" >
			                         <ItemStyle CssClass="handleRightSelect"  Width="100"/>
			                             <ItemTemplate>
			                                <a href='<%# Globals.GetSiteUrls().UrlData.FormatUrl("admin_SetProductMemberPriceForAgent",Eval("RankId"), Page.Request.QueryString["userId"]) %>' class="SmallCommonTextButton">
			                                    <asp:Literal id="lblSetAgentProductPrice" runat="server" Text="查看会员等级价格"></asp:Literal></a>
			                             </ItemTemplate>
			                         </asp:TemplateField>
			                      </Columns>
			                   </Hishop:CustomGridView>
                            </td>
                        </tr>
                        <tr>
                            <td class="rightTD">
                                <div class="return_inp" style="width:26px;">
                                    <a href='<%= SiteUrls.Instance().UrlData.FormatUrl("admin_ManageAgents")%>'>
                                        <asp:Literal runat="server" Text="<%$ Resources:EditUserControl, IDS_FromField_lblReturn %>"></asp:Literal></a>
                                </div>
                            </td>
                            <td class="rightTD">
                                &nbsp;</td>
                        </tr>
                    </table>
                    
                    
      </UI:TabStripTab>
</Tabs>
        </UI:TabStrip>

            <!-- 安全设置结束 -->

                </SkinTemplate>
            </Hishop:EditAgent>
            
        </div>
        <br />
        <div class="botCopyInfo">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
 
