<%@ page language="C#" autoeventwireup="true" inherits="member_login, Fm.Web" %>

<!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">
    <title>无标题页</title>
    <link href="/images/images/member.css" rel="stylesheet" type="text/css" />
    <script language=javascript>
    function Ok()
    {
        var uname=document.getElementById("username").value;
        var pass=document.getElementById("password").value;
        if(uname=="")
        {
             alert("请输入用户名!");
             return false;
        }
        else if(pass=="")
        {
            alert("请输入密码!");
            return false;
        }
        else 
        {
            return true;
        }
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        &nbsp;
        <div style="z-index: 101; left: 189px; width: 100px; position: absolute; top: 184px;
            height: 100px">
        <table style="width: 230px;top:auto" align=center>
            <tr style="background-image:url(images/login_bg.gif);height:61px">
                <td colspan="2">
                    </td>
            </tr>
            <tr>
                <td style="width: 60px;font-size:15px">
                    用户名:</td>
                <td>
                    <asp:TextBox ID="username" runat="server" Width="120px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 60px;font-size:15px">
                    密码:</td>
                <td>
                    <asp:TextBox ID="password" runat="server" Width="120px" TextMode="Password"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 60px;font-size:15px">
                    Cookie:</td>
                <td>
                    <asp:DropDownList ID="Drop_time" runat="server">
                        <asp:ListItem Value="0">不保存</asp:ListItem>
                        <asp:ListItem Value="86400">保存一天</asp:ListItem>
                        <asp:ListItem Value="2592000">保存一月</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="height: 32px;text-align:center"colspan="2">
                    <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return Ok();" ImageUrl="/images/images/login.gif" OnClick="ImageButton1_Click" /></td>
            </tr>
        </table>
        </div>
        <div style="z-index: 102; left: 576px; width: 100px; position: absolute; top: 254px;
            height: 23px">
            <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="/images/images/register.jpg" NavigateUrl="/member/register.aspx">HyperLink</asp:HyperLink>
            <div style="z-index: 101; left: 2px; width: 365px; position: absolute; top: 72px;
                height: 15px;color:Green;font-size:15px">
                温馨提示:您如果还没注册,请点击上面的按钮进入注册页面!</div>
        </div>
       
    </form>
</body>
</html>
