<?php $__env->startSection('styles'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/back/css/select2.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

<!-- Start of Main Content -->
<div class="container-fluid">

	<!-- Page Heading -->
    <div class="card mb-4">
        <div class="card-body">
            <div class="d-sm-flex align-items-center justify-content-between">
                <h3 class="mb-0 bc-title"><b><?php echo e(__('Language')); ?></b></h3>
                </div>
        </div>
    </div>

    

	<!-- DataTales -->
	<div class="card shadow mb-4">
		<div class="card-body">
            <div class="row">
                <div class="col-5 col-md-3">
                    <div class="nav flex-column nav-pills nav-secondary" id="v-pills-tab" role="tablist" aria-orientation="vertical">
                        <a class="nav-link active" id="v-pills-t9-tab" data-toggle="pill" href="#v-pills-t9" role="tab" aria-controls="v-pills-t9" aria-selected="true"><?php echo e(__('Hero Section Banner')); ?></a>
                        <a class="nav-link" id="v-pills-t1-tab" data-toggle="pill" href="#v-pills-t1" role="tab" aria-controls="v-pills-t1" aria-selected="false"><?php echo e(__('3 column banner First')); ?></a>
                        <a class="nav-link" id="v-pills-t2-tab" data-toggle="pill" href="#v-pills-t2" role="tab" aria-controls="v-pills-t2" aria-selected="false"><?php echo e(__('Popular Categories')); ?></a>
                        <a class="nav-link" id="v-pills-t5-tab" data-toggle="pill" href="#v-pills-t5" role="tab" aria-controls="v-pills-t5" aria-selected="false"><?php echo e(__('3 column banner Second')); ?></a>
                        <a class="nav-link" id="v-pills-t3-tab" data-toggle="pill" href="#v-pills-t3" role="tab" aria-controls="v-pills-t3" aria-selected="false"><?php echo e(__('Three column category')); ?></a>
                        <a class="nav-link" id="v-pills-t4-tab" data-toggle="pill" href="#v-pills-t4" role="tab" aria-controls="v-pills-t4" aria-selected="false"><?php echo e(__('Featured Categories')); ?></a>
                        <a class="nav-link" id="v-pills-t6-tab" data-toggle="pill" href="#v-pills-t6" role="tab" aria-controls="v-pills-t6" aria-selected="false"><?php echo e(__('2 column banner')); ?></a>
                        <a class="nav-link" id="v-pills-t7-tab" data-toggle="pill" href="#v-pills-t7" role="tab" aria-controls="v-pills-t7" aria-selected="false"><?php echo e(__('Home Page 4 Banner 5 Column')); ?></a>
                        <a class="nav-link" id="v-pills-t8-tab" data-toggle="pill" href="#v-pills-t8" role="tab" aria-controls="v-pills-t8" aria-selected="false"><?php echo e(__('Home Page 4 Popular Categories')); ?></a>
                    </div>
                </div>
                <div class="col-7 col-md-9">
                    <div class="tab-content" id="v-pills-tabContent">
                        <div class="tab-pane fade show active" id="v-pills-t9" role="tabpanel" aria-labelledby="v-pills-t9-tab">
                            <form class="admin-form" action="<?php echo e(route('back.hero.banner.update')); ?>"method="POST" enctype="multipart/form-data">
                                <?php echo $__env->make('alerts.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php echo csrf_field(); ?>
                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 1')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($hero_banner['img1']) ? url('/core/storage/app/public/images/'.$hero_banner['img1']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img1" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title1"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title1" class="form-control" id="title1"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($hero_banner['title1']) ? $hero_banner['title1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle1"><?php echo e(__('Subtitle')); ?> </label>
                                            <input type="text" name="subtitle1" class="form-control" id="subtitle1"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($hero_banner['subtitle1']) ? $hero_banner['subtitle1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url1"><?php echo e(__('URL 1')); ?> *</label>
                                            <input type="text" name="url1" class="form-control" id="url1"
                                                placeholder="<?php echo e(__('Enter Url')); ?>"  value="<?php echo e(isset($hero_banner['url1']) ? $hero_banner['url1'] : ''); ?>" >
                                        </div>

                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 2')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($hero_banner['img2']) ? url('/core/storage/app/public/images/'.$hero_banner['img2']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img2" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title2"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title2" class="form-control" id="title2"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($hero_banner['title2']) ? $hero_banner['title2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle2"><?php echo e(__('Subtitle')); ?> </label>
                                            <input type="text" name="subtitle2" class="form-control" id="subtitle2"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($hero_banner['subtitle2']) ? $hero_banner['subtitle2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url2"><?php echo e(__('URL 2')); ?> *</label>
                                            <input type="text" name="url2" class="form-control" id="url2"
                                                placeholder="<?php echo e(__('Enter Url')); ?>"  value="<?php echo e(isset($hero_banner['url2']) ? $hero_banner['url2'] : ''); ?>" >
                                        </div>


                                    <div class="form-group">
                                        <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                    </div>
                            </form>
                        </div>
                        <div class="tab-pane fade show " id="v-pills-t1" role="tabpanel" aria-labelledby="v-pills-t1-tab">
                            <form class="admin-form" action="<?php echo e(route('back.first.banner.update')); ?>" method="POST" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 1')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$first_banner['img1'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img1" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title1"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title1" class="form-control" id="title1"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($first_banner['title1']) ? $first_banner['title1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle1"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle1" class="form-control" id="subtitle1"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($first_banner['subtitle1']) ? $first_banner['subtitle1'] : ''); ?>" >
                                        </div>

                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 1')); ?> *</label>
                                            <input type="text" name="firsturl1" class="form-control" id="firsturl1"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($first_banner['firsturl1']); ?>" >
                                        </div>
                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 2')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$first_banner['img2'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img2" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title2"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title2" class="form-control" id="title2"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($first_banner['title2']) ? $first_banner['title2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle2"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle2" class="form-control" id="subtitle2"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($first_banner['subtitle2']) ? $first_banner['subtitle2'] : ''); ?>" >
                                        </div>

                                        <div class="form-group">
                                            <label for="firsturl2"><?php echo e(__('URL 2')); ?> *</label>
                                            <input type="text" name="firsturl2" class="form-control" id="firsturl2"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($first_banner['firsturl2']); ?>" >
                                        </div>
                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 3')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$first_banner['img3'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img3" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title3"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title3" class="form-control" id="title3"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($first_banner['title3']) ? $first_banner['title3'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle3"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle3" class="form-control" id="subtitle3"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($first_banner['subtitle3']) ? $first_banner['subtitle3'] : ''); ?>" >
                                        </div>


                                        <div class="form-group">
                                            <label for="firsturl3"><?php echo e(__('URL 3')); ?> *</label>
                                            <input type="text" name="firsturl3" class="form-control" id="firsturl3"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($first_banner['firsturl3']); ?>" >
                                        </div>

                                    <div class="form-group">
                                            <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                </div>
                            </form>
                        </div>
                        <div class="tab-pane fade" id="v-pills-t2" role="tabpanel" aria-labelledby="v-pills-t2-tab">

                            <form class="admin-form" action="<?php echo e(route('back.popular.category.update')); ?>" method="POST">
                                <?php echo csrf_field(); ?>
                                    <div class="form-group">
                                        <label for="popular_title"><?php echo e(__('Section Title')); ?> *</label>
                                        <input type="text" name="popular_title" class="form-control" id="popular_title"
                                            placeholder="<?php echo e(__('Popular Category')); ?>" value="<?php echo e($popular_category['popular_title']); ?>" >
                                    </div>
                                    <hr>
                                    <h2 class=""><b><?php echo e(__('Category 1 :')); ?></b></h2>

                                    <div class="form-group">
                                        <label for="category_id1"><?php echo e(__('Select Category')); ?> *</label>
                                        <select name="category_id1"  id="category_id1" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                            <option value="" ><?php echo e(__('Select One')); ?></option>
                                            <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $popular_category['category_id1'] ? 'selected' : ''); ?> ><?php echo e($cat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label for="subcategory_id1"><?php echo e(__('Select Sub Category')); ?> </label>
                                        <select name="subcategory_id1" id="subcategory_id1" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$popular_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $popular_category['subcategory_id1']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>

                                    <div class="form-group">
                                        <label for="childcategory_id1"><?php echo e(__('Select Child Category')); ?> </label>
                                        <select name="childcategory_id1" id="childcategory_id1" class="form-control">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$popular_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $popular_category['childcategory_id1'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>

                                    <hr>
                                    <h2 class=""><b><?php echo e(__('Category 2 :')); ?></b></h2>
                                    <div class="form-group">
                                        <label for="category_id2"><?php echo e(__('Select Category')); ?> *</label>
                                        <select name="category_id2" id="category_id2" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                            <option value="" ><?php echo e(__('Select One')); ?></option>
                                            <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $popular_category['category_id2'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label for="subcategory_id2"><?php echo e(__('Select Sub Category')); ?> </label>
                                        <select name="subcategory_id2" id="subcategory_id2" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$popular_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $popular_category['subcategory_id2']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>

                                    <div class="form-group">
                                        <label for="childcategory_id2"><?php echo e(__('Select Child Category')); ?> </label>
                                        <select name="childcategory_id2" id="childcategory_id2" class="form-control">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$popular_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $popular_category['childcategory_id2'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <hr>
                                    <h2 class=""><b><?php echo e(__('Category 3 :')); ?></b></h2>
                                    <div class="form-group">
                                        <label for="category_id3"><?php echo e(__('Select Category')); ?> *</label>
                                        <select name="category_id3" id="category_id3" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                            <option value="" ><?php echo e(__('Select One')); ?></option>
                                            <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $popular_category['category_id3'] ? 'selected' : ''); ?> ><?php echo e($cat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label for="subcategory_id3"><?php echo e(__('Select Sub Category')); ?> </label>
                                        <select name="subcategory_id3" id="subcategory_id3" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$popular_category['category_id3'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $popular_category['subcategory_id3']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>

                                    <div class="form-group">
                                        <label for="childcategory_id3"><?php echo e(__('Select Child Category')); ?> </label>
                                        <select name="childcategory_id3" id="childcategory_id3" class="form-control">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$popular_category['category_id3'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $popular_category['childcategory_id3'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <hr>
                                    <h2 class=""><b><?php echo e(__('Category 4 :')); ?></b></h2>
                                    <div class="form-group">
                                        <label for="category_id4"><?php echo e(__('Select Category')); ?> *</label>
                                        <select name="category_id4" id="category_id4" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                            <option value="" ><?php echo e(__('Select One')); ?></option>
                                            <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $popular_category['category_id4'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label for="subcategory_id4"><?php echo e(__('Select Sub Category')); ?> </label>
                                        <select name="subcategory_id4" id="subcategory_id4" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$popular_category['category_id4'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $popular_category['subcategory_id4']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>

                                    <div class="form-group">
                                        <label for="childcategory_id4"><?php echo e(__('Select Child Category')); ?> </label>
                                        <select name="childcategory_id4" id="childcategory_id4" class="form-control">
                                            <option value=""><?php echo e(__('Select one')); ?></option>
                                            <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$popular_category['category_id4'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $popular_category['childcategory_id4'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>


                                <div class="form-group">
                                <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                            </div>
                        </form>
                        </div>

                        <div class="tab-pane fade" id="v-pills-t5" role="tabpanel" aria-labelledby="v-pills-t5-tab">
                            <form class="admin-form" action="<?php echo e(route('back.secend.banner.update')); ?>" method="POST" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 1')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$secend_banner['img1'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img1" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title1"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title1" class="form-control" id="title1"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($secend_banner['title1']) ? $secend_banner['title1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle1"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle1" class="form-control" id="subtitle1"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($secend_banner['subtitle1']) ? $secend_banner['subtitle1'] : ''); ?>" >
                                        </div>

                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 1')); ?> *</label>
                                            <input type="text" name="url1" class="form-control" id="url1"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($secend_banner['url1']); ?>" >
                                        </div>
                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 2')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$secend_banner['img2'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img2" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title2"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title2" class="form-control" id="title2"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($secend_banner['title2']) ? $secend_banner['title2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle2"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle2" class="form-control" id="subtitle2"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($secend_banner['subtitle2']) ? $secend_banner['subtitle2'] : ''); ?>" >
                                        </div>

                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 2')); ?> *</label>
                                            <input type="text" name="url2" class="form-control" id="url2"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($secend_banner['url2']); ?>" >
                                        </div>
                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 3')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$secend_banner['img3'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img3" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title3"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title3" class="form-control" id="title3"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($secend_banner['title3']) ? $secend_banner['title3'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle3"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle3" class="form-control" id="subtitle3"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($secend_banner['subtitle3']) ? $secend_banner['subtitle3'] : ''); ?>" >
                                        </div>


                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 3')); ?> *</label>
                                            <input type="text" name="url3" class="form-control" id="url3"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($secend_banner['url3']); ?>" >
                                        </div>

                                    <div class="form-group">
                                            <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                </div>
                            </form>
                        </div>

                        <div class="tab-pane fade" id="v-pills-t3" role="tabpanel" aria-labelledby="v-pills-t3-tab">
                            <form class="admin-form" action="<?php echo e(route('back.tree.column.category.update')); ?>" method="POST">
                                <?php echo csrf_field(); ?>
                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 1 :')); ?></b></h2>

                                <div class="form-group">
                                    <label for="column_category_id1"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id1" id="column_category_id1" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $three_column_category['category_id1'] ? 'selected' : ''); ?> ><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="cloumn_subcategory_id2"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id1" id="cloumn_subcategory_id1" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$three_column_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $three_column_category['subcategory_id1']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="cloumn_childcategory_id1"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id1"  id="cloumn_childcategory_id1" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$three_column_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $three_column_category['childcategory_id1'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 2 :')); ?></b></h2>
                                <div class="form-group">
                                    <label for="column_category_id2"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id2" id="column_category_id2" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $three_column_category['category_id2'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="cloumn_subcategory_id2"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id2" id="cloumn_subcategory_id2" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$three_column_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $three_column_category['subcategory_id2']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="cloumn_childcategory_id2"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id2" id="cloumn_childcategory_id2" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$three_column_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $three_column_category['childcategory_id2'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 3 :')); ?></b></h2>
                                <div class="form-group">
                                    <label for="column_category_id3"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id3" id="column_category_id3" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e(isset($three_column_category['category_id3']) && $cat->id == $three_column_category['category_id3'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="cloumn_subcategory_id3"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id3" id="cloumn_subcategory_id3" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php
                                            if(isset($three_column_category['category_id3'])){
                                                $subcategory = DB::table('subcategories')->where('category_id', $three_column_category['category_id3'])->whereStatus(1)->get();
                                            }else{
                                                $subcategory = DB::table('subcategories')->whereStatus(1)->get();
                                            }
                                        ?>
                                        <?php $__currentLoopData = $subcategory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e(isset($three_column_category['category_id3']) &&  $subcat->id == $three_column_category['subcategory_id3']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="cloumn_childcategory_id3"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id3" id="cloumn_childcategory_id3" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php
                                            if(isset($three_column_category['category_id3'])){
                                                $childcategory = DB::table('chield_categories')->where('category_id',$three_column_category['category_id3'])->whereStatus(1)->get();
                                            }else{
                                                $childcategory = DB::table('chield_categories')->whereStatus(1)->get();
                                            }
                                        ?>
                                        <?php $__currentLoopData = $childcategory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e(isset($three_column_category['category_id3']) &&  $chieldcategory->id == $three_column_category['childcategory_id3'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>



                                <div class="form-group">
                                    <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                </div>
                            </form>
                        </div>

                        <div class="tab-pane fade" id="v-pills-t4" role="tabpanel" aria-labelledby="v-pills-t4-tab">
                            <form class="admin-form" action="<?php echo e(route('back.feature.category.update')); ?>" method="POST">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="feature_title"><?php echo e(__('Section Title')); ?> *</label>
                                    <input type="text" name="feature_title" class="form-control" id="feature_title"
                                        placeholder="<?php echo e(__('Feture Category')); ?>" value="<?php echo e($feature_category['feature_title']); ?>" >
                                </div>
                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 1 :')); ?></b></h2>

                                <div class="form-group">
                                    <label for="feature_category_id1"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id1" id="feature_category_id1" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $feature_category['category_id1'] ? 'selected' : ''); ?> ><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="feature_subcategory_id1"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id1" id="feature_subcategory_id1" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$feature_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $feature_category['subcategory_id1']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="feature_childcategory_id1"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id1" id="feature_childcategory_id1" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$feature_category['category_id1'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $feature_category['childcategory_id1'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 2 :')); ?></b></h2>
                                <div class="form-group">
                                    <label for="feature_category_id2"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id2" id="feature_category_id2" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $feature_category['category_id2'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="feature_subcategory_id2"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id2" id="feature_subcategory_id2" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$feature_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $feature_category['subcategory_id2']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="feature_childcategory_id2"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id2" id="feature_childcategory_id2" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$feature_category['category_id2'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $feature_category['childcategory_id2'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 3 :')); ?></b></h2>
                                <div class="form-group">
                                    <label for="feature_category_id3"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id3" id="feature_category_id3" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $feature_category['category_id3'] ? 'selected' : ''); ?> ><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="feature_subcategory_id3"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id3" id="feature_subcategory_id3" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$feature_category['category_id3'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $feature_category['subcategory_id3']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="feature_childcategory_id3"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id3" id="feature_childcategory_id3" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$feature_category['category_id3'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $feature_category['childcategory_id3'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <hr>
                                <h2 class=""><b><?php echo e(__('Category 4 :')); ?></b></h2>
                                <div class="form-group">
                                    <label for="feature_category_id4"><?php echo e(__('Select Category')); ?> *</label>
                                    <select name="category_id4" id="feature_category_id4" data-href="<?php echo e(route('back.get.subcategory')); ?>" class="form-control" >
                                        <option value="" ><?php echo e(__('Select One')); ?></option>
                                        <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cat->id); ?>" <?php echo e($cat->id == $feature_category['category_id4'] ? 'selected' : ''); ?>><?php echo e($cat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="feature_subcategory_id4"><?php echo e(__('Select Sub Category')); ?> </label>
                                    <select name="subcategory_id4" id="feature_subcategory_id4" class="form-control" data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('subcategories')->where('category_id',$feature_category['category_id4'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($subcat->id); ?>" <?php echo e($subcat->id == $feature_category['subcategory_id4']? 'selected' : ''); ?>><?php echo e($subcat->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>

                                <div class="form-group">
                                    <label for="feature_childcategory_id4"><?php echo e(__('Select Child Category')); ?> </label>
                                    <select name="childcategory_id4" id="feature_childcategory_id4" class="form-control">
                                        <option value=""><?php echo e(__('Select one')); ?></option>
                                        <?php $__currentLoopData = DB::table('chield_categories')->where('category_id',$feature_category['category_id4'])->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chieldcategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($chieldcategory->id); ?>" <?php echo e($chieldcategory->id == $feature_category['childcategory_id4'] ? 'selected' : ''); ?>><?php echo e($chieldcategory->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>



                                <div class="form-group">
                                        <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                </div>
                            </form>
                        </div>
                        <div class="tab-pane fade" id="v-pills-t6" role="tabpanel" aria-labelledby="v-pills-t6-tab">
                            <form class="admin-form" action="<?php echo e(route('back.third.banner.update')); ?>"

                                method="post" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 1')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$third_banner['img1'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img1" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label for="title1"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title1" class="form-control" id="title1"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($third_banner['title1']) ? $third_banner['title1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle1"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle1" class="form-control" id="subtitle1"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($third_banner['subtitle1']) ? $third_banner['subtitle1'] : ''); ?>" >
                                        </div>

                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 1')); ?> *</label>
                                            <input type="text" name="url1" class="form-control" id="url1"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($third_banner['url1']); ?>" >
                                        </div>
                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Image 2')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(url('/core/storage/app/public/images/'.$third_banner['img2'])); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img2" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="title2"><?php echo e(__('Title')); ?> *</label>
                                            <input type="text" name="title2" class="form-control" id="title2"
                                                placeholder="<?php echo e(__('Enter Title')); ?>"  value="<?php echo e(isset($third_banner['title2']) ? $third_banner['title2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="subtitle2"><?php echo e(__('Subtitle')); ?> *</label>
                                            <input type="text" name="subtitle2" class="form-control" id="subtitle2"
                                                placeholder="<?php echo e(__('Enter Subtitle')); ?>"  value="<?php echo e(isset($third_banner['subtitle2']) ? $third_banner['subtitle2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url"><?php echo e(__('URL 2')); ?> *</label>
                                            <input type="text" name="url2" class="form-control" id="url2"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>" value="<?php echo e($third_banner['url2']); ?>" >
                                        </div>

                                    <div class="form-group">
                                            <button type="submit"
                                                class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                </div>
                            </form>
                        </div>

                        <div class="tab-pane fade" id="v-pills-t7" role="tabpanel" aria-labelledby="v-pills-t7-tab">
                            <form class="admin-form" action="<?php echo e(route('back.home_page4.banner.update')); ?>"method="POST" enctype="multipart/form-data">
                                <?php echo $__env->make('alerts.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php echo csrf_field(); ?>
                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Banner 1 Image')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($home4_banner['img1']) ?  url('/core/storage/app/public/images/'.$home4_banner['img1']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img1" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label for="label1"><?php echo e(__('Banner 1 Button Text')); ?> *</label>
                                            <input type="text" name="label1" class="form-control" id="label1"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['label1']) ? $home4_banner['label1'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url1"><?php echo e(__('Banner 1 Button Link')); ?> *</label>
                                            <input type="text" name="url1" class="form-control" id="url1"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['url1']) ? $home4_banner['url1']: ''); ?>" >
                                        </div>

                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Banner 2 Image')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($home4_banner['img2']) ?  url('/core/storage/app/public/images/'.$home4_banner['img2']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>

                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img2" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="label2"><?php echo e(__('Banner 2 Button Text')); ?> *</label>
                                            <input type="text" name="label2" class="form-control" id="label2"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['label2']) ? $home4_banner['label2'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url2"><?php echo e(__('Banner 2 Button Link')); ?> *</label>
                                            <input type="text" name="url2" class="form-control" id="url2"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['url2']) ? $home4_banner['url2'] : ''); ?>" >
                                        </div>

                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Banner 3 Image')); ?> * <small>(<?php echo e(__('Middle Big Image')); ?>)</small></label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($home4_banner['img3']) ?  url('/core/storage/app/public/images/'.$home4_banner['img3']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img3" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label for="label3"><?php echo e(__('Banner 3 Button Text')); ?> *</label>
                                            <input type="text" name="label3" class="form-control" id="label3"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['label3']) ? $home4_banner['label3'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url3"><?php echo e(__('Banner 3 Button Link')); ?> *</label>
                                            <input type="text" name="url3" class="form-control" id="url3"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['url3']) ? $home4_banner['url3'] : ''); ?>" >
                                        </div>

                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Banner 4 Image')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($home4_banner['img4']) ?  url('/core/storage/app/public/images/'.$home4_banner['img4']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img4" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label for="label4"><?php echo e(__('Banner 4 Button Text')); ?> *</label>
                                            <input type="text" name="label4" class="form-control" id="label4"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['label4']) ? $home4_banner['label4'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url4"><?php echo e(__('Banner 4 Button Link')); ?> *</label>
                                            <input type="text" name="url4" class="form-control" id="url4"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['url4']) ? $home4_banner['url4'] : ''); ?>" >
                                        </div>

                                        <hr>

                                        <div class="form-group">
                                            <label for="name"><?php echo e(__('Banner 5 Image')); ?> *</label>
                                            <br>
                                                <img class="admin-img"
                                                    src="<?php echo e(isset($home4_banner['img5']) ?  url('/core/storage/app/public/images/'.$home4_banner['img5']) : url('/core/public/storage/images/placeholder.png')); ?>"
                                                    alt="No Image Found">
                                            <br>
                                            <span class="mt-1"><?php echo e(__('Image Size Should Be 496 x 204.')); ?></span>
                                        </div>
                                        <div class="form-group position-relative">
                                            <label class="file">
                                                <input type="file"  accept="image/*"  class="upload-photo" name="img5" id="file"
                                                    aria-label="File browser example">
                                                <span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
                                            </label>
                                        </div>

                                        <div class="form-group">
                                            <label for="label5"><?php echo e(__('Banner 5 Button Text')); ?> *</label>
                                            <input type="text" name="label5" class="form-control" id="label5"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['label5']) ? $home4_banner['label5'] : ''); ?>" >
                                        </div>
                                        <div class="form-group">
                                            <label for="url5"><?php echo e(__('Banner 5 Button Link')); ?> *</label>
                                            <input type="text" name="url5" class="form-control" id="url5"
                                                placeholder="<?php echo e(__('Enter Banner Url')); ?>"  value="<?php echo e(isset($home4_banner['url5']) ? $home4_banner['url5'] : ''); ?>" >
                                        </div>

                                    <div class="form-group">
                                        <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                                    </div>
                            </form>
                        </div>
                        <div class="tab-pane fade" id="v-pills-t8" role="tabpanel" aria-labelledby="v-pills-t8-tab">
                            <form class="admin-form" action="<?php echo e(route('back.home4.category.update')); ?>"
                                method="post" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <?php
                                    if(isset($home_4_popular_category)){
                                        $home_4_popular_category = $home_4_popular_category;
                                    }else{
                                        $home_4_popular_category = [];
                                    }
                                ?>
                                <label for="basic"><?php echo e(__('Select Sub Category')); ?> </label>
                                <select name="home_4_popular_category[]" id="basic" class="form-control" multiple data-href="<?php echo e(route('back.get.childcategory')); ?>">
                                    <?php $__currentLoopData = DB::table('categories')->whereStatus(1)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($category->id); ?>" <?php echo e(in_array($category->id,$home_4_popular_category) ? 'selected' : ''); ?>><?php echo e($category->name); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                                <div class="form-group">
                                    <button type="submit" class="btn btn-secondary "><?php echo e(__('Submit')); ?></button>
                        </div>
                    </form>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
		</div>
	</div>

</div>

</div>
<!-- End of Main Content -->



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

<?php $__env->startSection('scripts'); ?>
    <script type="" src="<?php echo e(asset('assets/back/js/select2.js')); ?>"></script>
    <script>
        $('#basic').select2({
			theme: "bootstrap"
		});
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master.back', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/seleneestilo/public_html/serene-estilo.com/core/resources/views/back/home-page/index.blade.php ENDPATH**/ ?>