<?php
$module_css_path = ($line_domain['theme'] != "" && $line_domain['theme'] != "default") ? ($path . ('assets/themes/' . $line_domain['theme'] . '/')) : $path;

if(isset($_POST['wb_search'])) {
	$module_params['module_map_search'] = 1;
	$module_params['module_map_search_image'] = '';
	$module_map_search_image = '';
	//echo '<pre>', var_export($module_params, true), '</pre>';
	$wb_srch_fm_uid = '';
	$wb_srch_selected_fm_uid = '';
	$wb_srch_rpp = 20;
	require_once(dirname(__FILE__) . "/../wb_search_results/wb_search_results_default.php");
	
	// Show the search Filter on the left
	$lc = array (
		  'module_id' => $req_modules['wb_search']['module_id'],
		  'module_params' => '',
		  'module_active' => 'yes',
		  'type' => 'module',
		  'location' => 'left',
		  'home_page' => '1',
		  'sec_page' => '1',
		);
		
	$left_pool [] = $lc;

		
}
else {
	$module_dir = "full_adverts_list";
	
	require_once(dirname(__FILE__) . "/full_adverts_list_init.php");
	require_once(dirname(__FILE__) . "/full_adverts_list_default.php");
	
	/*
	$module_params['module_map_search'] = 1;
	$module_params['module_map_search_image'] = '';
	$wb_srch_fm_uid = '';
	$wb_srch_selected_fm_uid = '';
	$wb_srch_rpp = 20;
	//require_once(dirname(__FILE__) . "/../wb_search_results/wb_search_results_init.php");
	require_once(dirname(__FILE__) . "/../wb_search_results/wb_search_results_default.php");
	
	// Show the search Filter on the left
	$lc = array (
		  'module_id' => $req_modules['wb_search']['module_id'],
		  'module_params' => '',
		  'module_active' => 'yes',
		  'type' => 'module',
		  'location' => 'left',
		  'home_page' => '1',
		  'sec_page' => '1',
		);
		
	$left_pool [] = $lc;
	*/
}
?>