www.gusucode.com > ASP+ACCESS中学网站设计与实现(论文+源代码+开题报告+任务书) > ASP+ACCESS中学网站设计与实现(论文+源代码+开题报告+任务书)\ASP001中学网站设计与实现\zxweb\admin\index.asp

    <%
Response.Buffer = True 
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 
Response.AddHeader "Pragma", "No-Cache"
%>
<%
If Session("AdminUID") = "" then
			dim num1
			dim rndnum
			Randomize
			Do While Len(rndnum)<4
			num1=CStr(Chr((57-48)*rnd+48))
			rndnum=rndnum&num1
			loop
			session("verifycode")=rndnum
Else
session("verifycode")=""
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网站后台管理</title>
<link href="css/bodystyle.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#799AE1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form method="POST" action="admin_login.asp">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <table width="413" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EEEAD6">
    <tr>
      <td height="29" colspan="3" background="pic/topbg.gif">
	  <table width="95%" align="right" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td align="left" valign="middle"><font color="#FFFFFF"><B>后台管理入口</B></font></td>
            <td width="8%" align="center"><img src="pic/help.gif" alt="帮助文档" width="21" height="21" border="0" align="middle"></td>
          </tr>
      </table>
	  </td>
    </tr>
    <tr>
      <td width="3" background="pic/link.gif"></td>
      <td>
	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="75" background="pic/topbg.gif">
			<table width="100%" height="75" border="0" cellpadding="0" cellspacing="0">
          <tr>
		    <td width="30%" align="left" valign="bottom"><img src="pic/xpbg.gif" width="411" height="74"></td>
		  </tr>
	  </table>
			</td>
          </tr>
          <tr>
            <td>
			<table width="95%" border="0" align="center">
	      <tr>
		    <td>
	  <fieldset>
                <legend accesskey="F" align="left">登录窗口</legend>
                <table width="100%" border="0" cellspacing="2" cellpadding="2">
                <tr> 
				  <td width="10%">&nbsp;</td>
                        <td width="20%">用户名:</td>
                  <td><input name="AdminUID" type="text" id="AdminUID" size="20" style="font-size: 12px">
				  </td>
                </tr>
                <tr> 
				<td width="10%">&nbsp;</td>
                        <td width="20%">密 码:</td>
                  <td><input name="AdminPWD" type="password" id="AdminPWD" size="20" style="font-size: 12px">
                  </td>
                </tr>
			    <tr>
				  <td width="10%">&nbsp;</td>
                        <td>附加码:</td>
                  <td><input type="text" name="verify" size="10" style="font-size: 12px"> &nbsp;输入附加码<span style="background-color: #D0D0BF;line-height:200%"><font color=#000000><%=session("verifycode")%></font></span> 
                  </td>
                </tr>
                <tr> 
                  <td colspan="3" align="center"><input type="submit" name="submit" value=" 登 录 " class="tbutton"></td>
                </tr>
              </table>
	  </fieldset> 
	  &nbsp;</td></tr>
	  </table></td>
          </tr>
        </table></td>
      <td width="3" background="pic/link.gif"></td>
    </tr>
	<tr><td height="3" background="pic/linkbom.gif" colspan="3"></td></tr>
</table>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</form>
</body>
</html>