<%@ page language="C#" autoeventwireup="true" inherits="e_login, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/e/meta.ascx" %>
<!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">
    <UC:meta ID="meta1" runat="server" />
    <link type="text/css" rel="Stylesheet" href="../s/skin/login.css" />
    <script type="text/javascript">if(top.location!=window.location)window.location="/e/login.aspx";</script>
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
    <div class="self_wrap">
        <div class="self_login">
            <div class="self_title" id="id_self_title" title="点击返回首页" onclick="window.location='/'" style="cursor:pointer">
                <noscript>
                    浏览器不支持Javascript</noscript>
                管理员登录&nbsp;(<%=ZK.SystemVersion %>版本)
            </div>
            <div class="self_x1">
                <div style="padding-top: 45px; width: 192px">
                    <asp:HiddenField ID="logintype" runat="server" Value="u" />
                    <div class="self_select_title" id="id_self_select_title" title="点击此处选择登录方式" onclick="doshowsel()">
                        ————选择登录方式————
                    </div>
                    <div class="self_select_options" id="id_self_select_options" style="display: none">
                        <ul>
                            <li><a href="javascript:void(0)" onclick="dosel('u','————用户名登录————','请输入用户名')">用户名登录</a></li>
                            <li><a href="javascript:void(0)" onclick="dosel('tel','————手机号登录————','请输入手机号')">手机号登录</a></li>
                            <li><a href="javascript:void(0)" onclick="dosel('email','————邮箱登录————','请输入邮箱')">邮箱登录</a></li>
                            <li><a href="javascript:void(0)" onclick="dosel('qq','————QQ号登录————','请输入QQ号')">QQ号登录</a></li>
                        </ul>
                    </div>
                </div>
                <div style="padding-top: 20px">
                    <asp:TextBox ID="tb_login_u" runat="server" CssClass="self_inp" Text="请输入用户帐号" TabIndex="1"
                        MaxLength="100" onfocus="this.className='self_inp_on';if(this.value.indexOf('请输入')!=-1){this.value=''}"
                        onblur="this.className='self_inp'" autocomplete="off" onkeyup="TabPwd(event)"></asp:TextBox>
                </div>

                <script type="text/javascript" src="../s/skin/login.js"></script>

                <div style="padding-top: 20px">
                    <asp:TextBox ID="tb_login_p_copy" runat="server" CssClass="self_inp" Text="请输入用户密码"
                        onfocus="showpwd(1)"></asp:TextBox>
                    <asp:TextBox ID="tb_login_p" runat="server" CssClass="self_inp" Style="display: none"
                        TextMode="Password" TabIndex="2" MaxLength="100" onfocus="this.className='self_inp_on';this.value=''"
                        onblur="this.className='self_inp'"></asp:TextBox>
                </div>
                <div style="padding-top: 20px">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr valign="top">
                            <td style="padding-top: 2px; *padding-top: 0px">
                                <asp:CheckBox ID="cb_remember_u" TabIndex="3" runat="server" Checked="true" />
                            </td>
                            <td style="*padding-top: 3px; padding-left: 8px; *padding-left: 0px">
                                <label for="cb_remember_u" style="color: #666; cursor: pointer" title="为了帐户安全，请勿在公共电脑上勾选此项！">
                                    一周内自动登录</label>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="padding-top: 20px">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr valign="top">
                            <td>
                                <asp:Button ID="bt_loginbut" runat="server" Text="登录" CssClass="self_but" TabIndex="4"
                                    onmouseover="this.className='self_but_on'" onmouseout="this.className='self_but'"
                                    OnClientClick="return dologin()" OnClick="bt_loginbut_Click" />
                            </td>
                            <td style="padding-left: 12px; padding-top: 6px">
                                <a href="javascript:void(0)" onclick="if(confirm('您可以通过用户邮箱找回密码，系统将会把密码发送至您的邮箱，确定这样做吗！'))findp(document.getElementById('tb_login_u').value);else alert('您已取消了发送密码方式，如果您未设置管理员邮箱而且忘记了密码，请联系官方工作人员！');">
                                    忘记密码？</a>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div><div style="text-align:center; padding:5px 0 10px 0; font-weight:bold">&copy;&nbsp;Power By <a href="http://www.zkcms.com/?t=client&p=city&d=<%=WMencrypt.Encode(WMdomain.GetUrlDomain)%>" target="_blank">ZKCMS</a></div>
    </div>
    </form>
    <script type="text/javascript">
        if (window.screen.width < 1440) alert("推荐使用1440或以上的屏幕分辨率！");
        document.getElementById("tb_login_u").focus();
    </script>
</body>
</html>
