<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<p align="center"> </p>
<p align="center"> </p>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="663" id="AutoNumber1" height="602" background="background.JPG">
<tr>
<td width="123" height="92"> </td>
<td width="537" height="92">
<p align="center"><font face="Verdana" size="7" color="#960000">Zpanzer</font></td>
</tr>
<tr>
<td width="123" height="509">
<p align="left"><b><font face="Verdana" size="1" color="#FFFFFF">::Menu::<br>
<br>
<a href="
http://www.zpanzer.frac.dk" style="text-decoration: none">Home</a><br>
<a style="text-decoration: none" href="
http://www.zpanzer.frac.dk/kontakt.php">Kontakt</a><br> <a href="
http://www.zpanzer.frac.dk/mig.htm" style="text-decoration: none">Om
mig</a><br>
<a href="
http://www.zpanzer.frac.dk/scipts.htm" style="text-decoration: none">Scripts</a><br>
<a href="
http://www.zpanzer.frac.dk/tutorials.htm" style="text-decoration: none">Tutorials</a><br>
<a href="
http://www.zpanzer.frac.dk/stuff.htm" style="text-decoration: none">Stuff</a><br>
<a href="
http://www.zpanzer.frac.dk/download.htm" style="text-decoration: none">Downloads</a><br>
<a href="
http://www.zpanzer.frac.dk/links.htm" style="text-decoration: none">Links</a><br>
<br>
::Quick Links::<br>
<br>
<a href="
http://www.nics.frac.dk" style="text-decoration: none">Nics</a><br>
<a href="
http://www.google.com/" style="text-decoration: none">Google</a><br>
<a href="
http://www.jubii.dk" style="text-decoration: none">Jubii</a><br>
<a href="
http://gamesdebat.jubii.dk" style="text-decoration: none">Jubii
Games Debat</a><br>
<a href="
http://www.frac.dk" style="text-decoration: none">Frac</a><br>
<a href="
http://www.frip.dk" style="text-decoration: none">Frip</a><br>
<a href="
http://www.friserverplads.dk" style="text-decoration: none">Fri
Server Plads</a><br>
<a href="
http://www.web-ting.dk/" style="text-decoration: none">Web-Ting</a><br>
<a href="
http://www.vzz.web-ting.dk" style="text-decoration: none">VinZenZo</a><br>
<a href="
http://www.gif.frac.dk" style="text-decoration: none">Gif</a><br>
<br>
::Baner Reklame::<br>
<br>
<a href="mailto:casper@notiz.dk?subject=Banner reklame" style="text-decoration: none">dit
banner her?</a></font></b></p>
<p align="left"> </p>
<p align="center"><!-- START PEAKCOUNTER KODE -->
<SCRIPT SRC="
http://www.peak.dk/php/showpeakcounter.php?id=27376&view=4" TYPE="text/javascript" Language="JavaScript"></SCRIPT>
<NOSCRIPT><a target="_blank" href="
http://www.peak.dk/cgi-bin/peakcounter/toplist.cgi?id=27376"><img src="
http://www.peak.dk/cgi-bin/peakcounter/peakcounter4.cgi?noid=27376" title='PeakCounter.dk' border=0><img src="
http://www.peak.dk/php/peakcounter.php?id=27376" height=1 width=1 border=0></a></NOSCRIPT>
<!-- SLUT PEAKCOUNTER KODE -->
</td>
<td width="537" height="509">
<?
// Vis alle nyheder
// Husk at der skal være en databaseforbindelse her
$getnews = mysql_query("select id, emne, forfatter,dato, nyhed from nyheder order by dato desc");
if(mysql_num_rows($getnews) > 0)
{
while($r = mysql_fetch_array($getnews))
{
$nyhedsid = $r[id];
$emne = stripslashes($r[emne]);
$forfatter = $r[forfatter];
$dato = $r[dato];
$nyhed = stripslashes(nl2br($r[nyhed]));
// Vi henter nu antallet af kommentarer til denne nyhed
$getcommentcount = mysql_query("select COUNT(id) from kommentarer where nyhedsid='".$nyhedsid."'");
$antalkommentarer = mysql_result($getcommentcount,0,0);
// Vi udskriver nyheden og antallet af kommentarer
echo "<b>".$emne."</b> - skrevet af ".$forfatter." d. ".$dato;
echo " (<a href="#" onclick="window.open('kommentarer.php?id=".$nyhedsid."','flyout',
'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,
scrollbars=yes,width=400,height=600,top=25,left=25')">
".$antalkommentarer." kommentarer</a>)";
echo "<br />".$nyhed;
}
}
else
{
echo "Endnu ingen nyheder tilføjet.";
}
?>
</td></tr>
</table>
</center>
</div>
</body>
</html>
det her er hele min kode jeg har ikke taget <head> med