westdc-zf1/application/default/views/scripts/archives/index.phtml

102 lines
5.5 KiB
PHTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('新闻中心');
$this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('新闻中心');
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/static-sanji/css/new-list.css');
?>
<div class="body-warp">
<div class="nav" id="nav">
<ul>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<li><a href="'.$v['url'].'">'.$haed.$v['title'].'</a></li>';
$haed = "";
}
}
?>
</ul>
</div>
<div class="list-warp container">
<ul>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表测数据集数据数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地量与气象要素观测</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测集数数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
<li><a href="#">海河流域多尺度地表通量与气象要素观测数据集数据正式发布</a><span>2018-02-03</span></li>
</ul>
</div>
<div class="page">
<span>共125条记录</span>
<span>共6页</span>
<span><a href="javascript:" class="prev">上一页</a></span>
<span class="pageSize"><a href="javascript:" class="pageClass">[1]</a></span>
<span class="pageSize"><a href="javascript:">2</a></span>
<span class="pageSize"><a href="javascript:">3</a></span>
<span class="pageSize"><a href="javascript:">4</a></span>
<span><a href="javascript:" class="next">下一页</a></span>
<span><a href="#">返回顶部</a></span>
</div>
</div>
<div class="row">
<div class="span3">
<div class="sidebar-nav bs-review-nav">
<ul class="nav nav-list bs-review-sidenav">
<li class="active"><a href="/archives"><i class="icon-chevron-right"></i>新闻中心</a></li>
<?php
if(count($this->types))
{
foreach($this->types as $k=>$v)
{
$haed = "";
if(!empty($v[$this->deepField])) {$haed = str_repeat(' ',$v[$this->deepField]);}
echo '<li><a href="'.$v['url'].'"><i class="icon-chevron-right"></i>'.$haed.$v['title'].'</a></li>';
$haed = "";
}
}
?>
</ul>
</div>
</div>
<div class="span9">
<div class="row" id="container">
<?php
foreach($this->lists as $v)
{?>
<?php if(count($v['list'])>0) {?>
<div class="span4 items">
<h3><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></h3>
<div class="list-content">
<ul class="unstyled">
<?php foreach($v['list'] as $arc){?>
<li><small>[<?php echo date("Y-m-d",strtotime( $arc['ts_published'] )); ?>]</small>
<a href="<?= $arc['url']?>"><?= $arc['title'] ?></a></li>
<?php }?>
</ul>
</div>
</div>
<?php } }
?>
</div>
</div>
</div>