80 lines
3.4 KiB
PHTML
Executable File
80 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>
|
|
<?= $this->render('breadcrumbs.phtml'); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content content1">
|
|
<div class="container">
|
|
<div class="searchBox">
|
|
<i onclick="$('#search-form').submit()">搜索</i>
|
|
<form action="/search" id="search-form">
|
|
<input type="text" name="q" id="q" class="form-control" placeholder="搜素关键词">
|
|
</form>
|
|
</div>
|
|
<div class="guanjian">
|
|
<a href="/data/tag">关键词浏览</a>
|
|
<a href="/data/onlinelist">在线数浏览</a>
|
|
<a href="/data/offlinelist">离线浏览</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">
|
|
<?php $type = 'discipline'; ?>
|
|
<?php foreach ($this->keywords[$type] as $cg) : ?>
|
|
<li><a href="/data/tag/key/<?= $cg['keyword'] ?>"><?= $cg['keyword'] ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
<img src="/static-sanjy-np/img/banner03.jpg" width="242" height="174">
|
|
</div>
|
|
</div>
|
|
<div class="main inner-left col-md-9" style="padding-right:0 ;">
|
|
<ul class="newUlList">
|
|
<?php foreach ($this->paginator as $md) : ?>
|
|
<li>
|
|
<div class="newsImgBox">
|
|
<a href="/data/<?php echo $md['uuid']; ?>"><img
|
|
src="/service/thumb/id/<?php echo $md['id']; ?>"></a>
|
|
</div>
|
|
<div class="newRight">
|
|
<div class="newTopTitle">
|
|
<span><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']); ?></a></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="pagenavi"><?= $this->paginator; ?></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|