<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="user_login" %>

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户登录_DianCMS v6.2.0</title>
    <link href="images/spring/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function OpenOAuth(v) {
            window.location.href = "oauth/" + v + "/login.aspx?ReturnUrl=<%=Function.UrlEncode(ReturnUrl)%>";
        }
    </script>
</head>
<body class="loginbody">
    <form runat="server">
    <table width="964" align="center" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="top1">
            </td>
        </tr>
    </table>
    <table width="964" align="center" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="339" class="left1">
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                    width="547" height="295">
                    <param name="movie" value="images/spring/hutie.swf" />
                    <param name="quality" value="high" />
                    <param name="wmode" value="transparent">
                    <param name="menu" value="false">
                    <embed src="images/spring/hutie.swf" menu="false" wmode="transparent" quality="high"
                        pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
                        width="547" height="295"></embed>
                </object>
            </td>
            <td valign="top" class="center">
                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="26%" height="35">
                            &nbsp;
                        </td>
                        <td width="74%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="login1">
                            用户名：
                        </td>
                        <td>
                            <asp:TextBox ID="txtUserName" runat="server" CssClass="in1" TabIndex="1"></asp:TextBox>
                            <a href="reg.aspx?modelid=1">没有注册？</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="login1">
                            密码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassWord" TextMode="Password" runat="server" CssClass="in1" TabIndex="2"></asp:TextBox>
                            <a href="other/FindPsw.aspx">忘记密码？</a>
                        </td>
                    </tr>
                    <tbody id="DivVerCode" runat="server">
                        <tr>
                            <td class="login1">
                                验证码：
                            </td>
                            <td>
                                <asp:TextBox ID="txtVerCode" runat="server" CssClass="in1" TabIndex="3" onclick="document.getElementById('imgVerify').src+=Math.random()"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Image ID="imgVerify" runat="server" ImageUrl="../common/VerifyCode.aspx?" onclick="this.src+=Math.random()"
                                    Style="cursor:pointer" ToolTip="<%$ Resources:Lang,Login_Switch%>" />
                            </td>
                        </tr>
                    </tbody>
                    <tr>
                        <td class="login1">
                            记住账号：
                        </td>
                        <td>
                            <asp:DropDownList ID="DropCookie" runat="server" TabIndex="4">
                                <asp:ListItem Value="No" Selected="True">不保存</asp:ListItem>
                                <asp:ListItem Value="onehour">一小时</asp:ListItem>
                                <asp:ListItem Value="oneday">一天</asp:ListItem>
                                <asp:ListItem Value="oneweek">一周</asp:ListItem>
                                <asp:ListItem Value="onemonth">一月</asp:ListItem>
                                <asp:ListItem Value="oneyear">一年</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td height="40">
                            <asp:ImageButton ID="UserLoginButtonImg" TabIndex="5" runat="server" ImageUrl="images/loginbut.jpg"
                                OnClick="UserLoginButtonImg_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td height="30" colspan="2" align="center">
                            <table cellpadding="2" cellspacing="0" border="0" width="90%" align="center">
                                <tr>
                                    <td height="25"><img src="images/login_qq.png" style="cursor: pointer;" onclick="OpenOAuth('qzone')" /></td>
                                    <td><img src="images/login_sina_01.png" onclick="OpenOAuth('sina')" style="cursor: pointer;" /></td>
                                    <td><img src="images/login_taobao.png" style="cursor: pointer;" onclick="OpenOAuth('taobao')" /></td>
                                    <td><img src="images/login_tqq.png" style="cursor: pointer;" onclick="OpenOAuth('tqq')" /></td>
                                    <td><img src="images/login_renren.png" style="cursor: pointer;" onclick="OpenOAuth('renren')" /></td>
                                </tr>
                            </table>
                            
                        </td>
                    </tr>
                </table>
            </td>
            <td class="right">
            </td>
        </tr>
    </table>
    <table width="964" align="center">
        <tr>
            <td align="center" height="100">
                Copyright &copy; 2009-2017 DianCMS. All rights reserved. 易点内容管理系统网站建设更容易
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
