@extends('layouts.app') @section('title', $parent->title) @section('content') @include('category.navigation')
@include('category.left')
{{ getOneCategory(31,'title') }}
@if (getArticlesBYCate(31,3)->isNotEmpty()) @foreach (getArticlesBYCate(31,3) as $info)
{{ $info->title }}
@endforeach @endif
{{ getOneCategory(32,'title') }}
@if(getCateChild(32)->isNotEmpty()) @foreach(getCateChild(32) as $cate)
@if (getArticlesBYCate($cate->id,3)->isNotEmpty()) @foreach (getArticlesBYCate($cate->id,3) as $info)
{{ $info->title }}
@endforeach @endif
@endforeach @endif
{{ getOneCategory(42,'title') }}
@if(getCateChild(42)->isNotEmpty()) @foreach(getCateChild(42) as $cate)
{{ $cate->title }}
@endforeach @endif
{{ getOneCategory(43,'title') }}
@if (getArticlesBYCate(43,6)->isNotEmpty()) @foreach (getArticlesBYCate(43,20) as $info)
{{ $info->title }}
@endforeach @endif
@endsection