home
/
zktecojo
/
public_html
/
app
/
storage
/
views
/
test
➕ New
📤 Upload
✎ Editing:
75659679c9b6f023033f232484d39d8c
← Back
<?php $__env->startSection('metatags'); ?> <meta name="description" content="<?php echo e($websiteSettings->contact_meta_description); ?>" /> <meta name="keywords" content="<?php echo e($websiteSettings->contact_meta_keyword); ?>" /> <meta name="author" content="<?php echo e($websiteSettings->contact_meta_author); ?>" /> <?php $__env->stopSection(); ?> <?php $__env->startSection('seoPageTitle'); ?> <title><?php echo (!empty($websiteSettings->contact_page_title))?$websiteSettings->contact_page_title:'esolutions'; ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="container"> <section class="innerBnner" > <?php if(!empty($officeLocations)) { ?> <div id="map_canvas" style="height:370px;"></div> <?php } ?> </section> </div> <section class="pageContainer"> <div class="container"> <div class="innerPageContent"> <div class="contact-wrap row"> <div class="col-sm-8"> <h1 class="title"><?php echo e($pageSubTitle); ?></h1> <?php if(!empty($errorMessage)){ ?> <?php echo $errorMessage; ?> <?php } ?> <?php echo Form::open(array('url' => 'contact-us/','class'=>'contactFormRow','id'=>'contactForm')); ?> <div class="row"> <div class="col-sm-12"> <div class="form-group"> <label for="name" class="control-label">Name</label> <input type="text" class="form-control" id="name" name="name" placeholder="Your Name" value=""> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <label for="email" class="control-label">Email</label> <input type="text" class="form-control" id="email" name="email" placeholder="Your Email" value=""> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label for="email" class="control-label">Phone</label> <input type="text" class="form-control" id="phone" name="phone" placeholder="Your phone" value=""> </div> </div> </div> <div class="form-group"> <label for="message" placeholder="Your Message" class=" control-label">Message</label> <textarea placeholder="Your Message" class="form-control" rows="4" name="usermessage"></textarea> </div> <div class="form-group"> <div class="captchaImgWrap"> <img id="captchaImage" src="<?php echo asset('/captcha')?>" width="120"/> </div> <div class="refresh"> <i class="fa fa-refresh"></i></div> <div class="captchaTextFeild"> <input type="text" class="form-control" id="captcha" name="captcha" placeholder="Enter Captcha Here" > </div> </div> <input type="hidden" name="submitd" value="submit" /> <input id="submitbtn" name="submitBhn" type="submit" value="Send A Message" class="btn btn-primary submit"> </form> </div> <div class="col-sm-4"> <div class="contactAddressWrap"> <h3>Office locations</h3> <?php foreach($officeLocations as $locations){ ?> <ul class="contactAdd"> <?php if(!empty($locations->location_address1)) { ?> <li><h4><?php echo $locations->location_address1; ?></h4></li><?php } ?> <?php if(!empty($locations->location_address2)) { ?><li><?php echo $locations->location_address2; ?></li><?php } ?> <?php if(!empty($locations->location_address3)) { ?><li><?php echo $locations->location_address3; ?></li><?php } ?> <?php if(!empty($locations->location_phone)) { ?><li> <b><?php echo $locations->location_phone; ?> </b></li><?php } ?> <?php if(!empty($locations->location_website)) { ?><li> <a href="http://<?php echo $locations->location_website; ?>" target="blank"><?php echo $locations->location_website; ?></a></li><?php } ?> </ul> <?php } ?> <!--<a href="http://www.esolution-pt.com">www.esolution-pt.com</a>--> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> @parent <?php if(!empty($officeLocations)) { ?> <script src="http://maps.google.com/maps/api/js?sensor=false"></script> <script>var latLongArr = [],markers=[]; var mapOptions = { center: new google.maps.LatLng(<?php echo $websiteSettings->map_latitude; ?>, <?php echo $websiteSettings->map_longitude; ?>), zoom: 2 }; var map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);<?php foreach($officeLocations as $locations){ ?>var myLatlng = new google.maps.LatLng(<?php echo $locations->map_latitude ?>,<?php echo $locations->map_longitude ?>); var marker = new google.maps.Marker({ position: myLatlng, map: map, title: '<?php echo $locations->location_address1 ?>' }); markers.push(marker);<?php } ?> </script> <?php } ?> <script> function validateEmail($email) { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; return emailReg.test( $email ); } $(document).ready(function() { // var $img = $('#captchaImage'); var $loader = $('#captchaImage'); $('#contactForm').find('input,textarea').on('keypress',function(){ if($(this).val()){ $(this).removeClass('inputError'); } }); $('#submitbtn').on('click',function(e){ e.preventDefault(); var valid = true; $('#contactForm').find('input,textarea').each(function(i,v){ if(!$(this).val()){ valid = false; $(this).addClass('inputError'); } if($(this).attr('name')=='email'){ if(!validateEmail($(this).val())){ valid = false; $(this).addClass('inputError'); } } }); if(!valid) return; $('#contactForm').submit(); }); $('.fa-refresh').on('click',function() { d = new Date(); $("#captchaImage").attr("src", "<?php echo asset('/captcha')?>?"+d.getTime()); /* $.ajax({ url: '<?php echo asset('/captcha')?>', success: function(data) { var $img = $(document.createElement('img')); // $loader.one('load', function() { $img.attr('src', data); // }); $('.captchaLabel').html($img); } }); */ /* var $loader = $(document.createElement('img')); $.get('<?php echo asset('/captcha')?>', function(data) { $loader.one('load', function() { $img.attr('src', $loader.attr('src')); }); $loader.attr('src', data); }); */ }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.frontend.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel