manghe/app/admin/view/User/ip_list.html
2025-03-21 18:26:16 +00:00

81 lines
2.4 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file="Public:header2"/}
<body>
<div class="layui-fluid">
<div class="layui-card">
<div class="layui-card-body">
<xblock>
<div style="padding-bottom: 10px;">
<span style="line-height:40px;float:right;">共有数据: {$count}条</span>
</div>
</xblock>
<table class="layui-table">
<thead>
<tr>
<th>用户信息</th>
<th>ip</th>
<th>ip地址</th>
<th>ip邮编</th>
<th>登录时间</th>
<!-- <th>操作</th>-->
</tr>
</thead>
<tbody>
{volist name="list" id="vo"}
<tr>
<td style="text-align: left">
<div style="display: flex;">
<div style="margin-left: 10px">
<p style="color: #e91e63;font-size: 9px">真实ID{$vo['user_id']}</p>
<p style="color: #e91e63;font-size: 9px">UID{:isset($vo['uid']) ? $vo['uid'] : $vo['user_id']}</p>
</div>
</div>
</td>
<td>{$vo['last_login_ip1']}
</td>
<td>{$vo['ip_province'].$vo['ip_city']}
</td>
<td>{$vo['ip_adcode']}
</td>
<td>{$vo['last_login_time']|date="Y-m-d H:i:s"}</td>
</tr>
{/volist}
{if condition="empty($list)"}
<tr>
<td colspan='10' style="text-align:center;">暂时没有数据!</td>
</tr>
{/if}
</tbody>
</table>
<div class="my_page layui-box layui-laypage layui-laypage-default">
{$page|raw}
</div>
</div>
</div>
</div>
{include file="Public:footer"/}
<script type="text/javascript">
layui.use(['table', 'laydate'], function () {
//执行一个laydate实例
var laydate = layui.laydate;
laydate.render({
elem: '#addtime'
,type: 'datetime'
,range: true
});
});
</script>
</body>
</html>