2013-03-26 14:47:19 +00:00
|
|
|
<div class="masthead">
|
|
|
|
<div class="navbar">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
|
|
|
<ul class="nav" id="mainmenu">
|
2013-03-26 14:49:35 +00:00
|
|
|
<!-- CSS Tabs -->
|
|
|
|
<li><a href="/"><span>前台</span></a></li>
|
2011-10-11 10:06:51 +00:00
|
|
|
<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>
|
|
|
|
</ul>
|
2013-03-26 14:47:19 +00:00
|
|
|
<p class="navbar-text pull-right">
|
2011-10-11 10:06:51 +00:00
|
|
|
<?php
|
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
if($auth->hasIdentity())
|
|
|
|
{
|
|
|
|
$user = $auth->getIdentity();
|
|
|
|
echo '<a href="/account/edit">'.$user->username.'</a> <a href="/account/logout">注销</a>';
|
|
|
|
}
|
|
|
|
?>
|
2013-03-26 14:47:19 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2011-10-25 09:52:00 +00:00
|
|
|
</div>
|
2013-03-26 14:47:19 +00:00
|
|
|
</div><!-- /.navbar -->
|
|
|
|
</div>
|