����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.15.5.27 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/comment/ |
Upload File : |
@extends('layouts.master') @section('title',__('All SubComments')) @section('breadcum') <div class="breadcrumbbar"> <h4 class="page-title">{{ __('Sub Comments') }}</h4> <div class="breadcrumb-list"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{url('/admin')}}" title="{{ __('Dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item active" aria-current="page">{{ __('Users') }}</li> </ol> </div> </div> @endsection @section('maincontent') <div class="contentbar"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <button type="button" class="float-right btn btn-danger-rgba mr-2 " data-toggle="modal" data-target="#bulk_delete" title="{{ __('Delete Selected') }}"><i class="feather icon-trash mr-2"></i> {{ __('Delete Selected') }} </button> <h5 class="card-title">{{ __('All SubComments') }}</h5> </div> <div class="card-body"> <div class="table-responsive"> <table id="subcommentTable" class="table table-borderd"> <thead> <th> {{ __('#') }}</th> <th>{{__('User Name')}}</th> <th>{{__('Comments')}}</th> <th>{{__('Reply')}}</th> <th>{{__('Submitted On')}}</th> <th>{{__('Status')}}</th> <th>{{__('Actions')}}</th> </thead> <tbody> </tbody> <div id="bulk_delete" 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" title="{{ __('Close') }}">×</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 names here? This process cannot be undone.')}}</p> </div> <div class="modal-footer"> {!! Form::open(['method' => 'POST', 'action' => 'AdminCommentController@sub_bulk_delete', 'id' => 'bulk_delete_form']) !!} @method('POST') <button type="reset" class="btn btn-secondary translate-y-3" data-dismiss="modal">{{__('No')}}</button> <button type="submit" class="btn btn-primary">{{__('Yes')}}</button> {!! Form::close() !!} </div> </div> </div> </div> </table> </div> </div> </div> </div> </div> </div> @endsection @section('script') <script> $(function(){ $('#checkboxAll').on('change', function(){ if($(this).prop("checked") == true){ $('.material-checkbox-input').attr('checked', true); } else if($(this).prop("checked") == false){ $('.material-checkbox-input').attr('checked', false); } }); }); </script> <script> $(function () { "use strict"; jQuery.noConflict(); var table; if($.fn.dataTable.isDataTable( '#subcommentTable')){ table = $('#subcommentTable').DataTable(); }else{ table = $('#subcommentTable').DataTable({ processing: true, serverSide: true, responsive: true, autoWidth: false, scrollCollapse: true, ajax: "{{ route('admin.subcomment.index') }}", columns: [ {data: 'checkbox', name: 'checkbox',orderable: false, searchable: false}, {data: 'username', name: 'username'}, {data: 'comment', name: 'comment'}, {data: 'reply', name: 'reply'}, {data: 'created_at', name: 'created_at'}, {data: 'status', name: 'status'}, {data: 'action', name: 'action',searchable: false} ], dom : 'lBfrtip', buttons : [ 'csv','excel','pdf','print' ] }); } }); </script> @endsection