数据页面搜索栏目

This commit is contained in:
Li Heng 2014-05-29 03:56:05 +00:00
parent 308c247d0f
commit 5c945ea49d
1 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@
</div> </div>
<div class="span9 inline"> <div class="span9 inline">
<p class="pull-right" style="color:#000000; font-size:9px;"> <p class="pull-right" style="color:#000000; font-size:9px;">
<?php <?php
$auth = Zend_Auth::getInstance(); $auth = Zend_Auth::getInstance();
if($auth->hasIdentity()) if($auth->hasIdentity())
{ {
@ -24,14 +24,18 @@
</p> </p>
<?php $current_url =$_SERVER["REQUEST_URI"]?> <?php $current_url =$_SERVER["REQUEST_URI"]?>
<p>
<ul class="nav nav-pills"> <ul class="nav nav-pills">
<li style="padding-right:20px"<?php if($current_url=='/') echo " class='active'";?> ><a href="/">首 页</a></li> <li style="padding-right:20px"<?php if($current_url=='/') echo " class='active'";?> ><a href="/">首 页</a></li>
<li style="padding-right:20px"<?php if($current_url=='/archives/news/localnews') echo " class='active'";?> ><a href="/archives/news/localnews">新 闻</a></li> <li style="padding-right:20px"<?php if($current_url=='/archives/news/localnews') echo " class='active'";?> ><a href="/archives/news/localnews">新 闻</a></li>
<li style="padding-right:20px"<?php if($current_url=='/data') echo " class='active'";?> ><a href="/data">数 据</a></li> <li style="padding-right:20px"<?php if($current_url=='/data') echo " class='active'";?> ><a href="/data">数 据</a></li>
<li style="padding-right:20px"<?php if($current_url=='/about') echo " class='active'";?> ><a href="/about">关于我们</a></li> <li style="padding-right:20px"<?php if($current_url=='/about') echo " class='active'";?> ><a href="/about">关于我们</a></li>
<li style="padding-right:20px" class="input-append "><!--<form action="/search" method="get"><input class="input-medium" placeholder="关键字" type="text" name="q"><button class="btn" type="submit">搜索</button></form></li> <li style="padding-right:20px" class="input-append ">
--> <form action="/search" method="get"><input class="input-medium" placeholder="关键字" type="text" name="q"><button class="btn" type="submit">搜索</button></form>
</li>
</ul> </ul>
</p>
</div> </div>
</div> </div>
</div> </div>