?? index.asp
字號:
<!-- #include file="inc/top.asp" -->
<%
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="768" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed2_ldr">
<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="1" class="unnamed1_rld">
<tr bgcolor="#EAEAEA">
<td height="25" colspan="2" bgcolor="#FFFFFF"><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" value="1109030114" size="20" maxlength="20"></td>
</tr>
<tr>
<td height="30"><div align="center">密碼:</div></td>
<td>
<input name="mm" type="password" class="unnamed_rld2" value="1109030114" 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="1" class="unnamed1_rld">
<tr bgcolor="#EAEAEA">
<td height="25" colspan="2" bgcolor="#FFFFFF">
<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" value="admin" 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" value="admin" 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="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="3"><div align="center"></div></td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="30"><div align="center">您是本成績查詢系統的第 <span style="color: #CC0000">
<!--#include file="countip.asp"-->
<script language="JavaScript" src="countip.asp" type="text/JavaScript"></script>
</span> 位訪問者!Powered by <a href="http://www.25175.com" target="_blank">25175</a><span class="unnamed3write"><br>
</span></div></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -