| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/rehub-theme/inc/specification/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php
$map_line_location = !empty( $row['map_line_location'] ) ? $row['map_line_location'] : '';
$map_line_longitude = !empty( $row['map_line_longitude'] ) ? $row['map_line_longitude'] : '';
$map_line_latitude = !empty( $row['map_line_latitude'] ) ? $row['map_line_latitude'] : '';
$map_line_key = !empty( $row['map_line_key'] ) ? ' key="'. $row['map_line_key'] .'"' : '';
$map_line_zoom = !empty( $row['map_line_zoom'] ) ? $row['map_line_zoom'] : 10;
?>
<?php if ($map_line_location || $map_line_longitude):?>
<?php if($map_line_location):?>
<div class="wpsm_spec_map_row mt20 mb20">
<?php $location = get_post_meta($postID, $map_line_location, true);?>
<?php echo do_shortcode('[wpsm_googlemap zoom="'. $map_line_zoom .'" location="'. $location .'"'. $map_line_key .']');?>
</div>
<?php elseif($map_line_longitude && $map_line_latitude):?>
<?php $lat = get_post_meta($postID, $map_line_latitude, true);?>
<?php $lng = get_post_meta($postID, $map_line_longitude, true);?>
<?php echo do_shortcode('[wpsm_googlemap zoom="'. $map_line_zoom .'" lat="'.$lat.'" lng="'.$lng.'"'. $map_line_key .']');?>
<?php endif;?>
<?php endif;?>