"; header ("Cache-Control: must-revalidate, post-check=0, pre-check=0"); // error_reporting(E_ALL); include("include/common.php"); // echo "t1"; global $conn, $lang, $config, $HTTP_GET_VARS; $strType = $_GET['type']; $arrAreas = $_GET['tareas']; $strPriceMin = $_GET['min']; $strPriceMax = $_GET['max']; $strBeds = $_GET['beds']; $strPage = $_GET['pg']; $strIDs = $_GET['ids']; $strPricePerFootMax = $_GET['ppfmx']; $strPricePerFootMin = $_GET['ppfmn']; $arrStreetNum = $_GET['snum']; $strStreetName = $_GET['sname']; $strbcr = $_GET['bcr']; $strbcrLink = $_GET['bcrlink']; $strDisplaybcr = str_replace("-", " ", $strbcr); if (strlen($strbcrLink) < 1) { $page_name = $_SERVER['HTTP_REFERER']; $nSlashPos = strrpos($page_name, "/"); if ($nSlashPos !== FALSE) { $strbcrLink = substr( $page_name, $nSlashPos + 1); $strbcrLink = str_replace(".htm", "", $strbcrLink); // echo "link3 = $strbcrLink "; } } $Breadcrumbs = " Home » " . $strDisplaybcr . " » Search Results"; // error_reporting(~0); //ini_set('display_errors', 1); //echo "t2"; include("$config[template_path]/new_user_top_no_featured2.html"); //echo "t3"; if ($strPage < 1) { $strPage = 1; } foreach ($arrAreas as $strOneArea) { $strParams .= "tareas[]=$strOneArea&"; } foreach ($arrStreetNum as $strStreetNum) { $strParams .= "snum[]=$strStreetNum&"; } $strParams .= "min=$strPriceMin"; $strParams .= "&max=$strPriceMax"; $strParams .= "&beds=$strBeds"; $strParams .= "&type=$strType"; $strParams .= "&pg=$strPage"; $strParams .= "&ids=$strIDs"; $strParams .= "&ppfmx=$strPricePerFootMax"; $strParams .= "&ppfmn=$strPricePerFootMin"; $strParams .= "&sname=$strStreetName"; $strParams .= "&bcr=$strbcr"; $strParams .= "&bcrlink=$strbcrLink"; $strTheContent = " "; $strUrl = $config['baseurl'] . "/SearchResults_noheader.htm?"; $strUrl .= "$strParams "; //echo "$strUrl"; // echo "t2"; //echo "t4"; $strTheContent = getFile($strUrl); //echo "t5"; if ($strTheContent == FALSE) { echo "false"; } // Change the url. $strTheContent = str_replace("SearchResults_noheader.htm", "SearchResults.htm", $strTheContent); //$strfile = str_replace("MDetails.htm", "CondoDetails.htm", $strfile); //$strfile = str_replace("tareas[]", "tareas", $strfile); echo "
"; echo $strTheContent; //readfile($strUrl); include("$config[template_path]/new_user_bottom_no_featured.html"); ?>