
<?php $__env->startSection('title'); ?>
<title><?php echo e($websiteLang->where('lang_key','home_section')->first()->custom_text); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
    <!-- DataTales Example -->
    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary"><?php echo e($websiteLang->where('lang_key','home_section')->first()->custom_text); ?></h6>
        </div>

        <div class="card-body">
            <ul class="nav nav-tabs" id="myTab" role="tablist">
                <li class="nav-item" role="presentation">
                  <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true"><?php echo e($websiteLang->where('lang_key','about_us')->first()->custom_text); ?>

                  </a>
                </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="profile-tab" data-toggle="tab" href="#overview" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','top_properties')->first()->custom_text); ?></a>
                </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="profile-tab" data-toggle="tab" href="#category" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','featured_properties')->first()->custom_text); ?></a>
                </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="urgent-tab" data-toggle="tab" href="#urgent" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','urgent_properties')->first()->custom_text); ?></a>
                </li>

                <li class="nav-item" role="presentation">
                    <a class="nav-link" id="profile-tab" data-toggle="tab" href="#listings" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','service')->first()->custom_text); ?></a>
                  </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="profile-tab" data-toggle="tab" href="#location" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','agent_s')->first()->custom_text); ?></a>
                </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="profile-tab" data-toggle="tab" href="#package" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','blog')->first()->custom_text); ?></a>
                </li>

                <li class="nav-item" role="presentation">
                  <a class="nav-link" id="profile-tab" data-toggle="tab" href="#blog" role="tab" aria-controls="profile" aria-selected="false"><?php echo e($websiteLang->where('lang_key','testimonial')->first()->custom_text); ?></a>
                </li>
              </ul>

              <div class="tab-content" id="myTabContent">
                <div class="tab-pane fade show active mt-5" id="home" role="tabpanel" aria-labelledby="home-tab">
                    <?php
                    $awardSection=$sections->where('id',11)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.banner-award-in-homepage',$awardSection->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($awardSection->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($awardSection->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($awardSection->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

                </div>

                <div class="tab-pane fade mt-5" id="overview" role="tabpanel" aria-labelledby="overview-tab">
                    <?php
                    $overviewSection=$sections->where('id',3)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$overviewSection->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($overviewSection->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($overviewSection->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($overviewSection->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($overviewSection->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($overviewSection->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

                <div class="tab-pane fade mt-5" id="category" role="tabpanel" aria-labelledby="category-tab">
                    <?php
                    $featuredProperties=$sections->where('id',4)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$featuredProperties->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($featuredProperties->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($featuredProperties->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($featuredProperties->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($featuredProperties->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($featuredProperties->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

                <div class="tab-pane fade mt-5" id="urgent" role="tabpanel" aria-labelledby="urgent-tab">
                    <?php
                    $urgentProperties=$sections->where('id',12)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$urgentProperties->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($urgentProperties->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($urgentProperties->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($urgentProperties->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($urgentProperties->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($urgentProperties->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

                <div class="tab-pane fade mt-5" id="listings" role="tabpanel" aria-labelledby="listings-tab">
                    <?php
                   $serviceSection=$sections->where('id',6)->first();
                   ?>
                   <div class="row">
                       <div class="col-md-8">
                           <form action="<?php echo e(route('admin.banner-award-in-homepage',$serviceSection->id)); ?>" method="post">
                               <?php echo csrf_field(); ?>

                               <div class="form-group">
                                   <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                   <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($serviceSection->content_quantity); ?>">
                               </div>

                               <div class="form-group">
                                   <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                   <select name="show_homepage" id="show_homepage" class="form-control">
                                       <option <?php echo e($serviceSection->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                       <option <?php echo e($serviceSection->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                   </select>
                               </div>



                               <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

               </div>



                <div class="tab-pane fade mt-5" id="location" role="tabpanel" aria-labelledby="location-tab">
                    <?php
                    $agent=$sections->where('id',5)->first();
                    ?>
                     <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$agent->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($agent->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($agent->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($agent->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($agent->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($agent->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

                </div>


                <div class="tab-pane fade mt-5" id="package" role="tabpanel" aria-labelledby="package-tab">
                    <?php
                    $blogSection=$sections->where('id',7)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$blogSection->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($blogSection->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($blogSection->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($blogSection->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($blogSection->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($blogSection->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>



                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

                            </form>
                        </div>
                    </div>
                </div>
                <div class="tab-pane fade mt-5" id="blog" role="tabpanel" aria-labelledby="blog-tab">
                    <?php
                    $testimonialSection=$sections->where('id',8)->first();
                    ?>
                    <div class="row">
                        <div class="col-md-8">
                            <form action="<?php echo e(route('admin.feature-in-homepage',$testimonialSection->id)); ?>" method="post">
                                <?php echo csrf_field(); ?>

                                <div class="form-group">
                                    <label for="header"><?php echo e($websiteLang->where('lang_key','header')->first()->custom_text); ?></label>
                                    <input type="text" class="form-control" name="header" id="header" value="<?php echo e($testimonialSection->header); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="description"><?php echo e($websiteLang->where('lang_key','des')->first()->custom_text); ?></label>
                                    <textarea class="form-control" cols="30" rows="5"  id="description" name="description"><?php echo e($testimonialSection->description); ?></textarea>
                                </div>

                                <div class="form-group">
                                    <label for="content_quantity"><?php echo e($websiteLang->where('lang_key','content_qty')->first()->custom_text); ?></label>
                                    <input type="number" name="content_quantity" id="content_quantity" class="form-control" value="<?php echo e($testimonialSection->content_quantity); ?>">
                                </div>

                                <div class="form-group">
                                    <label for="show_homepage"><?php echo e($websiteLang->where('lang_key','show_homepage')->first()->custom_text); ?></label>
                                    <select name="show_homepage" id="show_homepage" class="form-control">
                                        <option <?php echo e($testimonialSection->show_homepage==1 ? 'selected':''); ?> value="1"><?php echo e($websiteLang->where('lang_key','yes')->first()->custom_text); ?></option>
                                        <option <?php echo e($testimonialSection->show_homepage==0 ? 'selected':''); ?> value="0"><?php echo e($websiteLang->where('lang_key','no')->first()->custom_text); ?></option>
                                    </select>
                                </div>
                                <button type="submit" class="btn btn-success"><?php echo e($websiteLang->where('lang_key','update')->first()->custom_text); ?></button>

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

              </div>

        </div>

    </div>

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

<?php echo $__env->make('layouts.admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/cloudelite/imobi.eliteteclda.com/resources/views/admin/home-section/index.blade.php ENDPATH**/ ?>