ich raffs nicht.
hier mal meine header.php
PHP-Code:
<?
require ('lib/functions.lib.php');
db_connect();
require ('lib/session.lib.php');
require ('lib/layout.lib.php');
require ( 'lib/extras.lib.php' );
if (!isset($_GET['content']) || empty ($_GET['content'])) $_GET['content'] = '/intern/startseite';
if (!file_exists('content'.$_GET['content'].'.php')) $_GET['content'] = '/error/keine_seite';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?=$seitenname;?></title>
<link rel="stylesheet" href="css/main.css" type="text/css">
<meta name="Author" content="Designerscripte.net">
<meta name="Publisher" content="Designerscripte.net">
<meta name="Copyright" content="Designerscripte.net">
<meta name="Keywords" content="vms,paid4,loginscript">
<meta name="Description" content="Verdien was Du willst">
<meta name="Page-topic" content="Loseseite zu Klamm.de">
<meta name="Audience" content="">
<meta name="Content-language" content="DE">
<meta name="Page-type" content="Nicht Gewinnorientiert">
<meta name="Robots" content="INDEX,FOLLOW">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="/css/main.css" type="text/css">
<?
if ($_GET['content'] == '/intern/startseite') @require_once ('lib/texte/alt_startseitenpopup.txt');
if ($_GET['content'] == '/betteln') @require_once ('lib/texte/alt_bettelseitenpopup.txt');
?>
</head>
<body style="topmargin:5; leftmargin:0;">
<table width="800" cellpadding="0" cellspacing="0" border="0" align="center"><tr><td valign="top" align="center">
<table style="border:solid 1px #4B69FF" width="800" border="0" cellpadding="0" cellspacing="0" bgcolor="#FEFBF5">
<tr>
<td height="120" width="100%" valign="top" style="background-image:url('./images/header.png');">
<div style="position:relative; top:20px; right:-321px;">
<? @require_once ('lib/texte/alt_headerbanner.txt'); ?>
</div>
</td></tr>
<tr>
<td bgcolor="#FEFBF5" valign="top" align="center">
<table width="100%">
<tr>
<td height="100%" width="100%" align="center">
<a href="index.php">Home</a>
<a href="?content=/intern/mediadaten">Mediadaten</a>
<a href="?content=/intern/agbs">AGB</a>
<a href="?content=/intern/faqs">FAQ</a>
<a href="?content=/intern/impressum">Impressum</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr><td height="5"></td></tr></table>
<!-- Inhalt -->
<table width="800" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="150" valign="top" align="left"><? @include_once('lib/menue_links.php');?></td>
<td width="5" valign="top" align="left"></td>
<td width="490" valign="top" align="left">
und hier menue_links.php
PHP-Code:
<? menuehead("Navigation");
if ($_SESSION['login'] == 'true') {?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/uebersicht">Kontoübersicht</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/refuebersicht">Refübersicht</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/userprofil">Userprofil</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/buchungen">Kontoauszug</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/auszahleneuro">Auszahlung</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/startseite&logout=true"><i>Logout</i></a><br />
<? } else { ?>
<form action="" method="post">
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<b>Nickname:</b><br>
<input type="Text" name="nickname" value="<?=$_POST['nickname'];?>" style="width=110px;"><br>
<b>Passwort:</b><br>
<input type="Password" name="passwort" value="" style="width=110px;"><br>
<select name="autologin" size="1" style="width=110px;">
<option value="true" SELECTED>Mit Autologin </option>
<option value="false">Ohne Autologin </option>
</select><br>
<br>
<input type="Submit" name="checkid" value="Login" style="width=110px;"><br><br>
</td>
</tr>
<tr>
<td height="15" align="left">
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/daten">Daten vergessen?</a>
</td>
</tr>
<tr>
<td height="15" align="left">
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/anmelden">Registrieren</a>
</td>
</tr>
</table>
</form>
<?}?>
<? menuefoot();?>
<br />
<? if ($_SESSION['login'] == 'true') {?>
<? menuehead("Alte Programme");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ancom/statistik">Statistik</a>
<? menuefoot();?>
<? menuehead("Bonusaktionen")?>
» <a href="?content=/bonusaktionen/bonusaktionen">Bonusaktionen</a><br>
<? menuefoot();?>
<? menuehead("Anleitung");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/tipps_tricks">Tipps & Tricks</a><br />
<? menuefoot();?>
<? menuehead("Rallye");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/ref">Rallye</a><br />
<? menuefoot();?>
<? } ?>
<? menuehead("Counter");?>
<div align="center">
<script type="text/javascript" src="http://www.ipcounter.de/count_js.php?u=63777857&color=red"></script>
</div>
<? menuefoot();?>