One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
Edit File Name :
b8df7a3f12a724a6e431d361d3c23580743e685c.php
<?php $userDefaultLang = \App\Models\User\Language::where([ ['user_id',\Illuminate\Support\Facades\Auth::id()], ['is_default',1] ])->first(); $userLanguages = \App\Models\User\Language::where('user_id',\Illuminate\Support\Facades\Auth::id())->get(); ?> <?php if ($__env->exists('user.partials.rtl-style')) echo $__env->make('user.partials.rtl-style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Contact Page')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Contact Page')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-10"> <div class="card-title"><?php echo e(__('Update Contact')); ?></div> </div> <div class="col-lg-2"> <?php if(!is_null($userDefaultLang)): ?> <?php if(!empty($userLanguages)): ?> <select name="userLanguage" class="form-control" onchange="window.location='<?php echo e(url()->current() . '?language='); ?>'+this.value"> <option value="" selected disabled><?php echo e(__('Select a Language')); ?></option> <?php $__currentLoopData = $userLanguages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($lang->code); ?>" <?php echo e($lang->code == request()->input('language') ? 'selected' : ''); ?>><?php echo e($lang->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <?php endif; ?> <?php endif; ?> </div> </div> </div> <div class="card-body pt-5 pb-5"> <div class="row"> <div class="col-lg-6 offset-lg-3"> <form id="contactSecForm" action="<?php echo e(route('user.contact.update', ['language' => request()->input('language')])); ?>" method="POST" enctype="multipart/form-data" > <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <div class="col-12 mb-2"> <label for="image"><strong><?php echo e(__('Contact Form Image')); ?></strong></label> </div> <div class="col-md-12 showImage mb-3"> <img src="<?php echo e(isset($data->contact_form_image) ? asset('assets/front/img/user/'.$data->contact_form_image) : asset('assets/admin/img/noimage.jpg')); ?>" alt="..." class="img-thumbnail"> </div> <input type="file" name="contact_form_image" id="image" class="form-control"> <?php if($errors->has('contact_form_image')): ?> <p class="mt-2 mb-0 text-danger"><?php echo e($errors->first('contact_form_image')); ?></p> <?php endif; ?> </div> </div> </div> <div class="form-group"> <label for=""><?php echo e(__('Form Title')); ?></label> <input type="text" class="form-control" name="contact_form_title" value="<?php echo e($data->contact_form_title ?? ''); ?>" placeholder="Enter title"> <?php if($errors->has('contact_form_title')): ?> <p class="mt-2 mb-0 text-danger"><?php echo e($errors->first('contact_form_title')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label for=""><?php echo e(__('Form Subtitle')); ?></label> <input type="text" class="form-control" name="contact_form_subtitle" value="<?php echo e($data->contact_form_subtitle ?? ''); ?>" placeholder="Enter Subtitle"> <?php if($errors->has('contact_form_subtitle')): ?> <p class="mt-2 mb-0 text-danger"><?php echo e($errors->first('contact_form_subtitle')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Address')); ?></label> <textarea class="form-control" name="contact_addresses" rows="3"><?php echo e($data->contact_addresses ?? null); ?></textarea> <p class="mb-0 text-warning"><?php echo e(__('Use newline to seperate multiple addresses.')); ?></p> <?php if($errors->has('contact_addresses')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('contact_addresses')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Phone')); ?></label> <input class="form-control" name="contact_numbers" data-role="tagsinput" value="<?php echo e($data->contact_numbers ?? null); ?>" /> <p class="mb-0 text-warning"><?php echo e(__('Use comma (,) to seperate multiple contact numbers.')); ?></p> <?php if($errors->has('contact_numbers')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('contact_numbers')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Email')); ?></label> <input class="form-control ltr" name="contact_mails" data-role="tagsinput" value="<?php echo e($data->contact_mails ?? null); ?>" > <p class="mb-0 text-warning"><?php echo e(__('Use comma (,) to seperate multiple contact mails.')); ?></p> <?php if($errors->has('contact_mails')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('contact_mails')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Latitude')); ?> </label> <input class="form-control" name="latitude" value="<?php echo e($data->latitude ?? null); ?>"> <?php if($errors->has('latitude')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('latitude')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Longitude')); ?></label> <input class="form-control" name="longitude" value="<?php echo e($data->longitude ?? null); ?>"> <?php if($errors->has('longitude')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('longitude')); ?></p> <?php endif; ?> </div> <div class="form-group"> <label><?php echo e(__('Map Zoom')); ?></label> <input class="form-control" name="map_zoom" value="<?php echo e($data->map_zoom ?? 12); ?>"> <?php if($errors->has('map_zoom')): ?> <p class="mb-0 text-danger"><?php echo e($errors->first('map_zoom')); ?></p> <?php endif; ?> </div> </form> </div> </div> </div> <div class="card-footer"> <div class="row"> <div class="col-12 text-center"> <button type="submit" form="contactSecForm" class="btn btn-success"> <?php echo e(__('Update')); ?> </button> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/contact.blade.php ENDPATH**/ ?>
Save