Ahhh ich werd echt bekloppt



Vielleicht könnte mal jemand kurz nen blick drauf werfen

Der Code:
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '../phpBB/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
@$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
?>
<HTML>
<HEAD>
<TITLE>DDDGH Inselkampf Allianz Website</TITLE>
<STYLE type=text/css>A:link {
COLOR: #003399; TEXT-DECORATION: none
}
A:visited {
COLOR: #0066CC; TEXT-DECORATION: none
}
A:active {
COLOR: #0066CC
}
A:hover {
COLOR: #0066CC; TEXT-DECORATION: overline underline
}
BODY {
SCROLLBAR-FACE-COLOR: #ffffff; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #0066CC; SCROLLBAR-3DLIGHT-COLOR: #0066CC;
SCROLLBAR-ARROW-COLOR: #0066CC; SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #ffffff; BACKGROUND-COLOR: #ffffff
}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
// -->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD>
<body background="bg005.jpg">
<table width="755" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="131" colspan="4" valign="top"><img src="bluestripe.jpg" width="750" height="115"></td>
</tr>
<tr>
<td width="9" height="2"></td>
<td width="179"></td>
<td width="31"></td>
<td width="536">
<p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
if($userdata['session_logged_in'])
{
echo "Hallo ";
echo $userdata['session_logged_in'];
echo ". <a href='index.php?section=logout'>Logout.</a>";
}else
{
echo "Du bist nicht angemeldet. <a href='index.php?section=login'>Login</a>";
}
?>
</font>
</td>
</tr>
<tr>
<td height="454"> </td>
<td valign="top">
<TABLE border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse; border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" bordercolor="#999999" width="100%" id="AutoNumber4" bgcolor="#E6EDF7">
<TR>
<TD width="100%" bordercolor="#E6EDF7"> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">:.
Navigation .:</strong></div></td>
</TR>
<TR>
<TD bordercolor="#E6EDF7"> <TABLE border="0" cellpadding="3" cellspacing="0">
<!--DWLayoutTable-->
<TR>
<TD width="163" height="25" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php">Startseite</a></TD>
</TR>
<TR>
<TD height="25" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=ueber">Über DDDGH</a></TD>
</TR>
<TR>
<TD height="25" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=regeln">Regeln</a></TD>
</TR>
<TR>
<TD height="25" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=wings">Wings</a></TD>
</TR>
<TR>
<TD height="28" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=members">Mitglieder</a></TD>
</TR>
<TR>
<TD height="24" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=join">Mitglied werden</a></TD>
</TR>
<TR>
<TD height="28" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="index.php?section=feedback">Feedback Formular</a></TD>
</TR>
<TD height="25" valign="top"><font size="1.5" face="Verdana, Arial, Helvetica, sans-serif">:.
<a href="http://microfire.zone-d.de/phpBB/index.php" target="_blank">Forum</a></TD>
</TR>
<TR>
<TD height="28" valign="top"></TD>
</TR>
<TR>
</td>
</TR><TR>
<?php
if($userdata['session_logged_in']=="")
{
?>
<TD height='25' valign='top'>
<font size='1.5' face='Verdana, Arial, Helvetica, sans-serif'>
:. Login
</TD>
</TR>
<?php
}
if($userdata['session_logged_in'])
{
?>
<TR>
<TD height='25' valign='top'>
</TD>
</TR>
<TR>
<TD width='100%' bordercolor='#E6EDF7'>
<div align='center'><strong><font size='1' face='Verdana, Arial, Helvetica, sans-serif'>
:. Alli Tools .:</strong></div>
</td>
</tr>
<tr>
<TD bordercolor='#E6EDF7'>
<TABLE border='0' cellpadding='3' cellspacing='0'>
<TR>
<TD width='163' height='25' valign='top'>
<font size='1.5' face='Verdana, Arial, Helvetica, sans-serif'>
:. <a href='index.php?section=kolotool'>Kolotool</a>
</TD>
</TR>
<TR>
<TR>
<TD height='25' valign='top'>
</TD>
</TR>
<TR>
<TD height='25' valign='top'>
<font size='1.5' face='Verdana, Arial, Helvetica, sans-serif'>
:. Logout</TD>
</tr>
</tr>
</table>
<?php
}
?>
</tr>
</TABLE>
</TD>
</tr>
</TABLE>
</TD>
</TR>
</TABLE>
</td>
<td>
</td>
<td valign="top">
<table width="100%" height="1" border="1" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#FFFFFF">
<tr>
<td width="526" height="1" valign="top" align="left">
<!-- ########## MAIN ########## -->
<?php
IF (isset($_GET['section']) == false) {
@include ('main.php');
}
IF ($_GET['section'] == ueber) {
@include ('ueber.php');
}
IF ($_GET['section'] == regeln) {
@include ('regeln.php');
}
IF ($_GET['section'] == wings) {
@include ('wings/wings.php');
}
IF ($_GET['section'] == members) {
@include ('members/members.php');
}
IF ($_GET['section'] == join) {
@include ('join/join.html');
}
IF ($_GET['section'] == feedback) {
@include ('feedback/feedback.html');
}
IF ($_GET['section'] == login) {
@include ('login.php');
}
IF ($_GET['section'] == kolotool) {
@include ('kolotool/index.php');
}
?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="17">
</td>
<td>
</td>
<td>
</td>
<td>
<div align="center">
<font size="1" face="Verdana, Arial, Helvetica, sans-serif">© 2004 http://www.dddgh.de.ms</div></td>
</tr>
</table>

...der eigentliche Inhalt hängt jetzt irgendwo unten an der Seite und eigentlich sollte der neben die Links...
hm, echt mopsig

...vielleicht erbarmt sich ja jemand



edit: ich weis, einiges könnte man eleganter machen, aber hauptsache es funktioniert (haha, schlechter vergleich

