JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "e159a5093a8b846d21876a6af47ad151.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/e159a5093a8b846d21876a6af47ad151.php
File size: 4.4 KB
MIME-type: text/plain
Charset: utf-8

<h4 class="title mt-4 mb-3"><?php echo e(get_phrase('Website FAQS')); ?></h4>
<form action="<?php echo e(route('admin.website.settings.update')); ?>" method="post" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>
    <input type="hidden" name="type" value="websitefaqs">
    <div class="row">
        <div class="col-md-8">
            <div id = "faq_area">
                <?php
                    $faqs = count(json_decode(get_frontend_settings('website_faqs'), true)) > 0 ? json_decode(get_frontend_settings('website_faqs'), true) : [['question' => '', 'answer' => '']];
                ?>
                <?php $__currentLoopData = $faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="d-flex mt-2">
                        <div class="flex-grow-1 px-2 mb-3">
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Question')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="questions[]" id="questions" placeholder="<?php echo e(get_phrase('Write a question')); ?>" value="<?php echo e($faq['question']); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Answer')); ?></label>
                                <textarea name="answers[]" class="form-control ol-form-control" placeholder="<?php echo e(get_phrase('Write a question answer')); ?>"><?php echo e($faq['answer']); ?></textarea>
                            </div>
                        </div>

                        <?php if($key == 0): ?>
                            <div class="pt-4">
                                <button type="button" class="btn ol-btn-light ol-icon-btn mt-2" name="button" data-bs-toggle="tooltip" title="<?php echo e(get_phrase('Add new')); ?>" onclick="appendFaq()"> <i class="fi-rr-plus-small"></i>
                                </button>
                            </div>
                        <?php else: ?>
                            <div class="pt-4">
                                <button type="button" class="btn ol-btn-light ol-icon-btn mt-2" data-bs-toggle="tooltip" title="<?php echo e(get_phrase('Remove')); ?>" name="button" onclick="removeFaq(this)"> <i class="fi-rr-minus-small"></i>
                                </button>
                            </div>
                        <?php endif; ?>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                <div id = "blank_faq_field">
                    <div class="d-flex pt-2 border-top">
                        <div class="flex-grow-1 px-3">
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Question')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="questions[]" id="questions" placeholder="<?php echo e(get_phrase('Write a question')); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Answer')); ?></label>
                                <textarea name="answers[]" class="form-control ol-form-control" placeholder="<?php echo e(get_phrase('Write a question answer')); ?>"></textarea>
                            </div>

                        </div>
                        <div class="pt-4">
                            <button type="button" class="btn ol-btn-light ol-icon-btn mt-2"name="button" data-bs-toggle="tooltip" title="<?php echo e(get_phrase('Remove')); ?>" onclick="removeFaq(this)"> <i class="fi-rr-minus-small"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="fpb-7 mb-2 flex-grow-1 px-2">
                <button type="submit" class="btn ol-btn-primary"><?php echo e(get_phrase('Save changes')); ?></button>
            </div>
        </div>
    </div>
</form>
<?php /**PATH /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/admin/setting/webfaqs.blade.php ENDPATH**/ ?>