<?php

/**
 * Template Name: Listings Search
 *
 * This is the template for "Listings" search results page.
 *
 * @package PlacesterBlueprint
 * @subpackage Template
 */
?>
<style type="text/css">
	#custom {
		display:none;
	}
</style>
<section class="complex-search grid_8 alpha" itemscope itemtype="http://schema.org/SearchResultsPage">
	<?php 
echo PLS_Partials::get_listings_search_form('context=listings&ajax=1&neighborhood_polygons=1&neighborhood_polygons_type=neighborhood');
?>
	<div class="clear"></div>
	<div style="font-size: 16px; font-weight: bold; float: right;" id="pls_listings_search_results"><span id="pls_num_results"></span> listing match your search.</div>
</section>
<div class="grid_8 alpha" id="content" role="main">
    <?php 
echo PLS_Partials::get_listings_list_ajax('context=listings_search&table_id=placester_listings_list');
?>
</div>

?>

<!-- Search List -->
<section id="lvl4">
    <div class="wrapper">

			<section class="left-content">
				<section class="list2">

					<h5><?php 
_e('SEARCH RESULTS', 'manchester');
?>
</h5>

					<?php 
echo PLS_Partials::get_listings_list_ajax('crop_description=1&context=custom_listings_search');
?>
					<?php 
PLS_Listing_Helper::get_compliance(array('context' => 'search', 'agent_name' => false, 'office_name' => false));
?>
				</section> <!-- /list2 -->
			</section> <!-- /left-content -->

<!-- Floating Map -->
			<aside class="sidebar">

				<section id="floating-box">
					<div id="float-div">
						<section class="side-bin">
							<h5><?php 
_e('MAP', 'manchester');
示例#3
0
    		listings.init();
    		
    	});
    </script>

    <div id="slideshow" class="clearfix theme-default left bottomborder grid_8 alpha">
        <?php 
//echo PLS_Map::lifestyle(array(), array('width' => 590, 'height' => 300, 'life_style_search' => true,'show_lifestyle_controls' => true, 'show_lifestyle_checkboxes' => true, 'show_submit' => true, 'lat' => '41.815594', 'lng' => '-71.413879' ) );
?>
        <?php 
//echo PLS_Map::lifestyle_polygon(array(), array('width' => 590, 'height' => 300, 'life_style_search' => true,'show_lifestyle_controls' => true, 'show_lifestyle_checkboxes' => true, 'show_submit' => true, 'lat' => '41.815594', 'lng' => '-71.413879' ) );
?>
        <?php 
echo PLS_Map::listings(null, array('width' => 950, 'height' => 400));
?>
        <?php 
//echo PLS_Map::polygon(null, array('width' => 590, 'height' => 250, 'zoom' => 16,'map_js_var' => 'test2', 'canvas_id' => 'another2', 'polygon_search' => 'neighborhood', 'search_class' => 'another'));
?>

        <?php 
echo PLS_Partials::get_listings_search_form(array('context' => 'home_map', 'search_id' => 'another', 'class' => 'another', 'bedrooms' => 1, 'min_beds' => 0, 'max_beds' => 0, 'bathrooms' => 0, 'min_baths' => 0, 'max_baths' => 0, 'price' => 0, 'half_baths' => 0, 'property_type' => 0, 'listing_types' => 0, 'zoning_types' => 0, 'purchase_types' => 0, 'available_on' => 0, 'cities' => 0, 'states' => 0, 'zips' => 0, 'neighborhood' => 0, 'county' => 0, 'min_price' => 0, 'max_price' => 0, 'min_price_rental' => 0, 'max_price_rental' => 0, 'neighborhood_polygons' => 0));
?>
    	<?php 
echo PLS_Partials::get_listings_list_ajax(array('context' => 'custom_listings_search', 'table_id' => 'placester_listings_list', 'map_js_var' => 'test2'));
?>
 
    </div>

    <div id="listing" class="grid_8 alpha"></div>
?>
/**
 * Template Name: Client Profile
 *
 * This is the template for the loggedin area of clients
 *
 * @package PlacesterBlueprint
 * @subpackage Template
 */
?>
<style type="text/css">
	.dataTables_length {
		display: none;
	}

</style>
<?php 
if (is_user_logged_in()) {
    ?>
<h1>Your Favorite Listings</h1>		
<div class="grid_8 alpha" id="content" role="main">
    <?php 
    echo PLS_Partials::get_listings_list_ajax('context=listings_search&table_id=placester_fav_list&show_sort=1');
    ?>
</div>
<?php 
} else {
    ?>
<h1>You need to Login or Sign Up</h1>
<?php 
}