diff --git a/resources/views/article/view.blade.php b/resources/views/article/view.blade.php index 26f7481b..2061ad6c 100644 --- a/resources/views/article/view.blade.php +++ b/resources/views/article/view.blade.php @@ -3,14 +3,18 @@ @section('title') {!! $article->title !!} :: @parent @stop @section('meta_author') - + @stop {{-- Content --}} @section('content') -

{{ $article->title }}

-

{!! $article->introduction !!}

-

{!! $article->content !!}

-
- Posted {!! $article->created_at !!} -
+

{{ $article->title }}

+

{!! $article->introduction !!}

+ @if($article->picture!="") + {{$article->picture}} + @endif +

{!! $article->content !!}

+
+ Posted {!! $article->created_at !!} +
@stop diff --git a/resources/views/photo/view_album.blade.php b/resources/views/photo/view_album.blade.php index 63d55eac..c74f0941 100644 --- a/resources/views/photo/view_album.blade.php +++ b/resources/views/photo/view_album.blade.php @@ -1,13 +1,13 @@ -@extends('app') @section('title') {{{ -$photo_album->name }}} :: @parent @stop @section('content') -

{{{ $photo_album->name }}}

+@extends('app') @section('title') {!! +$photo_album->name !!} :: @parent @stop @section('content') +

{!! $photo_album->name !!}

@foreach($photos as $item) {{$item->name}} + src="{!!'../../appfiles/photoalbum/'.$photo_album->folder_id.'/thumbs/'.$item->filename !!}" /> @endforeach