add time display.

This commit is contained in:
wlx 2011-10-11 04:44:13 +00:00
parent 0a7be3399b
commit fa918ba254
1 changed files with 6 additions and 4 deletions

View File

@ -38,7 +38,8 @@
<table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width='40'>选择</td>
<td width='600'>标题</td>
<td width='600'>标题</td>
<td width='120'>时间</td>
<td width="150">操作</td>
</tr>
<?php if (count($this->paginator)): ?>
@ -47,13 +48,14 @@
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><input type="checkbox" name="update[]" value="<?php echo $item['id']; ?>"/></td>
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a></td>
<td><a href="/admin/review/draft/update/<?php echo $item['id']; ?>">接受元数据</a></td>
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a></td>
<td><?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?></td>
<td><a href="/admin/review/draft/update/<?php echo $item['id']; ?>">接收</a></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<input type="submit" value="接已选择的元数据" />
<input type="submit" value="接已选择的元数据" />
</form>
<div style="width:50%;text-align:left;">
<?= $this->paginator; ?></div>