Sindbad~EG File Manager

Current Path : /home/xiedrke/entrepot/wp-content/plugins/realpress/views/frontend/classic/shortcodes/
Upload File :
Current File : /home/xiedrke/entrepot/wp-content/plugins/realpress/views/frontend/classic/shortcodes/half-map.php

<?php

use RealPress\Helpers\Template;
use RealPress\Helpers\SourceAsset;

if ( ! isset( $data ) ) {
	return;
}

$template = Template::instance();
?>
	<div class="realpress-sm-setion">
		<div id="realpress-search-with-map">
			<section id="realpress-map-property-wrapper">
				<?php
				$template->get_frontend_template_type_classic( 'shortcodes/property-map.php', compact( 'data' ) );
				?>
				<div id="realpress-swm-proprerty-area">
					<div id="realpress-search-nav" class="realpress-search-nav-sticky">
						<?php
						ob_start();

						$template->get_frontend_template_type_classic( 'shortcodes/advanced-search.php', compact( 'data' ) );
						$html_advanced_search = ob_get_contents();

						ob_clean();

						ob_end_flush();

						echo apply_filters( 'realpress/shortcodes/custom-advanced-search', $html_advanced_search );

						?>
					</div>
					<?php $template->get_frontend_template_type_classic( 'shortcodes/property-list.php', compact( 'data' ) ); ?>
				</div>
			</section>
		</div>
		<div id="realpress-mobile-map-switch">
			<button type="button" class="realpress-property-view active">
				<i class="rp-list-alt"></i>
				<span><?php esc_html_e( 'Property', 'realpress' ); ?></span>
			</button>
			<button type="button" class="realpress-map-view">
				<i class="rp-map"></i>
				<span><?php esc_html_e( 'Map', 'realpress' ); ?></span>
			</button>
		</div>
	</div>
<?php
$source_asset = SourceAsset::getInstance();
wp_enqueue_script(
	'realpress-search-half-map-sc',
	$source_asset->get_asset_frontend_file_url( 'js', 'realpress-search-half-map-sc' ),
	array(),
	$source_asset->get_version(),
	true
);
wp_enqueue_style(
	'realpress-search-half-map-sc',
	$source_asset->get_asset_frontend_file_url( 'css', 'realpress-search-half-map-sc' ),
	array(),
	$source_asset->get_version(),
	'all'
);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists