Viewing file: 2466b8da34dd3deeb621b5cb47e9de5b4ab1f201.php (80.28 KB) -rwxrwxr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title',trans('layout.frontend_template')); ?> <?php $__env->startSection('css'); ?> <link href="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote.min.css" rel="stylesheet"> <?php $__env->stopSection(); ?> <?php $__env->startSection('main-content'); ?> <?php $template = json_decode(get_settings('frontend_template')); ?> <div class="row page-titles mx-0"> <div class="col-sm-6 p-md-0"> <div class="welcome-text"> <h4><?php echo e(trans('layout.frontend_template')); ?></h4> <p class="mb-0"></p> </div> </div> <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#"><?php echo e(trans('layout.home')); ?></a></li> <li class="breadcrumb-item active"><a href="javascript:void(0)"><?php echo e(trans('layout.frontend_template')); ?></a> </li> </ol> </div> </div> <!-- row -->
<div class="row"> <div class="col-xl-12 col-xxl-12"> <div class="card"> <form action="<?php echo e(route('template.store')); ?>" method="post" id="step-form-horizontal" class="step-form-horizontal" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <input type="hidden" name="id" value="<?php echo e(old('id')?old('id'):(isset($template->id)?$template->id:'')); ?>"> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.banner_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('title')?old('title'):(isset($template->title)?$template->title:'')); ?>" type="text" name="title" class="form-control" placeholder="Ex: It's the food and groceries" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('banner_sub_title')?old('banner_sub_title'):(isset($template->banner_sub_title)?$template->banner_sub_title:'')); ?>" type="text" name="banner_sub_title" class="form-control" placeholder="Enter Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('Video')); ?></label> <div class="input-group"> <div class="custom-file"> <input name="bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> </div> </section> </div> </div>
<?php $demo = config('app.demo_mode'); ?> <?php if(isset($demo) && $demo): ?> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.demo_banner_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('title')?old('title'):(isset($template->demo_banner_title)?$template->demo_banner_title:'')); ?>" type="text" name="demo_banner_title" class="form-control" placeholder="Ex: It's the food and groceries" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('demo_banner_sub_title')?old('demo_banner_sub_title'):(isset($template->demo_banner_sub_title)?$template->demo_banner_sub_title:'')); ?>" type="text" name="demo_banner_sub_title" class="form-control" placeholder="Enter Sub Title" required> </div> </div> </div> </section> </div> </div> <?php endif; ?> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_two')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_two_sub_title')?old('section_two_sub_title'):(isset($template->section_two_sub_title)?$template->section_two_sub_title:'')); ?>" type="text" name="section_two_sub_title" class="form-control" placeholder="Enter Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <textarea class="form-control" id="section-two-title" name="section_two_title" cols="5" rows="5" placeholder="Enter Title" required><?php echo e(old('section_two_title')?old('section_two_title'):(isset($template->section_two_title)?$template->section_two_title:'')); ?></textarea> </div> </div>
</div> <div class="row"> <div class="col-lg-12"> <h6 class="card-title text-primary"><?php echo e(trans('Counters')); ?></h6> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_title_one')); ?>*</label> <input value="<?php echo e(old('section_two_counter_title_one')?old('section_two_counter_title_one'):(isset($template->section_two_counter_title_one)?$template->section_two_counter_title_one:'')); ?>" type="text" name="section_two_counter_title_one" class="form-control" placeholder="Enter Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_value_one')); ?>*</label> <input value="<?php echo e(old('section_two_counter_value_one')?old('section_two_counter_value_one'):(isset($template->section_two_counter_value_one)?$template->section_two_counter_value_one:'')); ?>" type="number" name="section_two_counter_value_one" class="form-control" placeholder="Enter Value" required> </div> </div>
<div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_title_two')); ?>*</label> <input value="<?php echo e(old('section_two_counter_title_two') ? old('section_two_counter_title_two') : (isset($template->section_two_counter_title_two) ? $template->section_two_counter_title_two : '')); ?>" type="text" name="section_two_counter_title_two" class="form-control" placeholder="Enter Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_value_two')); ?>*</label> <input value="<?php echo e(old('section_two_counter_value_two') ? old('section_two_counter_value_two') : (isset($template->section_two_counter_value_two) ? $template->section_two_counter_value_two : '')); ?>" type="number" name="section_two_counter_value_two" class="form-control" placeholder="Enter Value" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_title_three')); ?>*</label> <input value="<?php echo e(old('section_two_counter_title_three') ? old('section_two_counter_title_three') : (isset($template->section_two_counter_title_three) ? $template->section_two_counter_title_three : '')); ?>" type="text" name="section_two_counter_title_three" class="form-control" placeholder="Enter Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_value_three')); ?>*</label> <input value="<?php echo e(old('section_two_counter_value_three') ? old('section_two_counter_value_three') : (isset($template->section_two_counter_value_three) ? $template->section_two_counter_value_three : '')); ?>" type="number" name="section_two_counter_value_three" class="form-control" placeholder="Enter Value" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_title_four')); ?>*</label> <input value="<?php echo e(old('section_two_counter_title_four') ? old('section_two_counter_title_four') : ($template->section_two_counter_title_four ?? '')); ?>" type="text" name="section_two_counter_title_four" class="form-control" placeholder="Enter Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.counter_value_four')); ?>*</label> <input value="<?php echo e(old('section_two_counter_value_four') ? old('section_two_counter_value_four') : ($template->section_two_counter_value_four ?? '')); ?>" type="number" name="section_two_counter_value_four" class="form-control" placeholder="Enter Value" required> </div> </div>
</div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.features_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.main_title')); ?>*</label> <input value="<?php echo e(old('feature_main_title')?old('feature_main_title'):(isset($template->feature_main_title)?$template->feature_main_title:'')); ?>" type="text" name="feature_main_title" class="form-control" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('feature_sub_title')?old('feature_sub_title'):(isset($template->feature_sub_title)?$template->feature_sub_title:'')); ?>" type="text" name="feature_sub_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.image')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 200px by 200px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="feature_bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" name="feature_description" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('feature_description', $template->feature_description ?? '')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title_one')); ?>*</label> <input value="<?php echo e(old('feature_one_title')?old('feature_one_title'):(isset($template->feature_one_title)?$template->feature_one_title:'')); ?>" type="text" name="feature_one_title" class="form-control" placeholder="Enter Your Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title_two')); ?>*</label> <input value="<?php echo e(old('feature_two_title')?old('feature_two_title'):(isset($template->feature_two_title)?$template->feature_two_title:'')); ?>" type="text" name="feature_two_title" class="form-control" placeholder="Enter Your Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title_three')); ?>*</label> <input value="<?php echo e(old('feature_three_title')?old('feature_three_title'):(isset($template->feature_three_title)?$template->feature_three_title:'')); ?>" type="text" name="feature_three_title" class="form-control" placeholder="Enter Your Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title_four')); ?>*</label> <input value="<?php echo e(old('feature_four_title')?old('feature_four_title'):(isset($template->feature_four_title)?$template->feature_four_title:'')); ?>" type="text" name="feature_four_title" class="form-control" placeholder="Enter Your Title" required> </div> </div> </div> </section> </div> </div> <div class="card-header d-none"> <h4 class="card-title text-primary"><?php echo e(trans('layout.features_section')); ?></h4> </div> <div class="card-body d-none"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.main_title')); ?>*</label> <input value="<?php echo e(old('main_title')?old('main_title'):(isset($template->main_title)?$template->main_title:'')); ?>" type="text" name="main_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.first_title')); ?>*</label> <input value="<?php echo e(old('first_title')?old('first_title'):(isset($template->first_title)?$template->first_title:'')); ?>" type="text" name="first_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.first_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 200px by 200px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="first_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.first_description')); ?>*</label> <textarea class="form-control" name="first_description" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('first_description')?old('first_description'):(isset($template)?$template->first_description:'')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sec_title')); ?>*</label> <input value="<?php echo e(old('sec_title')?old('sec_title'):(isset($template->sec_title)?$template->sec_title:'')); ?>" type="text" name="sec_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.sec_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 200px by 200px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="sec_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sec_description')); ?>*</label> <textarea class="form-control" name="sec_description" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('sec_description')?old('sec_description'):(isset($template)?$template->sec_description:'')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.thr_title')); ?>*</label> <input value="<?php echo e(old('thr_title')?old('thr_title'):(isset($template->thr_title)?$template->thr_title:'')); ?>" type="text" name="thr_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.thr_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 200px by 200px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="thr_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.thr_description')); ?>*</label> <textarea class="form-control" name="thr_description" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('thr_description')?old('thr_description'):(isset($template)?$template->thr_description:'')); ?></textarea> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_three')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_three_title')?old('section_three_title'):(isset($template->section_three_title)?$template->section_three_title:'')); ?>" type="text" name="section_three_title" class="form-control" placeholder="Ex: You prepare the food" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_three_sub_title')?old('section_three_sub_title'):(isset($template->section_three_sub_title)?$template->section_three_sub_title:'')); ?>" type="text" name="section_three_sub_title" class="form-control" placeholder="Enter Sub Title" required> </div> </div>
<div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" name="section_three_description" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('section_three_description')?old('section_three_description'):(isset($template->section_three_description)?$template->section_three_description:'')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.background_image')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 500px by 280px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="section_three_bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.plan_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_four_title')?old('section_four_title'):(isset($template->section_four_title)?$template->section_four_title:'')); ?>" type="text" name="section_four_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_four_sub_title')?old('section_four_sub_title'):(isset($template->section_four_sub_title)?$template->section_four_sub_title:'')); ?>" type="text" name="section_four_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('how work section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_work_title')?old('section_work_title'):(isset($template->section_work_title)?$template->section_work_title:'')); ?>" type="text" name="section_work_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_work_sub_title')?old('section_work_sub_title'):(isset($template->section_work_sub_title)?$template->section_work_sub_title:'')); ?>" type="text" name="section_work_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('Blog section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_blog_title')?old('section_blog_title'):(isset($template->section_blog_title)?$template->section_blog_title:'')); ?>" type="text" name="section_blog_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_blog_sub_title')?old('section_blog_sub_title'):(isset($template->section_blog_sub_title)?$template->section_blog_sub_title:'')); ?>" type="text" name="section_blog_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_comment')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.first_name')); ?>*</label> <input value="<?php echo e(old('first_name')?old('first_name'):(isset($template->first_name)?$template->first_name:'')); ?>" type="text" name="first_name" class="form-control" placeholder="Ex: List your restaurant" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.first_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 160px by 147px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="first_comment_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.first_comment')); ?>*</label> <textarea class="form-control" name="first_comment" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('first_comment')?old('first_comment'):(isset($template->first_comment)?$template->first_comment:'')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sec_name')); ?>*</label> <input value="<?php echo e(old('sec_name')?old('sec_name'):(isset($template->sec_name)?$template->sec_name:'')); ?>" type="text" name="sec_name" class="form-control" placeholder="Ex: List your restaurant" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.sec_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 160px by 147px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="sec_comment_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sec_comment')); ?>*</label> <textarea class="form-control" name="sec_comment" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('sec_comment')?old('sec_comment'):(isset($template->sec_comment)?$template->sec_comment:'')); ?></textarea> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.thr_name')); ?>*</label> <input value="<?php echo e(old('thr_name')?old('thr_name'):(isset($template->thr_name)?$template->thr_name:'')); ?>" type="text" name="thr_name" class="form-control" placeholder="Ex: List your restaurant" required> </div> </div> <div class="col-lg-6 mb-2"> <label class="text-label"><?php echo e(trans('layout.thr_img')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 160px by 147px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="thr_comment_img" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.thr_comment')); ?>*</label> <textarea class="form-control" name="thr_comment" cols="30" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('thr_comment')?old('thr_comment'):(isset($template->thr_comment)?$template->thr_comment:'')); ?></textarea> </div> </div> </div> </section> </div> </div> <div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_six')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_six_title')?old('section_six_title'):(isset($template->section_six_title)?$template->section_six_title:'')); ?>" type="text" name="section_six_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_six_sub_title')?old('section_six_sub_title'):(isset($template->section_six_sub_title)?$template->section_six_sub_title:'')); ?>" type="text" name="section_six_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" name="section_six_description" cols="5" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('section_six_description')?old('section_six_description'):(isset($template->section_six_description)?$template->section_six_description:'')); ?></textarea> </div> </div> <div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.background_image')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 500px by 280px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="section_six_bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-12"> <button type="button" class="btn btn-primary float-right add-more-feature-btn" id="">Add More</button> </div> <div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.features')); ?></label> <div id="features-container"> <div class="feature-item"> <input type="text" name="features[]" class="form-control" placeholder="Enter feature"> </div> </div> </div> <?php $section_six_features_items = isset($template->section_six_features) ? $template->section_six_features : [];
if (is_string($section_six_features_items)) { $section_six_features = json_decode($section_six_features_items, true); } elseif (is_array($section_six_features_items)) { $section_six_features = $section_six_features_items; } else { $section_six_features = []; } ?>
<?php if(isset($section_six_features) && $section_six_features): ?> <?php $__currentLoopData = $section_six_features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key_of_six_section => $six_sec_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-12"> <div class="row align-items-center" id="form_column_<?php echo e($key_of_six_section); ?>"> <div class="col-lg-10"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.feature_item')); ?>*</label> <input value="<?php echo e($six_sec_item ?? ''); ?>" type="text" name="section_six_features[]" class="form-control" placeholder=""> </div> </div> <div class="col-lg-2"> <button type="button" class="btn btn-danger btn-sm mt-4 section_six_rmv-btn" data-id="<?php echo e($key_of_six_section); ?>">X</button> </div>
</div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?>
<div class="col-lg-12" id="section_six_new_items"></div> </div> </section> </div> </div> <div class="card-header "> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_seven')); ?></h4> </div> <div class="card-body "> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_seven_title') ? old('section_seven_title') : (isset($template->section_seven_title) ? $template->section_seven_title : '')); ?>" type="text" name="section_seven_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_seven_sub_title') ? old('section_seven_sub_title') : (isset($template->section_seven_sub_title) ? $template->section_seven_sub_title : '')); ?>" type="text" name="section_seven_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" name="section_seven_description" cols="5" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('section_seven_description')?old('section_seven_description'):(isset($template->section_seven_description)?$template->section_seven_description:'')); ?></textarea> </div> </div>
<div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.background_image')); ?>
<span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 500px by 280px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="section_seven_bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div>
<div class="col-lg-12"> <button type="button" class="btn btn-primary float-right add-more-feature-seven-btn">Add More</button> </div>
<div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.features')); ?></label> <div id="features-seven-container"> <div class="feature-item"> <input type="text" name="features_seven[]" class="form-control" placeholder="Enter feature"> </div> </div> </div>
<?php $section_seven_features_items = isset($template->section_seven_features) ? $template->section_seven_features : []; $section_seven_features = []; if (!empty($section_seven_features_items)) { $section_seven_features = json_decode($section_seven_features_items, true); } ?> <?php if(isset($section_seven_features) && $section_seven_features): ?> <?php $__currentLoopData = $section_seven_features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key_of_seven_section => $seven_sec_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-12"> <div class="row align-items-center" id="form_column_seven_<?php echo e($key_of_seven_section); ?>"> <div class="col-lg-10"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.feature_item')); ?>*</label> <input value="<?php echo e($seven_sec_item ?? ''); ?>" type="text" name="section_seven_features[]" class="form-control" placeholder=""> </div> </div> <div class="col-lg-2"> <button type="button" class="btn btn-danger btn-sm mt-4 section_seven_rmv-btn" data-id="<?php echo e($key_of_seven_section); ?>">X</button> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?>
<div class="col-lg-12" id="section_seven_new_items"></div> </div> </section> </div> </div>
<div class="card-header "> <h4 class="card-title text-primary"><?php echo e(trans('layout.section_eight')); ?></h4> </div> <div class="card-body "> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_eight_title') ?? ($template->section_eight_title ?? '')); ?>" type="text" name="section_eight_title" class="form-control" placeholder="Title" required> </div> </div>
<div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('section_eight_sub_title') ?? ($template->section_eight_sub_title ?? '')); ?>" type="text" name="section_eight_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" name="section_eight_description" cols="5" rows="5" placeholder="Ex: Would you like millions" required><?php echo e(old('section_eight_description')?old('section_eight_description'):(isset($template->section_eight_description)?$template->section_eight_description:'')); ?></textarea> </div> </div> <div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.background_image')); ?>
<span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 500px by 280px)</span> </label> <div class="input-group"> <div class="custom-file"> <input name="section_eight_bg_image" type="file" class="custom-file-input"> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div>
<div class="col-lg-12"> <button type="button" class="btn btn-primary float-right add-more-feature-btn-eight">Add More</button> </div> <div class="col-lg-12 mb-2"> <label class="text-label"><?php echo e(trans('layout.features')); ?></label> <div id="features-eight-container"> <div class="feature-item"> <input type="text" name="features_eight[]" class="form-control" placeholder="Enter feature"> </div> </div> </div> <?php $section_eight_features_items = $template->section_eight_features ?? '[]'; $section_eight_features = json_decode($section_eight_features_items); ?>
<?php if(!empty($section_eight_features)): ?> <?php $__currentLoopData = $section_eight_features; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key_of_eight_section => $eight_sec_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-12"> <div class="row align-items-center" id="eight_form_column_<?php echo e($key_of_eight_section); ?>"> <div class="col-lg-10 mb-3"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.feature_item')); ?>*</label> <input value="<?php echo e($eight_sec_item ?? ''); ?>" type="text" name="section_eight_features[]" class="form-control" placeholder="" required> </div> </div> <div class="col-lg-2"> <button type="button" class="btn btn-danger btn-sm mt-4 section_eight_rmv-btn" data-id="<?php echo e($key_of_eight_section); ?>">X</button> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?>
<div class="col-lg-12" id="section_eight_new_items"></div> </div> </section> </div>
<div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.subscribe_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('section_five_title')?old('section_five_title'):(isset($template->section_five_title)?$template->section_five_title:'')); ?>" type="text" name="section_five_title" class="form-control" placeholder="Ex: List your restaurant" required> </div> </div> </div> </section> </div> </div>
<div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.contact_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('contact_title')?old('contact_title'):(isset($template->contact_title)?$template->contact_title:'')); ?>" type="text" name="contact_title" class="form-control" placeholder="Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('contact_sub_title')?old('contact_sub_title'):(isset($template->contact_sub_title)?$template->contact_sub_title:'')); ?>" type="text" name="contact_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" id="contact_description" name="contact_description" cols="5" rows="5" placeholder="Enter Description" required><?php echo e(old('contact_description')?old('contact_description'):(isset($template->contact_description)?$template->contact_description:'')); ?></textarea> </div> </div> </div> </section> </div>
</div>
<div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.about_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.title')); ?>*</label> <input value="<?php echo e(old('about_title')?old('about_title'):(isset($template->about_title)?$template->about_title:'')); ?>" type="text" name="about_title" class="form-control" placeholder="Title" required> </div> </div> <div class="col-lg-6 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.sub_title')); ?>*</label> <input value="<?php echo e(old('about_sub_title')?old('about_sub_title'):(isset($template->about_sub_title)?$template->about_sub_title:'')); ?>" type="text" name="about_sub_title" class="form-control" placeholder="Sub Title" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.description')); ?>*</label> <textarea class="form-control" id="about_description" name="about_description" cols="5" rows="5" placeholder="Enter Description" required><?php echo e(old('about_description')?old('about_description'):(isset($template->about_description)?$template->about_description:'')); ?></textarea> </div> </div> </div> </section> </div>
</div>
<div class="card-header"> <h4 class="card-title text-primary"><?php echo e(trans('layout.social_link_section')); ?></h4> </div> <div class="card-body"> <div> <section> <div class="row"> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.facebook')); ?>*</label> <input value="<?php echo e(old('social_link_facebook')?old('social_link_facebook'):(isset($template->social_link_facebook)?$template->social_link_facebook:'')); ?>" type="text" name="social_link_facebook" class="form-control" placeholder="Facebook link" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.youtube')); ?>*</label> <input value="<?php echo e(old('social_link_youtube')?old('social_link_youtube'):(isset($template->social_link_youtube)?$template->social_link_youtube:'')); ?>" type="text" name="social_link_youtube" class="form-control" placeholder="Youtube link" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.linkedin')); ?>*</label> <input value="<?php echo e(old('social_link_linkedin')?old('social_link_linkedin'):(isset($template->social_link_linkedin)?$template->social_link_linkedin:'')); ?>" type="text" name="social_link_linkedin" class="form-control" placeholder="LinkedIn link" required> </div> </div> <div class="col-lg-12 mb-2"> <div class="form-group"> <label class="text-label"><?php echo e(trans('layout.instagram')); ?>*</label> <input value="<?php echo e(old('social_link_instagram')?old('social_link_instagram'):(isset($template->social_link_instagram)?$template->social_link_instagram:'')); ?>" type="text" name="social_link_instagram" class="form-control" placeholder="Instagram link" required> </div> </div> </div> </section> </div> <div class="pull-right mb-4"> <button class="btn btn-primary" type="submit">Submit</button> </div> </div> </form> </div>
</div> </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?> <script src="https://cdn.jsdelivr.net/npm/summernote@0.9.0/dist/summernote.min.js"></script>
<script> $(document).ready(function() { $('#section-two-title,#contact_description,#about_description').summernote(); }); </script>
<script> let section_six_item = 91009; let section_seven_item = 6789;
$(document).on("click", ".add-more-feature-btn", function () { section_six_item++; const section_six_item_html = ` <div class="row align-items-center" id="form_column_${section_six_item}"> <div class="col-lg-10 mb-3"> <div class="form-group"> <label for="FeatureItem_${section_six_item}"><?php echo app('translator')->get('Feature Item'); ?></label> <input type="text" name="section_six_features[]" class="form-control" placeholder="" required> </div> </div> <div class="col-lg-2"> <div class="form-group"> <button type="button" class="btn btn-danger btn-sm mt-4 section_six_rmv-btn" data-id="${section_six_item}">X</button> </div> </div> </div>`; $("#section_six_new_items").append(section_six_item_html); });
$(document).on('click', '.section_six_rmv-btn', function () { const id = $(this).attr('data-id'); $('#form_column_' + id).remove(); });
$(document).on("click", ".add-more-feature-seven-btn", function () { section_seven_item++; const section_seven_item_html = ` <div class="row align-items-center" id="form_column_seven_${section_seven_item}"> <div class="col-lg-10 mb-3"> <div class="form-group"> <label for="FeatureItemSeven_${section_seven_item}"><?php echo app('translator')->get('Feature Item'); ?></label> <input type="text" name="section_seven_features[]" class="form-control" placeholder="" required> </div> </div> <div class="col-lg-2"> <div class="form-group"> <button type="button" class="btn btn-danger btn-sm mt-4 section_seven_rmv-btn" data-id="${section_seven_item}">X</button> </div> </div> </div>`; $("#section_seven_new_items").append(section_seven_item_html); });
$(document).on('click', '.section_seven_rmv-btn', function () { const id = $(this).data('id'); $('#form_column_seven_' + id).remove(); }); </script> <script> let section_eight_item = 939;
$(document).on("click", ".add-more-feature-btn-eight", function () { section_eight_item++; const html = ` <div class="row align-items-center" id="eight_form_column_${section_eight_item}"> <div class="col-lg-10 mb-3"> <div class="form-group"> <label for="FeatureItemEight_${section_eight_item}"><?php echo app('translator')->get('Feature Item'); ?></label> <input type="text" name="section_eight_features[]" class="form-control" placeholder="" required> </div> </div> <div class="col-lg-2"> <div class="form-group"> <button type="button" class="btn btn-danger btn-sm mt-4 section_eight_rmv-btn" data-id="${section_eight_item}">X</button> </div> </div> </div>`; $("#section_eight_new_items").append(html); });
$(document).on('click', '.section_eight_rmv-btn', function () { const id = $(this).data('id'); $('#eight_form_column_' + id).remove(); }); </script>
<script> let section_two_item = 2939;
$(document).on("click", ".add-more-sec-two-btn", function () { section_two_item++; const section_two_html = ` <div class="row align-items-center" id="two_form_column_${section_two_item}"> <div class="col-lg-10 mb-3"> <label class="text-label"><?php echo e(trans('layout.background_image')); ?> <span class="text-danger">(<?php echo e(trans('layout.expecting_image_size')); ?> : 500px by 500px)</span></label> <div class="input-group"> <div class="custom-file"> <input name="section_two_bg_image[]" type="file" class="custom-file-input"> <input name="pre_section_two_bg_image[]" type="hidden" value=""> <label class="custom-file-label"><?php echo e(trans('layout.choose')); ?></label> </div> </div> </div> <div class="col-lg-2"> <div class="form-group"> <button type="button" class="btn btn-danger btn-sm mt-4 section_two_rmv-btn" data-id="${section_two_item}">X</button> </div> </div> </div>`; $("#section-two-pics").append(section_two_html); });
$(document).on('click', '.section_two_rmv-btn', function () { const id = $(this).data('id'); $('#two_form_column_' + id).remove(); }); </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/qr.picotech.app/public_html/resources/views/template/index.blade.php ENDPATH**/ ?>
|