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

File "751c78bef767679ff9bf7f37edfa1c82.php"

Full Path: /home/u735268861/domains/palsarh.in/public_html/storage/framework/views/751c78bef767679ff9bf7f37edfa1c82.php
File size: 6.46 KB
MIME-type: text/plain
Charset: utf-8

<h4 class="title mt-4 mb-3"><?php echo e(get_phrase('Motivational Speech')); ?></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="motivational_speech">
    <div class="row">
        <div class="col-md-8">
            <div id = "motivational_speech_area">
                <?php
                    $motivational_speeches = count(json_decode(get_frontend_settings('motivational_speech'), true)) > 0 ? json_decode(get_frontend_settings('motivational_speech'), true) : [['title' => '', 'description' => '', 'image' => '']];
                ?>
                <?php $__currentLoopData = $motivational_speeches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $motivational_speech): $__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('Title')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="titles[]" placeholder="<?php echo e(get_phrase('Title')); ?>" value="<?php echo e($motivational_speech['title']); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('designation')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="designation[]" placeholder="<?php echo e(get_phrase('designation')); ?>" value="<?php echo e($motivational_speech['designation'] ?? ''); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Description')); ?></label>
                                <textarea name="descriptions[]" class="form-control ol-form-control" placeholder="<?php echo e(get_phrase('Description')); ?>"><?php echo e($motivational_speech['description']); ?></textarea>
                            </div>

                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Image')); ?></label>
                                <div class="custom-file">
                                    <input name="previous_images[]" type="hidden" value="<?php echo e($motivational_speech['image']); ?>">
                                    <input type="file" class="form-control ol-form-control" name="images[]" onchange="" accept="image/*">
                                </div>
                            </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="appendMotivational_speech()"> <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" name="button" data-bs-toggle="tooltip" title="<?php echo e(get_phrase('Remove')); ?>" onclick="removeMotivational_speech(this)">
                                    <i class="fi-rr-minus-small"></i> </button>
                            </div>
                        <?php endif; ?>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                <div id = "blank_motivational_speech_field">
                    <div class="d-flex mt-2 border-top pt-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('Title')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="titles[]" placeholder="<?php echo e(get_phrase('Title')); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('designation')); ?></label>
                                <input type="text" class="form-control ol-form-control" name="designation[]" placeholder="<?php echo e(get_phrase('designation')); ?>">
                            </div>
                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Description')); ?></label>
                                <textarea name="descriptions[]" class="form-control ol-form-control" placeholder="<?php echo e(get_phrase('Description')); ?>"></textarea>
                            </div>

                            <div class="fpb-7 mb-3">
                                <label class="form-label ol-form-label"><?php echo e(get_phrase('Image')); ?></label>
                                <div class="custom-file">
                                    <input name="previous_images[]" type="hidden" value="">
                                    <input type="file" class="form-control ol-form-control" name="images[]" onchange="" accept="image/*">
                                </div>
                            </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="removeMotivational_speech(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 /home/u735268861/domains/palsarh.in/public_html/resources/views/admin/setting/motivational.blade.php ENDPATH**/ ?>