Sorry, but we are not able to complete the search at the moment.
Error Code: 200
"; } else { $pageHTML = $result['content']; } //print_r($result); function drawImage($idNumber,$pp) { global $pageHTML , $out; // $idNumber = $out[1][] passed as a param $imgPath = ""; for ($i=1; $i<=5; $i=$i+1) { $imgPath=$imgPath.substr(substr($idNumber,0,$i),strlen(substr($idNumber,0,$i))-(strlen(substr($idNumber,0,$i))-($i-1)))."/"; } // |<---- this is 169 characters -------------------------------------------------------------------------------------------------------------------------------------------------------------->| // Add hyperlink to thumbnail image preg_match("/&boat_id={$idNumber}&primary_photo_id=\d+/", $pageHTML, $match); preg_match("/&primary_photo_id=\d+/", $match[0], $match); preg_match("/\d+/", $match[0], $match); if(preg_match("/&boat_id={$idNumber}&primary_photo_id={$match[0]}&primary_photo_url=.*[A-Za-z0-9_%\.]&back/", $pageHTML)){ preg_match("/&boat_id={$idNumber}&primary_photo_id={$match[0]}&primary_photo_url=.*[A-Za-z0-9_%\.]&back/", $pageHTML, $newurlmatch); preg_match("/&primary_photo_url=.*[A-Za-z0-9_%\.]&back/", $newurlmatch[0], $newurlmatch); preg_match("/http.*[A-Za-z0-9_%\.].jpg/", $newurlmatch[0], $newurlmatch); $imgNewSrc=urldecode($newurlmatch[0])."?w=300&h=300&t=".time(); $imgPath=""; } else{ $imgPath=""; } //$imgPath=str_replace("_1_thumb.jpg",$imgPath,$pageHTML); // |<---------- this 54 characters if boat_id is 7 digits -------------->| $pageHTML=str_replace("",$imgPath,$pageHTML); return; } //.gmmktime(0, 0, 0, 1, 1, 1970)." preg_match_all("" , $pageHTML,$out, PREG_PATTERN_ORDER); //print_r($out); foreach ($out[1] as $tempID) { drawImage($tempID,$pp); } // hurrah , lets call the most confusing function . // $strBackText=""; // $strBackLinkClass="backLink"; //die($_SERVER['QUERY_STRING']); $_SESSION['searchResultsURL'] = isset($_SESSION['searchResultsURL']) ? $_SESSION['searchResultsURL'] : ""; if (strpos($_SERVER['QUERY_STRING'],"pl_boat_detail_handler.jsp") == true) { if ($_SESSION['searchResultsURL']==FALSE ) { $init_html = "".$strBackText."