<%@ page language="C#" autoeventwireup="true" inherits="user_login, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.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">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>会员登录_<%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <form id="form1" runat="server" autocomplete="off">
        <div class="box">
            <div class="c1 mt5">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">会员登录</div>
                    <div class="fr"><a href="/">返回</a></div>
                    <div class="clear"></div>
                </div>
                 <div class="v" style="background:url(/skin/public/user_login_bg.jpg) no-repeat center 0;">
                    <div class="NOCSS" style="padding: 50px 0 50px 280px">
                        <div class="do1">
                            <style type="text/css">.do1 .table1 td{padding-top:10px;padding-bottom:10px;}.do1 .table1 td b{font-size:14px;font-weight:normal;}.do1 .table1 td td a,.do1 .table1 td td a:hover{color:#f60;}</style>
                            <script type="text/javascript">
                                function check_login_(){if(document.getElementById("city_user_").value==""||document.getElementById("city_user_").value=="用户名/手机号/邮箱"){TINY.box.show("<div class=\"msgon\" style=\"background-position: 0px 4px;*background-position:0px 2px;\">请输入用户帐号！</div>",0,200,23,0,2);return false;}else if(document.getElementById("city_pwd_").value==""){TINY.box.show("<div class=\"msgon\" style=\"background-position: 0px 4px;*background-position:0px 2px;\">请输入用户密码！</div>",0,200,23,0,2);return false;}}
                            </script>
                            <table border="0" cellpadding="0" cellspacing="0" class="table1">
                                <tr>
                                    <td class="tt">登录帐号：</td>
                                    <td>
                                        <asp:TextBox ID="city_user_" runat="server" MaxLength="200" CssClass="inp4" Width="200" value="用户名/手机号/邮箱" onfocus="if(this.value=='用户名/手机号/邮箱')this.value=''" onblur="if(this.value=='')this.value='用户名/手机号/邮箱'" autocomplete="off"></asp:TextBox>                                            
                                        <script type="text/javascript">if(GetCookie("CK_city_user")!=null&&GetCookie("CK_city_user")!="null"&&GetCookie("CK_city_user")!="")document.getElementById("city_user_").value=GetCookie("CK_city_user");</script>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">登录密码：</td>
                                    <td><asp:TextBox ID="city_pwd_" runat="server" TextMode="Password" MaxLength="20" CssClass="inp4" Width="200" autocomplete="off"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td class="tt">&nbsp;</td>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td><asp:CheckBox ID="autologin" runat="server" /></td>
                                                <td>
                                                    <div style="padding-top: 2px; *padding-top: 4px; padding-left: 5px; *padding-left: 2px;color: #666"><label for="autologin" title="请勿在公共电脑上勾选此项！">一周内自动登录</label></div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr id="qqloginbox" style="display:none">  
                                    <td class="tt">&nbsp;
                                        <script type="text/javascript">
                                            if(<%=ZK.config("qqloginswitch") %>=="1")document.getElementById("qqloginbox").style.display="";
                                             function toQzoneLogin(){
                                                 return;
                                                 var id="<%=ZK.config("qqloginid") %>";
                                                 if(id==""||id=="err"){alert("QQ登录接口未配置！");window.location="http://connect.opensns.qq.com";}
                                                 else {var A=window.open("/user/logintoqq.aspx","TencentLogin","width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1");}
                                             } 
                                        </script>
                                    </td>
                                    <td><a target="_blank" href="/user/logintoqq.aspx" onclick='toQzoneLogin()'><img src="/skin/public/Connect_logo_3.png" /></a></td>
                                </tr>
                                <tr>
                                    <td class="tt">&nbsp;</td>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td><asp:Button ID="ButtonLogin" runat="server" CssClass="but4" Text="确定登录" OnClientClick="SetCookie('CK_city_user',document.getElementById('city_user_').value,365);return check_login_()" onmouseover="hover(this,0.8)" onmouseout="hover(this,1)" OnClick="ButtonLogin_Click" /></td>
                                                <td style="padding-left: 10px"><input type="button" value="注册" class="but4" style="filter: Alpha(Opacity=70); -moz-opacity: 0.7; opacity: 0.7" onclick="window.location='/user/reg.htm?ReturnUrl='+base64en('/user/control.aspx')" onmouseover="hover(this,0.5)" onmouseout="hover(this,0.7)" /></td>
                                                <td style="padding-left: 10px"><a href="javascript:void(0)" onclick="findpwd()" class="str">忘记密码？</a></td>
                                            </tr>
                                        </table>
                                        <script type="text/javascript">if(location.href.indexOf("open=findpwd")!=-1)setTimeout(findpwd,2000); </script>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
