Hallo,
ich tippe da eher auf PHP Problem
Wäre toll wenn du dir den mal ansehen könntest
Also erstmal die Problemzone, session_start()
QUELLTEXT
<?php
session_start();
?>
Und hier noch der Rest (oberen Code ist normalerweise über <html>)
QUELLTEXT
<html>
<head>
<style type="text/css">
<!--
body {
margin-left: 50px;
margin-right: 50px;
background-color: black;
}
-->
</style>
<title>Testseite</title>
<meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<div align='center' style='width:100%;background-color:black;height:180px;'>
<img src='images/banerbg.jpg' alt='' border='0'>
</div>
<table bgcolor='green' width="1100" border="0" cellpadding="0" cellspacing="0" align='center'>
<tr align="center">
<?php
if (isset($_COOKIE['visit']) OR isset($_COOKIE['visit_long'])) {
echo "<td width='15%' align='center'>";
if (isset($_COOKIE['visit_long'])) {
echo $_COOKIE["visit_long"];
} else {
echo $_COOKIE["visit"];
}
echo "(<a href='logout.php'>Abmelden?</a>)</td>";
echo "<td align='center' width='14%'><a href='profil.php'>Profil</a></td>";
echo "<td align='center' width='14%'><a href='private_messages.php'>Nachtrichten</a></td>";
} else {
echo "<td align='center' width='32%'<a href='index.php#login'>Anmelden</a>";
echo " oder <a href='register.php'>Registrieren?</a></td>";
}
echo "<td align='center' width='14%'><a href='members.php'>Mitglieder</a></td>";
echo "<td align='center' width='14%'><a href='team.php'>Team</a></td>";
echo "<td align='center' width='14%'><a href='search.php'>Suche</a></td>";
echo "<td align='center' width='14%'><a href='faq.php'>FAQ</a></td>";
?>
</tr>
</table>
<table style='width:1100px;' align='center' cellpadding='0px' border='0px' cellspacing='0px'>
<tr>
<td>
<a href="index.php">Forum Index</a>
</td>
</tr>
<tr>
<td valign='top' style='background-color: green; '>
<?php
echo "Inhalt...";
?>
</td>
</tr>
</table>
</body>
</html>
Auch außerthematische Kritik erwünscht
Bin für alles offen
Vielen Dank!
Grüße