user_exists) { $page = "error"; $smarty->assign('error_header', 639); $smarty->assign('error_message', 656); $smarty->assign('error_submit', 641); include "footer.php"; } function general(){ global $user, $database1, $database; if(isset($_POST['zip'])) { $zip = $_POST['zip']; } elseif(isset($_GET['zip'])) { $zip = $_GET['zip']; } else { $zip = ""; } if(isset($_POST['country'])) { $country = $_POST['country']; } elseif(isset($_GET['country'])) { $country = $_GET['country']; } else { $country = ""; } if(isset($_POST['region'])) { $region = $_POST['region']; } elseif(isset($_GET['region'])) { $region = $_GET['region']; } else { $region = ""; } if(isset($_POST['state'])) { $state = $_POST['state']; } elseif(isset($_GET['state'])) { $state = $_GET['state']; } else { $state = "-1"; } if(isset($_POST['city'])) { $city = $_POST['city']; } elseif(isset($_GET['city'])) { $city = $_GET['city']; } else { $city = ""; } if(isset($_POST['province'])) { $province = $_POST['province']; } elseif(isset($_GET['province'])) { $province = $_GET['province']; } else { $province = "-1"; } if(isset($_POST['ukregion'])) { $ukregion = $_POST['ukregion']; } elseif(isset($_GET['ukregion'])) { $ukregion = $_GET['ukregion']; } else { $ukregion = "-1"; } if($country!="236"){$state="-1";$_POST['state']="";} if($country!="235"){$ukregion="-1";$_POST['ukregion']="";} if($country!="40"){$province="-1";$_POST['province']="";} if(isset($_POST['distance'])) { $distance = $_POST['distance']; } elseif(isset($_GET['distance'])) { $distance = $_GET['distance']; } else { $distance = "150"; } ?>
| =$row["user_username"]?> Hosting in: if(trim($row["city"])!=""){echo $row["city"].", ";} if(trim($row["state"])!=""){ echo $row["state"]; if($row["country"]=="236"){$querycountry=$database->database_query("SELECT * FROM bateworldcom_zips.tbl_state WHERE state_id='".$database->database_real_escape_string($row["state"])."'"); $rowcountry=$database->database_fetch_array($querycountry); $echostate=$rowcountry["statename"]; } if($row["country"]=="235"){$querycountry=$database->database_query("SELECT * FROM bateworldcom_zips.english_regions WHERE id='".$database->database_real_escape_string($row["state"])."'"); $rowcountry=$database->database_fetch_array($querycountry); $echostate=$rowcountry["region"]; } if($row["country"]=="40"){$querycountry=$database->database_query("SELECT * FROM bateworldcom_zips.provinces WHERE id='".$database->database_real_escape_string($row["state"])."'"); $rowcountry=$database->database_fetch_array($querycountry); $echostate=$rowcountry["province"]; } echo $echostate." ";} if(trim($row["zip"])!=""){echo "".$row["zip"]." ";} if(trim($row["country"])!=""){ $querycountry=$database->database_query("SELECT * FROM bateworldcom_zips.countries WHERE id='".$database->database_real_escape_string($country)."'"); $rowcountry=$database->database_fetch_array($querycountry); echo $rowcountry["name"]." ";} echo " ".$row["title"]." ".$row["description"]." "; if(trim($row["airurl"])!=""){echo " Air BnB URL ";} if(trim($row["misterurl"])!=""){echo "Mister BnB URL ";} ?> | "> if($row["user_photo"]==""){?> }else{
$user_id=$row["userid"];
$subdir = $user_id+999-(($user_id-1)%1000);
$userdir = "./uploads_user/$subdir/$user_id/";
?>
See Full Profile |
| No rooms currently available at this location. | |