首页数据集链接问题,头部退出问题。
This commit is contained in:
parent
aa417932bc
commit
44b52330a6
|
@ -45,11 +45,7 @@
|
|||
<h4 class="box-title">青海湖数据集</h4>
|
||||
<ul>
|
||||
<?php foreach($this->qinghaihu as $k=>$v){ ?>
|
||||
<li>
|
||||
<a href="<?= $this->url('news',array('category'=>$v['code'],'article'=>$v['id'])) ?>">
|
||||
<?= mb_strlen($v['title'],"UTF-8") > 27 ? mb_substr($v['title'],0,27,"UTF-8")."..." : $v['title'] ?>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<span class="pull-right" style="color:#000000; font-size:9px;"><a href="/archives/news/localnews" target="_blank" class="more">更多>></a></span>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<?php $config = \Sookon\Helpers\Config::get(); ?>
|
||||
<header>
|
||||
<div class="container-fluid">
|
||||
<div class="container">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 inline">
|
||||
<ul class="pull-right inline" style="color:#000000; font-size:12px; a">
|
||||
|
@ -10,7 +10,7 @@
|
|||
$user = \Sookon\Helpers\View::User();
|
||||
if($user)
|
||||
{
|
||||
echo '<li><a href="/account"><i class="icon-user"></i>'.$user->username.'</a><a href="/account/logout">退出</a></li> ';
|
||||
echo '<li><a href="/account"><i class="icon-user"></i>'.$user->username.'</a></li> ';
|
||||
if ($user->usertype=="administrator")
|
||||
echo '<li><a href="/admin"><i class="icon-cog"></i> 后台 </a></li><li><a href="/data/order"><i class="icon-shopping-cart"></i> 数据篮 </a></li><li> <a href="/account/logout">退出</a></li> ';
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue