";
echo "";
$data = fread(fopen($show_my_template, "r"), filesize($show_my_template));
$idnumber = $_GET['grein'];
if ($idnumber) {
$sql="select * from andspyrna_articles where n_id='$idnumber' limit 0,01";
} else {
$sql="select * from andspyrna_articles where n_id='1' limit 0,01";
}
$result=@mysql_query($sql,$db);
while ($myrow=mysql_fetch_array($result))
{
$n_id=$myrow["n_id"];
$n_date=date($date_format,$myrow["my_date"]);
$showorhide=$myrow["n_showhide"];
$text=$myrow["n_text"];
$n_type=$myrow["n_type"];
$n_author=$myrow["n_author"];
$n_title=$myrow["n_title"];
$hold=$data;
$hold=str_replace("{date}",$n_date,$hold);
$hold=str_replace("{title}",$n_title,$hold);
$hold=str_replace("{class}",$spcecialclass,$hold);
$hold=str_replace("{ID}",$n_id,$hold);
$hold=str_replace("{hof}",$n_author,$hold);
$hold=str_replace("{text}",$text,$hold);
echo $hold;
}
echo " |
";
echo "