shell bypass 403
@extends('admin.theme.default')
@php
$modules = 'role_tax';
$role_id = Auth::user()->role_id;
@endphp
@section('content')
@include('admin.breadcrumb')
<div class="row">
<div class="col-12">
<div class="card border-0 mb-3 box-shadow">
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered py-3 zero-configuration w-100">
<thead>
<tr class="fw-500">
<td>#</td>
<td>{{ trans('labels.email') }}</td>
<td>{{ trans('labels.created_date') }}</td>
<td>{{ trans('labels.updated_date') }}</td>
<td>{{ trans('labels.action') }}</td>
</tr>
</thead>
<tbody>
@php $i=1; @endphp
@foreach ($getsubscribers as $subscriber)
<tr class="fs-7">
<td>@php echo $i++ @endphp</td>
<td>{{ $subscriber->email }}</td>
<td>{{ helper::date_format($subscriber->created_at) }}<br>
{{helper::date_time_format($subscriber->created_at)}}
</td>
<td>{{ helper::date_format($subscriber->updated_at) }}<br>
{{helper::date_time_format($subscriber->updated_at)}}
</td>
<td>
<a tooltip="{{ trans('labels.delete') }}"
@if (env('Environment') == 'sendbox') onclick="myFunction()" @else onclick="Delete('{{$subscriber->id}}','{{URL::to('admin/subscribers/delete')}}')" @endif
class="btn btn-sm btn-danger square {{ Auth::user()->type == 4 ? (helper::check_access(trans('labels.subscribers'), Auth::user()->role_id, 'delete') == 1 ? '' : 'd-none') : '' }}">
<i class="fa-regular fa-trash"></i></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('script')
<script src="{{url(env('ASSETSPATHURL').'admin-assets/assets/js/custom/category.js')}}"></script>
@endsection