One Hat Cyber Team
Your IP:
216.73.216.211
Server IP:
198.54.114.155
Server:
Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
5.6.40
Create File
|
Create Folder
Execute
Dir :
~
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
cwd
/
Edit File:
adminlanguage.tar
index.blade.php 0000644 00000005622 15112070607 0007436 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="d-sm-flex align-items-center justify-content-between"> <h5 class=" mb-0 text-gray-800 pl-3">{{ __('Admin Panel Language') }}</h5> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="javascript:;">{{ __('Language Settings') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.tlang.index') }}">{{ __('Admin Panel Language') }}</a></li> </ol> </div> </div> <div class="row mt-3"> <div class="col-lg-12"> @include('includes.admin.form-success') <div class="card mb-4"> <div class="table-responsive p-3"> <table id="geniustable" class="table table-hover dt-responsive" cellspacing="0" width="100%"> <thead class="thead-light"> <tr> <th>{{ __('Language') }}</th> <th>{{ __('Options') }}</th> </tr> </thead> </table> </div> </div> </div> </div> {{-- DELETE MODAL --}} <div class="modal fade confirm-modal" id="deleteModal" tabindex="-1" role="dialog" aria-labelledby="deleteModalTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">{{ __("Confirm Delete") }}</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p class="text-center">{{__("You are about to delete this Language.")}}</p> <p class="text-center">{{ __("Do you want to proceed?") }}</p> </div> <div class="modal-footer"> <a href="javascript:;" class="btn btn-secondary" data-dismiss="modal">{{ __("Cancel") }}</a> <a href="javascript:;" class="btn btn-danger btn-ok">{{ __("Delete") }}</a> </div> </div> </div> </div> {{-- DELETE MODAL ENDS --}} @endsection @section('scripts') <script type="text/javascript"> "use strict"; var table = $('#geniustable').DataTable({ ordering: false, processing: true, serverSide: true, searching: true, ajax: '{{ route('admin.tlang.datatables') }}', columns: [ { data: 'language', name: 'language' }, { data: 'action', searchable: false, orderable: false } ], language: { processing: '<img src="{{asset('assets/images/'.$gs->admin_loader)}}">' } }); $(function() { $(".btn-area").append('<div class="col-sm-12 col-md-4 pr-3 text-right">'+ '<a class="btn btn-primary" href="{{route('admin.tlang.create')}}">'+ '<i class="fas fa-plus"></i> {{ __('Add New Language') }}'+ '</a>'+ '</div>'); }); </script> @endsection create.blade.php 0000644 00000014770 15112070607 0007576 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="d-sm-flex align-items-center justify-content-between"> <h5 class=" mb-0 text-gray-800 pl-3">{{ __('Add Language') }} <a class="btn btn-primary btn-rounded btn-sm" href="{{route('admin.tlang.index')}}"><i class="fas fa-arrow-left"></i> {{ __('Back') }}</a></h5> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="javascript:;">{{ __('Language Settings') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.tlang.index') }}">{{ __('Admin Panel Language') }}</a></li> <li class="breadcrumb-item"><a href="{{route('admin.tlang.create')}}">{{ __('Add Language') }}</a></li> </ol> </div> </div> <div class="row justify-content-center mt-3"> <div class="col-lg-12"> <div class="card mb-4"> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> </div> <div class="card-body"> <form class="geniusform" action="{{route('admin.tlang.create')}}" method="POST" enctype="multipart/form-data"> {{csrf_field()}} @include('includes.admin.form-both') <div class="row"> <div class="col-lg-4"> <div class="left-area"> <h6 class="heading float-right">{{ __('Language') }} *</h6> </div> </div> <div class="col-lg-7"> <input type="text" class="input-field" name="language" placeholder="{{ __('Language') }}" required="" value="English"> </div> </div> <div class="row"> <div class="col-lg-4"> <div class="left-area"> <h6 class="heading float-right">{{ __('Language Direction') }} *</h6> </div> </div> <div class="col-lg-7"> <select name="rtl" class="input-field" required=""> <option value="0">{{ __('Left To Right') }}</option> <option value="1">{{ __('Right To Left') }}</option> </select> </div> </div> <hr> <h4 class="text-center">{{ __('SET LANGUAGE KEYS & VALUES') }}</h4> <hr> <div class="row mb-3"> <div class="col-lg-2"> <div class="left-area"> </div> </div> <div class="col-lg-4"> <h5><b>{{__('Main Languages')}}</b></h5> </div> <div class="col-lg-5"> <h5><b>{{__('Translated Languages')}}</b></h5> </div> </div> <div class="row"> <div class="col-lg-2"> <div class="left-area"> </div> </div> <div class="col-lg-8"> <div class="featured-keyword-area"> <div class="lang-tag-top-filds" id="lang-section"> @foreach($lang as $key => $val) <div class="lang-area mb-3"> <span class="remove lang-remove"><i class="fas fa-times"></i></span> <div class="row"> <div class="col-lg-6"> <textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" readonly="">{{ $key }}</textarea> </div> <div class="col-lg-6"> <textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required="">{{ $val}}</textarea> </div> </div> </div> @endforeach </div> <a href="javascript:;" id="lang-btn" class="add-fild-btn d-flex justify-content-center"><i class="icofont-plus"></i> {{__('Add More Field')}}</a> </div> </div> <div class="col-lg-2"> <div class="left-area"> </div> </div> </div> <div class="row justify-content-center mt-4"> <button type="submit" id="submit-btn" class="btn btn-primary w-100">{{ __('Submit') }}</button> </div> </form> </div> </div> </div> </div> @endsection @section('scripts') <script type="text/javascript"> 'use strict'; function isEmpty(el){ return !$.trim(el.html()) } $("#lang-btn").on('click', function(){ $("#lang-section").append(''+ '<div class="lang-area mb-3">'+ '<span class="remove lang-remove"><i class="fas fa-times"></i></span>'+ '<div class="row">'+ '<div class="col-lg-6">'+ '<textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" required=""></textarea>'+ '</div>'+ '<div class="col-lg-6">'+ '<textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required=""></textarea>'+ '</div>'+ '</div>'+ '</div>'+ ''); }); $(document).on('click','.lang-remove', function(){ $(this.parentNode).remove(); if (isEmpty($('#lang-section'))) { $("#lang-section").append(''+ '<div class="lang-area">'+ '<span class="remove lang-remove"><i class="fas fa-times"></i></span>'+ '<div class="row">'+ '<div class="col-lg-6">'+ '<textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" required=""></textarea>'+ '</div>'+ '<div class="col-lg-6">'+ '<textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required=""></textarea>'+ '</div>'+ '</div>'+ '</div>'+ ''); } }); </script> @endsection edit.blade.php 0000644 00000015307 15112070607 0007255 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="d-sm-flex align-items-center justify-content-between"> <h5 class=" mb-0 text-gray-800 pl-3">{{ __('Edit Language') }} <a class="btn btn-primary btn-rounded btn-sm" href="{{route('admin.tlang.index')}}"><i class="fas fa-arrow-left"></i> {{ __('Back') }}</a></h5> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }}</a></li> <li class="breadcrumb-item"><a href="javascript:;">{{ __('Language Settings') }}</a></li> <li class="breadcrumb-item"><a href="{{ route('admin.tlang.index') }}">{{ __('Admin Panel Language') }}</a></li> <li class="breadcrumb-item"><a href="{{route('admin.tlang.edit',$data->id)}}">{{ __('Edit Language') }}</a></li> </ol> </div> </div> <div class="row justify-content-center mt-3"> <div class="col-lg-12"> <!-- Form Basic --> <div class="card mb-4"> <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between"> <h6 class="m-0 font-weight-bold text-primary">{{ __('Edit Language Form') }}</h6> </div> <div class="card-body"> <form class="geniusform" action="{{route('admin.tlang.update',$data->id)}}" method="POST" enctype="multipart/form-data"> {{csrf_field()}} @include('includes.admin.form-both') <div class="row"> <div class="col-lg-4"> <div class="left-area"> <h6 class="heading float-right">{{ __('Language') }} *</h6> </div> </div> <div class="col-lg-7"> <input type="text" class="input-field" name="language" placeholder="{{ __('Language') }}" value="{{$data->language}}" required=""> </div> </div> <div class="row"> <div class="col-lg-4"> <div class="left-area"> <h6 class="heading float-right">{{ __('Language Direction') }} *</h6> </div> </div> <div class="col-lg-7"> <select name="rtl" class="input-field" required=""> <option value="0" {{ $data->rtl == '0' ? 'selected' : '' }}>{{ __('Left To Right') }}</option> <option value="1" {{ $data->rtl == '1' ? 'selected' : '' }}>{{ __('Right To Left') }}</option> </select> </div> </div> <hr> <h4 class="text-center">{{ __('SET LANGUAGE KEYS & VALUES') }}</h4> <hr> <div class="row mb-3"> <div class="col-lg-2"> <div class="left-area"> </div> </div> <div class="col-lg-4"> <h5><b>Main Languages</b></h5> </div> <div class="col-lg-5"> <h5><b>Translated Languages</b></h5> </div> </div> <div class="row"> <div class="col-lg-2"> <div class="left-area"> </div> </div> <div class="col-lg-8"> <div class="featured-keyword-area"> <div class="lang-tag-top-filds" id="lang-section"> @foreach($lang as $key => $val) <div class="lang-area mb-3"> <span class="remove lang-remove"><i class="fas fa-times"></i></span> <div class="row"> <div class="col-lg-6"> <textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" readonly="">{{ $key }}</textarea> </div> <div class="col-lg-6"> <textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required="">{{ $val }}</textarea> </div> </div> </div> @endforeach </div> <a href="javascript:;" id="lang-btn" class="add-fild-btn d-flex justify-content-center"><i class="icofont-plus"></i> {{ __('Add More Field') }}</a> </div> </div> <div class="col-lg-2"> <div class="left-area"> </div> </div> </div> <div class="row justify-content-center mt-4"> <button type="submit" id="submit-btn" class="btn btn-primary w-100">{{ __('Submit') }}</button> </div> </form> </div> </div> </div> </div> @endsection @section('scripts') <script type="text/javascript"> 'use strict'; function isEmpty(el){ return !$.trim(el.html()) } $("#lang-btn").on('click', function(){ $("#lang-section").append(''+ '<div class="lang-area mb-3">'+ '<span class="remove lang-remove"><i class="fas fa-times"></i></span>'+ '<div class="row">'+ '<div class="col-lg-6">'+ '<textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" required=""></textarea>'+ '</div>'+ '<div class="col-lg-6">'+ '<textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required=""></textarea>'+ '</div>'+ '</div>'+ '</div>'+ ''); }); $(document).on('click','.lang-remove', function(){ $(this.parentNode).remove(); if (isEmpty($('#lang-section'))) { $("#lang-section").append(''+ '<div class="lang-area">'+ '<span class="remove lang-remove"><i class="fas fa-times"></i></span>'+ '<div class="row">'+ '<div class="col-lg-6">'+ '<textarea name="keys[]" class="form-control" placeholder="{{ __('Enter Language Key') }}" required=""></textarea>'+ '</div>'+ '<div class="col-lg-6">'+ '<textarea name="values[]" class="form-control" placeholder="{{ __('Enter Language Value') }}" required=""></textarea>'+ '</div>'+ '</div>'+ '</div>'+ ''); } }); </script> @endsection
Simpan