{loop $data $d} <tr class="s_out"> <td align="center" ><input onclick="c_chang(this)" type="checkbox" value="{$d.$primary_key}" name="select[]" class="checkbox" /> </td> <td align="center">{cut($d['groupid'])}</td> <td align="center">{cut($d['groupid'])}</td> <td align="center">{cut($d['name'])}</td> <td align="center" width="70"> <span class="hotspot" onmouseover="tooltip.show('点击编辑用户组!');" onmouseout="tooltip.hide();"><a href="<?php echo modify("act/edit/table/$table/id/$d[$primary_key]");?>" class="a_edit"></a></span> <span class="hotspot" onmouseover="tooltip.show('确定要删除吗?');" onmouseout="tooltip.hide();"><a onclick="javascript: return confirm('确实要删除吗?');" href="<?php echo modify("/act/delete/table/$table/id/$d[$primary_key]");?>" class="a_del"></a></span> </td> </tr> {/loop} </tbody> </table> <div class="page"><?php if(get('table')!='type' && front::get('case')!='field') echo pagination::html($record_count); ?></div> </div> <div class="blank20"></div> <input type="hidden" name="batch" value=""> <input class="btn_a" type="button" value="删除" name="delete" onclick="if(getSelect(this.form) && confirm('确实要删除ID为('+getSelect(this.form)+')的记录吗?')){this.form.action='<?php echo modify('act/batch',true);?>'; this.form.batch.value='delete'; this.form.submit();}" /> </form>
<th align="center">编号</th> <th align="center">用户名</th> <th align="center">操作时间</th> <th align="center">IP</th> <th align="center">操作方法</th> <th align="center">说明</th> </tr> </thead> <tbody> {loop $data $d} <tr> <td align="center">{cut($d['id'])}</td> <td align="center" style="padding-left:10px;">{cut($d['username'])}</td> <td align="center">{date('Y-m-d H:i:s',$d['addtime'])}</td> <td align="center">{$d['ip']}</td> <td align="center">{cut($d['event'])}</td> <td align="left">{$d['note']}</td> </tr> {/loop} </table> <div class="page"><?php echo pagination::html($record_count); ?></div> </div> <div class="blank20"></div> <input type="hidden" name="batch" value=""> <input class="btn_a" type="button" value=" 清空 " name="delete" onclick="if(confirm('确实要清空日志记录吗?')){this.form.action='<?php echo modify('act/batch',true);?>'; this.form.batch.value='delete'; this.form.submit();}"/> </form>
<?php } unset($d1); unset($data1); unset($data11); ?> <?php } } ?> </tbody> </table> <div class="page"><?php echo pagination::html($record_count); ?> </div> </div> <div class="blank10"></div> <input type="hidden" name="batch" value=""> <input class="btn_a" type="button" value=" 排序 " name="order" onclick="this.form.action='<?php echo modify('act/batch', true); ?> '; this.form.batch.value='order'; this.form.submit();"/> 移动分类:<?php echo form::select('typeid', 0, type::option()); ?>