增加了数据下载信息统计中查看详细在线下载记录的功能
This commit is contained in:
parent
97a52d7257
commit
66f96a7496
|
@ -464,7 +464,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
elseif($show)
|
||||
{
|
||||
$select=$this->db->select();
|
||||
$select->from('dataorder as o',array('ts_created','ts_created','offlineappid'))
|
||||
$select->from('dataorder as o',array('ts_created','ts_created','offlineappid','onlineappid'))
|
||||
->join('metadata as m', 'o.uuid = m.uuid', array('title','uuid'))
|
||||
->join('users as u', 'o.userid=u.id',array('id as userid','username','realname'))
|
||||
->where('m.uuid = ? and (o.status=0 or o.status=5)', $show)
|
||||
|
|
|
@ -45,6 +45,9 @@
|
|||
<td><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['realname'];?></a></td>
|
||||
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
||||
<td>
|
||||
<?php if ($item['onlineappid']>0) : ?>
|
||||
<a href='/admin/down/online/show/<?php echo $item['offlineappid'];?>'>详细</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($item['offlineappid']>0) : ?>
|
||||
<a href='/admin/down/offline/show/<?php echo $item['offlineappid'];?>'>详细</a>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue