@extends('layouts.dashboard') @section('css') @stop @section('content') {{$title}} 標題 簡述 {{$article->summary}} segment(3) == 3) style="display:none;" @endif> 內容 {{$article->content}} @if (request()->segment(3) == 1 || request()->segment(3) == 2) 發文者 學校 @endif @if (request()->segment(3) == 3) 評分 發文者 頭像 @if ($article->avatar != '') @endif @endif 日期 @if (request()->segment(3) == 6) 時間 地點 報名連結 @endif @if (in_array(request()->segment(3), [1,2,4,5,6,7,8])) Banner @if ($article->banner != '') @endif 圖片 @if ($article->pic != '') @endif 首頁圖 @if ($article->img != '') @endif @endif 排序 @if (request()->segment(3) != 3) Filter @foreach ($filter_list as $k => $v) @if (isset($v->filterDetail)) {{$v->filter_name}} @foreach ($v->filterDetail as $fd) fd_id, explode(',', $article->filter))) checked @endif> {{$fd->fd_name}} @endforeach @endif @endforeach Tag @foreach ($tag_list as $k => $v) tag_id, explode(',', $article->tag))) checked @endif> {{$v->tag_name}} @endforeach @endif META-title {{$article->meta_title}} META-description {{$article->meta_description}} META-keyword {{$article->meta_keyword}} @stop @section('js') @include('module.ckeditor', ['instance' => 'content']) {{-- @include('module.init_html_editor') --}} @stop