This commit is contained in:
parent
f81566f050
commit
c01c37e4ad
|
@ -48,32 +48,27 @@ $this->theme->AppendPlus($this,'colorbox');
|
||||||
<div id='metacontent'>
|
<div id='metacontent'>
|
||||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
||||||
<hr />
|
<hr />
|
||||||
<?php foreach($this->paginator as $md) : ?>
|
<ul class="newUlList">
|
||||||
<div class="row c-list">
|
<?php foreach ($this->paginator as $md) : ?>
|
||||||
<div class="col-md-3 c-img-box">
|
<li>
|
||||||
<div class="c-cover"></div>
|
<div class="newsImgBox">
|
||||||
<a class="c-cover" href="/data/<?php echo $md['uuid'];?>"></a>
|
<a href="/data/<?php echo $md['uuid'];?>">
|
||||||
<div class="c-img" style="background:url('/service/thumb/id/<?php echo $md['id'];?>') no-repeat center; background-size:cover"></div>
|
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
|
||||||
<!-- <a href="/service/bigthumb/uuid/--><?//= $md['uuid'] ?><!--" class="pull-left colorbox">-->
|
</a>
|
||||||
<!-- <img class="media-object" src="/service/thumb/id/--><?php //echo $md['id'];?><!--">-->
|
|
||||||
<!-- </a>-->
|
|
||||||
</div>
|
|
||||||
<div class="col-md-9 c-list-box">
|
|
||||||
<h4><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></h4>
|
|
||||||
<p class="c-info"><span class="c-click"></span><i><?php echo $md['viewed']?></i> | <span class="c-time"></span><i><?php echo date("d,M,Y",strtotime( $md['ts_published'] )); ?></i></p>
|
|
||||||
<p class="c-con">
|
|
||||||
<?php echo str_replace(array("\r\n", "\n", "\r"),'<br />',mb_strlen($md['description'])>120 ? $this->escape(mb_substr($md['description'],0,120,'UTF-8').'...'):$this->escape($md['description']));?>
|
|
||||||
</p>
|
|
||||||
<div class="dam clear">
|
|
||||||
<div class="c-left">
|
|
||||||
<i>文件大小</i>
|
|
||||||
<em><?php echo round($md['filesize'] / 2014, 2) > 0.99 ? round($md['filesize'] / 2014, 2) : '小于1'?>MB</em>
|
|
||||||
</div>
|
|
||||||
<a class="c-right" href="/data/<?php echo $md['uuid'];?>">更多</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="newRight">
|
||||||
</div>
|
<div class="newTopTitle">
|
||||||
<?php endforeach; ?>
|
<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>
|
||||||
|
<?php echo str_replace(array("\r\n", "\n", "\r"), '<br />', mb_strlen($md['description']) > 120 ? $this->escape(mb_substr($md['description'], 0, 120, 'UTF-8') . '...') : $this->escape($md['description'])); ?>
|
||||||
|
</p>
|
||||||
|
<a class="more" href="/data/<?php echo $md['uuid']; ?>">更多</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in New Issue