📄 index.asp
字号:
<!-- #include file="inc/top.asp" -->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
dim num1
dim rndnum
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("code")=rndnum
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="3"><div align="center"></div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed_rld2">
<tr>
<td height=24></td>
<td></td>
</tr>
<tr>
<td width="50%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<form action="checklogin.asp" method="post" name="form1">
<table width="250" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed1_rld">
<tr bgcolor="#EAEAEA">
<td height="25" colspan="2"><div align="center">学生成绩查询</div></td>
</tr>
<tr>
<td width="100" height="30"><div align="center">学号:</div></td>
<td>
<input name="xh" type="text" class="unnamed_rld2" size="20" maxlength="20"></td>
</tr>
<tr>
<td height="30"><div align="center">密码:</div></td>
<td>
<input name="mm" type="password" class="unnamed_rld2" size="20" maxlength="20"></td>
</tr>
<tr>
<td height="30" colspan="2">
<div align="center">
<input name="submit" type="submit" value="登入">
<input type=button value="注册" onClick="window.location='register.asp?action=reg'">
<input type="button" name="getpass" value="取回密码" onClick="window.location='register.asp?action=getpass'">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
<td width="50%"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<form action="admpost.asp" method="post" id="form2">
<table width="250" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed1_rld">
<tr bgcolor="#EAEAEA">
<td height="25" colspan="2">
<div align="center">
<%
if mm=1 then
Response.Write "对不起,您输入的密码有误!"
elseif mm=2 then
Response.Write "您没有登陆的权限!"
elseif mm=3 then
Response.Write "请输入完整的用户名和密码!"
end if
%>
管理员登陆 </div></td>
</tr>
<tr>
<td width="100" height="30"><div align="center">管理员帐号:</div></td>
<td width="154">
<input name="keys" type="hidden" value="submit">
<input name="username" type="text" class="unnamed_rld2" id="username2" size="20" maxlength="20"></td>
</tr>
<tr>
<td height="30"><div align="center">管理员密码:</div></td>
<td>
<input name="password" type="password" class="unnamed_rld2" size="20" maxlength="20">
</td>
</tr>
<tr align="center">
<td height="30" colspan="2">
<input type="submit" name="Reg2" value="登录" class="bottom">
<input type="reset" name="Submit32" value="重填" class="bottom">
<input type=button value="给我留言" onClick="window.location='liuyan.asp'">
</td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
<table width="752" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="3"><div align="center"></div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" bgcolor="#A0A4AC"><div align="center" class="unnamed3write">您是计算机系成绩查询系统的第
<span style="color: #000000">
<!--#include file="countip.asp"-->
<script language="JavaScript" src="countip.asp" type="text/JavaScript"></script>
</span>
位访问者!<br>
<a href="http://www.25175.com">Powered by 25175 </a></div></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -