📄 main.asp
字号:
<%@LANGUAGE="VBScript"%>
<!--#include file="public/wxl_conn.asp"-->
<!--#include file="public/PublicFunction.asp"-->
<%
dim operPurview(100),unLock(100)
set sqlMenu=server.createobject("ADODB.Recordset")
sqlMenu.open "select * from web_SysMenu where int_sMenuPID<>0 order by int_sMenuID",conn,1,1
while not sqlMenu.eof
if CheckPurview(sqlMenu(0),UserInfo("int_sOleUserID"))=1 then
unLock(sqlMenu(0))="un"
operPurview(sqlMenu(0))="onclick='SubMenuClick("&sqlMenu(0)&")'"
end if
' response.write "operPurview("&sqlMenu(0)&")="&operPurview(sqlMenu(0))&"<br>"
' response.write "Img="&unLock(sqlMenu(0))&"<br>"
sqlMenu.movenext
wend
sqlMenu.close
'response.end
%>
<html>
<head><title>诚信商店后台管理系统</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0"><meta name=keywords content="诚信商店,血饮狂刀,Clanboo,lanboo,金统联,webmaster@xytime.com,jsbuy.com,cebuy.com,王星亮,完美商店,超级商店,商城,冷面">
<link rel="STYLESHEET" type="text/css" href="js/menu.css">
<style>
A { font-size: 10pt; color: #FFFFFF; text-decoration: none }
table { font-size: 10pt; color: #000000; text-decoration: none }
.p9 { font-size: 9pt; color: #000000; text-decoration: none }
.p9_white{ font-size: 9pt; color: #FFFFFF; text-decoration: none }
</style>
<script src="js/function.js"></script>
<script language="JavaScript">
<!--
var ScrH;
var ScrW;
var PerCell;
var PreMenuNo = 0;
var PreMenuObj;
var SubMenuShow = 0;
function ShowMenu(MenuNo)
{
if (MenuNo == 1)
MenuLeft = 1;
else
if (ScrW <= 800)
MenuLeft = parseInt(((MenuNo - 1) * PerCell) - 2);
else
MenuLeft = parseInt(((MenuNo - 1) * PerCell));
eval('document.all.Menu' + MenuNo).style.top = 59;
eval('document.all.Menu' + MenuNo).style.left = MenuLeft;
eval('document.all.Menu' + MenuNo).style.display = "block";
}
function HiddenMenu(MenuNo)
{
if (PreMenuNo != 7)
eval('document.all.Menu' + MenuNo).style.display = "none";
}
function MenuClick(MenuNo)
{
if (PreMenuNo != 0)
{
if ((PreMenuNo == MenuNo) && (eval('document.all.Menu' + MenuNo).style.display = "block"))
{
HiddenMenu(MenuNo);
PreMenuNo = 0;
event.srcElement.className = "MenuUp";
}
else
{
HiddenMenu(PreMenuNo);
ShowMenu(MenuNo);
PreMenuNo = MenuNo;
}
}
else
{
ShowMenu(MenuNo);
PreMenuNo = MenuNo;
}
}
function MenuMouseOver(MenuNo)
{
if (PreMenuNo == 0)
{
PreMenuObj = event.srcElement;
PreMenuObj.className = "MenuUp";
}
else
{
if (MenuNo != 7)
{
if (PreMenuNo != MenuNo)
{
PreMenuObj.className = "Menu";
HiddenMenu(PreMenuNo);
ShowMenu(MenuNo);
PreMenuObj = event.srcElement;
PreMenuObj.className = "MenuDown";
PreMenuNo = MenuNo;
}
}
else
{
HiddenMenu(PreMenuNo);
PreMenuObj.className = "Menu";
event.srcElement.className = "MenuUp";
PreMenuNo = MenuNo;
}
}
}
function BtnMouseOver(BtnNo)
{
if (PreMenuNo != 0)
{
PreMenuObj.className = "Menu";
HiddenMenu(PreMenuNo);
PreMenuNo = 0;
}
eval("document.all.Btn" + BtnNo).className = "MenuUp";
}
function MenuMouseOut()
{
if (PreMenuNo != 0)
if (PreMenuNo != 7)
event.srcElement.className = "MenuDown";
else
event.srcElement.className = "Menu";
else
event.srcElement.className = "Menu";
}
function SubMenuClick(SubMenuNo)
{
if (PreMenuNo != 0)
{
PreMenuObj.className = "Menu";
HiddenMenu(PreMenuNo);
PreMenuNo = 0;
}
parent.main_iframe.buttom.document.all.menuno.value = SubMenuNo;
if (SubMenuNo == 11)
{
parent.main_iframe.buttom.State_2.innerText = "会员管理--->会员维护";
//parent.main_iframe.fratwo.cols = "162,*";
//parent.main_iframe.left.location = "#";
parent.main_iframe.main.location = "MemberMng/membermng.asp?MenuId=11";
}
if (SubMenuNo == 12)
{
parent.main_iframe.buttom.State_2.innerText = "会员管理--->会员查询";
//parent.main_iframe.fratwo.cols = "162,*";
//parent.main_iframe.left.location = "#";
parent.main_iframe.main.location = "MemberMng/memberfind.asp?MenuId=12";
}
if (SubMenuNo == 21)
{
parent.main_iframe.buttom.State_2.innerText = "订单管理--->订单维护";
//parent.main_iframe.fratwo.cols = "162,*";
//parent.main_iframe.left.location = "#";
parent.main_iframe.main.location = "ProcductMng/ordermng.asp?state=0&MenuId=21";
}
if (SubMenuNo == 22)
{
parent.main_iframe.buttom.State_2.innerText = "订单管理--->查看发货";
//parent.main_iframe.fratwo.cols = "162,*";
//parent.main_iframe.left.location = "#";
parent.main_iframe.main.location = "ProcductMng/ordermng.asp?state=1&MenuId=22";
}
if (SubMenuNo == 31)
{
parent.main_iframe.buttom.State_2.innerText = "商品管理-->分类管理";
parent.main_iframe.main.location = "ProcductMng/prockindmng.asp?MenuId=31";
}
if (SubMenuNo == 32)
{
parent.main_iframe.buttom.State_2.innerText = "商品管理-->商品维护";
parent.main_iframe.main.location = "ProcductMng/procductmng.asp?MenuId=32";
}
if (SubMenuNo == 33)
{
parent.main_iframe.buttom.State_2.innerText = "商品管理-->商品查询";
parent.main_iframe.main.location = "ProcductMng/procductfind.asp?MenuId=33";
}
if (SubMenuNo == 41)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->邮件列表";
parent.main_iframe.main.location = "OtherMng/maillistmng.asp?MenuId=41";
}
if (SubMenuNo == 42)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->公告管理";
parent.main_iframe.main.location = "OtherMng/newsmng.asp?int_sNewsType=1&MenuId=42";
}
if (SubMenuNo == 43)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->支付方式";
parent.main_iframe.main.location = "OtherMng/newsmng.asp?int_sNewsType=2&MenuId=43";
}
if (SubMenuNo == 44)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->配送方式";
parent.main_iframe.main.location = "OtherMng/newsmng.asp?int_sNewsType=3&MenuId=44";
}
if (SubMenuNo == 45)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->FAQ管理";
parent.main_iframe.main.location = "OtherMng/newsmng.asp?int_sNewsType=4&MenuId=45";
}
if (SubMenuNo == 46)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->主页小广告";
parent.main_iframe.main.location = "ProcductMng/urlpicmng.asp?KindId=00&MenuId=46";
}
if (SubMenuNo == 47)
{
parent.main_iframe.buttom.State_2.innerText = "其他管理-->主页居中广告";
parent.main_iframe.main.location = "ProcductMng/urlpicmng.asp?KindId=-1&MenuId=47";
}
if (SubMenuNo == 51)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->用户管理";
parent.main_iframe.main.location = "SysManage/usermng.asp?MenuId=51";
}
if (SubMenuNo == 52)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->用户组管理";
parent.main_iframe.main.location = "SysManage/groupmng.asp?MenuId=52";
}
if (SubMenuNo == 53)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->权限管理";
parent.main_iframe.main.location = "SysManage/purview.asp?MenuId=53";
}
if (SubMenuNo == 54)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->系统设置";
parent.main_iframe.main.location = "SysManage/configmng.asp?MenuId=54";
}
if (SubMenuNo == 55)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->数据库维护";
parent.main_iframe.main.location = "SysManage/Sqlmng.asp?MenuId=55";
}
if (SubMenuNo == 56)
{
parent.main_iframe.buttom.State_2.innerText = "系统管理-->空间统计";
parent.main_iframe.main.location = "SysManage/spacemng.asp?MenuId=56";
}
if (SubMenuNo == 101)//工具栏-->网站主页
{
parent.main_iframe.buttom.State_2.innerText = "工具栏-->网站主页";
parent.main_iframe.main.location = "/";
}
if (SubMenuNo == 102)//工具栏-->会员消息
{
parent.main_iframe.buttom.State_2.innerText = "工具栏-->会员消息管理";
parent.main_iframe.main.location = "SysManage/membercallmesg.asp";
}
if (SubMenuNo == 103)//工具栏-->我的批注
{
parent.main_iframe.buttom.State_2.innerText = "工具栏-->我的批注";
parent.main_iframe.main.location = "SysManage/";
parent.main_iframe.main.location = "DocManage/DocSuggestion/DocSuggestion.asp?MenuId=16";
}
if (SubMenuNo == 104)//工具栏-->在线名单
{
parent.main_iframe.buttom.State_2.innerText = "工具栏-->在线名单";
parent.main_iframe.main.location = "SysManage/onlinemng.asp";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -