<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>菜单</title>
<link href="../../../data/menu/menu.css" rel="stylesheet" type="text/css">
<script src="../../../data/menu/menu.js" type="text/javascript"></script>
<SCRIPT lanuage="JScript">
function tourl(url){
	parent.main.location.href=url;
}
</SCRIPT>
</head>
<body onLoad="initialize()">


<table border='0' cellspacing='0' cellpadding='0' width=100%>
<?
if($r[dopublic]||$r[dofirewall]||$r[dosetsafe]||$r[dopubvar])
{
?>
  <tr> 
    <td id="prsetting" class="menu1" onclick="chengstate('setting')">
		<a >网站设置</a>
	</td>
  </tr>
  <tr id="itemsetting" style="display:none"> 
    <td class="list">
		<table border='0' cellspacing='0' cellpadding='0' width=100%>
		<?
		if($r[dopublic])
		{
		?>
        <tr> 
          <td class="file">
			<a href="../../SetEnews.php" target="main" >系统参数设置</a>
          </td>
        </tr>
		<tr> 
          <td class="file">
			<a href="../../pub/SetRewrite.php" target="main" >伪静态参数配置</a>
          </td>
        </tr>
		<?
		}
		if($r[dopubvar])
		{
		?>
        <tr> 
          <td class="file">
			<a href="../../pub/ListPubVar.php" target="main" onmouseout="this.style.fontWeight=''" onmouseover="this.style.fontWeight='bold'">扩展变量</a>
          </td>
        </tr>
		<?
		}
		if($r[dosetsafe])
		{
		?>
        <tr> 
          <td class="file">
			<a href="../../pub/SetSafe.php" target="main" >安全参数配置</a>
          </td>
        </tr>
		<?
		}
		if($r[dofirewall])
		{
		?>
		<tr> 
          <td class="file">
			<a href="../../pub/SetFirewall.php" target="main" >网站防火墙</a>
          </td>
        </tr>
		<?
		}
		?>
      </table>
	</td>
  </tr>
<?
}
?>



<?
if($r[dof]||$r[dom]||$r[dotable])
{
?>
  <tr> 
    <td id="prtable" class="menu1" onclick="chengstate('table')">
		<a >数据管理</a>
	</td>
  </tr>
  <tr id="itemtable" style="display:none"> 
    <td class="list">
		<table border='0' cellspacing='0' cellpadding='0' width=100%>
		<tr> 
          <td class="file">
			<a href="../../db/ListTable.php" target="main" >管理数据表</a>
          </td>
        </tr>

<?
if($r[dodbdata]||$r[doexecsql])
{
?>

		<?
		if($r[dodbdata])
		{
		?>
        <tr> 
          <td class="file">
			<a href="../../ebak/ChangeDb.php" target="main" >备份数据</a>
          </td>
        </tr>
		<tr> 
          <td class="file">
			<a href="../../ebak/ReData.php" target="main" >恢复数据</a>
          </td>
        </tr>
		<tr> 
          <td class="file">
			<a href="../../ebak/ChangePath.php" target="main" >管理备份目录</a>
          </td>
        </tr>
		<?
		}
		if($r[doexecsql])
		{
		?>
		<tr> 
          <td class="file">
			<a href="../../db/DoSql.php" target="main" >执行SQL语句</a>
          </td>
        </tr>
		<?
		}
		?>
<?
}
?>

      </table>
	</td>
  </tr>
<?
}
?>





<?
if($r[doad])
{
?>
  <tr> 
    <td id="prad" class="menu1" onclick="chengstate('ad')">
		<a >广告管理</a>
	</td>
  </tr>
  <tr id="itemad" style="display:none"> 
    <td class="list">
		<table border='0' cellspacing='0' cellpadding='0' width=100%>
        <tr> 
          <td class="file">
			<a href="../../tool/AdClass.php" target="main" >管理广告分类</a>
          </td>
        </tr>
		<tr> 
          <td class="file">
			<a href="../../tool/ListAd.php" target="main" >管理广告</a>
          </td>
        </tr>
      </table>
	</td>
  </tr>
<?
}
?>





  <tr> 
    <td id="pruser" class="menu1" onclick="chengstate('user')">
		<a >用户管理</a>
	</td>
  </tr>
  <tr id="itemuser" style="display:none"> 
    <td class="list">
		<table border='0' cellspacing='0' cellpadding='0' width=100%>
        <tr> 
          <td class="file">
			<a href="../../user/EditPassword.php" target="main" >修改个人资料</a>
          </td>
        </tr>
		<?
		if($r[dogroup])
		{
		?>
        <tr> 
          <td class="file">
			<a href="../../user/ListGroup.php" target="main" >管理用户组</a>
          </td>
        </tr>
		<?
		}
		if($r[douser])
		{
		?>
		<tr> 
          <td class="file">
			<a href="../../user/ListUser.php" target="main" >管理用户</a>
          </td>
        </tr>
		<?
		}
		if($r[dolog])
		{
		?>
		<tr> 
          <td class="file">
			<a href="../../user/ListLog.php" target="main" >登陆日志</a>
          </td>
        </tr>
		<?
		}
		?>
      </table>
	</td>
  </tr>


</table>
</body>
</html>