westdc-zf1/application/admin/views/scripts/header.phtml

32 lines
1.1 KiB
PHTML
Raw Normal View History

<div id="divHeader">
<div id="divLogo">
<a href="/"><img src="/images/westdc-banner.jpg" alt="Westdc Logo" /></a>
</div>
<div class="nav">
2012-05-29 07:51:59 +00:00
<div id="divNavi" style="width:100%;">
<ul>
<!-- CSS Tabs -->
<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>
2012-05-29 07:51:59 +00:00
<li><a href="/admin/author"><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>
</div>
<div id="userNavi">
<?php
$auth = Zend_Auth::getInstance();
if($auth->hasIdentity())
{
$user = $auth->getIdentity();
echo '<a href="/account/edit">'.$user->username.'</a> <a href="/account/logout">注销</a>';
}
?>
</div>
</div>
</div>