<div id="jobboard_company_address_contact"> <div id="jobboard_map_container"></div> <div class="container-outer"> <div class="container"> <div class="col-md-6"> <?php $latitude = get_post_meta(get_the_ID(), '_jboard_company_address_gmap_latitude', true); $longitude = get_post_meta(get_the_ID(), '_jboard_company_address_gmap_longitude', true); $address = get_post_meta(get_the_ID(), '_jboard_company_address', true); $phone = get_post_meta(get_the_ID(), '_jboard_company_phone', true); $email = get_post_meta(get_the_ID(), '_jboard_company_email', true); jobboard_create_gmaps('jobboard_map_container', $latitude, $longitude); ?> <div class="jobboard_company_map_locator"> <div class="inner"> <h3 class="jb_map_location_name"><?php echo _e('Address:', 'jobboard'); ?> </h3> <ul> <li class="jb_map_address"><i class="fa fa-map-marker"></i> <?php echo $address; ?>
<label for="contact_message"><?php _e('Message', 'jobboard'); ?> </label> <textarea name="contact_message" rows="7" class="form-control" required="required" ></textarea> </div><!-- /.form-group --> <input type="hidden" name="action" value="jobboard_send_contact_form" /> <button type="submit" name="contact_submit" value="1" class="btn btn-send-contact-form" data-loading-text="<?php _e('Sending...', 'jobboard'); ?> "><?php _e('Send', 'jobboard'); ?> </button> <div class="contact-form-status alert alert-success alert-dismissable" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true"><i class="fa fa-times"></i></span><span class="sr-only"><?php _e('Close', 'jobboard'); ?> </span></button> <?php _e('<strong>Thank you!</strong> Your message was sent successfully', 'jobboard'); ?> </div> </form> </div><!-- /.container --> </div><!-- /#content --> <?php $latitude = jobboard_option('gmap_latitude'); $longitude = jobboard_option('gmap_longitude'); jobboard_create_gmaps('jobboard-gmaps', $latitude, $longitude); get_footer();