WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
resources
/
views
/
forum
/
Name
Action
..
edit.blade.php
Edit
form.blade.php
Edit
forumtopic.blade.php
Edit
index.blade.php
Edit
userforum.blade.php
Edit
view.blade.php
Edit
Editing: view.blade.php
@extends('layouts.app') @section('content') <div class="page-content row"> <!-- Page header --> <div class="page-header"> <div class="page-title"> <h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3> </div> <ul class="breadcrumb"> <li><a href="{{ URL::to('dashboard') }}">{{ Lang::get('core.dashboard') }}</a></li> <li><a href="{{ URL::to('user-forum/index?return='.$return) }}">{{ $pageTitle }}</a></li> <li class="active"> {{ Lang::get('core.detail') }} </li> </ul> </div> <div class="page-content-wrapper"> <div class="toolbar-line"> <a href="{{ URL::to('user-forum/index?return='.$return) }}" class="tips btn btn-xs btn-default" title="{{ Lang::get('core.btn_back') }}"><i class="fa fa-arrow-circle-left"></i> {{ Lang::get('core.btn_back') }}</a> @if($access['is_add'] ==1) <a href="{{ URL::to('forum/update/'.$id.'?return='.$return) }}" class="tips btn btn-xs btn-primary" title="{{ Lang::get('core.btn_edit') }}"><i class="fa fa-edit"></i> {{ Lang::get('core.btn_edit') }}</a> @endif </div> <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h4> <i class="fa fa-table"></i> <?php echo $pageTitle ;?> <small>{{ $pageNote }}</small></h4></div> <div class="sbox-content"> <table class="table table-striped table-bordered" > <tbody> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Category_Name')!!}</td> <td> @php $cat_info = bsetecHelpers::fm_cats($row->category_id) @endphp @if(count($cat_info)>0) {{ ucfirst($cat_info->name) }} @endif</td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Forum_Topic')!!}</td> <td>{{ $row->forum_topic }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Slug')!!}</td> <td>{{ $row->slug }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Forum_Content')!!}</td> <td>{{ strip_tags($row->forum_content) }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Created_By')!!}</td> <td>@php $info = bsetecHelpers::getuserinfobyid($row->created_by) @endphp @if(count($info)>0) {{ ucfirst($info->first_name) }} {{ ucfirst($info->last_name) }} @endif </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Status')!!}</td> <td> <?php if($row->status =='1'){ $label = '<span class="label label-success">Enable</span>'; } else{ $label = '<span class="label label-danger">Disable</span>'; }?> {!! $label !!} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Created_At_Time')!!}</td> <td>{{ $row->created_at }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{!! Lang::get('core.Updated_At_Time')!!}</td> <td>{{ $row->updated_at }} </td> </tr> </tbody> </table> </div> </div> </div> </div> @stop