\n"; else if ( $sezione=="property" ) echo " \n"; if ( $mappa_case ) { $lat = $row_content['latitude']; $lng = $row_content['longitude']; switch ( $mappa_case ) { case "scheda": $zoom = '14'; break; } echo " \n"; } ?> >

Find Your Property



\n"; */ echo " " . "" . "" . "" . "" . " " . "

\n"; fill_select ( "parish", "name", "Parish:", "", "

", intval( (isset($_REQUEST['parish'])?$_REQUEST['parish']:0) ) ); fill_select ( "type", "description", "Type:", "", "

", intval( (isset($_REQUEST['type'])?$_REQUEST['type']:0) ) ); $searchPrice = (isset($_REQUEST['searchPrice'])?$_REQUEST['searchPrice']:""); echo ""; echo "

"; //waqar function selected($d,$val){ if($d==$val){ return " selected='selected' "; } } echo "



\n"; ?>
\n

News

\n
    \n"; while ( $row = mysql_fetch_array($result, MYSQL_ASSOC) ) { $data = explode( "-", $row['date'] ); echo "
  • $data[2]
    ".$mesi[intval( $data[1] )]."
    $row[title] $row[abstract] ...
  • \n"; } echo "
\n
\n"; } if( $_SERVER['REQUEST_URI']=='/' ) echo "
\"Holiday
\n"; ?>
\n"; ?> $titolo $end_tag\n"; } function print_foto( $id ) { global $conn; $res_app = mysql_query("SELECT id, caption, width, height, extension FROM photo WHERE id_property=$id ORDER BY pos asc", $conn) or die(mysql_error()); if ( $foto = mysql_num_rows( $res_app ) ) { echo "

\n"; if ( $foto==1 ) { if ( $row_app = mysql_fetch_array($res_app, MYSQL_ASSOC) ) { if ( $row_app['width'] < 337 ) echo "\"$row_app[caption]\"\n"; else echo "\"$row_app[caption]\"\n"; } } else { $count = 0; while ( $row_app = mysql_fetch_array($res_app) ) { //echo $row_app[id].$count."
"; if ( $count==0 ) { //if ( $row_app['width'] < 337 ) { //$new_width = $row_app['width']; // if ( $new_width < ( $foto * 75 ) + ( ( $foto - 1 ) * 12 ) ) $new_width = ( $foto * 75 ) + ( ( $foto - 1 ) * 12 ); // echo "
336 ? " style=\"width:".$new_width."px; \width:".( $new_width + 20 )."px; w\idth:".$new_width."px\"" : "" ).">\n
\"$row_app[caption]\"/
\n"; // } // else echo "
\n\n"; } if ( $count!=0 ) { echo "
\"$row_app[caption]\"/
\n"; } $count++; } if ( $count ) echo "
\n"; } } return $foto; } function get_sub_abstract( $description, $len ) { $ret_value = str_replace( " ", " ", $description ); while( strpos( $ret_value, " " )!==false ) $ret_value = str_replace( " ", " ", $ret_value ); if ( strlen( $ret_value ) > $len ) { $ipos = strpos( $ret_value, " ", $len ); if ( $ipos!==false ) $ret_value = substr( $ret_value, 0, $ipos )."..."; } return $ret_value; } ?>