⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_set.asp

📁 学校网站管理系统
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/set.asp"-->
<!--#include file="inc/dll.asp"-->
<!--#include file="sqlx.asp"-->
<%
call hacker()
if session("superlogin")<>yecao then
response.Write "<script>alert('您还没有登陆!');this.location.href='index.asp';</script>"
Response.End
end if
if session("superadmin")<>"admin" then
response.Write "<script>alert('您不是超级管理员!您的权限不足!');this.location.href='index.asp';</script>"
Response.End
end if%>
<HTML><HEAD><TITLE>管理中心</TITLE>
<script language="JavaScript"> 
function pressKey(){
if(navigator.appName=='Netscape')
alert('你按键的编码值为:'+ event.which +
'\n其ASCII码字符为:'+ String.fromCharCode(event.which))
else
alert('你按键的编码值为:'+ event.keyCode +
'\n其ASCII码字符为:'+ String.fromCharCode(event.keyCode));}
</script>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="img/admin.css" type=text/css rel=StyleSheet>
<script src=img/adminjs.js></script>
</HEAD>
<body  style="border:1px outset #ffffff;margin: 0;background-color:#D4D0C8;padding:3px" scroll=no>
<%
select case Request("menu")
case ""
call myset()
case "setok"
call setok()
end select
sub myset()%>
<style type="text/css">
<!--
body{font-size: 12px;background-color: #D4D0C8;color:#000000;}
td, div, input, textarea{font-size: 12px;cursor: default;}
.title{background-color: #000080;color:#ffffff;padding: 1;font-family:宋体;font-size:12px;}
.up{background-color: #D4D0C8;color:#000000;border: 2px outset #ffffff}
.down{background-color: #D4D0C8;border:2px inset #ffffff}
.up1{background-color: #D4D0C8;color: #000000;border: 1px outset #ffffff}
.down1{background-color:#D4D0C8;border:1px inset #ffffff}
.l{background-color: #D4D0C8; height: 18px; border-left: 2px outset #ffffff;border-right: 2px outset #ffffff; color:#000000;
border-top: 2px outset #ffffff; padding-top: 2;height:18}
.lc{background-color: #D4D0C8; height: 18px; border-left: 2px outset #ffffff;border-right: 2px outset #ffffff; color:#000000;
border-top: 2px outset #ffffff; padding-top: 2;height:20}
.l-h{ background-color: #D4D0C8; border-left: 2px outset #ffffff ; border-top: 2px outset #ffffff;color:#000000; }
.l-c{ background-color: #D4D0C8; border-top: 2px outset #ffffff }
.l-r{ background-color: #D4D0C8; border-right: 2px outset #ffffff; border-top: 2px outset #ffffff;color:#000000;}
.l-hc{ background-color: #D4D0C8; border-left: 2px outset #ffffff;color:#000000;}
.l-cc{ background-color: #D4D0C8;color:#000000; }
.l-rc{ background-color: #D4D0C8; border-right: 2px outset #ffffff;color:#000000;}td{color:#000000;}
-->
</style>
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function restore()
{
td1.className="l";
td2.className="l";
td3.className="l";
td4.className="l";
td5.className="l";
td6.className="l";
td7.className="l";
td_1.className="l-h";
td_2.className="l-c";
td_3.className="l-c";
td_4.className="l-c";
td_5.className="l-c";
td_6.className="l-c";
td_7.className="l-c";
w1.style.display="none";
w2.style.display="none";
w3.style.display="none";
w4.style.display="none";
w5.style.display="none";
w6.style.display="none";
w7.style.display="none";
}
function c1()
{
td1.className="lc";
td_1.className="l-hc";
w1.style.display="block";
}
function c2()
{
td2.className="lc";
td_2.className="l-cc";
w2.style.display="block";
}
function c3()
{
td3.className="lc";
td_3.className="l-cc";
w3.style.display="block";
}
function c4()
{
td4.className="lc";
td_4.className="l-cc";
w4.style.display="block";
}
function c5()
{
td5.className="lc";
td_5.className="l-cc";
w5.style.display="block";
}
function c6()
{
td6.className="lc";
td_6.className="l-cc";
w6.style.display="block";
}
function c7()
{
td7.className="lc";
td_7.className="l-cc";
w7.style.display="block";
}
function killErrors() {
return true;}
window.onerror = killErrors;
//-->
</SCRIPT>
<table align=center border="0" cellpadding="0" cellspacing="0" rules=none class=3d id="go"  style="position:absolute;left:20;top:40;width:450">
<tr height=22><td colspan="2" class="title"  onmousedown="MDown(go)"><b>&nbsp;<img src=img/ie.gif border=0 width=15 height=15 align=absMiddle>&nbsp;网站基本设置</b>
</td></tr>
<tr class=bg>
<td align=center height=30 style="padding:10px">
<table border="0" cellpadding="0" cellspacing="0" width="430" height="61"><tr>
<form method="post" action="?menu=setok">
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c1();>
<div id="td1" class="lc">基本设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c2();>
<div id="td2" class="l">排序设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c3();>
<div id="td3" class="l">会员设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c4();>
<div id="td4" class="l">上传设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c5();>
<div id="td5" class="l">屏蔽设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c6();>
<div id="td6" class="l">安全设置</div></td>
<td width="75" height="20" align="center" valign="bottom" onclick=restore();c7();>
<div id="td7" class="l">其他设置</div></td>
</tr>
<tr>
<td width="70" height="1" align="center" class="l-hc" id="td_1" >&nbsp;</td>
<td width="70" height="1" align="center" class="l-c" id="td_2">&nbsp;</td>
<td width="70" height="1" align="center" class="l-c" id="td_3">&nbsp;</td>
<td width="70" height="1" align="center" class="l-c" id="td_4">&nbsp;</td>
<td width="70" height="1" align="center" class="l-c" id="td_5">&nbsp;</td> 
<td width="70" height="1" align="center" class="l-c" id="td_6">&nbsp;</td>
<td width="70" height="1" align="center" class="l-c" id="td_7">&nbsp;</td>
<td width="50" height="1" align="center" class="l-r" id="td_">&nbsp;</td>
</tr>
<tr>
<td  class="up" colspan="8" style="border-top-style: solid; border-top-width: 0; padding: 5">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="100%">
<div style="display:" id=w1>
<table border=0>
<tr><td width=75>
&nbsp;网站名称:</td><td><input type=text size="20" name="webname" value="<%=YCMSIE(webname)%>" class=yecao>&nbsp;如:WEB300源码中心<br>
</td></tr>
<tr><td>
&nbsp;网站地址:</td><td><input type=text size="20" value="<%=YCMSIE(weburl)%>" name="weburl" class=yecao>&nbsp;如:http://www.web300.cn<br>
</td></tr>
<tr><td width=75>
&nbsp;网站LOGO:</td><td><input type=text size="20" value="<%=YCMSIE(weblogo)%>" name="weblogo" class=yecao>&nbsp;如:img/logo.gif<br>
</td></tr>
<tr><td width=75>
&nbsp;站长邮箱:</td><td><input type=text size="20" value="<%=YCMSIE(webmail)%>" name="webmail" class=yecao>&nbsp;如:admin@web300.cn<br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -