📄 main.asp
字号:
<%'注意:防止多次发送,以及防止非法登录
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if not mid(server_v1,8,len(server_v2))=server_v2 then
Response.Write "<script language=JavaScript>{window.alert('系统错误,拒绝从非本服务器登陆!');window.history.go(-1);}</script>"
response.end
end if
if session("admin_login")<>true then
response.Write("<html><link href=../style.css rel=stylesheet type=text/css><body><table height=100% width=100% align=center valign=middle><tr><td align=center valign=center><p align=center>您没有登录或者已经超时!!请点击下面的链接,进入登录界面!!</p><p align=center>-->> <a href=../login/login.asp>登录</a> <<--</p></td></tr></table></body></html>")
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style.css" rel="stylesheet" type="text/css">
<title>网站后台管理</title>
</head>
<script language="javascript">
function switchbar()
{
if(window.leftta.style.display=='block')
{
window.leftta.style.display='none';
window.topla.innerHTML='打开左框';
}
else
{
window.leftta.style.display='block';
window.topla.innerHTML='关闭左框';
}
}
</script>
<body leftmargin="0" topmargin="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" rowspan="2" id="leftta" style="display:block ">
<IFRAME
frameBorder=0 id=left name=left
src="left.asp"
style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 210px; Z-INDEX: 2"></IFRAME></td>
<td width="80%" height="39" background="../Images/admin_top.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%"> </td>
<td width="3%"><img src="../Images/admin_top_01.gif" width="15" height="15"></td>
<td width="9%"><label id="topla" onClick="switchbar()" style="cursor:hand">关闭左框</label></td>
<td width="3%"><img src="../Images/admin_top_02.gif" width="16" height="15"></td>
<td width="42%"><a href="admin_cha.asp" target="main">修改密码</a></td>
<td width="38%" align="center"><font color="#337C68">myclassad发布系统 Ver 1.0
Build 20051215</font></td>
</tr>
</table> </td>
</tr>
<tr>
<td><IFRAME frameBorder=0 id=main name=main
src="../index.asp"
style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"></IFRAME></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -