update data detail page
This commit is contained in:
parent
fc5a43097d
commit
e954b7ed9c
|
@ -63,7 +63,6 @@ class DataController extends Zend_Controller_Action
|
|||
$sum=$row[0]['count'];
|
||||
$select=$this->db->select();
|
||||
$select->from('normalmetadata','*')->joinLeft('mdstat','normalmetadata.uuid=mdstat.uuid', ['viewed','downloaded'])->where('datatype=0')->order('title')->limitPage($page,$limit);
|
||||
$this->view->metadata = $this->db->fetchAll($select);
|
||||
|
||||
view::addPaginator($select, $this);
|
||||
//服务
|
||||
|
|
|
@ -49,7 +49,7 @@ $this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css');
|
|||
</div>
|
||||
<div class="main inner-left col-md-9" style="padding-right:0 ;">
|
||||
<ul class="newUlList">
|
||||
<?php foreach ($this->metadata as $md) : ?>
|
||||
<?php foreach ($this->paginator as $md) : ?>
|
||||
<li>
|
||||
<div class="newsImgBox">
|
||||
<a href="/data/<?php echo $md['uuid']; ?>"><img
|
||||
|
|
Loading…
Reference in New Issue