<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv='Content-Type' content="text/html; charset={$_SET['def_charset']}">
<title>管理导航菜单</title>
<link href="{AW_P}images/skin.css" rel="stylesheet" type="text/css">
<script language=javascript src="{WW_P}images/js/qmecms.js"></script>
<style>
body {
	font:12px Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #EEF2FB;
	margin: 0px;
	vertical-align:bottom
}
#container {
	width: 182px;
}
H1 {
	font-size: 12px;
	margin: 0px;
	width: 182px;
	cursor: pointer;
	height: 30px;
	line-height: 20px;	
}
H1 a {
	display: block;
	width: 157px;
	color: #000;
	height: 30px;
	text-decoration: none;
	moz-outline-style: none;
	background-image: url({AW_P}images/skin/menu_bgs.gif);
	background-repeat: no-repeat;
	line-height: 30px;
	text-align: left;
	margin: 0px;
	padding-left: 25px;
}
.open H1 a{color:#ff6600}
.content{
	width: 182px;
}
.MM ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	display: block;
}
.MM li {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	list-style-type: none;
	display: block;
	text-decoration: none;
	height: 26px;
	width: 182px;
	padding-left: 0px;
}
.MM {
	width: 182px;
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	clip: rect(0px,0px,0px,0px);
}
.MM td {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 26px;
	color: #333333;
	background-image: url({AW_P}images/skin/menu_bg1.gif);
	background-repeat: no-repeat;
	height: 26px;
	width: 157px;
	display: block;
	text-align: left;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	text-decoration: none;
	padding-left:25px;
}
.MM td:hover{
	background-image: url({AW_P}images/skin/menu_bg2.gif);
}
.items{overflow:hidden}
</style>
<base target='main' />
</head>
<BODY>
<!--{if $admin_info['groupid'] <= 2}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">基本选项及更新</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content"  id='submenuchannel'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
			<!--{if $admin_info['groupid'] == 1}-->
			<tr><td height="20"> <a href="system.php?sys=option&action=modify" target="main"><font color=red>系统常规设置</font></a></td></tr>
			<!--{/if}-->
			<!--{if $admin_info['groupid'] < 3}-->
			<tr><td height="20"> <a href="system.php?sys=extend&action=manage" target="main">系统模型管理</font></a></td></tr>
			<tr><td height="20"> <a href="system.php?sys=channel&action=modify" target="main"><font color="red">网站频道管理</font></a></td></tr>
			<!--{/if}-->
			<tr><td height="20"> <a href="system.php?sys=author" target="main">文档设置</a></td></tr>
			<tr><td height="20"> <a href="system.php?sys=cron" target="main">系统计划任务</a></td></tr>
			<tr><td height="20"> <a href="system.php?sys=comment_filter" target="main">垃圾评论拦截</a></td></tr>
			<!--{if $admin_info['groupid'] < 3}-->
			<tr><td height="20"> <a href="system.php?sys=log" target="main">操作日志</a></td></tr>
			<!--{/if}-->
			<tr><td height="20"> <a href="system.php?sys=portal" target="main">门户数据维护</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->

<!--{loop $channellists $channellist}-->
<!--{if ($channellist[channelselect]==1 || $_MODULE[$channellist[channelselect]]['pid']==1) && displayLeft($channellist['channelid'])}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">{$channellist[channelname]}管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content"  id='submenu{$channellist[channelid]}'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
			<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
				<tr><td height="20"><a href="system.php?sys=channel&channelid={$channellist[channelid]}&action=edit" target=main>{$channellist[channelname]}频道设置</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=setting&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main"><font color=red>{$channellist[channeltitle]}模型配置</font></a></td></tr>
				<tr><td height="20"><a href="system.php?sys=acategory&channelid={$channellist[channelid]}&action=modify" target=main>{$channellist[channeltitle]}栏目管理</a></td></tr>
			<!--{/if}-->
				<tr><td height="20"><a href="module.php?mod=article&channelid={$channellist[channelid]}&action=add&step=1" target=main>添加{$channellist[channeltitle]}</a> | <a href="system.php?sys=module&mod=article&channelid={$channellist[channelid]}&action=manage" target=main>管理{$channellist[channeltitle]}</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=special&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}专题</a> | <a href="system.php?sys=comment&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}评论</a></td></tr>
			<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
				<tr><td height="20"><a href="system.php?sys=module&action=move&mod=article&channelid={$channellist[channelid]}" target="main">批量移动{$channellist[channeltitle]}</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=module&mod=article&channelid={$channellist[channelid]}&action=setvalue" target="main">批量设置{$channellist[channeltitle]}</a></td></tr>
			<!--{/if}-->
				<tr><td height="20"><a href="system.php?sys=tohtml&action=tohtml&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">频道HTML生成管理</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=js&action=manage&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">{$channellist[channeltitle]}J S 文件管理</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=keyword&action=manage&channelid={$channellist[channelid]}" target="main">{$channellist[channeltitle]}关键词汇管理</a></td></tr>
				<tr><td height="20"><a href="system.php?sys=collect&channelid={$channellist[channelid]}" target="main">{$channellist[channeltitle]}采集</a> | <a href="system.php?sys=explorer&channelid={$channellist[channelid]}" target="main">附件管理</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->

<!--{if ($channellist[channelselect]==2  || $_MODULE[$channellist[channelselect]]['pid']==2) && displayLeft($channellist[channelid])}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">{$channellist[channelname]}管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenu{$channellist[channelid]}'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20">  <a href="system.php?sys=channel&channelid={$channellist[channelid]}&action=edit" target=main>{$channellist[channelname]}频道设置</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=acategory&channelid={$channellist[channelid]}&action=modify" target="main">{$channellist[channeltitle]}分类管理</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"> <a href="module.php?mod=download&channelid={$channellist[channelid]}&action=add&addtype=1" target="main">{$channellist[channeltitle]}添加（镜像模式）</a></td></tr>
			<tr><td height="20"> <a href="module.php?mod=download&channelid={$channellist[channelid]}&action=add&step=0" target="main">{$channellist[channeltitle]}添加</a> | <a href="system.php?sys=module&mod=download&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}编辑</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=special&channelid={$channellist[channelid]}&action=manage" target="main">专题管理</a> | <a href="system.php?sys=comment&channelid={$channellist[channelid]}&action=manage" target="main">评论管理</a></td></tr>
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20"><a href="system.php?sys=setting&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main"><font color=red>{$channellist[channeltitle]}模型配置</font></a></td></tr>
			<tr><td height="20"> <a href="module.php?mod=download&action=server&channelid={$channellist[channelid]}&action_do=modify" target="main">{$channellist[channeltitle]}服务器管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=module&action=move&mod=download&channelid={$channellist[channelid]}" target="main">批量移动{$channellist[channeltitle]}</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=module&mod=download&channelid={$channellist[channelid]}&action=setvalue" target="main">批量设置{$channellist[channeltitle]}</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"><a href="system.php?sys=tohtml&action=tohtml&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">频道HTML生成管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=js&action=manage&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">{$channellist[channeltitle]}J S 文件管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=keyword&action=manage&channelid={$channellist[channelid]}" target="main">{$channellist[channeltitle]}关键词汇管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=explorer&channelid={$channellist[channelid]}" target="main">附件管理</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->

<!--{if ($channellist[channelselect]==3  || $_MODULE[$channellist[channelselect]]['pid']==3) && displayLeft($channellist[channelid])}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">{$channellist[channelname]}管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenu{$channellist[channelid]}'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20">  <a href="system.php?sys=channel&channelid={$channellist[channelid]}&action=edit" target=main>{$channellist[channelname]}频道设置</a></td></tr>
			<tr><td height="20">  <a href="module.php?mod=pic&channelid={$channellist[channelid]}&action=set" target=main><font color="red">{$channellist[channelname]}缩略图配置<font></a></td></tr>
			<tr><td height="20"><a href="system.php?sys=setting&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main"><font color=red>{$channellist[channeltitle]}模型配置</font></a></td></tr>
			<tr><td height="20"><a href="system.php?sys=acategory&channelid={$channellist[channelid]}&action=modify" target="main">{$channellist[channeltitle]}分类编辑</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"> <a href="module.php?mod=pic&channelid={$channellist[channelid]}&action=add" target="main">{$channellist[channeltitle]}添加</a> | <a href="system.php?sys=module&mod=pic&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}编辑</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=special&channelid={$channellist[channelid]}&action=manage" target="main">专题管理</a> | <a href="system.php?sys=comment&channelid={$channellist[channelid]}&action=manage" target="main">评论管理</a></td></tr>
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20"><a href="system.php?sys=module&action=move&mod=pic&channelid={$channellist[channelid]}" target="main">批量移动{$channellist[channeltitle]}</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=module&mod=pic&channelid={$channellist[channelid]}&action=setvalue" target="main">批量设置{$channellist[channeltitle]}</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"><a href="system.php?sys=tohtml&action=tohtml&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">频道HTML生成管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=js&action=manage&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">{$channellist[channeltitle]}J S 文件管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=keyword&action=manage&channelid={$channellist[channelid]}" target="main">{$channellist[channeltitle]}关键词汇管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=explorer&channelid={$channellist[channelid]}" target="main">附件管理</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->

<!--{if ($channellist[channelselect]==4 || $_MODULE[$channellist[channelselect]]['pid']==4) && displayLeft($channellist[channelid])}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">{$channellist[channelname]}管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenu{$channellist[channelid]}'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20"><a href="system.php?sys=channel&channelid={$channellist[channelid]}&action=edit" target=main>{$channellist[channelname]}频道设置</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=setting&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main"><font color=red>{$channellist[channeltitle]}模型配置</font></a></td></tr>
			<tr><td height="20"><a href="system.php?sys=acategory&channelid={$channellist[channelid]}&action=modify" target=main>{$channellist[channeltitle]}栏目管理</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"><a href="module.php?mod=movie&channelid={$channellist[channelid]}&action=add&step=1" target=main>添加{$channellist[channeltitle]}</a> | <a href="system.php?sys=module&mod=movie&channelid={$channellist[channelid]}&action=manage" target=main>管理{$channellist[channeltitle]}</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=special&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}专题</a> | <a href="system.php?sys=comment&channelid={$channellist[channelid]}&action=manage" target="main">{$channellist[channeltitle]}评论</a></td></tr>
		<!--{if purviewCheck($channellist['channelid'], 'channel', false)}-->
			<tr><td height="20"><a href="system.php?sys=module&action=move&mod=movie&channelid={$channellist[channelid]}" target="main">批量移动{$channellist[channeltitle]}</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=module&mod=movie&channelid={$channellist[channelid]}&action=setvalue" target="main">批量设置{$channellist[channeltitle]}</a></td></tr>
		<!--{/if}-->
			<tr><td height="20"><a href="system.php?sys=tohtml&action=tohtml&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">频道HTML生成管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=js&action=manage&channelid={$channellist[channelid]}&channelselect={$channellist[channelselect]}" target="main">{$channellist[channeltitle]}J S 文件管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=keyword&action=manage&channelid={$channellist[channelid]}" target="main">{$channellist[channeltitle]}关键词汇管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=explorer&channelid={$channellist[channelid]}" target="main">附件管理</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->
<!--{/loop}-->

<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">付费管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenupay'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
			<tr><td height="20"><a href="system.php?sys=pay&action=log" target="main">用户付费记录</a></td></tr>
		</table>
	</div>
</div>

<!--{if $admin_info['groupid'] <= 2}-->
<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">用户管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenuuser'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
			<tr><td height="20"><a href="system.php?sys=member&file=admin&action=manage" target="main">管理员管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=group&action=manage" target="main">用户组管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=user&action=manage" target="main">用户管理</a></td></tr>
			<tr><td height="20"><a href="system.php?sys=member&file=admin&action=password" target="main">修改密码</a></td></tr>
		</table>
	</div>
</div>
<!--{/if}-->

<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">系统扩展功能管理</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenuplugin'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
		<!--{loop $plugin $val}-->
		<!--{if purviewCheck($val['name'], 'plugin', false)}-->
			<tr><td height="20"><a href="plugin.php?plugin={$val['name']}&{$val['data']['url']}" title="{$val['data']['description']}" target="main">{$val['data']['name']}</a></td></tr>
		<!--{/if}-->
		<!--{/loop}-->
		<!--{if purviewCheck('explorer', 'plugin', false)}-->
			<tr><td height="20"><a href="system.php?sys=explorer&channelid=-1" target="main">模板管理</a></td></tr>
		<!--{/if}-->	
		<!--{if purviewCheck('files', 'plugin', false)}-->
		<tr><td height="20"><a href="system.php?sys=explorer&channelid=0" target="main">附件管理</a></td></tr>
		<!--{/if}-->
		</table>
	</div>
</div>

<div class="items open">
	<h1 class="type"><a href="javascript:void(0)">系统信息</a></h1>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="height:5px;font-size:0;line-height:0;"><img src="{AW_P}images/skin/menu_topline.gif" width="182" height="5" /></td>
	  </tr>
	</table>
	<div class="content" id='submenusys'>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MM">
			<tr><td height="20"><a href="http://www.qmecms.com" target="_blank">官方网站</a></td></tr>
		</table>
	</div>
</div>

<script type="text/javascript">
function fadeMark(obj, h, fun){
	obj.style.height = h + 'px';
	var b=obj.offsetHeight,c=h-b, d=10;
	var method = (typeof method == 'string' && method) ? method : 'easeInOutCubic';
	var t=0,ttl=25;
	(function (){
		clearInterval(obj.timer);
		obj.timer=setInterval(function (){
			var m = Math.ceil(Tweener[method](t,b,c,d)) ;
			obj.style.height = m + 'px';
			if(t<d) t++;
			else{
				clearInterval(obj.timer);
				if(typeof fun == 'function') fun(obj);
			}
		},ttl)
	})()
};

function show(c_Str)
{
	var p = $(c_Str).parentNode;
	if(p.className.indexOf('open') > -1) return false;
	var h = p.getElementsByTagName('h1');
	if(h.length > 0) h[0].onclick();
}

(function(){
	var offset = 35;
	var o = document.getElementsByTagName('h1');
	var get_nextsibling=function(n){var x=n.nextSibling;while (x.nodeType!=1){x=x.nextSibling;}return x;}
	var fadeMark = function(obj, h, fun){
		var b=obj.offsetHeight,c=h-b, d=10;
		var method = (typeof method == 'string' && method) ? method : 'easeInOutCubic';
		var t=0,ttl=25;
		(function (){
			clearInterval(obj.timer);
			obj.timer=setInterval(function (){
				var m = Math.ceil(Tweener[method](t,b,c,d)) ;
				obj.style.height = m + 'px';
				if(t<d) t++;
				else{
					clearInterval(obj.timer);
					if(typeof fun == 'function') fun(obj);
				}
			},ttl)
		})()
	};
	var openView = function(o){
		var obj = get_nextsibling(get_nextsibling(o));
		if(o.parentNode.className.toString().indexOf('open') == -1){
			addClassName(o.parentNode, 'open');
			fadeMark(o.parentNode, obj.offsetHeight + offset, function(){});
		}else{
			var node = o.parentNode;
			fadeMark(node, offset, function(){
				removeClassName(node, 'open');
			});
		}
	}
	var closeAll = function(j){
		Each(o, function(i){
			if(i !=j && this.parentNode.className.toString().indexOf('open') > -1){
				openView(this);
			}
		});
	}
	Each(o, function(i){
		if(i>0) openView(this);
		this.onclick = function(){
			closeAll(i);
			openView(this);
			document.body.focus();
			return false;
		}
	});
})();
</script>
</body>
</html>
