<?php include "kopf.php"; ?>
<?php
include("checkLinks.inc");
$_file = "~allgemein/Links.txt";
$fp = fopen ($_file, "r");
if($fp)
{
$_string = fgets($fp, filesize($_file));
$_array = explode("|", $_string);
foreach($_array as $linksalt)
{
$links = checkLink( $linksalt );
echo "<tr><a href=\"index.php?seite=$links\">
<td height=\"20\" onmouseover=\"this.style.backgroundColor='#D8E6EE'\"
onmouseout=\"this.style.backgroundColor='#FFE8A2'\"> <a href=\"index.php?seite=$links\">$linksalt</a></td></a>
</tr>
<tr>
<td><img src=\"img/white.gif\" width=\"181\" height=\"1\"></td>
</tr>";
}
fclose($fp);
}
else echo "Datei wurde nicht gefunden";
?>
<?php include "anschrift.php"; ?>
<?php
foreach($_GET as $links)
switch($_GET['seite'])
{
case "$links": include("~allgemein/$links.txt");
break;
default: include("home.txt");
break;
}
?>
<?php include "fuss.php"; ?>