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

105 lines
4.8 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-23 06:35:12 +00:00
<img src="/static-sanjy-np/img/address.png" alt=""/>
<span>当前位置:
<a href="/">主页</a> &gt;
<a href="/archives/news/localnews">新闻动态</a>
</span>
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
2018-06-23 06:35:12 +00:00
if (count($this->types)) {
foreach ($this->types as $k => $v) {
2018-06-22 10:49:38 +00:00
$haed = "";
2018-06-23 06:35:12 +00:00
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>';
2018-06-22 10:49:38 +00:00
$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>
2018-06-23 06:35:12 +00:00
<?php if ($v['image'] != '') { ?>
2018-06-23 09:50:11 +00:00
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="<?= $v['image'] ?>"></a>
2018-06-23 06:35:12 +00:00
<?php } else { ?>
2018-06-23 09:50:11 +00:00
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="/static-sanjy-np/img/banner03.jpg"></a>
2018-06-23 06:35:12 +00:00
<?php } ?>
2018-06-22 09:39:16 +00:00
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
2018-06-23 09:50:11 +00:00
<h2 class="entry-title post-title"><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a></h2>
2018-06-22 09:39:16 +00:00
</header>
<div class="entry-meta post-meta">
<ul>
<li class="entry-date date">
<time class="entry-date"><i
2018-06-23 06:35:12 +00:00
class="time"></i><?php echo date("Y-m-d", strtotime($v['ts_published'])); ?>
2018-06-22 09:39:16 +00:00
</time>
</li>
<li class="tags">
<i class="icon1"></i>今日三江源
</li>
</ul>
</div>
<div class="entry-content">
2018-06-23 06:35:12 +00:00
<p><?php echo $v['description'] ?></p>
2018-06-22 09:39:16 +00:00
</div>
<a href="<?php echo $v['url']; ?>" class="read-more-link">查看详情</a>
</div>
</div>
<?php
}
} else {
2018-06-23 06:35:12 +00:00
echo '<div class="blog-article hentry format-image">
<div class="alert alert-warning" role="alert">暂无数据。</div>
</div>';
2018-06-22 09:39:16 +00:00
}
?>
<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>