<? if (!defined('ROOT')) exit('Can\'t Access !'); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta content="all" name="robots" />
<meta name="description" content="" />
<meta content="" name="keywords" />
<title>后台管理中心 - Powered by polang.net.cn</title><? $admin_menu_top = admin_menu_top();
   $admin_menu_left = admin_menu_left($this->action);
   $ActName = $admin_menu_top[$this->action];
   $getName = str_replace("-no","",$admin_menu_left[$_GET['get']]);
   $nav = $ActName." >> ".$getName;
 ?><script type="text/javascript" src="<?=$this->appdir?>jquery-1.7.2.min.js" ></script>
<link rel="stylesheet" href="<?=$this->tempdir?>images/admin.css" type="text/css" />
<link rel="stylesheet" href="<?=$this->appdir?>thickbox/style.css" type="text/css" />
<script type="text/javascript" src="<?=$this->appdir?>public.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>kindeditor/kindeditor.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>datepicker/WdatePicker.js" ></script>
<script type="text/javascript" src="<?=$this->tempdir?>images/admin.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>thickbox/thickbox.js" ></script>



<link rel="stylesheet" href="<?=$this->appdir?>control/control.css" type="text/css" />
<script type="text/javascript" src="<?=$this->appdir?>jquery.form.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>polang-public.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>polang-utils.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>control/control.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>polang-listtable.js" ></script>
</head>
<body>
<div id="top">
  <div style="background:#1b4070; width:100%; height:auto; display:block;">
    <div id="logo"><a href="<?=config::get('siteurl')?>" title="网站首页" target="_blank"><img src="<?=config::get('siteurl')?>template/admin/images/logo.gif" /></a></div>
    <div id="nav">
      <p><span style="float:right">您好，<strong><?=$this->member['username']?> <font color="#FF0000">(<?=$this->member['groupname']?>)</font>！</strong> [<a href="<?=Purl('admin_logout')?>">退出</a>] </span></p>
      <div class="nav">
      <? if(is_array($admin_menu_top)) { foreach($admin_menu_top as $key=>$val) { ?>       <a href="<?=Purl('admin_'.$key); ?>" <? if($key==$this->action) { ?>class="on"<? } ?>><?=$val?></a> 
      <? } } ?>       <a href="<?=config::get('siteurl')?>" class="home" target="_blank">网站首页</a> 
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div>
<div id="position"><a href="<?=Purl("?mod=admin&act=main&get=cache"); ?>">更新缓存</a>当前位置：<?=$nav?></div>
<div id="main">
  <div id="left">
    <div id="menu">
      <dl>
        <dt><? echo $admin_menu_top[$this->action]; ?></dt>
      <? if(is_array($admin_menu_left)) { foreach($admin_menu_left as $key=>$val) { ?>        <? $class = $_GET['get']==$key ? 'class="on"' : '';  ?>        <? if(!strstr($val,"-no")) { ?>
        <dd <?=$class?>><a href="<?=Purl("?mod=admin&act=".$this->action."&get=".$key); ?>" <?=$class?>><?=$val?></a></dd>
        <? } ?>
      <? } } ?>      </dl>
    </div>
  </div>
<script language="javascript">
document.write("<div id='pup' style='position:absolute; border: 4px solid #cccccc;z-index:1;color:#000000;background-color: #ffffff; width:auto;overflow: visible;visibility: hidden;font-size:12px;padding:6px;text-align: left;line-height:200%;'  onmouseout='hidepup()'></div>")
function showpup(str)
{
  var x=event.x;
  var y=event.y;
  pup.innerHTML=str;
  pup.style.visibility="visible";
  pup.style.left=x+10;
  pup.style.pixelTop=y+document.documentElement.scrollTop-60;
}

function hidepup()
{
  pup.style.innerHTML=""
  pup.style.visibility="hidden";
}
</script>