:::

4-4 resources/views/exam/index.blade.php

@extends('layouts.app') 
@section('content')
    <h1>所有測驗 <small>(共 {{ $exams->total() }} 筆資料)</small></h1>
    <ul class="list-group">
        @forelse($exams as $exam)
            <li class="list-group-item">
                {{ $exam->created_at->format("Y年m月d日") }} - 
                @if($exam->enable!=1)
                    {{ bs()->badge()->text('關閉') }}
                @endif
                <a href="exam/{{ $exam->id }}">{{ $exam->title }}</a>
            </li>
        @empty
            <li class="list-group-item">尚無任何測驗</li>
        @endforelse
    </ul>
    <div class="my-3">
        {{ $exams->links() }}
    </div>
@stop

 


:::

書籍目錄

展開 | 闔起

http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D40%26tbdsn%3D1288

計數器

今天: 1249124912491249
昨天: 2138213821382138
總計: 7322531732253173225317322531732253173225317322531