{include file='ebcms@common/header' /}

浏览日志 页面统计


{php} $_where = []; if(input('url')){ $_where = ['url'=>input('url')]; } if(input('ip')){ $_where = ['ip'=>input('ip')]; } if(input('title')){ $_where = ['title'=>input('title')]; } if(input('from')){ $_where = ['from'=>input('from')]; } $data = \app\tongji\model\Tongji::order('id desc') -> where($_where) -> paginate(30,false,['query'=>input('get.')]); {/php}
{foreach name='data' item='vo'} {/foreach} {if condition="check_auth('delete')"} {/if}
id 链接 ip 用户ID 时间 标题 来源
{$vo.id} {$vo.url|mb_substr=0,60} {$vo.ip} {$vo.user_id} {$vo.create_time|date='Y-m-d H:i:s',###} {$vo.title|mb_substr=0,40} {$vo.from|mb_substr=0,40}
删除 三天之前 一周之前 两周之前 三周之前 四周之前 两个月之前 三个月之前 四个月之前 五个月之前 六个月之前 一年之前
{$data -> render()}
{include file='ebcms@common/footer' /}