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

76 lines
3.4 KiB
PHTML
Executable File

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$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">
<?= $this->render('breadcrumbs.phtml'); ?>
</div>
</div>
</div>
</div>
<div class="content content1">
<div class="container">
<div class="searchBox">
<i>搜索</i><input type="text" placeholder="请输入搜索内容">
</div>
<div class="guanjian"><a href="">关键词1</a><a href="">关键词1</a><a href="">关键词1</a><a href="">关键词1</a><a href="">关键词1</a>
</div>
<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">DATA</p>
<img src="/static-sanjy-np/img/tie_suo.jpg" width="179" height="14">
<ul class="in_list font14">
<li><a href="data.html" class="active">全部数据</a></li>
<li><a href="data.html">最新数据</a></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 ;">
<ul class="newUlList">
<?php foreach ($this->metadata as $md) : ?>
<li>
<div class="newsImgBox">
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
</div>
<div class="newRight">
<div class="newTopTitle">
<span><?php echo $this->escape($md['title']); ?></span>
<i><?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></i>
</div>
<p>
<?= $this->escape($md['description']) ?>
</p>
<a class="more" href="/data/<?php echo $md['uuid']; ?>">查看详情</a>
</div>
</li>
<?php endforeach; ?>
</ul>
<div class="pagination-wrap">
<div class="page">
<div class="pagenavi">
<ul class="pagination">
<li class="disabled"><a href="javascript:;">«</a></li>
<li class="active"><a href="javascript:void(0);">1</a></li>
<li><a href="javascript:void(0);">2</a></li>
<li class="disabled"><a href="javascript:;">»</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>