2011-10-25 09:52:00 +00:00
|
|
|
<div id="divHeader">
|
|
|
|
<div id="divLogo">
|
|
|
|
<a href="/"><img src="/images/westdc-banner.jpg" alt="Westdc Logo" /></a>
|
|
|
|
</div>
|
|
|
|
<div class="nav">
|
|
|
|
<div id="divNavi">
|
|
|
|
<ul>
|
|
|
|
<!-- CSS Tabs -->
|
|
|
|
<li><a href="/"><span>首页</span></a></li>
|
|
|
|
<li><a href="/data"><span>数据产品与服务</span></a></li>
|
2012-11-05 08:39:15 +00:00
|
|
|
<li><a href="/review"><span>数据评审</span></a></li>
|
2012-03-27 07:04:58 +00:00
|
|
|
<li><a href="/author"><span>数据作者</span></a></li>
|
2012-05-10 15:13:17 +00:00
|
|
|
<li><a href="/knowledge"><span>知识积累</span></a></li>
|
2012-12-11 03:15:06 +00:00
|
|
|
<!-- <li><a href="/community"><span>合作与交流</span></a></li> -->
|
2013-03-15 04:16:07 +00:00
|
|
|
<li><a href="/archives"><span>新闻动态</span></a></li>
|
2012-11-05 08:39:15 +00:00
|
|
|
<li><a href="/about"><span>关于本站</span></a></li>
|
2011-10-25 09:52:00 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="userNavi">
|
|
|
|
<?php
|
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
if($auth->hasIdentity())
|
|
|
|
{
|
|
|
|
$user = $auth->getIdentity();
|
2013-03-15 04:16:07 +00:00
|
|
|
echo '<a href="/account">'.$user->username.'</a> ';
|
2011-10-25 09:52:00 +00:00
|
|
|
if ($user->usertype=="administrator") echo '<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>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|