Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/oldsite/storage/framework/views/883dfa07f6afa1fa5d6433efcfb6168b.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('admin.Contact Message')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1><?php echo e(__('admin.Contact Message')); ?></h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('admin.Dashboard')); ?></a></div> <div class="breadcrumb-item"><?php echo e(__('admin.Contact Message')); ?></div> </div> </div> <div class="section-body"> <div class="row mt-4"> <div class="col"> <div class="card"> <div class="card-header"> <div class="card-body"> <form action="<?php echo e(route('admin.enable-save-contact-message')); ?>" method="POST"> <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?> <div class="form-group"> <label for=""><?php echo e(__('admin.Receive contact message email')); ?></label> <input class="form-control" type="email" name="reciever_mail" value="<?php echo e($message_setting->reciever_mail); ?>"> </div> <div class="form-group"> <label for=""><?php echo e(__('admin.Want to save email in database?')); ?></label> <select name="save_status" id="" class="form-control"> <option <?php echo e($message_setting->save_status == 1 ? 'selected' : ''); ?> value="1"><?php echo e(__('admin.Active')); ?></option> <option <?php echo e($message_setting->save_status == 0 ? 'selected' : ''); ?> value="0"><?php echo e(__('admin.In-Active')); ?></option> </select> </div> <button class="btn btn-primary"><?php echo e(__('admin.Update')); ?></button> </form> </div> </div> </div> </div> </div> <div class="section-body"> <div class="row mt-4"> <div class="col"> <div class="card"> <div class="card-body"> <div class="table-responsive table-invoice"> <table class="table table-striped" id="dataTable"> <thead> <tr> <th><?php echo e(__('admin.SN')); ?></th> <th ><?php echo e(__('admin.Name')); ?></th> <th><?php echo e(__('admin.Email')); ?></th> <th ><?php echo e(__('admin.Phone')); ?></th> <th ><?php echo e(__('admin.Subject')); ?></th> <th><?php echo e(__('admin.Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $contactMessages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $contactMessage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e(++$index); ?></td> <td><?php echo e($contactMessage->name); ?></td> <td><?php echo e($contactMessage->email); ?></td> <td><?php echo e($contactMessage->phone); ?></td> <td><?php echo e($contactMessage->subject); ?></td> <td> <a href="<?php echo e(route('admin.show-contact-message', $contactMessage->id)); ?>" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i></a> <a href="javascript:;" data-toggle="modal" data-target="#deleteModal" class="btn btn-danger btn-sm" onclick="deleteData(<?php echo e($contactMessage->id); ?>)"><i class="fa fa-trash" aria-hidden="true"></i></a> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> </section> </div> <script> function handleSaveContactMessage(){ var isDemo = "<?php echo e(env('APP_VERSION')); ?>" if(isDemo == 0){ toastr.error('This Is Demo Version. You Can Not Change Anything'); return; } $.ajax({ type:"put", data: { _token : '<?php echo e(csrf_token()); ?>' }, url:"<?php echo e(url('/admin/enable-save-contact-message')); ?>", success:function(response){ toastr.success(response) }, error:function(err){ console.log(err); } }) } function deleteData(id){ $("#deleteForm").attr("action",'<?php echo e(url("admin/delete-contact-message/")); ?>'+"/"+id) } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/admin/contact_message.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка