"; echo($jscript_ss); ?>

Property Details
"); if (($row['p_propertyclass']=="Residential Letting") or ($row['p_propertyclass']=="Commercial Letting") or ($row['p_propertyclass']=="Industrial Letting")) { echo '£'. number_format($row['p_rent']) ." " .$row['p_rentfrequency']; } else { echo $row['p_pricetype'] . " £" . number_format($row['p_sellingprice']); } if ($row['p_sstc'] == "T") { if ($row['p_propertyclass']=="Residential Letting") { if (($row['p_status']=="Sold") or ($row['p_status']=="Let")) { echo " - Let"; } else { echo " - Let Pending"; } } else { if ($row['p_status']=="Sold") { echo " - Sold"; } else { echo " - SSTC"; } } } echo(" | " . $row['p_bedrooms']); echo(" Bedroom "); echo($row['p_housetype'] ); echo " | " .$row['p_address']; if(!empty($row['p_address1'])){ echo ', ' . $row['p_address1']; } if(!empty($row['p_posttown'])){ echo ', ' . $row['p_posttown']; } echo " ".$row['p_postcode']."

"; if($numberofroompics > 0){ //GALLERY DIV echo("
\"Main
"); } else { echo(" \"Main"); } } else { if(($row['p_picture']!="") && (file_exists("./data/" . str_replace(".jpg","_fs.jpg",$row['p_picture'])))) { echo("
\"Main
"); } else { echo("
\"Main
"); } } //END OF GALLERY DIV echo("
"); if ((isset($_SESSION['minprice'])) && ($mapsearch != 1)) { echo 'Back to Search Results
'; } if($numberofroompics > 0){ echo("View Slideshow
"); } if ($bolCompareIDSet == TRUE) { echo("Remove from Shortlist
View Shortlist
"); } else if ($bolCompareIDSet == FALSE) { echo("Add to Shortlist
"); } echo("
"); if (!empty($row['p_vturl'])) { echo("View Virtual Tour
"); } echo "Printable Details
Arrange A Viewing
View on Google Maps

"; //DETAILS DIV echo("

Property Summary

" . $row['p_adverttext'] . "

"); $sql_inner="SELECT * FROM rooms WHERE r_property_ref ='" . $id . "' ORDER BY r_order"; $result_inner=mysql_query($sql_inner); while($row_inner=mysql_fetch_array($result_inner)) { if(($row_inner['r_roomname']!="")&&($row_inner['r_description']!="")) { echo("

" . $row_inner['r_roomname'] . ""); if(!empty($row_inner['r_dimensions'])) { echo(" - " . $row_inner['r_dimensions']); } echo("

" . $row_inner['r_description'] . "

"); } } if(file_exists("data/" . $id . "EnergyReport_fs.jpg")){ echo "

\"Energy

"; } echo "
"; //END OF DETAILS DIV echo("

Options

"); if ((isset($_SESSION['minprice'])) && ($mapsearch != 1)) { echo 'Back to Search Results
'; } if($numberofroompics > 0){ echo("View Slideshow
"); } if ($bolCompareIDSet == TRUE) { echo("Remove from Shortlist
View Shortlist
"); } else if ($bolCompareIDSet == FALSE) { echo("Add to Shortlist
"); } echo("
"); if (!empty($row['p_vturl'])) { echo("View Virtual Tour
"); } echo "Printable Details
Arrange A Viewing
View on Google Maps

"; } ?>