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

25 lines
718 B
PHTML
Executable File

<div id="divLogo">
<a href="/"><img src="/images/westdc-banner.jpg" alt="Westdc Logo" /></a>
</div>
<div id="divNavi">
<ul>
<!-- CSS Tabs -->
<li><a href="/"><span>网站首页</span></a></li>
<li><a href="/admin"><span>后台首页</span></a></li>
<li><a href="/admin/data"><span>数据管理</span></a></li>
<li><a href="/admin/account"><span>用户管理</span></a></li>
<li><a href="/admin/stat"><span>统计数据</span></a></li>
</ul>
<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>