<html>
<!--
<?php
print <<<EOT
-->
<head>
<title>後台管理 powerby www.php168.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<link rel="stylesheet" href="images/style.css" type="text/css">
<script language="javascript">
//if(self==top){window.location="index.php?iframe=1";}
</script>
<SCRIPT language=JavaScript>
function killErrors() {
	return true;
}
window.onerror = killErrors;
</SCRIPT>
<SCRIPT language=javascript>
function showson(ss){
	if (document.getElementById(ss).style.display == 'none'){
		document.getElementById(ss).style.display = '';
	}else{
		document.getElementById(ss).style.display = 'none';
	}
}
function showmenu(ss){
	for(i=0;i<500;i++){
		obj=document.getElementById("s"+i);	
		if(ss=='open'){
			if(obj && obj.style.display=="none"){
				obj.style.display="";
			}
		}else{
			if(obj && obj.style.display==""){
				obj.style.display="none";
			}
		}
	}
	
}
</script>
</head>
<body leftmargin="0" topmargin="0" >
<div id="leftmenu"> 
  <table cellspacing='0' cellpadding='0' class='tablewidth_menu'>
    <tr> 
      <td class="head_menu"><a href='javascript:' onclick='showson("s")'>當前狀態</a></td>
    </tr>
    <tr> 
      <td class="c_menu"> 
        <table width='100%' cellspacing='0' cellpadding='0' style='display:' id=s>
          <tr> 
            <td style='padding-left:10px;line-height:16px;'> 帳號:<strong>$userdb[username]</strong> 
              <br>
              級別: 
              <!--
EOT;
if($admin_name==$userdb[username]){
print <<<EOT
-->
              <a title='$userdb[groupid]'>創始人</a> 
              <!--
EOT;
}else{
print <<<EOT
-->
              {$ltitle[$userdb[groupid]]} 
              <!--
EOT;
}
print <<<EOT
-->
              <br>
              <a href="index.php?lfj=center&job=map" target="main">管理首頁</a> <a href=?action=quite target=main>安全退出</a><br>
              <a href='$webdb[www_url]/{$ModuleDB[$Smenu][dirname]}' target="_blank">查看首頁</a> 
              <a href="?lfj=center&job=phpinfo" target="main">服務器信息</a> <br>
              <a href="javascript:" onClick="return showmenu('open')" >全部展開</a> 
              <a href="javascript:" onClick="return showmenu('close')" >全部收縮</a> 
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  $mainlink 
  <!--
EOT;
foreach($menu_GpartDB AS $key=>$array){
print <<<EOT
-->
  <table cellspacing='0' cellpadding='0' class='tablewidth_menu'>
    <tr> 
      <td class='head_menu'><a href='javascript:' onclick='showson("s$key")'>$array[name]</a></td>
    </tr>
    <tr> 
      <td class='c_menu'> 
        <table width='100%' cellspacing='0' cellpadding='0' style='display:' id='s$key'>
          <!--
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=" | ";
}
print <<<EOT
-->
          $a1 <A HREF='$rs[linkurl]' target='main' style="color:$rs[color];">$rs[name]</A> 
          <!--
EOT;
}print <<<EOT
-->$endtr
        </table>
      </td>
    </tr>
  </table>
  <!--
EOT;
}print <<<EOT
-->
  <table cellspacing='0' cellpadding='0' class='tablewidth_menu'>
    <tr> 
      <td class="head_menu"><a href='javascript:' onclick='showson("s98")' style="color:#666;">版權所有</a></td>
    </tr>
    <tr> 
      <td class="c_menu"> 
        <table width='100%' cellspacing='0' cellpadding='0' style='display:' id='s98'>
          <tr> 
            <td style='padding-left:10px;line-height:16px;color:#666;'>系統版本:$php168_Edition<br>
              系統設計:龍城<br>
              團隊管理:駿龍<br>
              支持團隊:PHP168團隊<br>
              技術支持:<A HREF="http://bbs.php168.com/" style="color:#666;" target="_blank">PHP168論壇</A> 
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
<div style='display:none;'><iframe src="index.php?lfj=center&job=GetOfficialNotice" width=0 height=0></iframe></div>
</body>
</html>
<!--
EOT;
?>
-->