You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simple-yewu/frontend/views/car/ajax-history-index.php

25 lines
1.0 KiB

5 years ago
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table" style="table-layout: fixed;">
<tr>
<td width="50" align="center" class="bg_tr" nowrap>序号</td>
<td width="80" align="center" class="bg_tr" nowrap>操作者</td>
<td width="130" align="center" class="bg_tr" nowrap>操作时间</td>
<td width="80%" align="center" class="bg_tr" nowrap>操作内容</td>
</tr>
<?php
foreach($items as $index => $item) {
$start_index = ($page-1) * 20 + $index;
?>
<tr>
<td align="center" class="td_bg"nowrap ><?=$index+1?></td>
<td class="td_bg" nowrap><?=$item->op_man?></td>
<td align="center" class="td_bg" nowrap><?=date('Y-m-d H:i:s',$item->op_time)?></td>
<td class="td_bg" style="word-break: break-all;"><?=$item->remark?></td>
</tr>
<?php
}
?>
<tr>
<td height="25" colspan="4" align="center" class="td_bg"><?=$page_info?></td>
</tr>
</table>