\r\n"; mail('jim.rolt@googlemail.com', $subject, $error, $headers); } include('dataedit/sql.php'); if(intval($_GET['county']) > 0 && intval($_GET['county']) < 142){ $county = intval($_GET['county']);} else{ header("HTTP/1.1 404 Not Found"); header("Location: https://information-britain.co.uk/errordoc.php"); exit(); } $rev= mysql_query("SELECT SQL_CACHE countyreviews.id FROM countyreviews WHERE county = $county LIMIT 1"); $update = mysql_query("UPDATE didyouknow SET visits = visits+1 WHERE county = $county")or mailjim('visits', mysql_error()); $didyouknow = mysql_query("SELECT SQL_CACHE * FROM didyouknow WHERE county = $county ORDER BY town")or mailjim('didyouknow', mysql_error()); $fam = mysql_query("SELECT SQL_CACHE name, id FROM famous WHERE birthcounty = $county ORDER BY name")or mailjim('didyouknow', mysql_error()); $st = mysql_query("SELECT SQL_CACHE CountyName, CountyNameCut, photocaption, CountryID, bcomregion FROM CountyDetails WHERE RecordID = $county")or mailjim('st', mysql_error()); $stuff = mysql_fetch_object($st); echo << Interesting facts from $stuff->CountyName EOT; ?>
CountyNameCut); include'locallinks.php'; $llins = new locallinks($county,$stuff->CountryID); echo $llins->output; /*include'featuredhotels.php'; feature($county);*/ include'adviva.txt'; include'burstmedia.txt';; ?>
CountyName,$stuff->bcomregion); /*if(!function_exists('file_exists')){ function file_exists($path){ return (@fopen($path,"r")==true); } }*/ if(file_exists("images/countypics/$county.jpg")){ echo<<

$stuff->CountyName

FOO; } ?> id.jpg")){ echo"\n"; if(!empty($didyou->caption)){echo"
$didyou->caption\n";} } } mysql_data_seek($didyouknow, 0); include'travelzoo.txt'; include'yeddabox.txt'; include'countystuff.php'; CountyStuff($county); ?>
Interesting $stuff->CountyName facts"; ?> Famous Sussex People
'; while($didyou = mysql_fetch_object($didyouknow)){ if($ch != $didyou->town){ echo'
'; if(isset($esorter[$didyou->town])){ if(in_array(1, $esorter[$didyou->town]) || in_array(12, $esorter[$didyou->town]) || in_array(5, $esorter[$didyou->town])){echo"$didyou->town\n";} else{echo"$didyou->town\n";} } else{echo"$didyou->town\n";} $ch = $didyou->town; } echo"
$didyou->detail"; if(!empty($didyou->link)){echo" Link: $didyou->comment\n";} } echo"

Famous $stuff->CountyName people

\n

"; while($row = mysql_fetch_object($fam)){ echo"$row->name | \n"; } ?>

0){ echo"Read visitor reports on this area"; } echo'

'; include'dailyfeature.php'; ?>