Example #1
0
<?php

/** no direct access **/
defined('_WPLEXEC') or die('Restricted access');
?>
<script type="text/javascript">
var wpl_listing_request_str = '<?php 
echo wpl_global::generate_request_str();
?>
';
var wpl_listing_limit = <?php 
echo $this->model->limit;
?>
;
var wpl_listing_total_pages = <?php 
echo $this->total_pages;
?>
;
var wpl_listing_current_page = <?php 
echo $this->page_number;
?>
;
var wpl_listing_last_search_time = 0;

/** CSS Class **/
var wpl_current_property_css_class;

wplj(document).ready(function()
{
	main_win_size = wplj(window).width();
	if((main_win_size <= 480 ))