<?
$news = db_query("SELECT * FROM ".$db_prefix."_news ORDER BY id DESC LIMIT 1");
while ($nz = mysql_fetch_array($news)) {
head($nz['titel'].' vom '.date("d.m.Y - H:i:s",$nz['zeit']));
echo nl2br($nz['news']);
foot();
}
?>
<?head("");?>
<? $personendaten = mysql_fetch_array(db_query("SELECT `nickname` FROM
".$db_prefix."_userdaten WHERE uid=".$_SESSION['uid']." LIMIT 1")); ?>
<center><b>
<Script Language="JavaScript">
var now = new Date()
var h = now.getHours()
if (h < 10)
document.write("Guten Morgen")
else if (h < 18)
document.write("Guten Tag")
else
document.write("Guten Abend")
</script>
<?if ($_SESSION['login'] == 'true') {?>
<?=$personendaten['nickname'];?> und
<?} else {?>
Gast und
<?}?>
herzlich Willkommen bei Grafmails.de!</b></center>
<br>
Verdienen Sie ganz einfach Euros, Primera, Lose oder MMPs bei Grafmails.de!
<div align="center">
TEXT TEXT TEXT TEXT