Als erstes ein backup machen da hier alles auf erfahrung aufbaut und ich nicht schrit für schrit live arbeiten kann.
Die Header.php mit dieser ersetzten.
die grafik für den hintergrund in der mitte kannst du ganz am ende bearbeiten (background="images/center.gif">)
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 width="799" border="0" cellpadding="0" cellspacing="0" bgcolor="#11BBEE">
<tr>
<td height="128" width="100%" valign="top" background="images/header.jpg">
</td></tr>
<tr>
<td background="images/header_line.jpg" valign="top" align="center">
<table width="100%">
<tr>
<td height="20" width="100%" align="center">
<a href="index.php">Home</a>
<a href="?content=/intern/mediadaten">Media</a>
<a href="?content=/intern/agbs">AGB</a>
<a href="?content=/intern/faqs">FAQ</a>
<a href="?content=/intern/werbemittel">Werbemittel</a>
<a href="?content=/intern/impressum">Impressum</a>
</td></tr>
<tr>
<table width="800" border="0" cellpadding="0" cellspacing="0" >
<table width="800" border="0" height="10" cellpadding="0" cellspacing="0" align="center" bgcolor="#ddebf6" style="background-image:url(images/header_underline.jpg); background-repeat:no-repeat;">
<tr>
<!-- Inhalt -->
<table width="800" cellpadding="0" cellspacing="0" border="0">
<td width="160" valign="top" align="left" background="images/left.gif"><?@include_once('lib/menue_links.php');?></td>
<td width="100%" valign="top" align="center" background="images/center.gif">
Menue_links
PHP-Code:
<?menuehead("Navigation");
if ($_SESSION['login'] == 'true') {?>
<?php if ($_SESSION['uid'] == $admin_id) echo '<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/switch_user">Aktive Administration</a><br>'; ?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/tell">Seite empfehlen</a><br>
<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/einzahlen">Einzahlen</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/auszahlen">Auszahlen</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/cdp_multi_az">CDP-Multi-AZ</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/buchungen">Buchungen</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=/wms/wmsstart">Werbung buchen</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/werber/config">Werberrally starten</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/werber_ralley">Werberrally</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=/intern/startseite&logout=true"><i>Logout</i></a>
<?} 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>
<?}?>
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Verdienen");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/klick4">Klick4Lose</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/paidmails">Paidmails</a><br /><hr>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/traffic">Klick4Traffic</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/betteln4">Betteln4Lose</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="betau.php" target="_blank">Auto-Surf starten</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/autosurf/framekiller">Kampagnen sperren</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/autosurf/traffic">Kampagnen buchen</a><br />
<?menuefoot();?>
<?menuehead("Mein Klick Smiley");
include ("content/sm.php");
menuefoot();?>
<?menuehead("Games");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/spiele/arthur/index">Arthur</a><br>
<?menuefoot();?>
<?menuehead("Unsere Rallys");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/slotofweek">Slot of the Week</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/autosurf">Auto-Surfrally</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/aktiv">Aktivrally</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/rwklick">Gruppenklickrally</a><br>
<?$tklick=mysql_fetch_array(mysql_query("SELECT ende FROM ".$db_prefix."_neu_rallydaten WHERE ralley='tklickrally'"));
?>
<? if ($tklick[ende]== '1'){echo"<img src='images/gruen.gif' alt='on' border='0'>";} else{echo"<img src='images/rot.gif' alt='off' border='0'>";}?>
<a href="?content=/ralleys/tklickrally">Tagesklickrally</a><br>
<?$wklick=mysql_fetch_array(mysql_query("SELECT ende FROM ".$db_prefix."_neu_rallydaten WHERE ralley='wklickrally'"));
?>
<? if ($wklick[ende]== '1'){echo"<img src='images/gruen.gif' alt='on' border='0'>";} else{echo"<img src='images/rot.gif' alt='off' border='0'>";}?>
<a href="?content=/ralleys/wklickrally">Wochenklickrally</a><br />
<?$mklick=mysql_fetch_array(mysql_query("SELECT ende FROM ".$db_prefix."_neu_rallydaten WHERE ralley='mklickrally'"));
?>
<? if ($wklick[ende]== '1'){echo"<img src='images/gruen.gif' alt='on' border='0'>";} else{echo"<img src='images/rot.gif' alt='off' border='0'>";}?>
<a href="?content=/ralleys/mklickrally">Monatsklickrally</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/klick">Sonderklickrally</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/ref">Refrally</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/tournament">Tournament</a><br />
<?menuefoot();?>
<?
$filename = 'lib/texte/box2.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
if ($inhalt != ''){
menuehead("Unsere Sponsoren");
echo nl2br($inhalt);
menuefoot();
}
?>
<? } ?>
Menue_rechts
PHP-Code:
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();?>
<?menuehead("Shoutbox");?>
<center><iframe src="content/shoutbox/shoutbox.php?uid=<?=$_SESSION['uid']?>" width="140" height="400" style="border:0;"></iframe></center>
<?menuefoot();?>
<?
}
$filename = 'lib/texte/box1.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
if ($inhalt != ''){
menuehead("Unsere Sponsoren");
echo nl2br($inhalt);
menuefoot();
}
?>
<!-- Diese Seite basiert auf dem VMS1.2 von Designerscripte.net das entfernen dieses Copyrighthinweises ohne Erlaubnis zieht
rechtliche Schritte mit sich
-->
<div align="center"><font size="1">© by <a href="http://www.designerscripte.net">Designerscripte.net</a></font></div>
<!-- Diese Seite basiert auf dem VMS1.2 von Designerscripte.net das entfernen dieses Copyrighthinweises ohne Erlaubnis zieht
rechtliche Schritte mit sich
-->
Footer.php
PHP-Code:
</td>
<td valign="top" align="left"></td>
<td width="160" valign="top" background="images/right.gif" align="left"><?@include_once('lib/menue_rechts.php');?></td>
</tr>
</table>
<tr>
<table height="92" width="800" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ddebf6" style="background-image:url(images/footer.jpg); background-repeat:no-repeat;">
<tr><td align="center">
<b>Diese Seite basiert auf dem VMS von <a href="http://www.projekt-seth.de" target="_blank"><b>Projekt-Seth</b></a></b><br><b> Design by <a href="mailto:webmaster@stanec.de">Stanec.de</a> <br><small>[Work for a half Quarter]</small></b>
<!-- Fussnote -->
</td> </tr>
</td></tr></table>
</body>
</html>
<?
db_close();
if ($gzip_rate > 0) ob_end_flush();
?>