📄 menu.asp
字号:
<!--#include file=conn.asp-->
<%if session("admin")="" then
response.Redirect "login.asp"
end if
set rs=server.createobject("adodb.recordset")
rs.open "select * from 1car where by_tongguo=0 ",conn,1,1
sellwait= rs.recordcount
rs.close
set rs=nothing
set rs=server.createobject("adodb.recordset")
rs.open "select * from dealer where reglx=0 ",conn,1,1
dealerwait= rs.recordcount
rs.close
set rs=nothing
set rs=server.createobject("adodb.recordset")
rs.open "select * from 2car where by_tongguo=0 ",conn,1,1
buywait= rs.recordcount
rs.close
set rs=nothing
%>
<%
if session("Flag")=1 then
color="#000000"
elseif session("Flag")=2 then
color="#000000"
else
color="#CCCCCC"
end if
if session("Flag")=1 then
colorx="#000000"
else
colorx="#CCCCCC"
end if
REM 管理栏目设置
dim menu(10,10)
menu(0,0)="常规设置"
menu(0,1)="<a href=webconfig.asp target=right><font color="&colorx&">网站设置</a> "
menu(0,2)="<a href=imageslinks.asp target=right><font color="&colorx&">图片链接</a> "
menu(0,3)="<a href=links.asp target=right><font color="&colorx&">文字链接</a> "
menu(1,0)="加盟商家管理"
menu(1,1)="<a href=managedealer.asp?action=all target=right>所有加盟商</a> "
menu(1,2)="<a href=managedealer.asp?action=pass target=right>已审核加盟商</a>"
menu(1,3)="<a href=managedealer.asp?action=wait target=right>待审核加盟商</a>("&dealerwait&")"
menu(1,4)="<a href=managedealer.asp?action=fall target=right>未通过加盟商</a>"
menu(2,0)="出售信息管理"
menu(2,1)="<a href=addsell.asp target=right>添加出售信息</a> "
menu(2,2)="<a href=managesell.asp?action=all target=right>管理全部出售信息</a>"
menu(2,3)="<a href=managesell.asp?action=pass target=right>通过审核信息</a> "
menu(2,4)="<a href=managesell.asp?action=wait target=right>待审核信息</a>("&sellwait&") "
menu(2,5)="<a href=managesell.asp?action=fall target=right>未通过审核信息</a> "
menu(3,0)="求购信息管理"
menu(3,1)="<a href=addbuy.asp target=right>添加求购信息</a> "
menu(3,2)="<a href=managebuy.asp?action=all target=right>管理全部求购信息</a>"
menu(3,3)="<a href=managebuy.asp?action=pass target=right>通过审核信息</a> "
menu(3,4)="<a href=managebuy.asp?action=wait target=right>待审核信息</a>("&buywait&")"
menu(3,5)="<a href=managebuy.asp?action=fall target=right>未通过审核信息</a> "
menu(4,0)="香车美女"
menu(4,1)="<a href=addxcmn.asp target=right>添加香车美女</a> "
menu(4,2)="<a href=managexcmn.asp target=right>管理香车美女</a> "
menu(5,0)="留言管理"
menu(5,1)="<a href=sellreview.asp?action=all target=right>出售信息留言</a> "
menu(5,2)="<a href=buyreview.asp?action=all target=right>求购信息留言</a> "
menu(5,3)="<a href=xcmnreview.asp?action=all target=right>香车美女留言</a> "
menu(5,4)="<a href=ppreview.asp?action=all target=right>汽车品牌留言</a> "
menu(6,0)="品牌管理"
menu(6,1)="<a href=anclass.asp target=right><font color="&color&">品牌属地管理</a>"
menu(6,2)="<a href=nclass.asp target=right><font color="&color&">汽车品牌管理</a>"
menu(6,3)="<a href=moveclass.asp target=right><font color="&color&">品牌转移</a>"
menu(6,4)="<a href=managepp.asp target=right><font color="&color&">品牌详细介绍</a>"
menu(7,0)="信息管理"
menu(7,1)="<a href=moveads.asp target=right><font color="&color&">移动公告</a> "
menu(7,2)="<a href=changepic.asp target=right><font color="&color&">首页幻灯片广告</a> "
menu(7,3)="<a href=addnews.asp target=right><font color="&color&">添加汽车新闻</a> "
menu(7,4)="<a href=editnews.asp target=right><font color="&color&">管理汽车新闻</a>"
menu(7,5)="<a href=addgg.asp target=right><font color="&color&">添加公告</a>"
menu(7,6)="<a href=editgg.asp target=right <font color="&color&">公告管理</a></font>"
menu(7,7)="<a href=editxx.asp target=right><font color="&color&">信息管理</a> "
menu(7,8)="<a href=guanggao.asp target=right><font color="&color&">收费广告位</a> "
menu(7,9)="<a href=managepic.asp?action=wait target=right><font color="&color&">上传图片管理</a> "
menu(8,0)="省市管理"
menu(8,1)="<a href=ManageProvince.asp target=right><font color="&color&">省管理</a> | <a href=ManageCity.asp target=right><font color="&color&">市管理</a>"
menu(9,0)="网站安全管理"
menu(9,1)="<a href=loginerr.asp target=right><font color="&color&">后台登录失败</a>"
menu(9,2)="<a href=adminlog.asp target=right><font color="&color&">管理员登录日志</a>"
menu(10,0)="数据处理(Access)"
menu(10,1)="<a href=database_menager.asp#1 target=right><font color="&colorx&">数据库更名</a> "
menu(10,2)="<a a href=../check.asp target=right><font color="&color&">系统空间占用</a>"
menu(10,3)="<a href=aspcheck.asp target=right><font color="&color&">服务器环境</a>"
%>
<title>管理页面</title>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<style type=text/css>
body {
background:#799AE1;
margin:0px;
font:9pt 宋体;
background-color: #E00900;
}
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:#FFFFFF;text-decoration:underline; }
.sec_menu {
border-left:1px solid #FFBAA8;
border-right:1px solid #FFBAA8;
border-bottom:1px solid #FFBAA8;
overflow:hidden;
background:#FF3400;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #FFBAA8;
}
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
.style1 {color: #FFFFFF}
.style2 {color: #000000}
</style>
<SCRIPT language=javascript1.2>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"none\";");
}
}
</SCRIPT>
<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 cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=42 valign=bottom>
<img border="0" src="images/admin1.jpg" width="163" height="60">
</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/admin_titil2.jpg>
<b> <span lang="zh-cn">便宜程序说明</span></b><span>
</td>
</tr>
<tr>
<td style="display:">
<div class=sec_menu style="width:160px; height:46px">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=20>
<img src=images/bullet.gif border=0><a href=pay.asp target=right>购买方式</font></a> | <b><a href="" target=_top>使用说明</a></b></span></td>
</tr>
<tr>
<td height=20>
<img src=images/bullet.gif border=0><a href=renpassword.asp target=right>修改密码</font></a> | <b><a href="logout.asp" target=_top>注销退出</a></b></span></td>
</tr>
</table>
</table>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=10></td>
</tr>
</table>
</div>
<%
dim j,i
dim tmpmenu
dim menuname
dim menurl
for i=0 to ubound(menu,1)
%>
<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_titil2.jpg" id=menuTitle1 onclick="showsubmenu(<%=i%>)">
<span><%=menu(i,0)%></span> </td>
</tr>
<tr>
<td <%if i=1 or i=2 then%> style="display:" style="display:none" <%end if%> id='submenu<%=i%>'>
<!--<td style="display:none" id='submenu<%=i%>'>-->
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<%
for j=1 to ubound(menu,2)
if isempty(menu(i,j)) then exit for
%>
<tr><td height=20><img src=images/bullet.gif border=0><%=menu(i,j)%></td></tr>
<%
next
%>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr><td height=10></td></tr>
</table>
</div>
</td>
</tr>
</table>
<%next%>
<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_2.gif" id=menuTitle1>
<span>系统信息</span> </td>
</tr>
<tr>
<td> <div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=158>
<tr>
<td height=20><br>
版权所有:<BR>
<span lang="zh-cn">便宜二手车程序</span><BR>
<BR>
官方网站:<BR>
<a href="http://www.byshop.cn" target=right>http://www.byshop.cn</a><BR>
<BR></td>
</tr>
</table>
</div></td>
</tr>
</table><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -