Det fylder rimelig meget men her er index.php:
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="style.css">
</head>
<body><div align="center">
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr><td height="194">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="900" height="194">
<param name="movie" value="top_flash.swf">
<param name="quality" value="high">
<embed src="top_flash.swf" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="194"></embed>
</object>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr><td height="151" class="top2">
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr><td width="20" height="151"> </td>
<td width="210" valign="top">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="29"> </td>
</tr>
<tr><td height="20" class="leftside" align="left" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> Ny Hjemmeside oppe</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="leftside" align="left" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> Nyt member med</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="leftside" align="left" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> Så er det snart jul</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="leftside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
</table>
</td>
<td width="440" valign="top" align="center">Reklame spot</td>
<td width="210" valign="top">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="29"> </td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'>
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20" width="140" align="left"> Mod Krigerne</td>
<td width="70" align="center"><font color="#009900">28</font> <font color="#FF0000">16</font></td>
</tr>
</table>
</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'>
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20" width="140" align="left"> Mod Øldåserne</td>
<td width="70" align="center">24 24</td>
</tr>
</table>
</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'>
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20" width="140" align="left"> Mod Himleskyderen</td>
<td width="70" align="center"><font color="#FF0000">10</font> <font color="#009900">38</font></td>
</tr>
</table>
</td>
</tr>
<tr><td height="1"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
</table>
</td>
<td width="20"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100%" class="main" valign="top">
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20" height="151"> </td>
<td width="210" valign="top">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="leftside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="20" class="leftside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="20" class="leftside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="20" class="leftside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="30" class="leftside" bgcolor="#DDDDDD" align="center"><b>Statistik</b></td>
</tr>
<tr>
<td height="30" class="leftside" bgcolor="#DDDDDD" align="left">
</td>
</tr>
<tr>
<td height="30" class="leftside" bgcolor="#DDDDDD" align="left">
</td>
</tr>
</table>
</td>
<td width="440" valign="top">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<tr><td width="10" height="100%"> </td>
<td align="left" class="mainColor">
<?
if (isset($_GET['page'])) {
if(file_exists($_GET['page'].'.php')) {
include($_GET['page'].'.php');
} else {
include('error.php');
}
} else {
include('home.php');
}
?>
</td>
<td width="10"> </td>
</tr>
</table>
</td>
<td width="210" valign="top">
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'>
<table width="210" border="0" cellspacing="0" cellpadding="0">
<tr><td height="20" width="140" align="left"> Mod Dem</td>
<td width="70" align="center"><font color="">??</font> <font color="">??</font></td>
</tr>
</table>
</td>
</tr>
<tr><td height="2"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr><td height="2"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr><td height="2"></td>
</tr>
<tr><td height="20" class="rightside" bgcolor="#DDDDDD" onMouseover='this.style.backgroundColor="#CACACA"' onMouseOut='this.style.backgroundColor="#DDDDDD"'> </td>
</tr>
<tr><td height="2"></td>
</tr>
<tr><td height="30" class="rightside" bgcolor="#DDDDDD" align="center"><b>Noget Andet</b></td>
</tr>
</table>
</td>
<td width="20"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr><td height="25" class="bottom"> </td>
</tr>
</table>
</div></body></html>
Og admin2.php:
<?php
session_start();
if(!$_SESSION['loget_in'] == 1) {//Hvis brugeren ikke er logget in
header("Location: index.php");//Sender brugeren videre
exit;//Sørger for at resten af koden, ikke bliver udført
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="90%">
<form action="logud.php" method="post">
<input style="background-color:#CCCCCC; border:1px solid black" type="submit" value="Log ud">
</form>
</td>
</tr>
</table>