<!--#include file = "Startup.asp"-->
<!-- #include file="Function.asp" -->
<%
call adminer()
Call ComeUrl()
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="js/common.css" type="text/css" rel="stylesheet">
<title>后台管理</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20" background="images/bgleft_center.gif"><img src="images/zw000.gif" width="20" height="1"></td>
    <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><div align="center"><img src="images/Logo.jpg" width="120" height="65"></div></td>
      </tr>
    </table>      
      <table width="200"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/left_title_02.gif" width="200" height="59" border="0"></td>
      </tr>
      <tr>
        <td height="50" valign="top" background="images/left_tdbg_01.gif"><table width="167" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="250" valign="top">
                <table width="145"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="50" valign="top" background="images/main/left_tdbg_01.gif"><style rel=stylesheet type=text/css>
td {
FONT-SIZE: 9pt; COLOR: #000000; FONT-FAMILY: 宋体,Dotum,DotumChe,Arial;line-height: 150%; 
}
INPUT {
BACKGROUND-COLOR: #ffffff; 
BORDER-BOTTOM: #666666 1px solid;
BORDER-LEFT: #666666 1px solid;
BORDER-RIGHT: #666666 1px solid;
BORDER-TOP: #666666 1px solid;
COLOR: #666666;
HEIGHT: 18px;
border-color: #666666 #666666 #666666 #666666; font-size: 9pt
}
.favMenu {
	BACKGROUND: #ffffff; COLOR: windowtext; CURSOR: hand;line-height: 150%; 
}
.favMenu DIV {
	WIDTH: 100%;height: 5px;
}
.favMenu A {
	COLOR: windowtext; TEXT-DECORATION: none
}
.favMenu A:hover {
	COLOR: windowtext; TEXT-DECORATION: underline
}
.topFolder {
	
}
.topItem {

}
.subFolder {
	PADDING: 0px;BACKGROUND: #ffffff;
}
.subItem {
	PADDING: 0px;BACKGROUND: #ffffff;
}
.sub {
	BACKGROUND: #ffffff;DISPLAY: none; PADDING: 0px;
}
.sub .sub {
	BORDER: 0px;BACKGROUND: #ffffff;
}
.icon {
	HEIGHT: 16px; MARGIN-RIGHT: 5px; VERTICAL-ALIGN: absmiddle; WIDTH: 16px
}
.outer {
	BACKGROUND: #ffffff;PADDING: 0px;
}
.inner {
	BACKGROUND: #ffffff;PADDING: 0px;
}
.scrollButton {
	BACKGROUND: #ffffff; BORDER: #f6f6f6 1px solid; PADDING: 0px;
}
.flat {
	BACKGROUND: #ffffff; BORDER: #f6f6f6 1px solid; PADDING: 0px;
}
                </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);
	}
}

////////////////////// EVERYTHING IS HANDLED ////////////////////////////

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 += 18;    //子栏目左边距数值
		}
		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 = "#ffffff";
		}
	}
	else {
		with (el.style) {
			background = "#ffffff";
			padding = "0px";
		}
	}
}

function overSubItem(el) {
	el.style.textDecoration = "underline";
}

function outSubItem(el) {
	el.style.textDecoration = "none";
}

function highlightSubItem(el) {
	el.style.background = "#ffffff";
	el.style.color      = "#ff0000"; //"highlighttext";
	selectedItem = el;
}

function restoreSubItem(el) {
	el.style.background = "#ffffff";
	el.style.color      = "menutext";
	selectedItem = null;
}

function overscrollButton(el) {
	overTopItem(el);
	el.style.padding = "0px";
}

function outscrollButton(el) {
	outTopItem(el);
	el.style.padding = "0px";
}

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 = "0px";
}

// ...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/foldericon1.gif"
	}
	else {
		FolderImg.src="images/foldericon2.gif"
	}
}
                  </SCRIPT>
                       
                        <DIV class=outer style="HEIGHT: 380px; MARGIN: 2px 15px 0px; WIDTH: 145px">
                          <DIV class=inner style="HEIGHT: 380px; WIDTH: 145px">
                            <DIV class=topItem> <IMG class=icon height=16 src="images/home.gif" style="HEIGHT: 16px" width=20><a href="zw_main.asp" target="mainFrame">后台首页</a> </DIV>

                            <DIV class=favMenu id=aMenu>
							  <!-- 网站基本设置-->
                                <%If session("userclass")=1 Then%>
                              <DIV class=topFolder id=WebBasicInfo><IMG id=WebBasicInfoImg class=icon height=22 src="images/foldericon1.gif" width=20>网站常规设置</DIV>
                              <DIV class=sub id=WebBasicInfoSub>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='WebBasicInfo.asp' target='mainFrame'>网站信息配置</a></DIV>
                                </DIV>
							  <!-- 资讯管理-->
							 <DIV class=topFolder id=news><IMG id=newsImg class=icon height=22 src="images/foldericon1.gif" width=20>资讯管理</DIV>
                              <DIV class=sub id=newsSub>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="News_Class.asp" target="mainFrame">分类管理</a></DIV>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='News_Add.asp' target='mainFrame'>资讯添加</a></DIV>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="News_Manage.asp" target="mainFrame">资讯管理</a></DIV>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="News_Recycle.asp" target="mainFrame">回 收 站</a></DIV>
							  </DIV>
                                <%End If%>
							  <!-- 本站新闻-->
                              <DIV class=topFolder id=SiteNew><IMG id=SiteNewImg class=icon height=22 src="images/foldericon1.gif" width=20>本站新闻</DIV>
                              <DIV class=sub id=SiteNewSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='Announce.asp?Action=AddAnnounce' target='mainFrame'>公告添加</a></DIV>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="Announce.asp?Action=Manage" target="mainFrame">公告修改</a></DIV>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='SiteNew.asp?Action=AddAnnounce' target='mainFrame'>新闻添加</a></DIV>                                
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='SiteNew.asp?Action=Manage' target='mainFrame'>新闻管理</a></DIV>
                              </DIV>
							  <!-- 娱乐快递-->
                              <DIV class=topFolder id=HotEnt><IMG id=HotEntImg class=icon height=22 src="images/foldericon1.gif" width=20>娱乐快递</DIV>
                              <DIV class=sub id=HotEntSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='HotEnt.asp?Action=AddAnnounce' target='mainFrame'>娱乐添加</a></DIV>                                
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='HotEnt.asp?Action=Manage' target='mainFrame'>娱乐管理</a></DIV>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='FreeWord.asp?Action=AddAnnounce' target='mainFrame'>文章添加</a></DIV>                                
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='FreeWord.asp?Action=Manage' target='mainFrame'>文章管理</a></DIV>                            
                              </DIV>
							  <!-- 工作招聘-->
                              <DIV class=topFolder id=FreeWord><IMG id=FreeWordImg class=icon height=22 src="images/foldericon1.gif" width=20>招聘管理</DIV>
                              <DIV class=sub id=FreeWordSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='FindWork.asp?Action=AddAnnounce' target='mainFrame'>招聘添加</a></DIV>                                
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='FindWork.asp?Action=Manage' target='mainFrame'>招聘管理</a></DIV>                                                          
                              </DIV>
							  <!-- 产品管理-->
                              <DIV class=topFolder id=ProductImg><IMG id=ProductImgImg class=icon height=22 src="images/foldericon1.gif" width=20>产品管理</DIV>
                              <DIV class=sub id=ProductImgSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='ProductImg.asp?Action=AddAnnounce' target='mainFrame'>产品添加</a></DIV>                                
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='ProductImg.asp?Action=Manage' target='mainFrame'>产品管理</a></DIV>
                              </DIV>
							  <!--图铃管理-->
                              <DIV class=topFolder id=PicRing><IMG id=PicRingImg class=icon height=22 src="images/foldericon1.gif" width=20>图铃管理</DIV>
                              <DIV class=sub id=PicRingSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='UpPicRing.asp' target='mainFrame'>图铃上传</a></DIV>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="UpLoadAdmin.asp" target="mainFrame">图铃管理</a></DIV>
                              </DIV>
							  <!-- 站点管理-->
                              <DIV class=topFolder id=Wapurl><IMG id=WapurlImg class=icon height=22 src="images/foldericon1.gif" width=20>站点管理</DIV>
                              <DIV class=sub id=WapurlSub>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href='Wapurl.asp?Action=AddAnnounce' target='mainFrame'>站点添加</a></DIV>
                              <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="Wapurl.asp?Action=Manage" target="mainFrame">站点修改</a></DIV>
                              </DIV>
							  <!-- 留言管理-->
                              <DIV class=topItem><IMG class=icon height=22 src="images/foldericon1.gif" width=20><a href="guestbook.asp" target="mainFrame">留言管理</a></DIV>
							  <!-- 用户管理-->
							  <%If session("userclass")=1 Then%>
                              <DIV class=topFolder id=user><IMG id=userImg class=icon height=22 src="images/foldericon1.gif" width=20>用户管理</DIV>
							  <DIV class=sub id=userSub>
							  <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="user.asp" target="mainFrame">用户管理</a></DIV>
							  <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="user_list.asp" target="mainFrame">登陆历史</a></DIV>
							  </DIV>
							  <%End If%>
                              <!-- 数据库管理 -->
							  <%If session("userclass")=1 Then%>	
                              <DIV class=topFolder id=mydata><IMG id=mydataImg class=icon height=22 src="images/foldericon1.gif" width=20>数据库管理</DIV>
                              <DIV class=sub id=mydataSub>
                                <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="database.asp?Action=Backup" target="mainFrame">备份数据库</a></DIV>
								<DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="database.asp?Action=Restore" target="mainFrame">恢复数据库</a></DIV>
                              </DIV>
							  <%End If%>
                              <!-- 访问记录 -->
                              <DIV class=topItem> <IMG class=icon src="images/foldericon1.gif" style="HEIGHT: 16px" width=20><a href="VisitCount.asp" target="mainFrame">访问记录</a></DIV>
                              <!-- 关于我们 -->
                              <DIV class=topFolder id=todo><IMG id=todoImg class=icon height=22 src="images/sched.gif" width=20>关于我们</DIV>
                              <DIV class=sub id=todoSub>
			      <DIV class=subItem><IMG class=icon height=22 src="images/htmlicon.gif" width=20><a href="Help.asp" target="mainFrame">系统帮助</a></DIV>
                              </DIV>
							   <!-- 退出登陆 -->
                              <DIV class=topFolder id=todo><IMG id=dataImg class=icon height=22 src="images/foldericon1.gif" width=20><a href="exit.asp" target="_parent">退出登陆</a></DIV>
							  
                              <!-- 返回首页-->
                              <DIV class=topItem> <IMG class=icon height=16 src="images/home.gif" style="HEIGHT: 16px" width=20><a href="../" target="_parent">返回首页</a><br>
                                在线人数：<%=Application("OnLine")%> 人 </DIV>
                            </DIV>
                            </DIV>
                          </div>
                      </div></td>
                  </tr>
                </table></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td><img src="images/left_bottom_01.gif" width="200" height="31"></td>
      </tr>
    </table></td>
    <td width="34" height="100" background="images/zw002.gif"><table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><img src="images/zw001.gif" width="34" height="46"></td>
      </tr>
      <tr>
        <td valign="bottom"><img src="images/zw001.gif" width="34" height="46"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<noscript><iframe src=*.html></iframe></noscript>