FEATURED PROPERTY
require "manage/db_connection.php"; $dirThumb=str_replace("../","",$dirThumb); $dirFull=str_replace("../","",$dirFull); $sql="SELECT * FROM ".$prefix."_properties WHERE state='1' AND featured='1' ORDER BY id DESC LIMIT 0 , 15"; $result=mysql_query($sql) or die("Extracting Properties Data Failed!Permanent Error: " . mysql_error()); if($result AND mysql_num_rows($result)>0) { $i=0; while($row=mysql_fetch_array($result)) { $ixds[$i]=$row['id']; $i++; } $fId=$ixds[rand(0,(count($ixds)-1))]; } else { ?>
There are no featured listings defined! |
Permanent Error: " . mysql_error()); if($result AND mysql_num_rows($result)>0) { $row=mysql_fetch_array($result); } ?> Permanent Error: " . mysql_error()); if($result2 AND mysql_num_rows($result2)>0) { while($row2=mysql_fetch_array($result2)) { if($row2['name'] AND file_exists($dirThumb.$row2['name'])) { $gThumb=$dirThumb.$row2['name']; } else { $gThumb=""; } } } } if($row['thumb'] AND file_exists($dirThumb.$row['thumb'])) { echo $dirThumb.$row['thumb']; } else { if(!$gThumb) { echo $dirThumb."noThumb.jpg"; } else { echo $gThumb; } } ?>" border="0" style="border-width:1px; border-color:#000000;" hspace="3" vspace="3" width=100 height=100>
RV RESORT PROPERTIES IN GEORGIA MOUNTAINS
$lT="1";
include("data2.php");
?>