<?php
$Javascriptzeit = date("Y, n, j, G, i, s");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
var Serverzeit = new Date(<?php echo$Javascriptzeit; ?>);
function UhrzeitAnzeigen()
{
if(!document.all && !document.getElementById)
{
return;
}
var Stunden = Serverzeit.getHours();
var Minuten = Serverzeit.getMinutes();
var Sekunden = Serverzeit.getSeconds();
Serverzeit.setSeconds(Sekunden+1);
if(Stunden <= 9)
{
Stunden = "0" + Stunden;
}
if(Minuten <= 9)
{
Minuten = "0" + Minuten;
}
if(Sekunden <= 9)
{
Sekunden = "0" + Sekunden;
}
Uhrzeitanzeige = Stunden + ":" + Minuten + ":" + Sekunden;
if(document.getElementById)
{
document.getElementById("Uhrzeit").innerHTML = Uhrzeitanzeige
}
else if(document.all)
{
Uhrzeit.innerHTML = Uhrzeitanzeige;
}
setTimeout("UhrzeitAnzeigen()", 1000);
}
//-->
</script>
<style type="text/css">
<!--
a:visited {
color: "#FF0000";
}
a:link {
color: "#FF0000";
}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<head>
<title>index rund</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('Bilder/index-rund_04.gif')">
<!-- Save for Web Slices (index rund.psd) -->
<table width="800" height="600" border="0" align="center" cellpadding="0" cellspacing="0" id="Tabelle_01">
<tr>
<td colspan="7">
<img src="Bilder/index_01.gif" width="800" height="110" alt=""></td>
</tr>
<tr>
<td colspan="7">
<img src="Bilder/index_02.gif" width="800" height="12" alt=""></td>
</tr>
<tr>
<td>
<img src="Bilder/index_03.gif" width="33" height="35" alt=""></td>
<td>
<a href="?section=news"><img src="Bilder/index-rund_04.gif" alt="" width="87" height="35" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','Bilder/index-rund2_04.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td><a href="?section=me"><img src="Bilder/index_05.gif" alt="" name="Image2" width="91" height="35" border="0" id="Image1" onMouseOver="MM_swapImage('Image2','','Bilder/index-rund2_05.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td><a href="?section=pictures"><img src="Bilder/index_06.gif" alt="" name="Image3" width="91" height="35" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','Bilder/index-rund2_07.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td><a href="?section=guestbook"><img src="Bilder/index_07.gif" alt="" name="Image4" width="90" height="35" border="0" id="Image1" onMouseOver="MM_swapImage('Image4','','Bilder/index-rund2_08.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td><a href="mailto:stefan@tadlos-im.net"><img src="Bilder/index_08.gif" alt="" name="Image5" width="89" height="35" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','Bilder/index-rund2_09.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td>
<img src="Bilder/index_09.gif" width="319" height="35" alt=""></td>
</tr>
<tr>
<td width="800" height="397" colspan="7" align="center" valign="top" background="Bilder/index_10.gif" alt=""><p> </p>
<p> </p>
<?php
//inhalt.php
include('config.php');
if(isset($_GET['section']) AND isset($dateien[$_GET['section']]))
{
//Ist eine $_GET Variable vorhanden wird PHP angewiesen
//zu prüfen ob die Datei existiert und diese dann zu laden
if(!file_exists($dateien[$_GET['section']])) echo "Die Datei ist nicht vorhanden.";
include $dateien[$_GET['section']];
}
else
{
//Wenn keine Variable oder Definition vorhanden ist
//lade die Fehlerseite bzw. die Indexseite
include $dateien['error'];
}
?>
</p></td>
</tr>
<tr>
<td colspan="7">
<img src="Bilder/index_11.gif" width="800" height="46" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>