<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理员后台控制中心</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<meta content="Comsenz Inc." name="Copyright" >
<link rel="stylesheet" href="<{$css_root}>images/admincp.css" type="text/css" media="all" >
<script type="text/javascript" src="<{$css_root}>images/jquery.js"></script>
<script type="text/javascript">
function fnOnTabClick(tab, title, firsttitle)
{
    $(".admincpnav > ul > li").removeClass("current");
    $(tab).parent().parent().addClass("current");
	$("#leftmenu > ul").css("display", "none");

	var id = "#menu_" + title;
    $(id).css("display", "");
    $("#firsttitle").html(firsttitle);
    	fnOnMenuClick($(id + " > li > a:first").get(0),"");
    
}

  
function fnOnMenuClick(menu, sectitle )
{
    $("#leftmenu > ul > li > a").removeClass("tabon");
    $(menu).addClass("tabon");
    m = $("#mainiframe").get(0);
    m.src = menu.href;
    m.focus(); 
    $("#sectitle").html(sectitle);
}

</script>
</head>
<body scroll="no">
<div id="minwight">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
  <tr>
    <td colspan="2" height="100"><div id="header">
        <div class="logobox"></div>
        <div class="subcenterbox"></div>
        <div class="admincpbox">
          <div class="admincpnav">
            <ul>
              <li class="current"><span><a href="#" onClick="fnOnTabClick(this, 'global','全局'); return false;">全局</a></span></li>
              <li class=""><span><a href="#" onClick="fnOnTabClick(this, 'picture', '图片'); return false;">图片</a></span></li>
              <li class=""><span><a href="#" onClick="fnOnTabClick(this, 'article','文章'); return false;">文章</a></span></li>
              <li class=""><span><a href="#" onClick="fnOnTabClick(this, 'file', '文件'); return false;">文件</a></span></li>
              <li class=""><span><a href="#" onClick="fnOnTabClick(this, 'user', '用户'); return false;">用户</a></span></li>
$topMenuString
              <li class=""><span><a href="#" onClick="fnOnTabClick(this, 'exten', '扩展'); return false;">扩展</a></span></li>
              
            </ul>
            <div class="uinfo">
              <p> 您好, <em>admin</em> [ <a target="_top" href="privilege.php?act=logout">退出</a> ] </p>
              <p class="btnlink"> <a target="_blank" href="index.php">网站首页</a> </p>
            </div>
          </div>
          <div class="subbar">
            <div class="subbarcont"><span id="firsttitle">全局</span>???<span id="sectitle"></span></div>
          </div>
        </div>
        <div class="bottombar"><span></span></div>
      </div></td>
  </tr>
  <tr>
    <td valign="top" width="160"><div id="leftmenu" class="menu">
        <ul id="menu_global" style="">
          <li><a href="sysinfo.php" class="tabon" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'系统信息');">系统信息</a></li>
          <li><a href="setsystem.php" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'系统设置');">系统设置</a></li>
          <li><a href="navgation.php" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'导航菜单');">导航菜单</a></li>
          <li><a href="privilege.php?act=edit" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'修改管理密码');">修改管理密码</a></li>
        </ul>
        <ul id="menu_article" style="display: none;">
        <li><a href="single_cate.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'单页分类');">单页分类</a></li>
          <li><a href="single.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'单页管理');">单页管理</a></li>
          <li><a href="article_cate.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'文章分类');">文章分类</a></li>
          <li><a href="article.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'文章管理');">文章管理</a></li>
        </ul>
        <ul id="menu_picture" style="display: none;">
        
          <li><a href="picmanage.php" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'图片管理');">图片管理</a></li>
          <li><a href="picture_cate.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'图片分类');">图片分类</a></li>
          <li><a href="picture.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'图片展示');">图片展示</a></li>
          <!--<li><a href="picture.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加图片展示');">添加图片展示</a></li>-->
          <li><a href="produce_cate.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'商品分类');">商品分类</a></li>
          <li><a href="produce.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'商品展示');">商品展示</a></li>
         <!-- <li><a href="produce.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加商品展示');">添加商品展示</a></li>-->
        </ul>
        <ul id="menu_file" style="display: none;">
          <li><a href="attachment.php" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'文件管理');">文件管理</a></li>
          <li><a href="download_cate.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'下载分类');">下载分类</a></li>
          <li><a href="download.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'下载管理');">下载管理</a></li>
          <!--<li><a href="download.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加下载');">添加下载</a></li>-->
        </ul>
        <!--<ul id="menu_job" style="display: none;">
          <li><a href="job2.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'招聘管理');">招聘管理</a></li>
          <li><a href="job2.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加招聘');">添加招聘</a></li>
        </ul>-->
        <ul id="menu_user" style="display: none;">
          <li><a href="user.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'用户管理');">用户管理</a></li>
          <li><a href="user.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加用户');">添加用户</a></li>
          
        </ul>
        
$contentMenuString
        
        <ul id="menu_exten" style="display: none;">
          <li><a href="guestbook.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'留言管理');">留言管理</a></li>
          <li><a href="job.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'招聘管理');">招聘管理</a></li>
          <!--<li><a href="job.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加招聘');">添加招聘</a></li>-->
          <li><a href="announcement.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'公告管理');">公告管理</a></li>
          <!--<li><a href="announcement.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加公告');">添加公告</a></li>-->
          <li><a href="friendlink.php?act=show" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'友情链接');">友情链接</a></li>
          <!--<li><a href="friendlink.php?act=add" hidefocus="true" target="main" onClick="fnOnMenuClick(this,'添加友情链接');">添加友情链接</a></li>-->
        </ul>
        
      </div></td>
    <td valign="top" width="100%"><iframe src="sysinfo.php" id="mainiframe" name="main" width="100%" height="100%" frameborder="0" scrolling="yes" style="overflow:visible;"></iframe></td>
  </tr>
</table>
</div>
</body>
</html>
