<%@ page language="C#" autoeventwireup="true" inherits="ims.Login, ims.web" enableviewstatemac="false" enableEventValidation="false" %><!DOCTYPE html>
<html id="login" class="<%= (IsMobile ? "m " : "pc ") + ims.Sys.LoginLayout.Theme %>">
<head runat="server">
<title>登录<%= ims.Sys.OrgName + ims.Sys.SysName %></title>
<meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<script>if(!-[1,])location="upgrade.htm";</script>
<link rel="icon" href="images/logo.png" />
</head>
<body>
    <form id="form1" runat="server" defaultbutton="box$btnOK">
    <div class="hide"><input type="password" /></div>
    <asp:ScriptManager ID="s1" runat="server" OnAsyncPostBackError="AsyncError">
        <CompositeScript Path="js/msajax.js" ScriptMode="Release">
            <Scripts>
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" /><asp:ScriptReference Name="MicrosoftAjax.js" /><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
            </Scripts>
        </CompositeScript>
    </asp:ScriptManager>
    <ims:Pop runat="server" ID="box" Width="280" Title="登录" ShowCancelButton="false" OkButtonText="立即登录" OnOkClick="toLogin" HideOnOkClientClick="false" ShowCloseButton="false">
    <ContentTemplate>
        <div class="input">
            <i class="icon f-user"></i><asp:TextBox ID="tbUser" style="background-color:transparent !important;border:none" placeholder="用户名/手机/邮箱" runat="server" autocomplete="off"></asp:TextBox><asp:DropDownList runat="server" ID="ddlUsers" style="background-color:transparent !important;border:none" Visible="false"></asp:DropDownList><asp:HyperLink ID="hlReg" runat="server" Text="用户注册" NavigateUrl="~/reg.aspx"></asp:HyperLink>
        </div>
        <div class="input">
            <i class="icon f-lock"></i><asp:TextBox ID="tbPassword" style="background-color:transparent !important;border:none" placeholder="密码" runat="server" autocomplete="off" TextMode="Password"></asp:TextBox><a href="#" onclick="return ShowPop('pop_popup',true);" runat="server" id="forgetPwd">忘记密码</a>
        </div>
        <div runat="server" id="divVcode" class="input">
            <i class="icon f-vcode"></i><asp:TextBox ID="tbVcode" style="background-color:transparent !important;border:none" placeholder="验证码" runat="server"></asp:TextBox><img src="vcode.aspx" title="验证码。点击刷新" align="absMiddle" id="vcode" onclick="this.src='vcode.aspx?time='+new Date().getTime();" /><br />
        </div>
        <div id="remember"><asp:CheckBox ID="RememberMe" runat="server" Text="下次自动登录" /></div>
        <div runat="server" id="skip"><a href="orderVerify.aspx">我不想登录，希望直接提交订单</a></div>
        <div runat="server" id="tbox"><b>风格：</b><asp:RadioButtonList runat="server" ID="rblTheme" onclick="changeTheme();" RepeatLayout="Flow" RepeatDirection="Horizontal">
            <asp:ListItem Value="color" Selected="True">炫彩</asp:ListItem>
            <asp:ListItem Value="stars">星空</asp:ListItem>
            <asp:ListItem Value="light">淡雅</asp:ListItem>
        </asp:RadioButtonList><b>　 用户名：</b><asp:RadioButtonList runat="server" ID="rblInput" onclick="doSave();" RepeatLayout="Flow" RepeatDirection="Horizontal">
            <asp:ListItem Value="SelectName" Selected="True">选择</asp:ListItem>
            <asp:ListItem Value="InputName">输入</asp:ListItem>
        </asp:RadioButtonList><b>　 启用：</b><asp:CheckBox runat="server" ID="cbVcode" onclick="doSave();" Text="验证码" /><asp:CheckBox runat="server" ID="wxLogin" onclick="doSave();" Text="微信登录" /><asp:CheckBox runat="server" ID="smsLogin" onclick="doSave();" Text="短信验证登录" />
        </div>
        <div runat="server" id="lbox"></div>
        <div runat="server" id="bbox"></div>
    </ContentTemplate>
    </ims:Pop>
    
    <asp:Button ID="resetPwdRecovery" runat="server" OnClick="ResetPwdRecovery" CausesValidation="false" CssClass="hide" />
    <ims:Pop runat="server" ID="pop" Title="找回密码" ShowCancelButton="false" ShowOkButton="false" OnClientCanel="$('#resetPwdRecovery').click();">
    <ContentTemplate>
        <asp:Wizard ID="PwdRecovery" runat="server" DisplaySideBar="False" OnNextButtonClick="nextStep">
            <WizardSteps>
                <asp:WizardStep ID="WizardStep1" runat="server">
                要接收您的密码，请输入您的用户名：
                    <div class="contArea">
                        <asp:TextBox ID="tbUserName" runat="server" Width="145px" placeholder="用户名" autocomplete="off"></asp:TextBox>
                    </div>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep2" runat="server">
                要接收您的密码，请回答下列问题。<br />
                    <div class="contArea">
                    <asp:Literal ID="question" runat="server"></asp:Literal><br />
                    答案：<asp:TextBox ID="tbAnswer" runat="server" Width="160px" autocomplete="off"></asp:TextBox>
                     </div>
               </asp:WizardStep>
                <asp:WizardStep ID="WizardStep3" runat="server">
                    <div class="contArea indent" id="_msg" runat="server">密码已发送到您的邮箱。</div>
                </asp:WizardStep>
            </WizardSteps>
            <StartNavigationTemplate>
                <div class="navbtns">
                    <asp:Button ID="btnStartNext" runat="server" CommandName="MoveNext" CssClass="btn" CausesValidation="false" Text="下一步" />
                </div>
            </StartNavigationTemplate>
            <NavigationButtonStyle CssClass="btn" />
            <StepNavigationTemplate>
                <div class="navbtns">
                <asp:Button ID="btnPrev" runat="server" CausesValidation="False" CommandName="MovePrevious" CssClass="btn" Text="上一步" />
                <asp:Button ID="btnNext" runat="server" CommandName="MoveNext" CssClass="btn" CausesValidation="False" Text="下一步" />
                </div>
          </StepNavigationTemplate>
            <NavigationStyle HorizontalAlign="Center" />
            <FinishNavigationTemplate>
                <div class="navbtns">
                    <input type="button" value="确定" class="btn" onclick="HideDialog(this);" />
                 </div>
           </FinishNavigationTemplate>
        </asp:Wizard>
    </ContentTemplate>
    </ims:Pop>
    <ims:Pop runat="server" ID="pwd" Title="您的密码是初始密码，请修改…" Width="380" ShowCancelButton="false" ShowOkButton="false" HideOnOkClientClick="false" ShowCloseButton="false">
    <ContentTemplate>
        <table class="comm mtop_n">
            <tr><td class="right" style="width:10em">新密码：</td><td><asp:TextBox runat="server" onkeydown="return pwdKeydown(event);" TextMode="Password" ID="tbNew"></asp:TextBox></td></tr>
            <tr><td class="right">确认新密码：</td><td><asp:TextBox runat="server" onkeydown="return enterTo(event,'pwd_btnChange');" TextMode="Password" ID="tbVerify"></asp:TextBox></td></tr>
            <tr><td> </td><td><asp:Button runat="server" ID="btnChange" OnClick="ChangePwd" OnClientClick="return preChgPwd();" Text="确定" CssClass="btn" /></td></tr>
        </table>
    </ContentTemplate>
    </ims:Pop>
    <asp:Button runat="server" ID="btnDo" CssClass="hide" OnClick="DoSave" />
    <script src="js/comm.js"></script><script src="js/login.js"></script>
    </form>
</body>
</html>
