⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
storage
/
framework
/
views
/
View File Name :
c66b1d003051e47bff8a1c89ccd19386b27716dd.php
<?php if(Session::has('admin_lang')): ?> <?php $admin_lang = Session::get('admin_lang'); $cd = str_replace('admin_', '', $admin_lang); $default = \App\Models\Language::where('code', $cd)->first(); ?> <?php else: ?> <?php $default = \App\Models\Language::where('is_default', 1)->first(); ?> <?php endif; ?> <?php if(!empty($la) && $la->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form input { direction: rtl; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php if(empty($la) && $be->default_language_direction == 'rtl'): ?> <?php $__env->startSection('styles'); ?> <style> form input { direction: rtl; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Edit Keyword')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('admin.dashboard') . '?language=' . $default->code); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Language Management')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Edit Keyword')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="card-title d-inline-block"><?php echo e(__('Edit Language Keyword')); ?></div> <a class="btn btn-info btn-sm float-right d-inline-block" href="<?php echo e(route('admin.language.index')); ?>"> <span class="btn-label"> <i class="fas fa-backward"></i> </span> <?php echo e(__('Back')); ?> </a> <a href="#" class="btn btn-secondary float-right btn-sm mr-1 editBtn" data-toggle="modal" data-target="#addModal"> <span class="btn-label"> <i class="fas fa-plus"></i> </span> <?php if($isAdmin == 1): ?> <?php echo e(__('Add Admin Keyword')); ?> <?php else: ?> <?php echo e(__('Add Frontend Keyword')); ?> <?php endif; ?> </a> </div> <div class="card-body pt-5 pb-5" id="app"> <div class="row"> <div class="col-lg-12"> <form method="post" action="<?php echo e(!empty($la) ? route('admin.language.updateKeyword', $la->id) : route('admin.language.updateKeyword', 0)); ?>" id="ajaxEditForm"> <?php echo e(csrf_field()); ?> <input type="hidden" value="<?php echo e($isAdmin); ?>" name="isAdmin" id=""> <div class="row"> <div class="col-md-4 mt-2" v-for="(value, key) in datas" :key="key"> <div class="form-group"> <label class="control-label">{{ key }}</label> <div class="input-group"> <input type="text" :value="value" :name="'keys[' + key + ']'" class="form-control form-control-lg"> </div> </div> </div> </div> </form> </div> </div> </div> <div class="card-footer"> <div class="form"> <div class="form-group from-show-notify row"> <div class="col-12 text-center"> <button id="updateBtn" type="button" class="btn btn-success"><?php echo e(__('Update')); ?></button> </div> </div> </div> </div> </div> </div> </div> <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle"><?php echo e(__('Add New Keyword')); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form id="ajaxForm" <?php if($isAdmin == 1): ?> action="<?php echo e(route('admin.language_management.add_keyword')); ?>" <?php else: ?> action="<?php echo e(route('admin.language_management.add_front_keyword')); ?>" <?php endif; ?> method="POST"> <?php echo csrf_field(); ?> <div class="form-group"> <label for=""><?php echo e(__('Keyword')); ?>*</label> <input type="text" class="form-control" name="front_keyword" placeholder="<?php echo e(__('Enter Keyword')); ?>"> <p id="errkeyword" class="mb-0 text-danger em"></p> </div> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"> <?php echo e(__('Close')); ?> </button> <button id="" data-form="ajaxForm" type="submit" class="submitBtn btn btn-primary btn-sm"> <?php echo e(__('Submit')); ?> </button> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('vuescripts'); ?> <script> "use strict"; window.app = new Vue({ el: '#app', data: { datas: <?php echo json_encode($json) ?>, } }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/public_html/resources/views/admin/language/edit-keyword.blade.php ENDPATH**/ ?>