@extends('layouts/LayoutMaster') @section('title', $pageConfigs['pageTitle']) @section('vendor-style') @endsection @section('page-style') @if($pageConfigs['filterType'] == 'recommends') @endif @endsection @section('content') @if($pageConfigs['filterType'] == 'recommends') @foreach($lents as $lenta)
{{ $lenta->name }} @if($lenta->type == 'user') @endif
{{ Helper::giveStats('likes', $lenta->id, 'lenta') }}
{{ $lenta->views }}
@php $postInfo = Helper::getPosts($lenta); @endphp
    @include('includes/post/show', ['posts' => $postInfo['posts'], 'glist' => $postInfo['glist'], 'userInfo' => $lenta->user, 'slide' => true])
@endforeach @else
@if($pageConfigs['filterType'] != 'mylents' && $pageConfigs['filterType'] != 'channel' && $pageConfigs['filterType'] != 'recommends')
@include('includes/filter/menu', ['filterType' => $pageConfigs['filterType']])
@endif
@if($pageConfigs['isFolder'] == 0) @include('includes/post/index', ['posts' => $lents]) @else @include('includes/post/folderCard', ['folders' => $lents]) @endif
@endif @endsection @section('content-right') @include('includes/right-menu')
Рекомендации
@include('includes/post/recomends', ['recomends' => $recomends])
@endsection @section('vendor-script') @endsection @section('page-script') @if($pageConfigs['filterType'] == 'recommends') @endif @endsection