\r\n"; mail('jim.rolt@googlemail.com', $subject, $error, $headers); } include('dataedit/sql.php'); if(is_numeric($_GET['id'])){$id = $_GET['id'];}else{$id = 2;} $q = mysql_query("SELECT articles.*, articletype FROM articles INNER JOIN articletype ON articletype.id = articles.type WHERE articles.id = $id ORDER BY title")or mailjim('q', mysql_error()); if(mysql_num_rows($q) == 0){ header("HTTP/1.1 404 Not Found"); header("Location: https://information-britain.co.uk/errordoc.php"); exit(); } $title = mysql_fetch_object($q); echo << $title->title, an article about $title->articletype EOT; ?>
title, $title->articletype"); ?>
$title->title, $title->articletype\n"; include'linkunit.txt'; echo"

"; /*if(!function_exists('file_exists')){ function file_exists($path){ return (@fopen($path,"r")==true); } }*/ if(file_exists("images/articles/$title->id.jpg")){ $size = getimagesize("images/articles/$title->id.jpg"); echo"

$title->title

"; } echo nl2br($title->content); ?>

link)){echo"

More from $title->link

";} include'dailyfeature.php'; ?>