ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 Current Path : /var/www/yapwebtv.com/Modules_old/Post/Resources/views/ |
| Current File : /var/www/yapwebtv.com/Modules_old/Post/Resources/views/pending_posts.blade.php |
@extends('common::layouts.master')
@section('post-aria-expanded')
aria-expanded="true"
@endsection
@section('post-show')
show
@endsection
@section('post')
active
@endsection
@section('pending-post-active')
active
@endsection
@section('content')
<div class="dashboard-ecommerce">
<div class="container-fluid dashboard-content ">
<!-- page info start-->
<form action="#" method="post">
<div class="admin-section">
<div class="row clearfix m-t-30">
<div class="col-12">
<div class="navigation-list bg-white p-20">
<div class="add-new-header clearfix m-b-20">
<div class="row">
<div class="col-6">
<div class="block-header">
<h2>{{ __('pending_posts') }}</h2>
</div>
</div>
</div>
</div>
<div class="table-responsive all-pages">
<!-- Table Filter -->
<table class="table table-bordered table-striped" role="grid">
<thead>
<tr role="row">
{{-- <th width="20">
<input type="checkbox" class="checkbox-table" id="checkAll">
</th> --}}
<th width="20">#</th>
<th>{{ __('post') }}</th>
<th>{{ __('language') }}</th>
<th>{{ __('post_type') }}</th>
<th>{{ __('category') }}</th>
<th>{{ __('post_by') }}</th>
<th>{{ __('visibility') }}</th>
<th>{{ __('view') }}</th>
<th>{{ __('schedule') }}</th>
<th>{{ __('added_date') }}</th>
@if(Sentinel::getUser()->hasAccess(['post_write']))
<th>{{ __('options') }}</th>
@endif
</tr>
</thead>
<tbody>
@foreach ($posts as $post)
<tr id="row_{{ $post->id }}">
{{-- <td>
<input type="checkbox" id="table-checkbox" name="checkbox-table" class="filled-in chk-col-deep-purple" value="{{ $post->id }}">
<label for="table-checkbox"></label>
</td> --}}
<td>{{ $post->id }}</td>
<td>
<div class="post-image">
@if(isFileExist(@$post->image, $result = @$post->image->thumbnail))
<img
src=" {{basePath($post->image)}}/{{ $result }} "
data-src="{{basePath($post->image)}}/{{ $result }}"
alt="image" class="img-responsive img-thumbnail lazyloaded">
@else
<img src="{{static_asset('default-image/default-100x100.png') }} " width="200"
height="200" alt="image"
class="img-responsive img-thumbnail">
@endif
</div> {{ $post->title }} </td>
<td>{{ $post->language }} </td>
<td class="td-post-type">{{ $post->post_type }}</td>
<td>
<label class="category-label m-r-5 label-table"
id="breaking-post-bgc">
{{ @$post->category->category_name }} </label>
</td>
<td>
<a href="#" target="_blank" class="table-user-link">
<strong>
@php
$roles=Sentinel::findById($post->user_id)->roles->first();
@endphp
{{ $roles->name }}
</strong>
</a>
</td>
<td class="td-post-sp">
@if($post->visibility==1)
<label class="label label-success label-table"><i
class="fa fa-eye"></i></label>
@else
<label class="label label-default label-table"><i
class="fa fa-eye-slash"></i></label>
@endif
@if($post->breaking==1)
<label
class="label bg-red label-table">{{ __('breaking') }}</label>
@endif
@if($post->featured==1)
<label
class="label bg-warning label-table">{{ __('featured') }}</label>
@endif
@if($post->recommended==1)
<label
class="label bg-aqua label-table">{{ __('recommended') }}</label>
@endif
@if($post->editor_picks==1)
<label class="label bg-teal label-table">{{ __('editor_picks') }}</label>
@endif
@if($post->slider==1)
<label
class="label bg-teal label-table">{{ __('slider') }}</label>
@endif
</td>
<td>{{ $post->total_hit }}</td>
<td>{{ $post->scheduled_date }}</td>
<td>{{ $post->created_at }}</td>
@if(Sentinel::getUser()->hasAccess(['post_write']))
<td>
<a href="javascript:void(0)"
onclick="add_post_to('status','{{ $post->id }}')"
name="option" class="btn btn-light active btn-xs">
<i class="fa fa-check option-icon"></i> {{ __('published') }}
</a>
</td>
@endif
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="row">
<div class="col-12 col-sm-6">
<div class="block-header">
<h2>{{ __('Showing') }} {{ $posts->firstItem()}} {{ __('to') }} {{ $posts->lastItem()}} {{ __('of') }} {{ $posts->total()}} {{ __('entries') }}</h2>
</div>
</div>
<div class="col-12 col-sm-6 text-right">
<div class="table-info-pagination float-right">
{!! $posts->render() !!}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<!-- page info end-->
</div>
</div>
@endsection