gusucode.com > ASP毕业设计在线考试管理系统源码 > ASP毕业设计在线考试管理系统源码\code\login.asp

    <html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>在线考试系统</title>
<base target="_top">
<link href="Style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	font-size: 14pt;
	font-weight: bold;
}
body {
	background-image: url(images/2314e-large.jpg);
}
a:link {
	color: #FFFF33;
	text-decoration: none;
}
a:visited {
	color: #FFFF33;
	text-decoration: none;
}
a:hover {
	color: #FF0000;
	text-decoration: none;
}
.STYLE6 {
	font-size: 12pt;
	font-weight: bold;
	color: #006600;
}
.STYLE8 {font-size: 10pt}
.STYLE14 {color: #FFFF66; font-size: 10pt; }
a:active {
	text-decoration: none;
}
-->
</style>
<%
    Response.Cookies("logok")=""
    Response.Cookies("userid")=""
    Response.Cookies("username")=""
    Response.Cookies("pwd")=""
    Response.Cookies("powerid")=""
    Response.Cookies("tested")=""
%>
<script language="javascript">
<%if request.querystring("message")="nota" then
dim ip
ip=request.servervariables("remote_addr")
%>
	alert("不是管理员,还敢假冒?小心我打12315!\r你的IP已被记录")
<%end if%>
<%if request.querystring("message")="notnum" then%>
	alert("用户ID必须是数字!")
<%end if%>
<%if request.querystring("message")="error" then%>
	alert("用户名或者密码错误!")
<%end if%>
</script>
</head>

<body topmargin="0" leftmargin="0" bgcolor="#FFFFFF">

<form method="POST" action="checkusr.asp">
  <table width="100%" height="467" border="0" cellpadding="2" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse">
    <tr>
      <td colspan="2" height="66"></td>
    </tr>
    <tr>
      <td height="25" colspan="2">
      <table width="200" border="0" align="right" cellpadding="0" cellspacing="0">
        <tr>
          <td width="75" height="21"><div align="center" class="STYLE14"><a href="sysm.asp">使用说明</a></div></td>
          <td width="77"><div align="center" class="STYLE14"><a href="yhzc.asp">用户注册</a></div></td>
          <td width="48"><div align="center" class="STYLE14"><a href="mailto:cyq_hxu@sina.com">联系我们</a></div></td>
        </tr>
      </table>
      <p align="center">      </td>
    </tr>
    <tr>
      <td><p>&nbsp;</p>
        <p>&nbsp;</p>
        <table border="0" cellspacing="1" width="309" bordercolorlight="#cccccc" bordercolordark="#FFFFFF" cellpadding="0" align="center" bgcolor="#FF9900">
        <tr bgcolor="#FF9900" align="center">
          <td height="35" colspan="2" bgcolor="#FFFFFF"><span class="STYLE6">考试系统登陆</span></td>
        </tr>
        <tr bgcolor="#FFFFFF" align="center">
          <td width="69" height="33">&nbsp;用户ID:</td>
          <td width="237" height="33"><input type="text" name="userid" size="20" class="smallInput"></td>
        </tr>
        <tr bgcolor="#FFFFFF" align="center">
          <td height="39">密码:</td>
          <td height="39">            <input type="password" name="pwd" size="22" class="smallInput"></td>
        </tr>
        <tr height="25" bgcolor="#FFFFFF">
          <td height="29" colspan="2" align="center"><span class="STYLE8">
            <input name="kind" type="checkbox" value="A">
            系统管理员            </span></td>
        </tr>
        <tr height="25" bgcolor="#FFFFFF">
          <td height="36" colspan="2" align="center"><span class="STYLE8">
            <input border="0" value="进入系统" name="I1" type="submit" class="STYLE8"> 
             &nbsp;
             <input type="reset" value="重 置" name="B1" class="STYLE8">
          </span></td>
        </tr>
      </table>
      <p align="right"></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>
        <p align="right"></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2">
        <p align="center"></td>
    </tr>
    <tr>
      <td colspan="2">
      <p align="center">      </td>
    </tr>
  </table>
</form>

</body>

</html>