@extends('layouts.admin') @section('page_title') @parent دسته بندی ها @endsection @section('main')

دسته بندی ها

@include('admin.error')
@can('post-category-new')

افزودن دسته بندی جدید

شما میبایست در این قسمت دسته بندی موضوعی نوشته های خود را وارد نمائید


{!! Form::open(['url' => '/admin/posts/category/newhandle', 'method' => 'post' ,'enctype'=>'multipart/form-data']) !!}
{!! Form::close() !!}
@endcan @can('post-category-show')
@foreach($postcats as $postcat) @if($postcat->order == 0) @foreach($postcats as $postca) @if($postca->parentid1 == $postcat->id AND $postca->parentid2 == 0) @foreach($postcats as $postc) @if($postc->parentid2 == $postca->id) @endif @endforeach @endif @endforeach @endif @endforeach
ID نام دسته نامک
{{$postcat->id}} {{$postcat->title}} {{$postcat->slug}}
{{$postca->id}} — {{$postca->title}} {{$postca->slug}}
{{$postc->id}} — — {{$postc->title}} {{$postc->slug}}
@endcan
@endsection