51 lines
2.5 KiB
PHP
51 lines
2.5 KiB
PHP
@extends('layouts.app')
|
|
@section('breadcrumb')
|
|
{{ Breadcrumbs::render('category', $cat) }}
|
|
@endsection
|
|
@section('content')
|
|
<div class="platny-wrapper col-lg-12 col-md-12 col-sm-12 col-xs-12" style="overflow-x:hidden!important">
|
|
@include('layouts.left_menu')
|
|
<div class="tab-content col-lg-9 col-md-9 col-sm-9 col-xs-12">
|
|
<div id="redak-tc" class="tab-pane fade active in" role="tabpanel">
|
|
<div class="for-padding">
|
|
<h2><a href="/subscriptions" style="padding: 15px; color: #fff; background: #187f7e; border: none; float: right">Tarifleri görmek</a> {{$cat->name ?? 'Ählisi'}}</h2>
|
|
<div class="platny-inner-tab">
|
|
<ul role="tablist" class="for-mobile">
|
|
<li class="@if($sort == 'all')active @endif">
|
|
<a href="{{route('category',[$cat->id ?? 0])}}" >@lang('content.all')</a>
|
|
</li>
|
|
<li class="@if($sort == 'rate')active @endif">
|
|
<a href="{{route('category',[$cat->id ?? 0,'sort=rate'])}}">@lang('content.liked')</a>
|
|
</li>
|
|
<li class="@if($sort == 'date')active @endif" >
|
|
<a href="{{route('category',[$cat->id ?? 0,'sort=date'])}}">@lang('content.date')</a>
|
|
</li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div id="redak-tc-all" class="tab-pane fade active in container" role="tabpanel">
|
|
<div class="row">
|
|
@foreach($materials as $material)
|
|
@include('partials.material_list_item')
|
|
@endforeach
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
|
{{ $materials->appends(['sort' => $sort])->links() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container kesde" style="width: 100%; margin-top: 50px">
|
|
@if(!empty($topheaderadvs))
|
|
<a href="{{$topheaderadvs -> url_bottom}}">
|
|
<img src="https://content.turkmentv.gov.tm/{{$topheaderadvs->bottom_img_url}}" alt="{{$topheaderadvs->alt_bottom}}" style="width: 100%">
|
|
</a>
|
|
@endif
|
|
</div>
|
|
@endsection
|