<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $this->title;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/index.css" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/public.css" />
<script language="javascript">
function showMenu(id)
{
	document.getElementById('frame_menu').src = '<?php echo $this->installdir;?>admin/left/menu/'+id;
}
function Reload()
{
	frame_main.location.reload();
}
</script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="Framer">
  <tr class="FrameHeader">
    <td height="80"><div class="FrameHeader">
        <div class="HeaderTop">
          <div class="HeaderTopLeft"></div>
          <div class="HeaderTopLogo"><a href="http://www.vodcms.com/" target="_blank">VODCMS6.0.0</a></div>
          <div class="HeaderTopNav">
            <ul>
              <li class="welcome">Hi!: <font class="username"><?php echo $this->_Request->getCookie('admin');?></font></li>
			  <li><a href="<?php echo $this->installdir;?>" target="_blank">浏览前台</a></li>
              <li><a href="<?php echo $this->installdir;?>admin/report/" target="frame_main">寻求帮助</a></li>
			  <li><a href="http://www.vodcms.com/bbs" target="_blank">社区交流</a></li>
              <li><a href="<?php echo $this->installdir;?>admin/main/" target="frame_main">管理后台</a></li>
              <li><a href="javascript:;" onClick="javascript:Reload();">刷新页面</a></li>
			  <li><a href="<?php echo $this->installdir;?>administrator/modifypass/" target="frame_main" >修改登录密码</a></li>
              <li><a href="<?php echo $this->installdir;?>admin/logout/" onClick="return confirm('确认退出吗?')" target="_top">退出管理</a></li>
            </ul>
          </div>
          <div class="HeaderTopRight"></div>
        </div>
        <div class="HeaderNav">
          <div class="HeaderNavLeft">&nbsp;</div>
          <div class="HeaderNavBody">
            <ul>
              <li><a href="<?php echo $this->installdir;?>admin/main/" target="frame_main">管理中心</a></li>
             <?php
             foreach($this->topModule as $val){?>
             <li><a href="<?php echo $this->installdir;?>admin/left/menu/<?php echo $val['id'];?>" target="frame_menu"><?php echo $val['name'];?></a></li>
            <?php
             }?>
            </ul>
          </div>
          <div class="HeaderNavRight">&nbsp;</div>
        </div>
      </div></td>
  </tr>
  <tr class="FrameBody">
    <td height="*"><table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="FrameBody">
        <td class="BodyMenu" id="control_menu"><iframe id="frame_menu" name="frame_menu" src="<?php echo $this->installdir;?>admin/left" scrolling="no" frameborder="0" width="100%" height="100%" style="visibility:inherit;"></iframe></td>
          <td class="BodyMain" width="*"><iframe id="frame_main" name="frame_main" src="<?php echo $this->installdir;?>admin/main" scrolling="yes" frameborder="0" width="100%" height="100%"></iframe></td>
      </table></td>
  </tr>
  <tr class="FrameFooter">
    <td height="30"><div class="FrameFooter">
        <div class="FooterControl"> <a class="control-up" id="control_up" href="javascript:;" onClick="javascript:return doMenuScrollChange('up',30);">
          <input type="text" readonly>
          </a> <a class="control-down" id="control_down" href="javascript:;" onClick="javascript:return doMenuScrollChange('down',30);">
          <input type="text" readonly>
          </a> <a class="control-switch" id="control_switch" href="javascript:;" onClick="javascript:showMenu();">
          <input type="text" readonly>
          </a> </div>
        <div class="FooterAnnounce"> 系统公告:<span id="App-Update-Announce"><script src="http://www.vodcms.com/notice.php?domain=<?php echo base64_encode($_SERVER['HTTP_HOST']);?>" language="javascript"></script></span> </div>
        <div class="FooterPrompt">
        </div>
      </div></td>
  </tr>
</table>
<div class="hide">
  <div id="App-Version-Prompt">
    <div id="App-Version-Prompt-Body">loading...</div>
  </div>
</div>
</body>
</html>
