:::

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

@extends('layouts.app') 

@section('content')
    <h1>隨機題庫系統<small>(共 {{$exams->total()}} 筆資料)</small></h1>

    <div class="list-group">      

        @forelse($exams as $exam)
            <a href="exam/{{ $exam->id }}" class="list-group-item list-group-item-action">
                {{ $exam->updated_at->format('Y年m月d日') }}
                {{ $exam->title }}
                @if(!$exam->enable)
                    <span class="badge badge-danger">關</span>
                @endif
            </a>
        @empty
            <div class="alert alert-danger">
                尚無任何測驗
            </div>
        @endforelse

    </div>
    <div class="mt-3">
        {{ $exams->links() }}
    </div>
@endsection

 


:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1302%26tbsn%3D41

計數器

今天: 785785785
昨天: 3068306830683068
總計: 8077290807729080772908077290807729080772908077290