📄 admin_index_left.asp
字号:
<%@language=vbscript codepage=936 %>
<%
if session("admin") = "" then
response.Redirect "Admin_Login.asp"
end if
dim purview
purview=clng(session("purview"))
%>
<html>
<head>
<title>│ DaDaYu │ 易天网络 │--管理页面</title>
<style type=text/css>
body { background:#666666; margin:0px; font:9pt 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#cc0000;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#f2f2f2; }
.menu_title { }
.menu_title span { position:relative; top:0px; left:3px; color:#ffffff; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#cc0000; font-weight:bold; }
</style>
<STYLE>
BODY
{scrollbar-face-color:E6E6D9; scrollbar-shadow-color:ffffff;
scrollbar-highlight-color:bfbf9f; scrollbar-3dlight-color:ffffff;
scrollbar-darkshadow-color:E6E6D9; scrollbar-track-color:f2f2f2;
scrollbar-arrow-color:ffffff;}
</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>
</head>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<table width=100% cellpadding=0 cellspacing=0 border=0 align=left>
<tr><td valign=top>
<table width=158 border="0" align=center cellpadding=0 cellspacing=0>
<tr>
<td height=42 valign=bottom><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" bgcolor="#999966">
<div align="center"><font color="#000000"><strong><font color="#FFFFFF">│
DaDaYu │</font><font color="#FFFFFF"> 管理系统</font> </strong></font></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table> </td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle0 onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span><a href="Admin_Index_Main.asp" target=main><b><font color="#FFFFFF">管理首页</font></b></a><font color="#FFFFFF">
| <a href=Admin_logout.asp target=_top><b>退出</b></a></font></span> </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>用户名:<%=session("Admin")%></td></tr>
<tr><td height=20>权 限:<%
select case session("purview")
case 1
response.write "超级用户"
case 2
response.write "高级管理员"
case 3
response.write "文章总编"
case 4
response.write "栏目编辑"
case 5
response.write "文章录入员"
end select
%></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>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle1 style="cursor:hand;" onclick="showsubmenu(1)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>文章管理</span> </td>
</tr>
<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=Admin_ArticleAdd1.asp target=main>添加文章(简洁模式)</a></td></tr>
<tr><td height=20><a href=Admin_ArticleAdd2.asp target=main>添加文章(高级模式)</a></td></tr>
<tr>
<td height=20><a href=Admin_ArticleManage.asp target=main>文章管理</a>
<%if purview<=4 then%>
| <a href=Admin_ArticleCheck.asp target=main>审核</a></td>
</tr>
<%
if purview<=3 then%>
<tr><td height=20><a href=Admin_ArticleManageSpecial.asp target=main>专题文章管理</a></td></tr>
<tr>
<td height=20><a href=Admin_ArticleRecyclebin.asp target=main>回收站管理</a></td>
</tr>
<%
end if
if purview<=2 then%>
<tr><td height=20><a href=Admin_Comment.asp target=main>文章评论管理</a></td></tr>
<%
end if
end if
%>
</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 purview<=2 then%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle2 style="cursor:hand;" onclick="showsubmenu(2)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<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>
<%if purview<=1 then%>
<tr>
<td height=20><a href=Admin_SiteConfig.asp target=main>网站信息配置</a>
| <a href=Admin_SiteConfig.asp target=main>选项</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Advertisement.asp?Action=Add target=main>横幅广告添加</a>
| <a href=Admin_Advertisement.asp target=main>管理</a></td>
</tr>
<%end if%>
<tr>
<td height=20><a href=Admin_FriendSite.asp?Action=Add target=main>友情链接添加</a>
| <a href=Admin_FriendSite.asp target=main>管理</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Announce.asp?Action=Add target=main>发布网站公告</a>
| <a href=Admin_Announce.asp target=main>管理</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Vote.asp?Action=Add target=main>发布网站调查</a>
| <a href=Admin_Vote.asp target=main>管理</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>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle3 style="cursor:hand;" onclick="showsubmenu(3)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>栏目管理</span> </td>
</tr>
<tr>
<td style="display:none" id='submenu3'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a href=Admin_ClassAdd.asp target=main>网站栏目添加</a>
| <a href=Admin_ClassManage.asp target=main>管理</a></td>
</tr>
<tr>
<td height=20><a href=Admin_ClassOrder.asp target=main>一级栏目排序</a> |
<a href=Admin_ClassOrderN.asp target=main>N级</a></td>
</tr>
<tr>
<td height=20><a href=Admin_ClassUnite.asp target=main>网站栏目合并</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Special.asp?Action=Add target=main>网站专题添加</a>
| <a href=Admin_Special.asp target=main>管理</a></td>
</tr>
<td height=20><a href=Admin_Special.asp?Action=Order target=main>网站专题排序</a> |
<a href=Admin_Special.asp?Action=Unite target=main>合并</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>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle4 style="cursor:hand;" onclick="showsubmenu(4)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>用户管理</span> </td>
</tr>
<tr>
<td style="display:none" id='submenu4'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<%if purview<=1 then%>
<tr>
<td height=20><a href=Admin_Admin.asp?Action=Add target=main>管理员添加</a>
| <a href=Admin_Admin.asp target=main>管理</a></td>
</tr>
<%end if%>
</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 purview<=1 then%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle6 style="cursor:hand;" onclick="showsubmenu(6)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>JS代码管理</span> </td>
</tr>
<tr>
<td style="display:none" id='submenu6'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a href="Admin_MakeJS.asp?Action=JS_Common" target="main">普通文章的JS代码</a></td>
</tr>
<tr>
<td height=20><a href="Admin_MakeJS.asp?Action=JS_Pic" target="main">首页图文的JS代码</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>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle7 style="cursor:hand;" onclick="showsubmenu(7)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>数据库管理</span> </td>
</tr>
<tr>
<td style="display:none" id='submenu7'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20><a href=Admin_Database.asp?Action=Compact target=main>压缩数据库</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Database.asp?Action=Backup target=main>备份数据库</a></td>
</tr>
<tr>
<td height=20><a href=Admin_Database.asp?Action=Restore target=main>恢复数据库</a></td>
</tr>
<tr>
<td><a href=Admin_Database.asp?Action=Init target=main>系统初始化</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>
</table>
<%end if%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle8 style="cursor:hand;" onclick="showsubmenu(8)" onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span>文件管理</span> </td>
</tr>
<tr>
<td style="display:none" id='submenu8'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20><a href=Admin_UploadFile.asp target=main>上传文件管理</a></td></tr>
<tr>
<td height=20> </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>
<%end if%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 bgcolor="999966" class=menu_title id=menuTitle9 onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title';>
<span><strong>:. DaDaYu .:文章信息</strong></span> </td>
</tr>
<tr>
<td>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20><br>
版权所有: DaDaYu<br>
设计制作: 大大鱼<BR>
技术支持: DaDaYu<br>
<br>
</td></tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -