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/cf99dad28e211bbe79ac4206cfe2613ec00b7f3a.php
<div class="white_box_50px box_shadow_white mb-40 min-height-430">
    <form action="POST" id="add_element_form">
        <div class="row">
            <input type="hidden" name="id" value="<?php echo e($header->id); ?>">
            <input type="hidden" id="create_header_type" value="<?php echo e($header->type); ?>">
            <?php if($type == 'category'): ?>
            <div class="col-lg-12">
                <div class="primary_input mb-25">
                    <label class="primary_input_label" for=""><?php echo e(__('common.category_list')); ?></label>
                    <select name="category[]" id="category" class="category mb-15" multiple>

                    </select>
                    <span class="text-danger"></span>
                </div>
            </div>
            <?php elseif($type == 'slider'): ?>


            <div class="col-lg-12">
                <div class="primary_input mb-25">
                        <label class="primary_input_label"
                            for="name"><?php echo e(__('common.name')); ?> <span class="text-danger">*</span></label>
                            <input class="primary_input_field" type="text" id="name" name="name" autocomplete="off"
                        value="" placeholder="<?php echo e(__('common.name')); ?>">
                </div>
                <span class="text-danger" id="error_name"></span>
            </div>


            <div class="col-lg-12" id="slider_data_type_div">
                <div class="primary_input mb-25">
                    <label class="primary_input_label" for=""><?php echo e(__('appearance.slider_for')); ?></label>
                    <select name="data_type" id="slider_for" class="primary_select mb-15">
                        <option value="" selected disabled><?php echo e(__('common.select_one')); ?></option>
                        <option value="product"><?php echo e(__('appearance.for_product')); ?></option>
                        <option value="category"><?php echo e(__('appearance.for_category')); ?></option>
                        <option value="brand"><?php echo e(__('appearance.for_brand')); ?></option>
                        <option value="tag"><?php echo e(__('appearance.for_tag')); ?></option>
                        <option value="url"><?php echo e(__('appearance.for_url_not_support_in_mobile_app')); ?></option>
                    </select>
                    <span class="text-danger" id="error_slider_data_type"></span>
                </div>
            </div>

            <div class="col-lg-12" id="slider_for_data_div">

            </div>

            <div id="sliderImgFileDiv" class="col-lg-8">
                <div class="primary_input mb-25">
                    <label class="primary_input_label" for=""><?php echo e(__('appearance.slider_image')); ?> (<?php if(app('theme')->folder_path == 'default'): ?>660 X 365 <?php else: ?> 1920 X 600 <?php endif; ?>)PX <span class="text-danger">*</span></label>
                    <div class="primary_file_uploader">
                        <input class="primary-input" type="text" id="banner_image_file"
                            placeholder="<?php echo e(__('common.browse')); ?> <?php echo e(__('common.image')); ?>" readonly="">
                        <button class="" type="button">
                            <label class="primary-btn small fix-gr-bg"
                                for="slider_image"><?php echo e(__('common.browse')); ?> </label>
                            <input type="file" class="d-none" name="slider_image" accept="image/*" id="slider_image">
                        </button>
                    </div>
                </div>

                <span class="text-danger" id="error_slider_image"></span>

            </div>
            <div class="col-lg-4">
                <div id="createSliderImgDiv">
                    <img id="MetaImgDiv"
                    src="<?php echo e(showImage('backend/img/default.png')); ?>" alt="">
                </div>

            </div>

            <div class="col-lg-12">
                <div class="primary_input">
                    <label class="primary_input_label" for=""><?php echo e(__('common.status')); ?></label>
                    <ul id="theme_nav" class="permission_list sms_list ">
                        <li>
                            <label data-id="bg_option" class="primary_checkbox d-flex mr-12">
                                <input name="status" id="status_active" value="1" checked="true" class="active"
                                    type="radio">
                                <span class="checkmark"></span>
                            </label>
                            <p><?php echo e(__('common.active')); ?></p>
                        </li>
                        <li>
                            <label data-id="color_option" class="primary_checkbox d-flex mr-12">
                                <input name="status" value="0" id="status_inactive" class="de_active" type="radio">
                                <span class="checkmark"></span>
                            </label>
                            <p><?php echo e(__('common.inactive')); ?></p>
                        </li>
                    </ul>
                    <span class="text-danger" id="status_error"></span>
                </div>
            </div>

            <div class="col-xl-12">
                <div class="primary_input">
                    <ul id="theme_nav" class="permission_list sms_list ">
                        <li>
                            <label data-id="bg_option" class="primary_checkbox d-flex mr-12">
                                <input name="is_newtab" id="is_newtab" value="1" checked type="checkbox">
                                <span class="checkmark"></span>
                            </label>
                            <p><?php echo e(__('common.open_link_in_a_new_tab')); ?></p>
                        </li>
                    </ul>
                </div>
            </div>



            <?php elseif($type == 'product'): ?>
            <div class="col-lg-12">
                <div class="primary_input mb-25">
                    <label class="primary_input_label" for=""><?php echo e(__('appearance.product_list')); ?></label>
                    <select name="product[]" id="product" class=" product mb-15" multiple>

                    </select>
                    <span class="text-danger"></span>
                </div>
            </div>

            <?php endif; ?>


            <div class="col-xl-12 text-center">
                <button class="primary_btn_2 mt-5" id="widget_form_btn"><i
                        class="ti-check"></i><?php echo e(__('common.save')); ?>

                </button>
            </div>
        </div>
    </form>
</div>
<?php /**PATH /www/wwwroot/www.shooperm.com/Modules/Appearance/Resources/views/header/components/create_element.blade.php ENDPATH**/ ?>