このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
LightPeer/resources/views/layout/component/common/videosbydate.blade.php

44 行
1.3 KiB
PHP

<div class="videos">
@if (!empty($res['video']['today']))
<h2 class="date-title"> 今日 </h2>
@foreach ($res['video']['today'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
@if (!empty($res['video']['yesterday']))
<h2 class="date-title"> 昨日 </h2>
@foreach ($res['video']['yesterday'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
@if (!empty($res['video']['week']))
<h2 class="date-title"> 今週 </h2>
@foreach ($res['video']['week'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
@if (!empty($res['video']['month']))
<h2 class="date-title"> 今月 </h2>
@foreach ($res['video']['month'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
@if (!empty($res['video']['lastmonth']))
<h2 class="date-title"> 先月 </h2>
@foreach ($res['video']['lastmonth'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
@if (!empty($res['video']['moreearly']))
<h2 class="date-title"> もっと前 </h2>
@foreach ($res['video']['moreearly'] as $v)
@include('layout.component.common.videominature')
@endforeach
@endif
</div>