<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>
        <th>更新章节数</th>
        <th>连载作品数量</th>
        <th>断更作品数量</th>
        <th>内部作品断更数量</th>
        <th>外部作品断更数量</th>
    </tr>
    </thead>
    <tbody>
        <tr>
            <td>{{$data['date']}}</td>
            <td>总</td>
            <td>{{$data['new_product_num']}}</td>
            <td>{{$data['updated_product_num']}}</td>
            <td>{{$data['updated_chapter_num']}}</td>

            <td>{{$data['serial_num']}}</td>
            <td>{{$data['not_updated_serial']}}</td>
            <td>{{$data['internal_suspend']}}</td>
            <td>{{$data['outer_suspend']}}</td>

        </tr><tr>
            <td>{{$data['date']}}</td>
            <td>男频</td>
            <td>{{$data['new_product_male_num']}}</td>
            <td>{{$data['updated_product_male_num']}}</td>
            <td>{{$data['updated_chapter_male_num']}}</td>

            <td>{{$data['serial_male_num']}}</td>
            <td>{{$data['not_updated_serial_male']}}</td>
            <td>{{$data['internal_suspend_male']}}</td>
            <td>{{$data['outer_suspend_male']}}</td>

        </tr><tr>
            <td>{{$data['date']}}</td>
            <td>女频</td>
            <td>{{$data['new_product_female_num']}}</td>
            <td>{{$data['updated_product_female_num']}}</td>
            <td>{{$data['updated_chapter_female_num']}}</td>

            <td>{{$data['serial_female_num']}}</td>
            <td>{{$data['not_updated_serial_female']}}</td>
            <td>{{$data['internal_suspend_female']}}</td>
            <td>{{$data['outer_suspend_female']}}</td>

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

        <th>bid</th>
        <th>书名</th>
        <th>一级分类</th>
        <th>最近更新</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>

        <td>{{$data2[4]}}</td>
        <td>{{$data2[5]}}</td>
        <td>{{$data2[6]}}</td>
    </tr>
    @endforeach
    </tbody>
</table>
</body>
</html>