<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserLogin.aspx.cs" Inherits="RPWEB.UserLogin" %>

<!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">
<link href="images/User_Login.css" type="text/css" rel="stylesheet"/>
    <title>用户登录</title>
       <script type="text/javascript">
        if (top.location != self.location)
            top.location = self.location;

        function CheckIn() {
            var names = document.getElementById("TxtUserName").value;
            var pass = document.getElementById("TxtUserPwd").value;
            if (names == "") {
                alert("请输入用户名...");
                document.getElementById("TxtUserName").focus();
                return false;
            }
            else if (pass == "") {
                alert("请输入用户密码...");
                document.getElementById("TxtUserPwd").focus();
                return false;
            }

        }

    </script>
    
</head>
<body id="userlogin_body"> 

    <form id="form2" runat="server">
               
<div></div>

<div id="user_login">
<dl>
  <dd id="user_top">
  <ul>
    <li class="user_top_l"></li>
    <li class="user_top_c"></li>
    <li class="user_top_r"></li></ul></dd>
  <dd id="user_main"/>
  <ul>
    <li class="user_main_l"></li>
    <li class="user_main_c">
    <div class="user_main_box">
    <ul>
      <li class="user_main_text">用户名： </li>
      <li class="user_main_input">
      
      <asp:TextBox ID="TxtUserName" runat="server" class="TxtUserNameCssClass" maxLength="20" name="TxtUserName" ></asp:TextBox>
      
      </li></ul>
    <ul>
      <li class="user_main_text">密 码： </li>
      <li class="user_main_input">
       <asp:TextBox id="TxtUserPwd" runat="server" class="TxtUserNameCssClass" TextMode="Password"   maxLength="20" name="TxtUserName" ></asp:TextBox>
      </li></ul>
   <%-- <ul>
      <li class="user_main_text">Cookie： </li>
      <li class="user_main_input"><select id="DropExpiration" name="DropExpiration"> 
        <option value="None" selected>不保存</option> <option value="Day">保存一天</option> 
        <option value="Month">保存一月</option> <option 
      value="Year">保存一年</option></select> </li></ul>--%></div></li>
    <li class="user_main_r">
    
        <asp:ImageButton ID="ImageButton1" src="images/user_botton.gif"  runat="server"  OnClientClick="return CheckIn()"
            onclick="ImageButton1_Click1" />
            

            
            
            </li></ul>
  <dd id="user_bottom">
  <ul>
    <li class="user_bottom_l"></li>
    <li class="user_bottom_c"><span style="MARGIN-TOP: 40px">如果您尚未在本站注册为用户，请先点此 <a 
    href="UserReg.aspx">注册</a> </span> </li>
    <li class="user_bottom_r"></li></ul></dd></dl></div><span id="ValrUserName" 
style="DISPLAY: none; COLOR: red"></span><span id="ValrPassword" 
style="DISPLAY: none; COLOR: red"></span><span id="ValrValidateCode" 
style="DISPLAY: none; COLOR: red"></span>
<div id="ValidationSummary1" style="DISPLAY: none; COLOR: red"></div>

<div></div>

    </form>
</body>
</html>
