Viewing file: 9c66e579e1bc436648544b27babb6d7c.php (32.23 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Photo Gallery <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <link href="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.css" rel="stylesheet">
<style> .card-header-title-collapse { cursor: pointer; font-size: 15px !important; } </style> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <section class="content"> <div class="row"> <div class="col-12 mx-auto col-sm-10 mt-3"> <div class="card"> <div class="card-header"> <h2 class="card-title"> Photo Gallery </h2> </div>
<div class="card-body"> <?php $teaching_content =json_decode(get_settings('teaching_video_section')); $travel_content =json_decode(get_settings('travel_video_section')); $others_content =json_decode(get_settings('others_video_section')); ?>
<div id="accordion">
<div class="card"> <div class="card-header" id="headingHscTwo"> <h4 class="mb-0 card-header-title-collapse collapsed" data-toggle="collapse" data-target="#collapseHscTwo" aria-expanded="false" aria-controls="collapseHscTwo"> Teaching Section </h4> </div> <div id="collapseHscTwo" class="collapse show" aria-labelledby="headingHscTwo" data-parent="#accordion"> <div class="card-body"> <div class="form-group"> <form action="<?php echo e(route('admin.theme.photo.gallery.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="type" value="teaching"> <div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_one)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_one)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_one" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_tc_video_one" value="<?php echo e(isset($teaching_content->tc_photo_one)?$teaching_content->tc_photo_one:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="tc_desc_one" value="<?php echo e(isset($teaching_content->tc_desc_one)?$teaching_content->tc_desc_one:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_two)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_two)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_two" class="form-control" > <input type="hidden" name="edit_tc_video_two" value="<?php echo e(isset($teaching_content->tc_photo_two)?$teaching_content->tc_photo_two:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="tc_desc_two" value="<?php echo e(isset($teaching_content->tc_desc_two)?$teaching_content->tc_desc_two:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_three)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_three)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_three" class="form-control" > <input type="hidden" name="edit_tc_video_three" value="<?php echo e(isset($teaching_content->tc_photo_three)?$teaching_content->tc_photo_three:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" class="form-control" name="tc_desc_three" value="<?php echo e(isset($teaching_content->tc_desc_three)?$teaching_content->tc_desc_three:''); ?>" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_four)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_four)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_four" class="form-control"> <input type="hidden" name="edit_tc_video_four" value="<?php echo e(isset($teaching_content->tc_photo_four)?$teaching_content->tc_photo_four:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" class="form-control" name="tc_desc_four" value="<?php echo e(isset($teaching_content->tc_desc_four)?$teaching_content->tc_desc_four:''); ?>" placeholder="Enter Description" > </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_five)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_five)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_five" class="form-control"> <input type="hidden" name="edit_tc_video_five" value="<?php echo e(isset($teaching_content->tc_photo_five)?$teaching_content->tc_photo_five:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" class="form-control" name="tc_desc_five" value="<?php echo e(isset($teaching_content->tc_desc_five)?$teaching_content->tc_desc_five:''); ?>" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($teaching_content->tc_photo_six)): ?> <img src="<?php echo e(asset('uploads/'.$teaching_content->tc_photo_six)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="tc_video_six" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_tc_video_six" value="<?php echo e(isset($teaching_content->tc_photo_six)?$teaching_content->tc_photo_six:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" class="form-control" name="tc_desc_six" value="<?php echo e(isset($teaching_content->tc_desc_six)?$teaching_content->tc_desc_six:''); ?>" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-12 form-group"> <button class="btn btn-success float-right" type="submit">Save</button> </div> </div> </form> </div> </div> </div> </div>
<div class="card"> <div class="card-header" id="headingTravelTwo"> <h4 class="mb-0 card-header-title-collapse collapsed" data-toggle="collapse" data-target="#collapseTravelTwo" aria-expanded="false" aria-controls="collapseTravelTwo"> Travel Section </h4> </div> <div id="collapseTravelTwo" class="collapse" aria-labelledby="headingTravelTwo" data-parent="#accordion"> <div class="card-body"> <div class="form-group"> <form action="<?php echo e(route('admin.theme.photo.gallery.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="type" value="travel"> <div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_one)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_one)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_one" class="form-control"> <input type="hidden" name="edit_travel_video_one" value="<?php echo e(isset($travel_content->travel_photo_one)?$travel_content->travel_photo_one:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_one" value="<?php echo e(isset($travel_content->travel_desc_one)?$travel_content->travel_desc_one:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_two)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_two)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_two" class="form-control" > <input type="hidden" name="edit_travel_video_two" value="<?php echo e(isset($travel_content->travel_photo_two)?$travel_content->travel_photo_two:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_two" value="<?php echo e(isset($travel_content->travel_desc_two)?$travel_content->travel_desc_two:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_three)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_three)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_three" class="form-control" > <input type="hidden" name="edit_travel_video_three" value="<?php echo e(isset($travel_content->travel_photo_three)?$travel_content->travel_photo_three:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_three" value="<?php echo e(isset($travel_content->travel_desc_three)?$travel_content->travel_desc_three:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_four)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_four)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_four" class="form-control" > <input type="hidden" name="edit_travel_video_four" value="<?php echo e(isset($travel_content->travel_photo_four)?$travel_content->travel_photo_four:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_four" value="<?php echo e(isset($travel_content->travel_desc_four)?$travel_content->travel_desc_four:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_five)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_five)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_five" class="form-control"> <input type="hidden" name="edit_travel_video_five" value="<?php echo e(isset($travel_content->travel_photo_five)?$travel_content->travel_photo_five:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_five" value="<?php echo e(isset($travel_content->travel_desc_five)?$travel_content->travel_desc_five:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($travel_content->travel_photo_six)): ?> <img src="<?php echo e(asset('uploads/'.$travel_content->travel_photo_six)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="travel_video_six"class="form-control"> <input type="hidden" name="edit_travel_video_six" value="<?php echo e(isset($travel_content->travel_photo_six)?$travel_content->travel_photo_six:''); ?>"> </div> <div class="col-md-4 form-group"> <input type="text" name="travel_desc_six" value="<?php echo e(isset($travel_content->travel_desc_six)?$travel_content->travel_desc_six:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div> <div class="row"> <div class="col-md-12 form-group"> <button class="btn btn-success float-right" type="submit">Save</button> </div> </div> </form> </div> </div> </div> </div>
<div class="card"> <div class="card-header" id="headingOthersTwo"> <h4 class="mb-0 card-header-title-collapse collapsed" data-toggle="collapse" data-target="#collapseOthersTwo" aria-expanded="false" aria-controls="collapseOthersTwo"> Others Section </h4> </div> <div id="collapseOthersTwo" class="collapse " aria-labelledby="headingOthersTwo" data-parent="#accordion"> <div class="card-body"> <div class="form-group"> <form action="<?php echo e(route('admin.theme.photo.gallery.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="type" value="others"> <div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_one)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_one)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_one" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_one" value="<?php echo e(isset($others_content->others_photo_one)?$others_content->others_photo_one:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_one" value="<?php echo e(isset($others_content->others_desc_one)?$others_content->others_desc_one:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_two)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_two)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_two" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_two" value="<?php echo e(isset($others_content->others_photo_two)?$others_content->others_photo_two:''); ?>" "> </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_two" value="<?php echo e(isset($others_content->others_desc_two)?$others_content->others_desc_two:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_three)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_three)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_three" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_three" value="<?php echo e(isset($others_content->others_photo_three)?$others_content->others_photo_three:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_three" value="<?php echo e(isset($others_content->others_desc_three)?$others_content->others_desc_three:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_four)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_four)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_four" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_four" value="<?php echo e(isset($others_content->others_photo_four)?$others_content->others_photo_four:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_four" value="<?php echo e(isset($others_content->others_desc_four)?$others_content->others_desc_four:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_five)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_five)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_five" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_five" value="<?php echo e(isset($others_content->others_photo_five)?$others_content->others_photo_five:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_five" value="<?php echo e(isset($others_content->others_desc_five)?$others_content->others_desc_five:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div>
<div class="row"> <div class="col-md-8 form-group"> <?php if(isset($others_content->others_photo_six)): ?> <img src="<?php echo e(asset('uploads/'.$others_content->others_photo_six)); ?>" width="40" height="35" alt=""> <?php endif; ?>
<input type="file" name="others_video_six" class="form-control" placeholder="Enter Iframe Video"> <input type="hidden" name="edit_others_video_six" value="<?php echo e(isset($others_content->others_photo_six)?$others_content->others_photo_six:''); ?>" > </div> <div class="col-md-4 form-group"> <input type="text" name="others_desc_six" value="<?php echo e(isset($others_content->others_desc_six)?$others_content->others_desc_six:''); ?>" class="form-control" placeholder="Enter Description"> </div> </div> <div class="row"> <div class="col-md-12 form-group"> <button class="btn btn-success float-right" type="submit">Save</button> </div> </div> </form> </div> </div> </div> </div> </div>
</div>
</div>
</div> </div> </div> </div> </section> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script> <script src="https://cdn.jsdelivr.net/npm/summernote/dist/summernote-bs4.min.js"></script> <script> $(document).ready(function() { $('#description').summernote(); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/portfolio2.picotech.app/public_html/resources/views/admin/photo_gallery/index.blade.php ENDPATH**/ ?>
|