Related links:
Hotels |
B&Bs |
Inns |
Destinations |
Where weve been |
Towns
";
if($trow->caption){echo"
$trow->caption";}
}
elseif(mysql_num_rows($townpix) > 0){
$trow = mysql_fetch_object($townpix);
echo"
$trow->Name";
}
elseif(!empty($clientpic)){
echo"
";
}
if($CountyName != ''){
include'yellowbcombox.php';
yellowbox($CountyName,$bcomregion);
include'connect.php';
connect('', '', "$CountyName Reports");
}
?>
id){
$tlink = '';
if($check != $reviews->CountyName){//list county once
echo"
$reviews->CountyName Reports
\n";
include'linkunit.txt';
$check = $reviews->CountyName;
$tcheck = '';
}
if(empty($reviews->town)){//list county reviews
echo"County Review by $reviews->name on ".dtime($reviews->date)."
\n$reviews->review\n";
}
else{
if($tcheck != $reviews->town){//list town once
if($tcheck != ''){
echo <<
What is your view of $tcheck?
Please give us your feedback
FOO;
}
switch(true){
case in_array(1, $estarray[$reviews->town]):
case in_array(12, $estarray[$reviews->town]):
case in_array(5, $estarray[$reviews->town]):
$tlink = "hoteltowns.cfm?town=".rawurlencode($reviews->town)."&county=$reviews->county";
break;
case in_array(2, $estarray[$reviews->town]):
$tlink = "bnbtowns.cfm?town=".rawurlencode($reviews->town)."&county=$reviews->county'";
break;
case in_array(4, $estarray[$reviews->town]):
case in_array(15, $estarray[$reviews->town]):
$tlink = "selfctowns.cfm?town=".rawurlencode($reviews->town)."&county=$reviews->county'";
break;
case in_array(7, $estarray[$reviews->town]):
$tlink = "budgettowns.cfm?town=".rawurlencode($reviews->town)."&county=$reviews->county'";
break;
case isset($reviews->tid):
$tlink = "county$reviews->county/townguide$reviews->town/";
}
$tlink = !empty($tlink) ? "$reviews->town" : $reviews->town;
echo <<$tlink, $reviews->CountyName
FOO;
$check = $reviews->CountyName;
$tcheck = $reviews->town;
}
echo"Review of $reviews->town by $reviews->name on ".dtime($reviews->date)."
\n".
"$reviews->review
\n";//list town reviews
}
$counter++;
if(($counter % 10) == 0){//every 10 lines put a to top link
echo"\n";
}
$idcheck = $reviews->id;
}
}
if(!isset($_GET['county']) && mysql_num_rows($pl) > 0){
$tc = '';
echo"Places to stay in $town
\n";
while($place = mysql_fetch_object($pl)){
if($tc != $place->TYPE){
if($tc != ''){echo'
';}
echo"$place->TYPE
\n";
$tc = $place->TYPE;
}
echo"$place->Name
\n";
}
}
include'dailyfeature.php';
?>