use new layout

This commit is contained in:
wlx 2011-10-25 13:43:03 +00:00
parent 2af318539c
commit eede619740
1 changed files with 33 additions and 29 deletions

View File

@ -1,7 +1,9 @@
<div id="divLogo"> <div id="divHeader">
<a href="/"><img src="/images/heihe-logo1.png" alt="Heihe Logo" /></a> <div id="divLogo">
</div> <a href="/"><img src="/images/heihe-logo.png" alt="Westdc Logo" /></a>
<div id="divNavi"> </div>
<div class="nav">
<div id="divNavi">
<ul> <ul>
<!-- CSS Tabs --> <!-- CSS Tabs -->
<li><a href="/"><span>首页</span></a></li> <li><a href="/"><span>首页</span></a></li>
@ -11,9 +13,10 @@
<li><a href="/knowledge"><span>知识积累平台</span></a></li> <li><a href="/knowledge"><span>知识积累平台</span></a></li>
<li><a href="/community"><span>合作与交流</span></a></li> <li><a href="/community"><span>合作与交流</span></a></li>
<li><a href="/about"><span>关于本站</span></a></li> <li><a href="/about"><span>关于本站</span></a></li>
</ul> </ul>
<div id="userNavi"> </div>
<?php <div id="userNavi">
<?php
$auth = Zend_Auth::getInstance(); $auth = Zend_Auth::getInstance();
if($auth->hasIdentity()) if($auth->hasIdentity())
{ {
@ -24,6 +27,7 @@
} else { } else {
echo '<a href="/account/login">登录</a> <a href="/account/register">注册</a>'; echo '<a href="/account/login">登录</a> <a href="/account/register">注册</a>';
} }
?> ?>
</div> </div>
</div>
</div> </div>