📄 left.asp
字号:
<%@language=vbscript codepage=936 %>
<!--#include file="Conn.ASP"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp" -->
<!--#include file="./count/inc_config.asp"-->
<!--#include file="./count/inc_conn.asp"-->
<!--#include file="./count/inc_siteinfo_tmp.asp"-->
<!--#include file="./count/inc_Lang_Base.asp"-->
<!--#include file="./count/style/style_all.asp"-->
<!--#include file="./count/inc_class_AjGraph.asp"-->
<%dim jingyong
set rs=server.createobject("adodb.recordset")
sql="select * from "& db_User_Table &" where "& db_User_Name &"='"& ChkRequest(Request.cookies(Forcast_SN)("name"), 0) &"'"
rs.open sql,ConnUser,1,3
if rs.bof or rs.eof then
response.redirect "login.asp"
response.end
end if
jingyong=rs("jingyong")
rs.close
set rs=nothing
if Request.cookies(Forcast_SN)("key")="super" or Request.cookies(Forcast_SN)("key")="check" or Request.cookies(Forcast_SN)("KEY")="bigmaster" or Request.cookies(Forcast_SN)("KEY")="smallmaster" or Request.cookies(Forcast_SN)("KEY")="typemaster" or (Request.cookies(Forcast_SN)("key")="selfreg" and jingyong=0) then
%>
<html>
<head>
<title>管理导航--<%=jjgn%>完美设计网络科技有限公司 完美政府网站管理系统 http://www.wmgov.cn</title>
<style type=text/css>
body { background:#555555; margin:0px; font-family: Verdana, Arial, sans-serif, 宋体; font-size: 9pt; text-decoration: none; color:#555555;
SCROLLBAR-FACE-COLOR: #55919A;
SCROLLBAR-HIGHLIGHT-COLOR: #cccccc;
SCROLLBAR-SHADOW-COLOR: #cccccc;
SCROLLBAR-3DLIGHT-COLOR: #cccccc;
SCROLLBAR-ARROW-COLOR: #555555;
SCROLLBAR-TRACK-COLOR: #555555;
SCROLLBAR-DARKSHADOW-COLOR: #cccccc;}
table { border:0px; }
td { font:normal 12px; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px; color:#555555; text-decoration:none; }
a:hover { color:#ff6600;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#eeeeee; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#555555; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#ff6600; font-weight:bold; }
</style>
<SCRIPT language=javascript1.2>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
}
}
</SCRIPT>
<SCRIPT src="inc/js.js" type=text/javascript></SCRIPT>
<SCRIPT src="inc/exit.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
<!--
/*for ie and ns*/
document.onclick=function(evt){
var evt=evt?evt:(window.event)?window.event:""
var e=evt.target?evt.target:evt.srcElement
evt.cancelBubble=true
if(e.tagName=="A"&&evt.shiftKey)return false
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
var whichOpen="";
var whichContinue='';
</SCRIPT>
</head>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" oncontextmenu=window.event.returnValue=false onkeydown="if(event.keyCode==78&&event.ctrlKey)return false;" onresize=maxWin() onload=maxWin() >
<SCRIPT language=JavaScript1.2 src="inc/menu.js"></SCRIPT>
<table width=158 border="0" align=center cellpadding=0 cellspacing=0>
<tr>
<td valign=top>
<img src="images/title.gif">
</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=images/title_bg_quit.gif id=menuTitle0>
<A href="javascript:window.location.reload()" target=list><B>首页</B></A> | <A href="Admin_Exit.asp" target=list><B>退出</B>
</td>
</tr>
<tr>
<td style="display:" id='submenu0'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20>
用 户:<b><%=Request.cookies(Forcast_SN)("name")%></b>
<%if db_Birthday_Select="FeiTium" then '性别字段是原字段%>
<%=Request.cookies(Forcast_SN)("sex")%>
<%else
if db_Birthday_Select="Text" then '性别字段是BBS的文本型阿拉伯数字
if Request.cookies(Forcast_SN)("sex")=1 then%>
男
<%else
if Request.cookies(Forcast_SN)("sex")=0 then%>
女
<%else%>
保密
<%end if
end if
end if
end if%>
</td></tr>
<tr><td height=20>权 限:<%if Request.cookies(Forcast_SN)("KEY")="super" and Request.cookies(Forcast_SN)("purview")="99999" then%><font color="#000000">超级管理员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="super" and Request.cookies(Forcast_SN)("purview")<>"99999" then%><font color="#000000">系统管理员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="check" then%><font color="#000000">文章审核员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="selfreg" then%><font color="#000000">注册用户</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="smallmaster" then%><font color="#000000">小类管理员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="bigmaster" then%><font color="#000000">大类管理员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="typemaster" then%><font color="#000000">总栏管理员</font><%end if%></td></tr>
<tr><td height=20>等 级:<%if Request.cookies(Forcast_SN)("KEY")<>"selfreg" then%><font color="#000000">内部成员</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="selfreg" and Request.cookies(Forcast_SN)("reglevel")="1" then%><font color="red">普通</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="selfreg" and Request.cookies(Forcast_SN)("reglevel")="2" then%><font color="red">高级</font><%end if%>
<%if Request.cookies(Forcast_SN)("KEY")="selfreg" and Request.cookies(Forcast_SN)("reglevel")="3" then%><font color="red">特级</font><%end if%></td></tr>
<tr><td height=20>登 陆:<%=Request.cookies(Forcast_SN)("UserLoginTimes")%>次</td></tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20></td></tr>
</table>
</div>
</td>
</tr>
</table>
<!--常规设置开始-->
<%if (request.cookies(Forcast_SN)("KEY")="super" or request.cookies(Forcast_SN)("KEY")="bigmaster" or request.cookies(Forcast_SN)("KEY")="check" or request.cookies(Forcast_SN)("key")="typemaster") then%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/Admin_left_1.gif" id=menuTitle41 onClick="showsubmenu(41)" style="cursor:hand;">
<span>常规设置</span> </td>
</tr>
<%if Request.cookies(Forcast_SN)("ManageUserName")<>"" then%>
<tr>
<td style="display:" id='submenu41'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a href="System.asp" target=list>网站信息配置</a> | <a href="System.asp" target=list>选项</a></td>
</tr>
<tr>
<td height=20><a target=list href="System1.asp">基本功能设置</a> | <a target=list href="System1.asp">选项</a></td>
</tr>
<tr>
<td height=20><a target=list href="Ad/index.asp">网站广告管理</a> | <a target=list href="Ad/index.asp">管理</a></td>
</tr>
<tr>
<td height=20><a target=list href="BoardManage.asp">网站公告管理</a> | <a target=list href="BoardManage.asp">管理</a></td>
</tr>
<tr>
<td height=20><a target=list href="LinkManage.asp">友情链接管理</a> | <a target=list href="WmCms_ManageLinkAdd.asp">添加</a></td>
</tr>
<tr>
<td height=20><a target=list href="new.asp">系统初始化 </a> | <a target=list href="new.asp">管理</a></td>
</tr>
<tr>
<td height=20><a target=list href="Admin_Exit.asp">退出系统</a> </td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20></td></tr>
</table>
</div>
</td>
</tr>
<%else%>
<TR>
<TD height=20>
<A href="Manage.asp" class="middle" target=list ><font color="#ffffff">┊ 管理登录 ┊</font></A>
</TD>
</TR>
<%end if%>
</table>
<%end if%>
<!--常规设置结束-->
<!--用户管理开始-->
<%if (request.cookies(Forcast_SN)("KEY")="super" or request.cookies(Forcast_SN)("KEY")="bigmaster" or request.cookies(Forcast_SN)("KEY")="check" or request.cookies(Forcast_SN)("key")="typemaster") then%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/Admin_left_1.gif" id=menuTitle41 onClick="showsubmenu(1)" style="cursor:hand;">
<span>用户管理</span> </td>
</tr>
<%if Request.cookies(Forcast_SN)("ManageUserName")<>"" then%>
<tr>
<td style="display:" id='submenu1'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a href="DepManage.asp" target=list>网站部门管理</a> | <a href="DepManage.asp" target=list>管理</a></td>
</tr>
<tr>
<td height=20><a target=list href="UserManage.asp">注册用户管理</a> | <a target=list href="useradd1.asp">添加</a></td>
</tr>
<tr>
<td height=20><a target=list href="AdminManage.asp">管理员管理 </a> | <a target=list href="WmCms_Adminadd1.asp">添加</a></td>
</tr>
<tr>
<td height=20><a target=list href="Admin_Sortuser.asp">会员分类管理</a> | <a target=list href="Admin_Sortuser.asp">管理</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20></td></tr>
</table>
</div>
</td>
</tr>
<%else%>
<TR>
<TD height=20>
<A href="Manage.asp" class="middle" target=list><font color="#ffffff">┊ 管理登录 ┊</font></A>
</TD>
</TR>
<%end if%>
</table>
<%end if%>
<!--用户管理结束-->
<!--发文管理开始-->
<%if (request.cookies(Forcast_SN)("KEY")="super" or request.cookies(Forcast_SN)("KEY")="bigmaster" or request.cookies(Forcast_SN)("KEY")="check" or request.cookies(Forcast_SN)("key")="typemaster") then%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/Admin_left_1.gif" id=menuTitle2 onClick="showsubmenu(2)" style="cursor:hand;">
<span>发文管理</span> </td>
</tr>
<tr>
<td style="display:" id='submenu2'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a title=展开/收缩菜单 onclick=showsubmenu(10) href="TypeManage.asp" target=list>文章管理</a> | <a title=展开/收缩菜单 onclick=showsubmenu(10) href="TypeManage.asp" target=list>管理</a></td>
</tr>
<TR>
<TD id=submenu10 style="DISPLAY: none" vAlign=center height=20>
<%
response.write " <!--==========================-->"& chr(10)
response.write " <!-- 栏目菜单开始 -->"& chr(10)
response.write " <!--==========================-->"
sqltype="select * from "& db_Type_Table & " order by typeorder"
Set rstype= Server.CreateObject("ADODB.Recordset")
rstype.open sqltype,conn,1,1
dim Type_Content,BigClass_Content
Type_Content=""
BigClass_Content=""
typeNum=rstype.recordcount
if rstype.bof and rstype.eof then
response.write " 栏目正在建设中!"
else
menu_pic1="images/menu1.gif"
menu_pic2="images/menu2.gif"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -