This commit is contained in:
avene 2018-06-23 18:05:32 +08:00
parent 463343df24
commit bc14bb53e1
1 changed files with 10 additions and 2 deletions

View File

@ -40,8 +40,16 @@
<a href="/about">关于我们</a>
</li>
</ul>
<a href="/account/register" id="register">注册</a>
<a href="/account/login" id="login">登录</a>
<?php
$auth = Zend_Auth::getInstance();
if($auth->hasIdentity())
{
echo '<a href="/data/order">数据篮</a></li>';
} else {
echo '<a href="/account/login" id="login">登录</a>';
} ?>
</div>
</div>
</nav>