<%@ Page Language="C#" AutoEventWireup="true" Inherits="PPFOR.Admin.User_Login" Codebehind="Login.aspx.cs" %>

<!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>长登科技后台管理</title>
<link href="Css/global.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body{
    text-align: center
}
</style>
<script type="text/javascript">
function checkPage()
{
    if(self!=top){top.location=self.location;} 
}
</script>
</head>
<body scroll="no" onload="checkPage();">
<center>
<form id="LoginForm" method="post" action="Login.aspx" runat="server">
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">   
  <tr>
    <td style="height:74px; background-image:url(http://www.kingdeone.com/deone/images/topmenu_bg.jpg)" valign="top"><img src="http://www.kingdeone.com/deone/Images/logo.gif" width="200px" height="74px" alt="" /></td>
    <td style="width:70%; background-image:url(http://www.kingdeone.com/deone/images/topmenu_bg.jpg);color:#FFFFFF" align="right">
           用户名：<asp:TextBox ID="PPFOR_adminName" runat="server" Width="120px" MaxLength="18" Height="18px" AutoCompleteType="none"></asp:TextBox>     
     &nbsp;密　码：<asp:TextBox ID="PPFOR_adminPassword" runat="server" Width="120px" TextMode="Password" Height="18px" AutoCompleteType="none"></asp:TextBox>
     &nbsp;验证码：<asp:TextBox ID="PPFOR_verifyCode" runat="server" Width="60px" MaxLength="4" Height="18px" AutoCompleteType="none"></asp:TextBox>
   <span style="height:26px; vertical-align:middle">
        <script language="javascript" type="text/javascript">      
               var showVerifyTime=false;
               function getRidSrc(){
                    showVerifyTime=new Date();
                    return '/CustomAction/CheckCodeImage.aspx?rid=' + showVerifyTime.getTime();
               }
               function checkVerifyCodeImage(){
                   var nowtime=new Date();
                   var timeS=(60-10)*1000; //一分钟间隔，10秒减免
                   if(!showVerifyTime || nowtime.getTime()-showVerifyTime.getTime()>timeS){
                        var objImage=document.all?document.all['verifyCodeImage']:document.getElementById('verifyCodeImage');
                        if(objImage!=null){
                            objImage.src=getRidSrc();                    
                        }
                    }
               }
               document.write("<img id=\"verifyCodeImage\" src=\"" + getRidSrc() + "\" onclick=\"this.src=getRidSrc();\" title=\"图片看不清？点击刷新验证码\" style=\"cursor:pointer;vertical-align:middle\" width=\"70\" height=\"25\" />");     
            </script>
            </span> 
                    <asp:ImageButton ID="PPFOR_login" runat="server" ImageUrl="images/login.gif" OnClick="PPFOR_loginClick" />            
    &nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>   
    </table>   
</form>
</center>
</body>
</html>