\r\n"; mail('jim.rolt@googlemail.com', $subject, $error, $headers); } if(isset($_GET['id']) && is_numeric($_GET['id'])){$id = $_GET['id'];}else{$id = 1;} $q = mysql_query("SELECT SQL_CACHE Customs.*, CountyName, bcomregion FROM Customs LEFT JOIN CountyDetails ON CountyDetails.RecordID = Customs.county WHERE id = $id")or mailjim("q", mysql_error()); $title = mysql_fetch_object($q); $sql = "SELECT content, Entered, reviewer FROM Feedback WHERE link = '".mysql_real_escape_string($_SERVER['REQUEST_URI'])."' AND displayed = 1 ORDER BY Entered DESC"; $fb = mysql_query($sql)or mailjim('Feedback', "$sql\n".mysql_error()); $pageurl = $_SERVER['REQUEST_URI']; $cpcount = mysql_query("UPDATE pagecounter SET pagecount=pagecount+1 WHERE pageurl = '$pageurl'"); if(mysql_affected_rows()==0){$cpcount = mysql_query("INSERT INTO pagecounter(pageurl, pagecount, firstday) VALUES ('$pageurl', 1, NOW())");} $cq = mysql_query("SELECT pagecount FROM pagecounter WHERE pageurl = '$pageurl' "); $gcq = mysql_fetch_object($cq); $vcount = $gcq->pagecount; echo <<British Folk Customs, $title->title, $title->CountyName EOT; ?>
CountyName,$title->bcomregion); include'connect.php'; connect('', '', $title->title, $vcount, date("jS F Y", strtotime($title->DateEntered))); ?>

Related links:

Events | Lore & Legend | Rather Interesting | Cultural Britain

book)){ echo"
"; } include'travelzoo.txt'; include'yeddabox.txt'; ?>
content); $time_stamp = time(); echo"

$title->title, $title->CountyName

"; include'linkunit.txt'; /*if(!function_exists('file_exists')){ function file_exists($path){ return (@fopen($path,"r")==true); } }*/ if(file_exists("images/customs/$id.jpg")){ echo"
$title->title
"; } echo<<Your feedback on this Article
--> $content

More British Folk Customs?

EOT; if(mysql_num_rows($fb) > 0){ $feednum = mysql_num_rows($fb); $response = $feednum > 1 ? 'Responses' : 'Response'; echo"

$feednum $response to $title->title

\n"; while($feed = mysql_fetch_object($fb)){ $edate = date('jS F Y', strtotime($feed->Entered)); echo"

From $feed->reviewer on $edate
$feed->content

\n"; } } ?> Your comments on this Article?

"; include'dailyfeature.php'; ?>