2014-05-27 09:56:38 +00:00
|
|
|
<!-- header -->
|
2014-05-28 14:56:21 +00:00
|
|
|
<link href="/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
|
2014-05-27 09:56:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
<header>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="span12">
|
|
|
|
<div class="span3">
|
|
|
|
<h1 style="font-family:'微软雅黑', '黑体'; color:#009900; font-size:30px;">青海省草原总站</h1>
|
2013-10-15 09:38:52 +00:00
|
|
|
</div>
|
2014-05-27 09:56:38 +00:00
|
|
|
<div class="span9 inline">
|
|
|
|
<p class="pull-right" style="color:#000000; font-size:9px;">
|
2014-05-29 03:56:05 +00:00
|
|
|
<?php
|
2014-05-27 09:56:38 +00:00
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
if($auth->hasIdentity())
|
|
|
|
{
|
|
|
|
$user = $auth->getIdentity();
|
|
|
|
echo '<a href="/account"><i class="icon-user"></i> '.$user->username.'</a> ';
|
|
|
|
if ($user->usertype=="administrator") echo '<a href="/admin"><i class="icon-cog"></i> 后台 </a><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮 </a> <a href="/account/logout">退出</a> ';
|
|
|
|
} else {
|
2014-05-28 08:50:35 +00:00
|
|
|
echo '<a href="/account/login">登 录</a> | <a href="/account/register">注 册</a>';
|
2014-05-27 09:56:38 +00:00
|
|
|
} ?>
|
|
|
|
|
|
|
|
</p>
|
2014-05-28 04:05:04 +00:00
|
|
|
<?php $current_url =$_SERVER["REQUEST_URI"]?>
|
2014-05-29 03:56:05 +00:00
|
|
|
<p>
|
2014-05-27 09:56:38 +00:00
|
|
|
<ul class="nav nav-pills">
|
2014-05-28 04:05:04 +00:00
|
|
|
<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=='/data') echo " class='active'";?> ><a href="/data">数 据</a></li>
|
2014-05-28 08:50:35 +00:00
|
|
|
<li style="padding-right:20px"<?php if($current_url=='/about') echo " class='active'";?> ><a href="/about">关于我们</a></li>
|
2014-05-29 03:56:05 +00:00
|
|
|
<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>
|
|
|
|
|
2014-05-27 09:56:38 +00:00
|
|
|
</ul>
|
2014-05-29 03:56:05 +00:00
|
|
|
</p>
|
2014-05-27 09:56:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2014-05-28 14:56:21 +00:00
|
|
|
<div class="container">
|
|
|
|
<?= $this->render('breadcrumbs.phtml'); ?>
|