显示离线信息

This commit is contained in:
wlx 2011-09-16 07:50:42 +00:00
parent 03eebeb206
commit c38937f042
2 changed files with 7 additions and 3 deletions

View File

@ -45,7 +45,9 @@
<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></td>
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td> <td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
<td> <td>
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a> <?php if ($item['offlineappid']>0) : ?>
<a href='/admin/down/offline/show/<?php echo $item['offlineappid'];?>'>详细</a>
<?php endif; ?>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>

View File

@ -43,7 +43,8 @@
<table> <table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;"> <tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width='350'>姓名</td> <td width='150'>姓名</td>
<td width='350'>单位</td>
<td width='150'>下载次数</td> <td width='150'>下载次数</td>
<td width='150'>操作</td> <td width='150'>操作</td>
</tr> </tr>
@ -52,7 +53,8 @@
<?php foreach ($this->paginator as $item): ?> <?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?> <?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>> <tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><a href="/admin/user/show/<?php echo $item['uid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['uid'];?>"><?= $item['realname']?></a> </td> <td><a href="/admin/user/show/id/<?php echo $item['uid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['uid'];?>"><?= $item['realname']?></a> </td>
<td><?php echo $item['unit']; ?></td>
<td><?php echo $item['num']; ?></td> <td><?php echo $item['num']; ?></td>
<td> <td>
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a> <a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>