Ganz einfach !
PHP
<html>
<head>
<title>www.jennymikat.de.vu</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link REL="SHORTCUT ICON" HREF="img/sonnenblume.ico">
</head>
<body>
<table style="width:640px" align="center">
<?
switch ($section) {
case 'home':
echo "<p class=\"dein Style\"> >> Home <<</p>";
break;
case 'life':
echo "<p class=\"dein Style\"> >> Ich <<</p>";
break;
....
default:
echo "<p class=\"dein Style\"> >> Home <<</p>";
break; ;
}
?>
<tr>
<td colspan=3 height="20"></td>
</tr>
<tr>
<td valign="top" class=tabelle style="width:143px; table-layout:fixed;">
<table width=100% >
<tr>
<td class=menu>[url='index.php?section=home'].: Welcome ![/url]</td>
</tr>
<tr>
<td class=menu>[url='index.php?section=life'].: Über mich[/url]</td>
</tr>
<tr>
<td class=menu>[url='index.php?section=friends'].: Friends[/url]</td>
</tr>
<tr>
<tr>
<td class=menu>[url='index.php?section=pics'].: Bilder[/url]</td>
</tr>
<tr>
<td class=menu>[url='index.php?section=guestbook'].: Gästebuch[/url]</td>
<tr>
</table>
</td>
<td style="width:5px"></td>
<?php
switch ($section) {
case 'home':
include("content/home.php"); break;
case 'life':
include("content/overme.php"); break;
....
default: include("content/home.php");
}
?>
</tr>
<tr>
<td colspan=3 style="padding-left:5px; background-color:#F9F9F9">
jennymikat.de.vu - version 1.0 | website © Jennifer Mikat
</p>
</td>
</tr>
</table>
</body>
</html>
Alles anzeigen