<html>
<!--
<?php
$WXID || $WXID='NO';
$groupidword = $admin_name==$userdb[username] ? "创始人" : $ltitle[$userdb[groupid]] ;
print <<<EOT
-->
<head>
<title>后台管理 powerby www.qibosoft.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/left.css" type="text/css">
</head>
<body>
<div id="leftmenu" class="left-nav">
<div class="left-bgtop"></div>
<div class="info">
	<div class="head"><i></i><span>当前状态</span></div>
    <div class="cont">
    	<div><span>帐号：</span><span style="padding-left:10px;">$userdb[username]</span></div>
        <div><span>级别：</span><span style="padding-left:10px;">$groupidword</span></div>
        <div><a href="index.php?lfj=center&job=map" target="main">管理首页</a> <a href=?action=quite target=main>安全退出</a></div>
        <div><a href='$webdb[www_url]/?WXID=$WXID' target="_blank">查看首页</a> <a href="?lfj=center&job=phpinfo" target="main">服务器信息</a></div>
        <div class="last-func"><a class="dropDown" href="javascript:;" onClick="ShowAll();"><i></i>全部展开</a> <a class="dropUp" href="javascript:;" onClick="HiddenAll();"><i></i>全部收缩</a></div>
    </div>
</div>
$mainlink 
<!--
EOT;
foreach($menu_GpartDB AS $key=>$array){
print <<<EOT
-->
<dl id="TheDl{$key}" class="show">
	<dt onclick='showson("TheDl{$key}")'><span>$array[name]</span></dt>
    <dd>
    	<table width='100%' cellspacing='0' cellpadding='0'>
<!--
EOT;
$ck=0;
$endtr='';
foreach($array[son] AS $key2=>$rs){
$ck++;
$endtr='</td></tr>';
if($ck==1){
	$a1="<tr><td onmouseover=\"this.className='leftA'\" onmouseout=\"this.className='leftB'\">";	 
}elseif(!$rs[iftier]){
	$a1="</td></tr><tr><td onmouseover=\"this.className='leftA'\" onmouseout=\"this.className='leftB'\">";
}elseif($rs[iftier]){
	$a1="<span></span>";
}
print <<<EOT
-->
          $a1 <A HREF='$rs[linkurl]' target='main' style="color:$rs[color];">$rs[name]</A> 
<!--
EOT;
}print <<<EOT
-->$endtr
        </table>
    </dd> 
</dl>
<!--
EOT;
}print <<<EOT
-->
 

 <br> <br>
</div>
<div class="left-bgbottom"></div>
<div style='display:none;'><iframe src='../do/crontab.php' width=0 height=0></iframe></div></div>
<div style='display:none;'><iframe src="index.php?lfj=center&job=GetOfficialNotice" width=0 height=0></iframe></div>
<SCRIPT language=javascript>
function showson(ss){
	if (document.getElementById(ss).className==''){
		document.getElementById(ss).className = 'Show';
	}else{
		document.getElementById(ss).className = '';
	}
}

var objDl=document.getElementById("leftmenu").getElementsByTagName("dl");
function ShowAll(){	
	for(var i=0;i< objDl.length;i++ ){
		objDl[i].className='Show';
	}
}
function HiddenAll(){	
	for(var i=0;i< objDl.length;i++ ){
		objDl[i].className='';
	}
}
</script>
</body>
</html>
<!--
EOT;
?>
-->