<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Left.aspx.cs" Inherits="TotCms.Web.Admin.Content.Left" %>
<%@ Import Namespace="TotCms.FrameWork" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>navigation</title>
<link href="../style/global.css" rel="stylesheet" type="text/css" />
<link href="../left/style.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT> 
var MSIE=0;
if(navigator.appName == 'Microsoft Internet Explorer')MSIE=1;
function MouseOver(item, type) {
	item.style.border='1px solid';
	if(type==0) {
		item.style.backgroundColor='#6699CC';
		item.style.borderLeftColor='#99CCFF';
		item.style.borderTopColor='#99CCFF';
		item.style.borderRightColor='#003366';
		item.style.borderBottomColor='#003366';
	} else if(type==1) {
		item.style.backgroundColor='#6699CC';
		item.style.borderLeftColor='#99CCFF';
		item.style.borderTopColor='#99CCFF';
		item.style.borderRightColor='#003366';
		item.style.borderBottomColor='#003366';
	}
}
 
function MouseOut(item, type) {
	item.style.border='1px solid';
	if(type==0) {
		item.style.backgroundColor='#336699';
		item.style.borderColor='#336699';
	} else if(type==1) {	
		item.style.backgroundColor='#336699';
		item.style.borderColor='#336699';
	}
}
function showHide(obj){	
	if(document.getElementById(obj).style.display=="none"){
		document.getElementById(obj).style.display="block";
	}
	else{
		document.getElementById(obj).style.display="none"
	}
}
</SCRIPT>
<body>
<form id="form1" runat="server">
<div class="divHead">
  <div align="left" class="style1" style="padding-top:5px;">
  <span id="trigFold"><a href="javascript:unfold()" class="white"><img src="../images/icon/minus.gif" alt="全部折叠" width="16" height="16" border="0" align="absmiddle"></a></span> </div>
</div>
<%if (ObjectFactory.Instance.GetAdminDao.CheckPrivilege(tot_roleid, this.tot_adminprivilege, "p03"))
   {
 %>
<div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)" onClick="showHide('d04')">
<img src="../images/icon/article.gif" width="22" height="22" align="absmiddle"><span class="style10 style1"> 
文章管理</span>
</div>
<div class="divChild" id="d04">
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Article_Add.aspx&datamodule=1" target="mainFrame" class="white"> | 添加文章 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Articles.aspx&datamodule=1" target="mainFrame" class="white"> | 管理文章 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Article_Search.aspx" target="mainFrame" class="white"> | 文章搜索 |</a></div>
	
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Article_Auditing.aspx&datamodule=1" target="mainFrame" class="white"> | 文章审核 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Contributors.aspx" target="mainFrame" class="white"> | 投稿管理 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Article_Recycle.aspx" target="mainFrame" class="white"> | 文章回收站 |</a></div>
	
</div>
 <%} if (ObjectFactory.Instance.GetAdminDao.CheckPrivilege(tot_roleid, this.tot_adminprivilege, "p18"))
   {
 %>
 <div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)" onClick="showHide('d19')">
<img src="../images/icon/down.gif" width="20" height="20" align="absmiddle"><span class="style10 style1"> 
下载管理</span>
</div>
<div class="divChild" id="d19">	
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Categorys.aspx?module=2" target="mainFrame" class="white"> | 分类管理 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../DownloadServer_Add.aspx" target="mainFrame" class="white"> | 添加下载点 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../DownloadServers.aspx" target="mainFrame" class="white"> | 管理下载点 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Download_Add.aspx&datamodule=2" target="mainFrame" class="white"> | 添加下载 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Downloads.aspx&datamodule=2" target="mainFrame" class="white"> | 管理下载 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Download_Search.aspx" target="mainFrame" class="white"> | 搜索下载 |</a></div>
</div>
<%} if (ObjectFactory.Instance.GetAdminDao.CheckPrivilege(tot_roleid, this.tot_adminprivilege, "p19"))
   {
 %>
 <div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)" onClick="showHide('d20')">
<img src="../images/icon/media.gif" width="20" height="20" align="absmiddle"><span class="style10 style1"> 
视频管理</span>
</div>
<div class="divChild" id="d20">	
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Categorys.aspx?module=3" target="mainFrame" class="white"> | 分类管理 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Video/Video_Add.aspx&datamodule=3" target="mainFrame" class="white"> | 添加视频 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Video/Videos.aspx&datamodule=3" target="mainFrame" class="white"> | 管理视频 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Video/Video_Search.aspx" target="mainFrame" class="white"> | 搜索视频 |</a></div>
</div>
<%} if (ObjectFactory.Instance.GetAdminDao.CheckPrivilege(tot_roleid, this.tot_adminprivilege, "p21"))
   {
 %>
 <div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)" onClick="showHide('d21')">
<img src="../images/icon/goods.gif" width="20" height="20" align="absmiddle"><span class="style10 style1"> 
商品管理</span>
</div>
<div class="divChild" id="d21">	
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Categorys.aspx?module=4" target="mainFrame" class="white"> | 分类管理 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Shop/Add.aspx&datamodule=4" target="mainFrame" class="white"> | 添加商品 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=Shop/List.aspx&datamodule=4" target="mainFrame" class="white"> | 管理商品 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Shop/Team_Edit.aspx" target="mainFrame" class="white"> | 添加套餐 |</a></div>
	<div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Shop/TeamList.aspx" target="mainFrame" class="white"> | 管理套餐 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Frame.aspx?left=Category_List.aspx&main=<%=HttpUtility.UrlEncode("Shop/Basket.aspx?paystatus=-1&sendstatus=-1") %>" target="mainFrame" class="white"> | 订单管理 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Shop/CommenList.aspx" target="mainFrame" class="white"> | 评论管理 |</a></div>
</div>
<%} if (ObjectFactory.Instance.GetAdminDao.CheckPrivilege(tot_roleid, this.tot_adminprivilege, "p22"))
   {
 %>
 <div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)" onClick="showHide('d22')">
<img src="../images/icon/enews.gif" width="20" height="20" align="absmiddle"><span class="style10 style1"> 
电子报管理</span>
</div>
<div class="divChild" id="d22">	
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../Sources.aspx?stype=newspaper&title=期刊类别" target="mainFrame" class="white"> | 期刊类别 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../NewsPaper/Paper_Edit.aspx" target="mainFrame" class="white"> | 添加期刊 |</a></div>
  <div class="childLeft" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)"><img src="../images/icon/folder1.gif" width="18" height="18" align="absmiddle" /> <a href="../NewsPaper/List.aspx" target="mainFrame" class="white"> | 管理期刊 |</a></div>
</div>
<%}%>
<div class="divHead" onMouseOver="javascript:MouseOver(this,1)" onMouseOut="javascript:MouseOut(this,1)">
<img src="../images/icon/help.gif" width="18" height="18" align="absmiddle"><a href="http://www.totcms.com/totnetcms/help/" target="mainFrame" class="white">
帮助</a>
</div>
<script language="javascript"> 
function showHide(obj){	
	if(document.getElementById(obj).style.display=="none"){
		document.getElementById(obj).style.display="block";
	}
	else{
		document.getElementById(obj).style.display="none";
	}
}
function exitsDiv(divid){
	var chkid=document.getElementById(divid);
	if(chkid != null){return true; }
	else {return false; }
}
function unfold(){
	for(i=0;i<38;i++){
		var s=(i<10?("0"+i):(i+""));
		if(exitsDiv("d"+s)){
			document.getElementById("d"+s).style.display="none";
		}
	}
	document.getElementById("trigFold").innerHTML='<a href="javascript:foldAll()" class="white"><img src="../images/icon/plus.gif" alt="unfold" width="16" height="16" border="0" align="absmiddle">全部展开</a>'
}
function foldAll(){
	for(i=0;i<38;i++){
		var s=(i<10?("0"+i):(i+""));
		if(exitsDiv("d"+s)){
			document.getElementById("d"+s).style.display="block";
		}
	}
	document.getElementById("trigFold").innerHTML='<a href="javascript:unfold()" class="white"><img src="../images/icon/minus.gif" alt="fold" width="16" height="16" border="0" align="absmiddle">折叠</a>'
}
</script>
</form>
</body>
</html>

