extract($_REQUEST); $baseref = ""; require 'phpinc/config.php'; require "$conf[inc_dir]/db_utils.php"; require "$conf[inc_dir]/functions.php"; // Connect to the database. $link= db_connect ($conf['db_host'], $conf['db_name'], $conf['db_user'], $conf['db_pass']); if($search_city == "NEW YORK") { $search_city = ""; $sortby = "newyork"; } else if($search_city == "NEW JERSEY") { $sortby = "newjersey"; $search_city = ""; } $propQ = "SELECT report_link, report_height FROM prop_report WHERE rowID = 1"; $row = db_query ($propQ); list($propertyreportlink, $report_height) = db_fetch_row ($row); if(!$report_height || is_nan($report_height)) $report_height = 10; $report_height = ceil(96 * $report_height); ?>