www.pudn.com > Xiao5u_Exam_v2011627.rar > Login.asp, change:2011-02-27,size:3307b


<%  
dim rndnum,verifycode 
Randomize 
Do While Len(rndnum)<4 
num1=CStr(Chr((57-48)*rnd+48)) 
rndnum=rndnum&num1 
loop 
session("verifycode")=rndnum 
%> 
<!DOCtYPE html PUBLIC "-//W3C//Dtd html 4.01 transitional//EN" "http://www.w3c.org/tr/1999/REC-html401-19991224/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>校无忧在线考试系统-Www.Xiao5u.Com</title> 
<meta http-equiv=Content-type content="text/html; charset=gb2312"> 
<STYLE type=text/css>  
body {FONt-SIZE: 12px; BACKGROUND: #E8F2FB; COLOR: #333; MARGIN: 80px;} 
.bt{ font-size:24px; color:#FFFFFF; text-align:center; font-weight:bold} 
.btn { 
	BORDER-RIGHT: #0033cc 1px solid; BORDER-TOP: #00ccff 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #00ccff 1px solid; CURSOR: hand; COLOR: #ffffff; BORDER-BOTTOM: #0033cc 1px solid; FONT-FAMILY: "宋体"; BACKGROUND-COLOR: #0099ff 
} 
</STYLE> 
<script language="JavaScript"> 
<!-- 
function chk(theForm) 
{ 
if (theForm.UserName.value == "") 
{ 
alert("请输入管理帐号!"); 
theForm.UserName.focus(); 
return (false); 
} 
if (theForm.Password.value == "") 
{ 
alert("请输入管理密码!"); 
theForm.Password.focus(); 
return (false); 
} 
 
return true; 
} 
//--> 
</script> 
</head> 
<body> 
<table cellSpacing=1 cellPadding=5 width=460 align=center bgColor=#b9b0a9 border=0> 
 <FORM action="check.asp?action=login" method=post onSubmit="return chk(this)"> 
  <tbody> 
  <tr> 
    <td vAlign=top bgColor=#ffffff> 
      <table cellSpacing=0 cellPadding=0 width="100%" border=0> 
        <tbody> 
        <tr><td width=460 background=images/login_top.jpg height=54 class="bt">校无忧在线考试系统后台</td></tr> 
        <tr> 
          <td bgColor=#FFFFFF height=150> 
            <table height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0> 
              <tbody> 
              <tr> 
                <td align=middle width="40%"><IMG height=90 src="images/login.gif" width=91></td> 
                <td> 
                  <table cellSpacing=1 cellPadding=2 width="100%" align=center border=0> 
                    <tbody> 
                    <tr> 
                      <td align=right width=60 height=30>用户名:</td> 
                      <td height=30><INPUt id=admin_name name=admin_name> </td></tr> 
                    <tr> 
                      <td align=right height=30>密  码:</td> 
                      <td height=30><INPUt id=admin_pass type=password name=admin_pass> </td></tr> 
                    <tr> 
                      <td align=right>验证码:</td> 
                      <td><INPUt class=pwd id=VerifyCode style="WIDtH: 40px" maxLength=4 name=VerifyCode><img src="yz.asp" border='0' onClick="this.src='yz.asp'" alt='点击刷新验证码' /></td></tr> 
                    <tr align=middle> 
                      <td colSpan=2 height=40><INPUt class=btn type=submit value="提 交" name=Submit> <input  class=btn type="Reset" value="取 消" name="Reset"></td> 
					</tr> 
				    </tbody> 
				   </table> 
				 </td> 
			  </tr> 
			 </tbody> 
		   </table> 
		 </td> 
		</tr> 
        <tr><td align=middle bgColor=#9CBFE5 height=25>2008-2011 © <a href="http://www.xiao5u.com/" target="_blank">校无忧科技</a> All Rights Reserved</td> 
        </tr> 
		</tbody> 
	  </table> 
	</td> 
   </tr></FORM> 
   </tbody> 
  </table> 
</body> 
</html>