<!--#include file="conn.asp"-->
<%if request.cookies("admin")("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
else
if request.cookies("admin")("flag")>3 then
response.Write "<p align=center><font color=red>您没有此项目管理权限！</font></p>"
response.End
end if
end if
%>
<link href="../image/css.css" rel="stylesheet" type="text/css">
<style rel=stylesheet type=text/css>
td {font-size:9pt;color:#000000;font-family:宋体,dotum,dotumche,arial;line-height:150%; }
input {background-color:#efefef;border:#666666 1px solid;color:#666666;height:18px;border-color:#666666;font-size: 9pt}
.favmenu {background: #efefef;color:windowtext;line-height:150%}
.favmenu div {width:100%;height:5px;text-decoration: none}
.favmenu a {color:windowtext;text-decoration:none}
.favmenu a:hover {color:windowtext;text-decoration: none}

.topfolder {height:20px;border:ridge 1px;background:#EFEFEF;padding:2px;cursor: hand}
.topbot {height:60px;background:#EFEFEF;padding-top:16px;padding-left:5px}
.topitem {height:30px;background:#EFEFEF;padding:0px}
.subfolder {padding:2px;background:#efefef}
.subitem {padding:2px;background:#F5F5F5;text-decoration:none}
.sub {background:#efefef;display:none;padding-left:10px}
.sub .sub {border:0px;background:#efefef;}
.icon {height:16px; margin-right:5px;vertical-align:absmiddle;width:16px}
.outer {padding:0px;}
.inner {padding:0px;}
.scrollbutton {background:#efefef;border:#f6f6f6 1px solid;padding:10px;}
.flat {background:#efefef;border:#f6f6f6 1px solid;padding:10px;}
</style>
<script type=text/javascript>
var selectedItem = null;
var targetWin;
document.onclick = handleClick;
document.onmouseover = handleOver;
document.onmouseout = handleOut;
document.onmousedown = handleDown;
document.onmouseup = handleUp;
document.write(writeSubPadding(10));  //write the stylesheet for the sub. Getting the indention right
function handleClick() {
	el = getReal(window.event.srcElement, "tagName", "DIV");	
	if ((el.className == "topFolder") || (el.className == "subFolder")) {
//		if (el.sub == null) el.sub = eval(el.id + "Sub");
//		alert(el.sub);
		el.sub = eval(el.id + "Sub");
		if (el.sub.style.display == null) el.sub.style.display = "none";
		if (el.sub.style.display != "block") { //hidden
			//any other sub open?
			if (el.parentElement.openedSub != null) {
				var opener = eval(el.parentElement.openedSub + ".opener");
				ChangeFolderImg(opener,1)
				hide(el.parentElement.openedSub);
				if (opener.className == "topFolder")
					outTopItem(opener);
			}
			el.sub.style.display = "block";
			el.sub.parentElement.openedSub = el.sub.id;
			el.sub.opener = el;
			ChangeFolderImg(el,2)
		}
		else {
		//if (el.sub.openedSub != null) hide(el.sub.openedSub);
			hide(el.sub.id);
			ChangeFolderImg(el,1)
		}
	}	
	if ((el.className == "subItem") || (el.className == "subFolder")) {
		if (selectedItem != null)
			restoreSubItem(selectedItem);
		highlightSubItem(el);
	}
	
	if ((el.className == "topItem") || (el.className == "topFolder")) {
		if (selectedItem != null)
			restoreSubItem(selectedItem);
	}
	if ((el.className == "topItem") || (el.className == "subItem")) {
		if ((el.href != null) && (el.href != "")) {
			if ((el.target == null) || (el.target == "")) {
				if (window.opener == null) {
				//alert(document.all.tags("BASE").item(0));
					if (document.all.tags("BASE").item(0) != null)
					//eval(document.all.tags("BASE").item(0).target + ".location = el.href");
						window.open(el.href, document.all.tags("BASE").item(0).target);
					else 
						window.location = el.href;					// HERE IS THE LOADING!!!
				}
				else {
					window.opener.location = el.href;
				}
			}
			else {
				window.open(el.href, el.target);
//eval(el.target + ".location = el.href");
			}
		}
	}	
	var tmp  = getReal(el, "className", "favMenu");
	if (tmp.className == "favMenu") fixScroll(tmp);
}
function handleOver() {
	var fromEl = getReal(window.event.fromElement, "tagName", "DIV");
	var toEl = getReal(window.event.toElement, "tagName", "DIV");
	if (fromEl == toEl) return;	
	el = toEl;	
	if ((el.className == "topFolder") || (el.className == "topItem")) overTopItem(el);
	if ((el.className == "subFolder") || (el.className == "subItem")) overSubItem(el);
	
	if ((el.className == "topItem") || (el.className == "subItem")) {
		if (el.href != null) {
			if (el.oldtitle == null) el.oldtitle = el.title;
			if (el.oldtitle != "")
				el.title = el.oldtitle + "\n" + el.href;
			else
				el.title = el.oldtitle + el.href;
		}
	}	
	if (el.className == "scrollButton") overscrollButton(el);
}
function handleOut() {
	var fromEl = getReal(window.event.fromElement, "tagName", "DIV");
	var toEl = getReal(window.event.toElement, "tagName", "DIV");
	if (fromEl == toEl) return;	
	el = fromEl;
	if ((el.className == "topFolder") || (el.className == "topItem")) outTopItem(el);
	if ((el.className == "subFolder") || (el.className == "subItem")) outSubItem(el);
	if (el.className == "scrollButton") outscrollButton(el);
}
function handleDown() {
	el = getReal(window.event.srcElement, "tagName", "DIV");		
	if (el.className == "scrollButton") {
		downscrollButton(el);
		var mark = Math.max(el.id.indexOf("Up"), el.id.indexOf("Down"));
		var type = el.id.substr(mark);
		var menuID = el.id.substring(0,mark);
		eval("scroll" + type + "(" + menuID + ")");
	}
}
function handleUp() {
	el = getReal(window.event.srcElement, "tagName", "DIV");		
	if (el.className == "scrollButton") {
		upscrollButton(el);
		window.clearTimeout(scrolltimer);
	}
}
function hide(elID) {
	var el = eval(elID);
	el.style.display = "none";
	el.parentElement.openedSub = null;
//	if (el.openedSub != null) hide(el.openedSub);
}
function writeSubPadding(depth) {
	var str, str2, val;
	var str = "<style type='text/css'>\n";	
	for (var i=0; i < depth; i++) {
		str2 = "";
		val  = 0;
		for (var j=0; j < i; j++) {
			str2 += ".sub "
			val += 2;    //子栏目左边距数值
		}
		str += str2 + ".subFolder {padding-left: " + val + "px;}\n";
		str += str2 + ".subItem   {padding-left: " + val + "px;}\n";
	}	
	str += "</style>\n";
	return str;
}
//If you wan't to change colors do so below
function overTopItem(el) {
	with (el.style) {
		background   = "#f8f8f8";
		paddingBottom = "0px";
	}
}
function outTopItem(el) {
	if ((el.sub != null) && (el.parentElement.openedSub == el.sub.id)) { //opened
		with(el.style) {
			background = "#efefef";
			padding = "2px";
		}
	}
	else {
		with (el.style) {
			background = "#efefef";
			padding = "2px";
		}
	}
}
function overSubItem(el) {
	el.style.textDecoration = "none";
}
function outSubItem(el) {
	el.style.textDecoration = "none";
}
function highlightSubItem(el) {
	el.style.background = "#f5f5f5";
	el.style.color      = ""; //"highlighttext";
	selectedItem = el;
}
function restoreSubItem(el) {
	el.style.background = "#f5f5f5";
	el.style.color      = "menutext";
	selectedItem = null;
}
function overscrollButton(el) {
	overTopItem(el);
	el.style.padding = "2px";
}
function outscrollButton(el) {
	outTopItem(el);
	el.style.padding = "2px";
}
function downscrollButton(el) {
	with (el.style) {
		borderRight="0px solid buttonhighlight";
		borderLeft="0px solid buttonshadow";
		borderBottom="0px solid buttonhighlight";
		borderTop="0px solid buttonshadow";
	}
}
function upscrollButton(el) {
	overTopItem(el);
	el.style.padding = "2px";
}
// ...till here
function getReal(el, type, value) {
	var temp = el;
	while ((temp != null) && (temp.tagName != "BODY")) {
		if (eval("temp." + type) == value) {
			el = temp;
			return el;
		}
		temp = temp.parentElement;
	}
	return el;
}
// Fix the scrollbars
var globalScrollContainer;	// Needed because the object is called through windwow.setTimeout
var overflowTimeout = 1;
function fixScroll(el) {
	globalScrollContainer = el;
	window.setTimeout('changeOverflow(globalScrollContainer)', overflowTimeout);
}
function changeOverflow(el) {
	if (el.offsetHeight > el.parentElement.clientHeight)
		window.setTimeout('globalScrollContainer.parentElement.style.overflow = "auto";', overflowTimeout);
	else
		window.setTimeout('globalScrollContainer.parentElement.style.overflow = "hidden";', overflowTimeout);
}
function ChangeFolderImg(el,type) {
	var FolderImg = eval(el.id + "Img");
	if (type == 1) {
		FolderImg.src="images/bookclose.gif"
	}
	else {
		FolderImg.src="images/bookopen.gif"
	}
}
</script> 
<body bgcolor="F5F5F5">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">                  
<tr>
<td valign="top">                      
<div class=outer style="margin:3px;width:100%">
<div class=inner style="width:100%">
<div class="topbot" style="background-image:url(images/title.jpg)"><img class=icon src="images/home.gif"><a href="admin.asp" target="right">管理首页</a> | <a href="logout.asp" target="_top">退出登陆</a></div>
<div class=favMenu id=aMenu>
<!-- 文章管理-->
<div class=topFolder id=news><img id=newsImg class=icon src="images/bookclose.gif">文章管理</div>
<div class=sub id=newsSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href="manage_mobannews.asp" target="right">文章管理</a> | <a href="manage_mobannews.asp?action=1" target="right">添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href="manage_mobannews.asp?action=2" target="right">草 稿 箱</a> | <a href="manage_mobannews.asp?action=3" target="right">添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href="managenews_menu.asp" target="right">分类管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href="managechannel.asp" target="right">频道设置</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href="managenewspinglun.asp?mo=all" target="right">评论管理</a> </div>
</div>
<!-- 商品管理 -->
<div class=topFolder id=Product><img id=ProductImg class=icon src="images/bookclose.gif">商品管理</div>
<div class=sub id=ProductSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manage_mobanprice.asp target=right>所有商品</a> | <a href=manage_mobanprice.asp?action=1 target=right>添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manage_priceclass.asp target=right>分类修改</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manage_action.asp target=right>商品订单</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=fangshi.asp?action=songhuo target=right>送货设定</a> | <a href=fangshi.asp?action=zhifu target=right>支付设定</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=managepinglun.asp?action=all target=right>商品评论管理</a></div>
</div>
<!-- 商家管理-->
<div class=topFolder id=user><img id=userImg class=icon src="images/bookclose.gif">商家管理</div>
<div class=sub id=userSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjia.asp target=right>商家管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjianews.asp target=right>商家新闻管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjiapro.asp target=right>商家产品管理</a> | <a href="shjiapro.asp?action=add" target=right>添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjiamarket.asp target="right">商家后台商讯</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjialetter.asp target="right">商家后台短信</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=shjiaxx.asp target="right">IT532快讯</a> | <a href=shjiaxx.asp?action=add target=right>发布</a></div>
</div>
<!-- 会员管理--><%if request.cookies("admin")("flag")=1 then%>
<div class=topFolder id=gr><img id=grImg class=icon src="images/bookclose.gif">会员管理</div>
<div class=sub id=grSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=user_manage.asp?action=all target=right>会员管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=user_action.asp target=right>会员订单管理</a></div>
</div>
<!-- 广告管理-->
<div class=topFolder id=gg><img id=ggImg class=icon src="images/bookclose.gif">广告管理</div>
<div class=sub id=ggSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manageindexlink.asp target=right>首页导航管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=links.asp target=right>首页友情链接管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=guanggao.asp?channelid=1 target=right>首页广告管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=guanggao.asp?channelid=300 target=right>对联广告管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=guanggao.asp?channelid=200 target=right>论坛及其它广告</a></div>
</div>
<!-- 网站信息 -->
<div class=topFolder id=todo><img id=todoImg class=icon src="images/bookclose.gif">网站信息</div>
<div class=sub id=todoSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manage_searchkey.asp target=right>关键字管理</a> | <a href=manage_searchkey.asp?action=add target=right>添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=gonggao.asp target=right>滚动公告管理</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=webconfig.asp target=right>基本信息设置</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=managexx.asp target=right>其它信息设置</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manageadmin.asp target=right>用户管理</a> | <a href=renpassword.asp target=right>密码</a></div>
</div>
<!-- 投票反馈 -->
<div class=topFolder id=vo><img id=voImg class=icon src="images/bookclose.gif">投票反馈</div>
<div class=sub id=voSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=managevote.asp target=right>本站投票管理</a> | <a href=managevote.asp?action=add target=right>添加</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=viewfk.asp target=right>查看意见反馈</a></div>
</div>
<!-- 上传管理 -->
<div class=topFolder id=up><img id=upImg class=icon src="images/bookclose.gif">上传管理</div>
<div class=sub id=upSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=manageupfile.asp target=right>上传文件管理</a></div>
</div>
<!-- 数据库管理 -->
<div class=topFolder id=mydata><img id=mydataImg class=icon src="images/bookclose.gif">数据库管理</div>
<div class=sub id=mydataSub>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=aspcheck.asp target=right>服务器参数探测</a></div>
<div class=subItem><img class=icon src="images/nofollow.gif"><a href=tj.asp target=right>访问量设置</a></div>
</div>
<%end if%>
<div class="topbot">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr>
<td height=20 align="left"><a href="menunew.asp">刷新菜单</a></td>
</tr>
<tr>
<td height=20>版权所有&copy <a href=http://www.it532.cn target=_blank>www.it532.cn</a></td>
</tr>
<tr>
<td height=20>Powered by:慧鼎网络</td>
</tr>
<tr>
<td height=20>业务联系QQ：63021318</td>
</tr>
</table>
</div>
</div></div></div></td>
</tr>
</table>
</body>