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

94 lines
4.1 KiB
PHTML
Raw Normal View History

<?php
$this->headTitle($this->config->title->site);
2018-06-22 10:41:42 +00:00
$this->headTitle($this->config->title->news);
2018-06-22 09:39:16 +00:00
$this->headTitle('新闻动态');
$this->headTitle()->setSeparator(' - ');
2018-06-22 09:39:16 +00:00
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
$this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css')
?>
2018-06-22 09:39:16 +00:00
<!--当前位置-->
<div class="breadcrumb-wrapper">
<div class="container">
2018-05-12 09:12:27 +00:00
<div class="row">
2018-06-22 09:39:16 +00:00
<div class="col-md-3 col-sm-4 bcid-cat">新闻动态</div>
<div class="col-md-9 col-sm-8 location">
2018-06-22 10:41:42 +00:00
<?= $this->render('breadcrumbs.phtml'); ?>
2018-05-12 09:12:27 +00:00
</div>
2018-06-22 09:39:16 +00:00
</div>
</div>
</div>
2018-05-12 09:12:27 +00:00
2018-06-22 09:39:16 +00:00
<div class="content content1">
<div class="container">
<div class="col-md-3" style="padding-left: 0;">
<div class="in_left float_l">
<h2 class="font24 t_big"><b>新闻动态</b></h2>
<p class="font24 t_big1">NEWS</p>
<img src="/static-sanjy-np/img/tie_suo.jpg" width="179" height="14">
<ul class="in_list font14">
2018-06-22 10:49:38 +00:00
<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 = "";
}
}
?>
</li>
2018-05-12 09:12:27 +00:00
</ul>
2018-06-22 09:39:16 +00:00
<p><img src="/static-sanjy-np/img/map_img.jpg" width="183" height="174"></p>
<div class="in_phone"><p class="y_1 color_3">02164057520</p><span class="y_2">欢迎您来电咨询</span></div>
</div>
</div>
<div class="main inner-left col-md-9" style="padding-right:0 ;">
<?php
if (count($this->paginator)) {
foreach ($this->paginator as $v) {
?>
<div class="blog-article hentry format-image">
<figure>
<img class="img-responsive" src="/static-sanjy-np/img/2.jpg">
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title"><?php echo $v['title']; ?></h2>
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i
class="time"></i><?php echo date("Y-m-d",strtotime( $v['ts_published'] )); ?>
</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
<p><?php echo $v['description']?></p>
</div>
<a href="<?php echo $v['url']; ?>" class="read-more-link">查看详情</a>
</div>
</div>
<?php
}
} else {
echo '暂无数据';
}
?>
<div class="pagination-wrap">
2018-05-12 10:00:07 +00:00
<div class="page">
2018-06-22 09:39:16 +00:00
<div class="page">
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
2018-05-12 10:00:07 +00:00
</div>
2018-05-12 09:12:27 +00:00
</div>
</div>
2018-02-04 07:05:06 +00:00
</div>
2018-06-22 09:39:16 +00:00
</div>