HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.shooperm.com/storage/framework/views/6b1f72422ea23ffa9bbec1b2754be2be0a5d87d9.php

<?php $__env->startSection('styles'); ?>

<link rel="stylesheet" href="<?php echo e(asset(asset_path('modules/appearance/css/theme_show.css'))); ?>" />

<?php $__env->stopSection(); ?>
<?php $__env->startSection('mainContent'); ?>
    <section class="admin-visitor-area up_st_admin_visitor">
        <div class="container-fluid p-0">
            <div class="row justify-content-center">
                <div class="col-lg-12">
                    <div class="box_header">
                        <div class="main-title d-flex justify-content-between w-100">
                            <h3 class="mb-0 mr-30"><?php echo e(__('appearance.theme_details')); ?></h3>

                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-body p_b_80">
                            <div class="row">
                                <div class="col-lg-7">
                                    <div class="img_div">
                                        <img src="<?php echo e(showImage($theme->image)); ?>" alt="">
                                    </div>
                                </div>
                                <div class="col-lg-5">
                                    <?php if($theme->is_active == 1): ?>
                                        <span class="badge badge-info"><?php echo e(__('appearance.current_theme')); ?></span>
                                    <?php endif; ?>
                                    <div class="name_info_div">
                                        <h2 class="d-inline"><?php echo e($theme->title); ?></h2>
                                        <p class="d-inline"><?php echo e(__('appearance.version')); ?>:
                                            <?php echo e($theme->version); ?></p>
                                    </div>
                                    <div class="theme_description_div">
                                        <p><?php echo e($theme->description); ?></p>
                                    </div>

                                    <div class="tag_div">
                                        <span><strong><?php echo e(__('appearance.tags')); ?>: </strong>
                                            <?php echo e($theme->tags); ?></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="card-footer text-center">
                            <div class="row">
                                <div class="col-12">
                                    <div class="d-flex align-items-center">
                                        <?php if($theme->is_active != 1): ?>
                                                <form action="<?php echo e(route('appearance.themes.active')); ?>" method="POST" class="mr-2" >
                                                    <?php echo csrf_field(); ?>
                                                    <input type="hidden" name="id" value="<?php echo e($theme->id); ?>">
                                                    <button type="submit"
                                                        class="btn btn-sm btn-outline-secondary Active_btn"><?php echo e(__('common.active')); ?></button>
                                                </form>
                                        <?php endif; ?>
                                        <a class="btn btn-sm btn-outline-secondary Active_btn mr-2" target="_blank"
                                                href="<?php echo e($theme->live_link); ?>"><?php echo e(__('appearance.live_preview')); ?></a>
                                        <div class="flex-fill d-flex align-items-center justify-content-end">

                                            <?php if($theme->is_active != 1): ?>
                                                    <a class="btn btn-sm btn-outline-secondary Active_btn pull-right" id="delete_btn" data-id="<?php echo e($theme->id); ?>" href=""><?php echo e(__('common.delete')); ?></a>
                                            <?php endif; ?>
                                        </div>


                                    </div>



                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </section>
     
    <div class="modal fade" id="deleteItemModal" >
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title"><?php echo e(__('common.delete')); ?> <?php echo e(__('appearance.theme')); ?> </h4>
                    <button type="button" class="close" data-dismiss="modal">
                        <i class="ti-close "></i>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="text-center">
                        <h4><?php echo e(__('common.are_you_sure_to_delete_?')); ?></h4>
                    </div>
                    <div class="mt-40 d-flex justify-content-between">
                        <button type="button" class="primary-btn tr-bg" data-dismiss="modal"><?php echo e(__('common.cancel')); ?></button>
                        <form id="item_delete_form" method="POST" action="<?php echo e(route('appearance.themes.delete')); ?>">
                            <?php echo csrf_field(); ?>
                            <input type="hidden" name="id" id="delete_item_id">
                            <button type="submit" id="theme_delete_btn" class="primary-btn fix-gr-bg"><?php echo e(__('common.delete')); ?></button>
                        </form>
                    </div>
                </div>

            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>

    <script>

        (function($){
            "use strict";

            $(document).ready(function(){
                $(document).on('click', '#delete_btn', function(event){
                    event.preventDefault();
                    let id = $(this).data('id');
                    $('#delete_item_id').val(id);
                    $('#deleteItemModal').modal('show');
                });
            });

        })(jQuery);

    </script>

<?php $__env->stopPush(); ?>

<?php echo $__env->make('backEnd.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.shooperm.com/Modules/Appearance/Resources/views/theme/components/show.blade.php ENDPATH**/ ?>