草原总站

This commit is contained in:
Li Heng 2014-05-27 09:56:38 +00:00
parent 62e03d6044
commit 82f111497c
6 changed files with 294 additions and 344 deletions

View File

@ -6,13 +6,20 @@ $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/archives/">新闻中心</a>');
$this->breadcrumb($this->title);
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/css/news.css');
?>
<div class="row">
<!-- Marketing messaging and featurettes
================================================== -->
<!-- Wrap the rest of the page in another container to center all the content. -->
<div class="container marketing">
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span3">
<div class="bs-review-nav sidebar-nav">
<ul class="nav nav-list bs-review-sidenav">
<li><a href="/archives"><i class="icon-chevron-right"></i>新闻中心</a></li>
<div class="bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
<li><a href="/archives"><i class="icon-chevron-right"></i>新闻中心</a></li>
<?php
if(count($this->types))
{
@ -27,10 +34,17 @@ $this->headLink()->appendStylesheet('/css/news.css');
?>
</ul>
</div>
<!-- /.bs-docs-sidebar -->
</div>
<!-- /.span3 -->
<?php $list = $this->paginator;?>
<div class="span9">
<ul class="media-list">
<div class="Lbox">
<h4 class="box-title">新闻列表</h4>
<ol >
<?php
# print_r($this->paginator);
if(count($this->paginator))
{
foreach ($this->paginator as $v)
@ -43,18 +57,7 @@ $this->headLink()->appendStylesheet('/css/news.css');
$description = $v['description'];
}
?>
<li class="media">
<?php if(!empty($v['image'])) : ?>
<a class="pull-right" href="<?php echo $v['url']; ?>"><img class="media-object span2 img-rounded" data-src="holder.js/64x64" src="<?php echo $v['image']; ?>"></a>
<?php endif; ?>
<div class="media-body">
<h4 class="media-heading">
<small>[<?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?>]</small>
<a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a>
</h4>
<p><?php echo $description; ?></p>
</div>
</li>
<li><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a> <small>[<?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?>]</small></li>
<?php
}
}
@ -63,7 +66,26 @@ $this->headLink()->appendStylesheet('/css/news.css');
echo '暂无数据';
}
?>
</ul>
<div class="pagenavi"><?= $this->paginator; ?></div>
</ol>
</div>
<div class="pagenavi">
<?= $this->paginator; ?>
</div>
</div>
<!-- /.span9 -->
</div>
<!-- /.row -->
<!-- <div class="pagination">
<ul>
<li class="disabled"><a href="#">&laquo;</a></li>
<li class="active"><a href="#">1</a></li>
<li ><a href="#">2</a></li>
<li ><a href="#">3</a></li>
<li class="disabled"><a href="#">&raquo;</a></li>
</ul>
</div>-->
</div>
</div>
<!-- /.container -->

View File

@ -1,131 +1,65 @@
<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
?>
<style>
.fieldlist ul li{line-height:24px;padding:5px;}
.fieldlist ul li:hover{color:#FFF;background:#0088CC;border-radius: 6px 6px 6px 6px;}
.fieldlist ul li:hover a{color:#FFF; text-decoration:none;}
.news_list ul li{line-height:24px;}
</style>
<div class="row">
<div class="span12">
<h4><i class="icon-flag"></i>特色导航</h4>
<div class="row">
<div class="span12" style=" border-bottom:1px dashed #E0E0E0">
<form method="get" action="/search" id="search" class="form-search">
<div class="input-append">
<input type="text" value="" id="q" name="q" class="span2 search-query" placeholder="全文搜索">
<a class="btn" href="/data/browse"><i class="icon-align-justify"></i>数据列表浏览</a>
<a class="btn" href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a>
<a class="btn" href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a>
<li class="input-append">
<input type="text" value="" id="q" name="q" class="span2 search-query " placeholder="全文搜索">
<button type="submit" class="btn"><i class="icon-search"></i>搜索</button>
</div>
<a class="btn" href="/search/advance"><i class="icon-search"></i>高级搜索</a>
<a class="btn" href="/data/browse"><i class="icon-reorder"></i>数据列表浏览</a>
<a class="btn" href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a>
<a class="btn" href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a>
</li>
</form>
<ul class="unstyled inline">
<li><a class="btn" href="/data/thumb"><i class="icon-picture"></i>缩略图浏览</a></li>
<li><a class="btn" href="/data/timeline"><i class="icon-calendar"></i>时间轴浏览</a></li>
<li><a class="btn" href="/data/map"><i class="icon-globe"></i>空间浏览</a></li>
<li><a class="btn" href="/data/timemap"><i class="icon-film"></i>时空浏览</a></li>
<li><a class="btn" href="/data/organization"><i class="icon-filter"></i>单位浏览</a></li>
<li><a class="btn" href="/data/fund"><i class="icon-money"></i>项目浏览</a></li>
<li><a class="btn" href="/data/author"><i class="icon-user-md"></i>作者浏览</a></li>
<li><a class="btn" href="/knowledge"><i class="icon-exchange"></i>文献浏览</a></li>
<li><a class="btn" href="/data/doi"><i class="icon-paper-clip"></i>DOI浏览</a></li>
</ul>
</div>
</div>
<?php
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
<?php $keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词'); ?>
<div class="row">
<?php
$type='theme';
?>
<div class="span6">
<h4><a href="/data/tag/keytype/theme"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<ul class="unstyled inline">
?>
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
<h4><a href="/data/tag/keytype/theme"><img src="/sjyportal/img/keyword.png" width="16" height="16" />&nbsp;<?php echo $keytypezh[$type]; ?></a></h4>
<ul class="nav nav-pills">
<?php foreach($this->keywords[$type] as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<?php
</div>
<?php
$type='discipline';
?>
<div class="span6">
<h4><a href="/data/tag/keytype/discipline"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<ul class="unstyled inline">
?>
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
<h4><a href="/data/tag/keytype/discipline"><img src="/sjyportal/img/keyword.png" width="16" height="16" />&nbsp;<?php echo $keytypezh[$type]; ?></a></h4>
<ul class="nav nav-pills">
<?php foreach($this->keywords[$type] as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
</div>
<div class="row">
<?php
<?php
$type='place';
?>
<div class="span6">
<h4><a href="/data/tag/keytype/place"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<ul class="unstyled inline">
?>
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
<h4><a href="/data/tag/keytype/place"><img src="/sjyportal/img/keyword.png" width="16" height="16" />&nbsp;<?php echo $keytypezh[$type]; ?></a></h4>
<ul class="nav nav-pills">
<?php foreach($this->keywords[$type] as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<?php
</div>
<?php
$type='temporal';
?>
<div class="span6">
<h4><a href="/data/tag/keytype/temporal"><i class="icon-tags"></i><?php echo $keytypezh[$type]; ?></a></h4>
<ul class="unstyled inline">
?>
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
<h4><a href="/data/tag/keytype/temporal"><img src="/sjyportal/img/keyword.png" width="16" height="16" />&nbsp;<?php echo $keytypezh[$type]; ?></a></h4>
<ul class="nav nav-pills">
<?php foreach($this->keywords[$type] as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><i class="icon-tag"></i><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<div class="row">
<div class="span6">
<div class="fieldlist">
<fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul class="unstyled inline">
<?php foreach($this->category as $cg) : ?>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><i class="icon-th-large"></i><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
<h4><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</h4>
<div class="items">
<div class="item">
<ul class="unstyled">
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/request">如何从数据中心申请数据</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/submit">如何在数据中心发布数据</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/visual">数据可视化</a></li>
</ul>
</div>
</div>
</div><!-- /left -->
<div class="span6">
<div class="news_list">
<h4><img src="/images/dbs.png" align="absmiddle" />数据最近更新<a href="/data/feed" target="_blank"><img src="images/rss.png"></a></h4>
<ul class="unstyled">
<?php foreach($this->metadata as $md) : ?>
<li><img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
<?php endforeach; ?>
<li class="more"><a href="/data/browse" class="pull-right">更多</a></li>
</ul>
</div>
<div>
</div>
</div><!-- /right -->
</div>

View File

@ -15,18 +15,28 @@ $this->theme->AppendPlus($this,'colorbox');
<div id='metacontent'>
<h1>当前浏览:<?php echo $this->codename; ?></h1>
<?php echo $this->page->getNavigation(); ?>
<hr />
<?php foreach($this->metadata as $md) : ?>
<div class="mditem">
<div class="thumb">
<a href="/service/bigthumb/uuid/<?= $md['uuid'] ?>" class="colorbox">
<img src="/service/thumb/id/<?php echo $md['id'];?>" />
<div class="box">
<?php foreach($this->metadata as $md) : ?>
<div class="clearfix" style="border-bottom:1px dashed #DFDFDF; overflow:hidden">
<div class="pull-left">
<a href="/service/thumb/id/<?php echo $md['id'];?>" class="colorbox">
<img class="img-rounded img-polaroid" src="/service/thumb/id/<?php echo $md['id'];?>" style="margin:20px 20px" width="140" height="80" />
</a>
</div>
<h2><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']);?></a></h2>
<span><?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?></span>
</div>
<?php endforeach; ?>
<div style="display:block; padding-left:180px;">
<h3><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $md['title'];?></a></h3>
<p class=""><?php echo mb_strlen($md['description'])>400? mb_substr($md['description'],0,400,'UTF-8').'...':$md['description'];?></p>
<p class="text-right"><strong>UUID: </strong><small><?= $md['uuid'] ?></small> , <small><?= $md['filesize']."MB" ?></small></p>
<p class="pull-right"><strong class="badge badge-info ">查阅数: <?= $md['viewed'] ?></strong> , <small><?= date("Y-m-d H:i",strtotime($md['ts_created'])) ?></small></p>
</div>
</div>
<?php endforeach; ?>
</div>
<?php echo $this->page->getNavigation(); ?>
</div>
<?php else : ?>

View File

@ -1,13 +1,17 @@
<footer>
</div><!--/container--!>
<!-- FOOTER -->
<footer class="footer">
<div class="container">
<p>© 青海省生态环境遥感监测中心 2013 | <a href="/about/contact" ><i class="icon-envelope"></i>联系我们</a> | <a href="/about/terms">使用条款和免责申明</a></p>
<p class="pull-right"><a href="#" class="icon-arrow-up"></a></p>
<p>Copyright &copy; 2013-<?php echo date('Y')?> 青海省草原总站. &middot; Powered by&nbsp;<a href="http://westdc.westgis.ac.cn/">westdc</a> </p>
</div>
</footer>
<?php if(!empty($this->pageID)) {?>
<script>$('#Nav-<?= $this->pageID?>').addClass("active");</script>
<?php } ?>
<?php if($this->pageIn) { ?>
<script>$('#<?= $this->pageIn?>').addClass('in');
$('#<?= $this->pageIn?>').prev('.accordion-heading').addClass('active');
<script>
!function ($) {
$(function(){
// carousel demo
$('#myCarousel').carousel()
})
}(window.jQuery)
</script>
<?php } ?>

View File

@ -1,50 +1,69 @@
<div class="container">
<div class="masthead">
<div class="row banner">
<div class="span6"><h3 class="head-title">三江源生态监测综合数据服务平台</h3></div>
<div class="span6">
<!-- header -->
<link href="../../../../htdocs/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
</div>
</div>
<div class="navbar">
<div class="navbar-inner">
<header>
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="nav-collapse collapse">
<ul class="nav" id="mainmenu">
<li id="main-nav-index"><a href="/"><span>首页</span></a></li>
<li id="main-nav-data"><a href="/data"><span>数据产品</span></a></li>
<li id="main-nav-review"><a href="/review"><span>数据评审</span></a></li>
<li id="main-nav-author"><a href="/author"><span>数据管理</span></a></li>
<li><a href="/archives"><span>新闻动态</span></a></li>
<li><a href="/about"><span>关于本站</span></a></li>
</ul>
<form method="get" action="/search" id="search" class="navbar-search pull-left">
<input type="text" value="" id="q" name="q" class="search-query" placeholder="搜索">
</form>
<p class="navbar-text pull-right">
<div class="row-fluid">
<div class="span12">
<div class="span3">
<h1 style="font-family:'微软雅黑', '黑体'; color:#009900; font-size:30px;">青海省草原总站</h1>
</div>
<div class="span9 inline">
<p class="pull-right" style="color:#000000; font-size:9px;">
<?php
$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> ';
echo '<a href="/data/order"><i class="icon-shopping-cart"></i>数据篮</a> <a href="/account/logout">注销</a>';
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 {
# echo $_SERVER['SERVER_NAME'] ;
echo '<a href="/account/login"><i class="icon-user"></i>登录</a> <a href="http://www.sanjiangyuan.org.cn/account/register/">注册</a>';
echo '<a href="/account/login">登录</a> | <a href="/account/register">注册</a>';
} ?>
</p>
<ul class="nav nav-pills">
<li style="padding-right:20px" id="page-nav-index-index"><a href="/">首 页</a></li>
<li style="padding-right:20px" id="page-nav-index-index"><a href="/archives/news/localnews">新 闻</a></li>
<li style="padding-right:20px" id="page-nav-index-index"><a href="/data">数 据</a></li>
<li style="padding-right:20px" id="page-nav-index-index"><a href="#">关于我们</a></li>
<li class="input-append " id="search">
<form action="/search" method="get">
<input class="input-medium" placeholder="关键字" type="text" name="q">
<button class="btn" type="submit">搜索</button>
</form>
</li>
</ul>
</div>
</div>
</div>
</div><!-- /.navbar -->
</div>
</header>
<!-- Carousel
================================================== -->
<div class="container-fluid1">
<div id="myCarousel" class="carousel slide">
<div class="carousel-inner">
<div class="item active"> <img src="/sjyportal/img/slide-00.jpg" alt="" class="">
<div class="container">
<div class="carousel-caption">
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
</div>
</div>
</div>
<div class="item"> <img src="/sjyportal/img/slide-01.jpg" alt="" class="">
<div class="container">
<div class="carousel-caption">
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
</div>
</div>
</div>
</div>
<a class="left carousel-control" href="#myCarousel" data-slide="prev"></a> <a class="right carousel-control" href="#myCarousel" data-slide="next"></a> </div>
</div>
<!-- /.carousel -->
<div class="container">

View File

@ -3,136 +3,97 @@
$this->headTitle('首页');
$this->headTitle()->setSeparator(' - ');
$auth = Zend_Auth::getInstance();
$this->headLink()->appendStylesheet('/css/index.css');
?>
<style>
.carousel-inner .item .featured-image-link{text-align:center;}
.featured-image{min-width:100%;text-align:center; margin:auto 0px;/*min-height:100%;*/}
</style>
<div class="row">
</div>
<div class="row">
<div class="span7" id="feature-news">
<div id="myCarousel" class="carousel slide">
<ol class="carousel-indicators">
<?php
foreach($this->news as $k=>$v)
{
echo '<li data-target="#myCarousel" data-slide-to="$k"'.($k==0?' class="active"':'').'></li>';
}
?>
</ol>
<div class="carousel-inner">
<?php
foreach($this->news as $k=>$v)
{
echo '<div class="item'.($k==0?' active':'').'">';
echo '<a href="'.$v['url'].'" title="'.$v['description'].'" ><img src="'.$v['image'].'" class="img-rounded featured-image" /></a>';
echo '<div class="carousel-caption">';
echo '<h4><span class="pull-right">['.date("Y-m-d",strtotime($v['ts_published'])).']</span><a href="'.$v['url'].'">'.$v['title'].'</a></h4>';
//echo '<p>'.$v['description'].'</p>';
echo '</div></div>';
}
?>
</div>
<a class="left carousel-control" href="#myCarousel" data-slide="prev"></a>
<a class="right carousel-control" href="#myCarousel" data-slide="next"></a>
?>
<!-- Wrap the rest of the page in another container to center all the content. -->
<link href="../../../../../htdocs/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span12">
<div class="span4">
<div class="box">
<h4 class="box-title">焦点推荐</h4>
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
<li>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 23 ? mb_substr($v['title'],0,23,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="list.htm" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
<div class="span5" id="main-news">
<h4><a href="/archives"><i class="icon-calendar"></i>新闻</a></h4>
<ul class="news-list unstyled">
<!-- /.span4 -->
<div class="span8">
<div class="box">
<h4 class="box-title">草原监测数据</h4>
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
<li>
<span class="pull-right">[<?= date("Y-m-d",strtotime($v['ts_published']))?>]</span>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,26,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="list.htm" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- 数据 -->
<div class="row">
<div class="span12 data-unit">
<div class="well well-small" style="padding:0px;">
<div class="row">
<div class="span12"><h4>青海省生态环境遥感监测中心</h4></div>
</div>
<div class="row">
<!-- /.span4 -->
</div>
<!-- /.row -->
<div style="margin-bottom:20px;"><img src="/sjyportal/img/protect.jpg" </img></div>
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span4">
<div class="data-block" style=" background-position:0px -600px;width:350px;margin:0 10px;"></div>
</div>
<div class="data-list span4">
<ul class="unstyled">
<li><a href="/data/67d34a5a-4094-4d8a-93c8-9941e535b070">青海三江源区2012年重点生态工程区域草地监测数据集</a></li>
<li><a href="/data/6d7ce662-4357-4e19-8e4a-889691bffe62">青海三江源区2012年度土地利用数据集</a></li>
<li><a href="/data/414489b0-ca05-4bbc-92a8-25b631518c46">青海三江源区2011年度土地利用数据集</a></li>
</ul>
</div>
<div class="data-list span4">
<ul class="unstyled">
<li><a href="/data/ac22fa94-b288-480a-8fdd-c34927968f17">青海三江源区2010年度土地利用数据集</a></li>
<li><a href="/data/e6e1aa3d-e0d8-4dac-8d24-26d7cb1a164f">青海三江源区2011年卫星影像数据集</a></li>
<li><a href="/data/a233150b-18a7-4786-b764-fe3483e480fa">青海三江源区2009年卫星影像数据集</a></li>
<div class="box">
<h4 class="box-title">草原法规</h4>
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
<li>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,26,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="list.htm" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span4">
<div class="box">
<h4 class="box-title">草原执法</h4>
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
<li>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,26,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="list.htm" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省气候中心、青海省气象科学研究所">青海省气象科学研究所</a></h4>
<div class="data-block" style=" background-position:0px -200px;">
<!-- /.span4 -->
<div class="span4">
<div class="box">
<h4 class="box-title">草原防火</h4>
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
<li>
<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><?= mb_strlen($v['title']) > 26 ? mb_substr($v['title'],0,26,'utf-8')."...":$v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="list.htm" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- /.span4 -->
</div>
<!-- /.row -->
</div>
</div>
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省环境监测中心站">青海省环境监测中心站</a></h4>
<div class="data-block" style=" background-position:top left;">
</div>
</div>
</div>
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省草原总站">青海省草原总站</a></h4>
<div class="data-block" style=" background-position:0px -102px;">
</div>
</div>
</div>
</div>
<div class="row">
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省水土保持局">青海省水土保持局</a></h4>
<div class="data-block" style="background-position:0px -400px;">
</div>
</div>
</div>
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省林业调查规划院">青海省林业调查规划院</a></h4>
<div class="data-block" style="background-position:0px -500px;">
</div>
</div>
</div>
<div class="span4 data-unit">
<div class="well well-small">
<h4><a href="/data/organization/name/青海省水文水资源局">青海省水文水资源局</a></h4>
<div class="data-block" style="background-position:0px -300px;">
</div>
</div>
</div>
</div>
<!-- /.container -->