显示数据量
This commit is contained in:
parent
fe29825d9d
commit
614f81bee9
|
@ -473,7 +473,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
{
|
||||
$select=$this->db->select();
|
||||
$select->from('dataorder as o',array('id','ts_created','userid','offlineappid','onlineappid'))
|
||||
->joinLeft('metadata as m', 'o.uuid = m.uuid', array('title','uuid'))
|
||||
->joinLeft('metadata as m', 'o.uuid = m.uuid', array('title','uuid','filesize'))
|
||||
->joinLeft('users as u','u.id=o.userid',array('realname as username'))
|
||||
->where('o.userid = ?', $show)
|
||||
->where('o.status=0 or o.status=5')
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<?php $autoindex++;?>
|
||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||
<td><a href="/admin/user/show/id/<?php echo $item['userid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a> </td>
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
|
||||
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a>(<?php echo $item['filesize'];?>MB)</td>
|
||||
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
||||
<td>
|
||||
<?php if($item['onlineappid']>0){echo '<a href="/admin/down/online/show/'.$item['onlineappid'].'">详细</a>';} ?>
|
||||
|
|
Loading…
Reference in New Issue