@extends('backEnd.layout') @section('content')

{{ trans('backLang.siteSectionsSettings') }}

{{ trans('backLang.home') }} / {{ trans('backLang.webmasterTools') }} / {{ trans('backLang.siteSectionsSettings') }}
@if($WebmasterSections->total() == 0)
{{ trans('backLang.noData') }}
@endif @if($WebmasterSections->total() > 0) {{Form::open(['route'=>'WebmasterSectionsUpdateAll','method'=>'post'])}}
@foreach($WebmasterSections as $WebmasterSection) @endforeach
{{ trans('backLang.sectionName') }} {{ trans('backLang.sectionType') }} {{ trans('backLang.hasCategories') }} {{ trans('backLang.status') }} {{ trans('backLang.options') }}
{!! Form::text('row_no_'.$WebmasterSection->id,$WebmasterSection->row_no, array('class' => 'form-control row_no','id'=>'row_no')) !!} {!! str_replace("backLang.","",trans('backLang.'.$WebmasterSection->name)) !!} {!! ($WebmasterSection->type==3) ? " ".trans('backLang.typeSounds')."":"" !!} {!! ($WebmasterSection->type==2) ? " ".trans('backLang.typeVideos')."":"" !!} {!! ($WebmasterSection->type==1) ? " ".trans('backLang.typePhotos')."":"" !!} {!! ($WebmasterSection->type==0) ? " ".trans('backLang.typeTextPages')."":"" !!} {!! ($WebmasterSection->sections_status==2) ? " ".trans('backLang.mainAndSubCategories')."":"" !!} {!! ($WebmasterSection->sections_status==1) ? " ".trans('backLang.mainCategoriesOnly')."":"" !!} {!! ($WebmasterSection->sections_status==0) ? " ".trans('backLang.withoutCategories')."":"" !!} $WebmasterSection->id]) }}"> {{ trans('backLang.edit') }}
{{ trans('backLang.showing') }} {{ $WebmasterSections->firstItem() }} -{{ $WebmasterSections->lastItem() }} {{ trans('backLang.of') }} {{ $WebmasterSections->total() }} {{ trans('backLang.records') }}
{!! $WebmasterSections->links() !!}
{{Form::close()}} @endif
@endsection @section('footerInclude') @endsection