2012-04-11 07:58:40 +00:00
|
|
|
<div class="header clear">
|
|
|
|
<div class="banner">
|
|
|
|
<span id="user"><?php
|
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
if($auth->hasIdentity())
|
|
|
|
{
|
|
|
|
$user = $auth->getIdentity();
|
|
|
|
echo '<a href="/account/edit">'.$user->username.'</a> ';
|
|
|
|
if ($user->usertype=="administrator") echo '<a href="/">网站首页</a> <a href="/admin">后台管理</a> ';
|
|
|
|
echo '<a href="/data/order">数据篮</a> <a href="/account/logout">注销</a>';
|
|
|
|
} else {
|
|
|
|
echo '<a href="/account/login">登录</a> <a href="/account/register">注册</a>';
|
|
|
|
}
|
|
|
|
?></span>
|
|
|
|
<div class="admin_nav">
|
|
|
|
<div class="main" id="divNavi">
|
|
|
|
<ul>
|
|
|
|
<li><a href="/admin"><span>后台首页</span></a></li>
|
|
|
|
<li><a href="/admin/data"><span>数据管理</span></a></li>
|
|
|
|
<li><a href="/admin/down"><span>申请管理</span></a></li>
|
|
|
|
<li><a href="/admin/user"><span>用户管理</span></a></li>
|
|
|
|
<li><a href="/admin/review"><span>元数据评审</span></a></li>
|
|
|
|
<li><a href="/admin/news"><span>新闻中心</span></a></li>
|
|
|
|
<li><a href="/admin/stat"><span>统计数据</span></a></li>
|
|
|
|
<li><a href="/admin/sys"><span>系统管理</span></a></li>
|
|
|
|
</ul>
|
2011-10-25 09:52:00 +00:00
|
|
|
</div>
|
2012-04-11 07:58:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-10-11 10:06:51 +00:00
|
|
|
</div>
|