����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.117.132.79 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/gle.gltechlimited.com/resources/views/admin/ebook/review/ |
Upload File : |
@extends('admin.layouts.master') @section('title', 'Review - Admin') @section('maincontent') <?php $data['heading'] = 'Review'; $data['title'] = 'Review'; ?> @include('admin.layouts.topbar',$data) <div class="contentbar"> @if ($errors->any()) <div class="alert alert-danger" role="alert"> @foreach($errors->all() as $error) <p>{{ $error}}<button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true" style="color:red;">×</span></button></p> @endforeach </div> @endif <!-- Start row --> <div class="row"> <div class="col-lg-12"> <div class="card dashboard-card m-b-30"> <div class="card-header"> <h5 class="card-title">{{ __('Ebook Review')}}</h5> </div> <div class="card-body"> <div class="table-responsive"> <table id="datatable-buttons" class="table table-striped table-bordered"> <thead> <tr> <th>{{ __('User') }}</th> <th>{{ __('Ebook') }}</th> <th>{{ __('Rating') }}</th> <th>{{ __('Commnet') }}</th> <th>{{ __('Action') }}</th> </tr> </thead> <tbody> @foreach($reviews as $item) <tr> <td>{{$item->user->fname ?? ''}} {{$item->user->lname ?? ''}}</td> <td>{{$item->ebook_id?$item->ebook->title:''}}</td> <td>{{$item->rating}}</td> <td>{{$item->comment}}</td> <td> <a href="#" data-toggle="modal" data-target="#bulk_delete{{$item->id}}"><i title="Delete" class="text-primary feather icon-trash mr-2"></i></a> </td> </tr> <div id="bulk_delete{{$item->id}}" class="delete-modal modal fade" role="dialog"> <div class="modal-dialog modal-sm"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <div class="delete-icon"></div> </div> <div class="modal-body text-center"> <h4 class="modal-heading">Are You Sure ?</h4> <p>Do you really want to delete selected item ? This process cannot be undone.</p> </div> <div class="modal-footer"> <form id="bulk_delete_form" method="Post" action="{{url('ebook-review/delete',$item->id)}}"> {{ csrf_field() }} <button type="reset" class="btn btn-gray translate-y-3" data-dismiss="modal">No</button> <button type="submit" class="btn btn-danger">Yes</button> </form> </div> </div> </div> </div> @endforeach </tbody> </table> </div> </div> </div> </div> <!-- End col --> </div> <!-- End row --> </div> @endsection