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

96 lines
3.6 KiB
PHTML
Raw Normal View History

<?php
2018-05-11 10:54:55 +00:00
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('数据列表浏览');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/static-sanji/css/data-list.css');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/bootstrap.min.css');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/top.css');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/dataProduct.css');
$this->headLink()->appendStylesheet('/static-sanji-v2/css/bottom.css');
$this->nav[] = array('link' => "/data/browse", 'title' => '数据列表浏览');
$this->theme->AppendPlus($this, 'colorbox');
?>
2018-02-04 09:46:00 +00:00
<hr class="c-f">
<div class="container">
2018-02-05 05:24:50 +00:00
<div class="row">
<div class="col-lg-12">
<?= $this->partial('data/tools.phtml'); ?>
2018-02-04 09:46:00 +00:00
</div>
2018-02-05 05:24:50 +00:00
</div>
</div>
2018-05-11 10:54:55 +00:00
<!--最近更新数据-->
<div class="intro1">
<div class="container">
<h2 class="title">最近更新数据</h2>
<a href="">查看更多</a>
</div>
</div>
2018-02-05 05:24:50 +00:00
<div class="container">
<div class="col-lg-12">
2018-05-11 16:13:48 +00:00
<div class="row">
<?php foreach ($this->paginator as $key => $md) : ?>
<div class="col-sm-6 col-md-6">
<a href="/data/<?php echo $md['uuid']; ?>">
<div class="dataBox">
<img src="/service/thumb/id/<?php echo $md['id']; ?>" alt=""/>
<div class="rightBox">
<h6><?php echo $this->escape($md['title']); ?></h6>
<p><?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 200 ? $this->escape(mb_substr($md['description'], 0, 200, 'UTF-8') . '...') : $this->escape($md['description'])); ?></p>
<span>创健时间:<?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></span>
</div>
2018-02-05 05:24:50 +00:00
</div>
2018-05-11 16:13:48 +00:00
</a>
2018-02-04 09:46:00 +00:00
</div>
2018-05-11 16:13:48 +00:00
<?php endforeach; ?>
</div>
2018-02-04 09:46:00 +00:00
</div>
</div>
2018-02-04 09:46:00 +00:00
2018-05-11 16:13:48 +00:00
<!--<div class="container">
2018-02-04 09:46:00 +00:00
<div class="row">
<div class="col-xs-12">
<div class="page">
2018-05-11 16:13:48 +00:00
<div class="pagenavi"><?/*= $this->paginator; */?></div>
2018-02-04 09:46:00 +00:00
</div>
</div>
</div>
2018-05-11 16:13:48 +00:00
</div>-->
<div class="intro1">
<div class="container">
<h2 class="title">数据资源查找</h2>
</div>
</div>
<div class="container">
<?= $this->partial('data/resource-find.phtml'); ?>
</div>
2013-05-13 03:57:27 +00:00
2018-05-11 16:13:48 +00:00
<!--数据服务-->
<div class="intro1">
<div class="container">
<h2 class="title">数据服务</h2>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a1">离线数据服务记录(最近20个)</a>
</div>
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a2">如何从西部数据中心申请数据</a>
</div>
<div class="col-sm-6 col-md-4 addOne">
<a href="" class="a3">如何在西部数据中心发布数据</a>
</div>
</div>
</div>
</div>
2018-02-04 09:46:00 +00:00
<script src="/static-sanji/js/data-list.js"></script>
2013-05-13 03:57:27 +00:00
<script type="text/javascript" charset="utf-8">
2018-05-11 10:54:55 +00:00
//$(document).ready(function(){
// $(".colorbox").colorbox({rel:"colorbox",photo:"true",transition:"fade"});
// $(".colorbox").colorbox({photo:"true"});
//});
2013-05-13 03:57:27 +00:00
</script>