{{ $message }}
@endif
@if (Session::has('error'))
Error: {{ Session::get('error') }}
@endif
Post List
Title | Description | Category | Community | Uploaded by | Uploaded at | Action |
---|---|---|---|---|---|---|
{{ $post->title }} | {{ substr($post->description, 0, 100) }}... | {{ $post->category->name }} | {{ $post->name }} | {{ $post->uploaded_by }} | {{ date('Y-m-d', strtotime($post->created_at)) }} | View @if (Auth::id() === $post->user_id) Edit @endif @if($post->user_id != 2) @if($post->status === 0) @elseif($post->status === 1) @elseif($post->status === 2) @elseif($post->status === 3) @endif @else @endif |