36 lines
945 B
PHP
36 lines
945 B
PHP
|
|
<!doctype html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||
|
|
<title>News Room</title>
|
||
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="content">
|
||
|
|
<h1>{{date('Y-m', strtotime('-1 month'))}}备注人数统计</h1>
|
||
|
|
<table border="1" width="100%">
|
||
|
|
<tr>
|
||
|
|
<th>用户id</th>
|
||
|
|
<th>昵称</th>
|
||
|
|
<th>备注数</th>
|
||
|
|
</tr>
|
||
|
|
@foreach ($users as $user)
|
||
|
|
<tr>
|
||
|
|
<td>{{$user->id }}</td>
|
||
|
|
<td>{{$user->nickname }}</td>
|
||
|
|
<td>{{$user->comment_count }}</td>
|
||
|
|
</tr>
|
||
|
|
@endforeach
|
||
|
|
</table>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<script src="{{ mix('js/app.js') }}"></script>
|
||
|
|
<script>
|
||
|
|
|
||
|
|
{{-- {{dd($users)}};--}}
|
||
|
|
</script>
|
||
|
|
</html>
|