

<?php $__env->startSection('title', __('Whatsapp')); ?>

<?php $__env->startSection('content'); ?>
<!-- main Section -->
<div class="main-body">
	<div class="container-fluid">
		<?php $vipc = vipc(); ?>
		<?php if($vipc['bkey'] == 0): ?> 
		<?php echo $__env->make('backend.partials.vipc', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
		<?php else: ?>
		<div class="row mt-25">
			<div class="col-lg-12">
				<div class="card">
					<div class="card-header">
						<div class="row">
							<div class="col-lg-12">
								<?php echo e(__('Whatsapp')); ?>

							</div>
						</div>
					</div>
					<div class="card-body tabs-area p-0">
						<?php echo $__env->make('backend.partials.theme_options_tabs_nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
						<div class="tabs-body">
							<!--Data Entry Form-->
							<form novalidate="" data-validate="parsley" id="DataEntry_formId">
								<div class="row">
									<div class="col-lg-6">
										<div class="form-group">
											<label for="whatsapp_id">Whatsapp Phone Number</label>
											<input value="<?php echo e($datalist['whatsapp_id']); ?>" type="text" name="whatsapp_id" id="whatsapp_id" class="form-control" placeholder="0123456789">
										</div>
									</div>
									<div class="col-lg-6"></div>
								</div>
								<div class="row">
									<div class="col-lg-6">
										<div class="form-group">
											<label for="whatsapp_text">Text</label>
											<input value="<?php echo e($datalist['whatsapp_text']); ?>" type="text" name="whatsapp_text" id="whatsapp_text" class="form-control" placeholder="Text..">
										</div>
									</div>
									<div class="col-lg-6"></div>
								</div>
								<div class="row">	
									<div class="col-md-4">
										<div class="form-group">
											<label for="position">Position</label>
											<select name="position" id="position" class="chosen-select form-control">
												<option <?php echo e('left' == $datalist['position'] ? "selected=selected" : ''); ?> value="left">Left</option>
												<option <?php echo e('right' == $datalist['position'] ? "selected=selected" : ''); ?> value="right">Right</option>
											</select>
										</div>
									</div>
									<div class="col-md-8"></div>
								</div>
								<div class="row">	
									<div class="col-md-4">
										<div class="form-group">
											<label for="is_publish"><?php echo e(__('Status')); ?></label>
											<select name="is_publish" id="is_publish" class="chosen-select form-control">
											<?php $__currentLoopData = $statuslist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
												<option <?php echo e($row->id == $datalist['is_publish'] ? "selected=selected" : ''); ?> value="<?php echo e($row->id); ?>">
													<?php echo e($row->status); ?>

												</option>
											<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
											</select>
										</div>
									</div>
									<div class="col-md-8"></div>
								</div>
								<div class="row tabs-footer mt-15">
									<div class="col-lg-12">
										<a id="submit-form" href="javascript:void(0);" class="btn blue-btn"><?php echo e(__('Save')); ?></a>
									</div>
								</div>
							</form>
							<!--/Data Entry Form/-->
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php endif; ?>
	</div>
</div>
<!-- /main Section -->

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

<?php $__env->startPush('scripts'); ?>
<!-- css/js -->
<script src="<?php echo e(asset('public/backend/pages/theme_option_whatsapp.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.backend', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home6/metawebd/hotel.metawebdevelopment.cloud/resources/views/backend/theme-options-whatsapp.blade.php ENDPATH**/ ?>