get_using_id($_SESSION['user_id']); //echo $_REQUEST['user_id']; // Grab all the listings list ($listings, $sort, $total, $start) = get_all_listings($_GET['sort'], $_REQUEST['user_id'], $_GET['start'], $limit_results, $_GET['order_by'], $user->user_level, $page, $search, $search_type); $current_page = floor(($start - 1)/$limit_results) + 1; // Make a duplicate query string so that it could be carried over to the next page. $action = $_REQUEST['action']; $keyword = $_REQUEST['keyword']; $bedrooms = $_REQUEST['bedrooms']; $bathrooms = $_REQUEST['bathrooms']; $list_country = $_REQUEST['list_country']; $list_province = $_REQUEST['list_province']; $list_city = $_REQUEST['list_city']; $list_area = $_REQUEST['list_area']; $price_from = $_REQUEST['price_from']; $price_to = $_REQUEST['price_to']; $property_type = $_REQUEST['property_type']; $search_query = "&action=$action&keyword=$keyword&list_country=$list_country&list_province=$list_province&list_city=$list_city&list_area=$list_area&price_from=$price_from&price_to=$price_to&property_type=$property_type&bedrooms=$bedrooms&bathrooms=$bathrooms"; echo span_results($limit_results, $total, $current_page, $start, $search_query, 5); ?>
".$lang['index_no_search_results'].""; echo "
"; } for ($i = 0; $i < count($listings); $i++) { $photo = new Photo($listings[$i]['list_id']); // Grab all the photo info $picture = $photo->get_using_id(); // Picture or no picture $pic = ($picture[0]['pic_location'] != '' && file_exists("photos/thumbs/".$picture[0]['pic_location'])) ? 'watermark.php?pic_location='.$picture[0]['pic_location'].'&status='.$listings[$i]['list_status'] : 'photos/thumbs/no_pic.gif'; $listings[$i]['list_address'] = preg_replace("'([\r\n][\s])'", "
", $listings[$i]['list_address']); $all_garage_cars[$listings[$i]['list_garage_cars']] ?>
"; // Show the span results echo span_results($limit_results, $total, $current_page, $start, $search_query, 5); } ?>
 # 

&action=more_details'><?=$picture[0][' border='0' class='img-border' width='150' height='100'>



:
:
:
:
:



&action=more_details'>Read more...