105 lines
4.8 KiB
PHTML
105 lines
4.8 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle($this->config->title->news);
|
||
$this->headTitle('新闻动态');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
|
||
$this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css')
|
||
?>
|
||
<!--当前位置-->
|
||
<div class="breadcrumb-wrapper">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-md-3 col-sm-4 bcid-cat">新闻动态</div>
|
||
<div class="col-md-9 col-sm-8 location">
|
||
<img src="/static-sanjy-np/img/address.png" alt=""/>
|
||
<span>当前位置:
|
||
<a href="/">主页</a> >
|
||
<a href="/archives/news/localnews">新闻动态</a>
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<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">
|
||
<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>
|
||
</ul>
|
||
<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>
|
||
<?php if ($v['image'] != '') { ?>
|
||
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="<?= $v['image'] ?>"></a>
|
||
<?php } else { ?>
|
||
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="/static-sanjy-np/img/banner03.jpg"></a>
|
||
<?php } ?>
|
||
|
||
</figure>
|
||
<div class="entry-summary post-summary">
|
||
<header class="entry-header">
|
||
<h2 class="entry-title post-title"><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a></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="blog-article hentry format-image">
|
||
<div class="alert alert-warning" role="alert">暂无数据。</div>
|
||
</div>';
|
||
}
|
||
?>
|
||
<div class="pagination-wrap">
|
||
<div class="page">
|
||
<div class="page">
|
||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|