<html>
<head>
    <meta charset="utf-8">
    <title>{{$title}}</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>

<table class="table">
    <caption>{{$title}}</caption>
    <thead>
    <tr>

        <th>日期</th>
        <th>男女频</th>
        <th>新增作品数量</th>
        <th>新增内部上架</th>
    </tr>
    </thead>
    <tbody>
        <tr>
            <td>{{$data[0]['date']}}</td>
            <td>总</td>
            <td>{{$data[0]['total']}}</td>
            <td>{{$data[0]['internal']}}</td>

        </tr><tr>
            <td>{{$data[1]['date']}}</td>
            <td>男频</td>
            <td>{{$data[1]['total']}}</td>
            <td>{{$data[1]['internal']}}</td>

        </tr><tr>
            <td>{{$data[2]['date']}}</td>
            <td>女频</td>
            <td>{{$data[2]['total']}}</td>
            <td>{{$data[2]['internal']}}</td>

        </tr>
    </tbody>
</table>
<br/>
<br/>
<table class="table">
    <caption>{{$title2}}</caption>
    <thead>
    <tr>

        <th>bid</th>
        <th>书名</th>
        <th>一级分类</th>
        <th>作品类型</th>
    </tr>
    </thead>
    <tbody>
    @foreach($datas2 as $data2)
    <tr>
        <td>{{$data2[0]}}</td>
        <td>{{$data2[1]}}</td>
        <td>{{$data2[2]}}</td>
        <td>{{$data2[3]}}</td>
    </tr>
    @endforeach
    </tbody>
</table>
</body>
</html>