Billiges Problem mit Bannerrotationsscript

SasserVirus

Gesperrt
Hallo! Bin absoluter Newbie in PHP, habe jedoch eine Aufgabe, aus einem Bannerrotationsscript den Passwortschutz zu entfernen! Also das Script soll selbst nicht mehr geschützt werden, da es in einen Adminbereich soll! Bitte helft mirsad smiley

Das ist das Script:
===================

<?
include("config.php");
if ($x==""):
echo "<body topmargin='0' leftmargin='0' link='#FFFFFF' vlink='#FFFFFF' alink='#FF0000'>

<table border='0' width='100%' height='511' cellspacing='0'>
<td width='100%' height='60' bgcolor='#0000FF' align='center' valign='middle'><font size='+1'><b>BANNER - MONITOR</b></font></td>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'><br>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form method='POST' action='werbung.php?x=1'>
<div align='center'><center><table border='0' width='270' cellspacing='0'>
<tr>
<td colspan='2' bgcolor='#000075'><div align='center'><center><p><strong><font
color='#FFFFFF'>Erhöhte Sicherheitsstufe</font></strong></td>
</tr>
<tr align='center'>
<td width='71' bgcolor='#71CDE8' align='right'><strong>Kennwort:</strong></td>
<td width='173' bgcolor='#71CDE8'><div align='center'><center><p><input type='password'
name='pwd1' size='19'></td>
</tr>
<tr align='center'>
<td width='71' bgcolor='#71CDE8' align='right'></td>
<td width='173' bgcolor='#71CDE8'><div align='center'><center><p><input type='submit'
value='Login' name='B1'></td>
</tr>
</table>
</center></div><div align='center'><center><p>&nbsp;</p>
</center></div>
</form>
</td>
</tr>
</table>
</body>
";
endif;
if ($x=="1"):
include("config.php");
$pwd1=md5($pwd1);
if ($pwd==$pwd1 or $pwd==$pwd2 ):
if ($pwd2!=""):
$pwd1=$pwd2;
endif;
echo"<style>
<!-- A:link {text-decoration: none; color:'#FF0000'; }
A:visited {text-decoration: none; color:'##FF0000'; font-weight: bold}
A:active {text-decoration: underline; font-weight: bold}
A:hover {text-decoration: underline; font-weight: bold}
-->
</style><body topmargin='0' leftmargin='0'>

<table border='0' width='100%' height='511' cellspacing='0'>
<tr>
<td width='100%' height='58' bgcolor='#0000FF' align='center' valign='middle'><font size='+1'><b>BANNER - MONITOR</b></font></td>
</tr>
<br><br><br>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'>
<table border='1' width='100%'>
<tr>";
include("1.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;
if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif;if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=1&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("2.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif;if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=2&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("3.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=3&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>"; include("1.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 1 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("2.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 2 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("3.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 3 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";

include("4.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif; if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=4&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("5.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=5&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("6.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=6&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>";
include("4.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 4 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("5.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 5 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("6.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 6 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";
include("7.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%'$bg align='center'><big><big><a href='werbung.php?zahl=7&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("8.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=8&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("9.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=9&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>";
include("7.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 7 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("8.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 8 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("9.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 9 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";
include("10.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=10&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("11.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif; if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=11&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("12.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=12&pwd1=$pwd1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>"; include("10.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 10 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("11.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 11 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("12.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
</table>
</td>
</tr>
<tr>
<td width='100%' height='75' bgcolor='#0000FF'>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 12 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
";


endif;

endif;
if ($x=="2"):
include("config.php");
include("$zahl.php");
if ($aktiv=="ja"):
$s="checked";
$s1="";
endif;
if ($aktiv=="nein"):
$s1="checked";
$s="";
endif;
if ($ex=="ja"):
$e="checked";
$e1="";
endif;
if ($ex=="nein"):
$e1="checked";
$e="";
endif;
if ($zeitan=="ON"):
$zo="checked";
endif;

if ($anz=="ja"):
$an="checked";
$an1="";
endif;
if ($anz=="nein"):
$an1="checked";
$an="";
endif;
if ($vonadview=="100000000000"):
$vonadview="0";
endif;
if ($vonadclick=="100000000000"):
$vonadclick="0";
endif;
echo "<body topmargin='0' leftmargin='0' link='#FFFFFF' vlink='#FFFFFF' alink='#FF0000'>

<table border='0' width='100%' height='511' cellspacing='0'>
<tr>
<td width='100%' height='60' bgcolor='#0000FF'></td>
</tr>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'><form
method='POST' action='werbung.php?x=3&amp;zahl=$zahl&amp;pwd1=$pwd1'>
<table border='0' width='100%'>
<tr>
<td width='24%' align='right' bgcolor='#000080'> <strong><font color='#FFFFFF'>Banner
$zahl:</strong></font></td>
<td width='76%' bgcolor='#000080'></td>
</tr>
<tr>
<td width='24%' align='right'>Link-URL :</td>
<td width='76%'><input type='text' value='$link' name='link' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Bild-URL:</td>
<td width='76%'><input type='text' value='$bild' name='bild' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Views:</td>
<td width='76%'><input type='text' value='$adview' name='adview' size='10'> von <input
type='text' value='$vonadview' name='vonadview' size='10'></td>
</tr>
<tr>
<td width='24%' align='right'>Clicks:</td>
<td width='76%'><input type='text' value='$adclick' name='adclick' size='10'> von <input
type='text' value='$vonadclick' name='vonadclick' size='10'></td>
</tr>
<tr><td width='24%' align='right'>
Datum: </td><td width='76%'><input maxlength='2' type='text' name='zeitvont'
size='2' value='$zeitvont'>.<input maxlength='2' type='text' name='zeitvonm' size='2' value='$zeitvonm'>.<input maxlength='4' type='text' name='zeitvonj' size='4' value='$zeitvonj'> bis <input maxlength='2' type='text'
name='zeitbist' size='2' value='$zeitbist'>.<input maxlength='2' type='text' name='zeitbism' size='2' value='$zeitbism'>.<input maxlength='4' type='text' name='zeitbisj' size='4' value='$zeitbisj'><input type='checkbox' name='zeitan' value='ON' $zo > Aktiv</td>
</tr>
<tr>
<td width='24%' align='right'>Text:</td>
<td width='76%'><input type='text' name='alttag' size='52' value='$alttag'></td>
</tr>
<tr>
<td width='24%' align='right'>Flash-Banner:</td>
<td width='76%'><input type='radio' value='ja' $an name='anz'> Ja <input
type='radio' $an1 name='anz' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'>Banner extern:</td>
<td width='76%'><input type='radio' value='ja' $e name='ex'> Ja <input
type='radio' $e1 name='ex' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'><b>Aktiv:</b></td>
<td width='76%'><input type='radio' value='ja' $s name='aktiv'> Ja <input
type='radio' $s1 name='aktiv' value='nein'> Nein</td>
</tr>
</table>
<div align='center'><center><p><input type='submit' value='Aktivieren/Ändern' name='B1'></p>
</center></div>
</form>
</td>
</tr>
<tr align='center'>
<td width='100%' height='75' bgcolor='#0000FF'></td>
</tr>
</table>
</body>
";
endif;
if ($x=="3"):
if ($pwd==$pwd1):
$datum=date("d.m.Y");
$fileMessage = "<?\n";
$fileMessage .= "\$link = \"$link\";\n";
$fileMessage .= "\$adview = \"$adview\";\n";
$fileMessage .= "\$adclick = \"$adclick\";\n";
$fileMessage .= "\$bild = \"$bild\";\n";
$fileMessage .= "\$aktiv = \"$aktiv\";\n";
$fileMessage .= "\$ex = \"$ex\";\n";
$fileMessage .= "\$vonadview = \"$vonadview\";\n";
$fileMessage .= "\$vonadclick = \"$vonadclick\";\n";
$fileMessage .= "\$alttag = \"$alttag\";\n";
$fileMessage .= "\$zeitan = \"$zeitan\";\n";
$fileMessage .= "\$zeitvont = \"$zeitvont\";\n";
$fileMessage .= "\$zeitvonj = \"$zeitvonj\";\n";
$fileMessage .= "\$zeitvonm = \"$zeitvonm\";\n";
$fileMessage .= "\$zeitbist = \"$zeitbist\";\n";
$fileMessage .= "\$zeitbism = \"$zeitbism\";\n";
$fileMessage .= "\$zeitbisj = \"$zeitbisj\";\n";
$fileMessage .= "\$pop = \"$pop\";\n";
$fileMessage .= "\$anz = \"$anz\";\n";
$fileMessage .= "?>";
$cartFile = fopen("$zahl.php","w+");
fputs($cartFile,$fileMessage);
fclose($cartFile);

echo"<meta HTTP-EQUIV='refresh' CONTENT='0; URL=werbung.php?x=1&pwd2=$pwd1' target='_top'>
";
endif;
endif;


if ($x=="5"):
include("$zahl.php");
$adclick=$adclick+1;
$fileMessage = "<?\n";
$fileMessage .= "\$link = \"$link\";\n";
$fileMessage .= "\$adview = \"$adview\";\n";
$fileMessage .= "\$bild = \"$bild\";\n";
$fileMessage .= "\$aktiv = \"$aktiv\";\n";
$fileMessage .= "\$ex = \"$ex\";\n";
$fileMessage .= "\$adclick = \"$adclick\";\n";
$fileMessage .= "\$vonadview = \"$vonadview\";\n";
$fileMessage .= "\$vonadclick = \"$vonadclick\";\n";
$fileMessage .= "\$alttag = \"$alttag\";\n";
$fileMessage .= "\$zeitan = \"$zeitan\";\n";
$fileMessage .= "\$zeitvont = \"$zeitvont\";\n";
$fileMessage .= "\$zeitvonj = \"$zeitvonj\";\n";
$fileMessage .= "\$zeitvonm = \"$zeitvonm\";\n";
$fileMessage .= "\$zeitbist = \"$zeitbist\";\n";
$fileMessage .= "\$zeitbism = \"$zeitbism\";\n";
$fileMessage .= "\$zeitbisj = \"$zeitbisj\";\n";
$fileMessage .= "\$pop = \"$pop\";\n";
$fileMessage .= "\$anz = \"$anz\";\n";
$fileMessage .= "?>";
$cartFile = fopen("$zahl.php","w+");
fputs($cartFile,$fileMessage);
fclose($cartFile);
if ($link==""):
$link="http://www.m-nm.de";
endif;Header("Refresh: 0; URL=$link");
endif;




?>
 
Hallo,
kannst du das Skript eventuell formatiert (mit Codetags und Einrückung von Codeblöcken) posten, denn so wie es jetzt vorliegt, hab ich keine Lust mir das anzuschauen und ich bin mir sicher, das geht nicht nur mir so. :rolleyes:

mfg
forsterm
 
PHP:
<?
include("config.php");
if ($x==""):
echo"<style>
<!-- A:link {text-decoration: none; color:'#FF0000'; }
A:visited {text-decoration: none; color:'##FF0000'; font-weight: bold}
A:active {text-decoration: underline; font-weight: bold}
A:hover {text-decoration: underline; font-weight: bold}
-->
</style><body topmargin='0' leftmargin='0'>

<table border='0' width='100%' height='511' cellspacing='0'>
<tr>
<td width='100%' height='58' bgcolor='#0000FF' align='center' valign='middle'><font size='+1'><b>BANNER - MONITOR</b></font></td>
</tr>
<br><br><br>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'>
<table border='1' width='100%'>
<tr>";
include("1.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;
if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif;if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=1&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("2.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif;if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=2&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("3.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=3&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>"; include("1.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 1 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("2.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 2 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("3.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 3 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";

include("4.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif; if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=4&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("5.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=5&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("6.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=6&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>";
include("4.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 4 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("5.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 5 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("6.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 6 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";
include("7.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%'$bg align='center'><big><big><a href='werbung.php?zahl=7&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("8.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=8&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("9.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=9&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>";
include("7.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 7 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("8.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 8 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("9.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
<tr>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 9 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>
</tr>
<tr>";
include("10.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=10&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("11.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif; if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo" <td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=11&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>";
include("12.php");
if ($anz=="ja" and $bild!=""):
$bild="flash.gif";
endif;
if ($bild==""):
$bild="nobanner.gif";
endif;if ($aktiv=="nein"):
$bg="bgcolor='#FF0000'";
endif; if ($aktiv=="ja"):
$bg="bgcolor='#00FF00'";
endif;
echo"<td width='25%' $bg align='center'><big><big><a href='werbung.php?zahl=12&x=2' target='_self'><img
src='$bild' border='0' width='232' height='30' ></a></big></big></td>
</tr>
<tr>"; include("10.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 10 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td>";
include("11.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 11 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table></td> ";
include("12.php");
if ($zeitan=="ON")
echo"<td width='25%' align='center'><strong><font color='#FF0000'>$zeitvont.$zeitvonm.$zeitvonj</font>
bis <font color='#FF0000'>$zeitbist.$zeitbism.$zeitbisj </font></strong></td></tr>
</table>
</td>
</tr>
<tr>
<td width='100%' height='75' bgcolor='#0000FF'>";
else
echo"<td width='25%' align='center'>
<table border='0' width='100%'>
<tr>
<td valign='middle' width='50%'>
<strong><font color='0000FF'>::: BANNER 12 :::</font></strong>
</td>
<td width='50%'>
<strong>
Clicks: <font color='#FF0000'>$adclick</font><br>
Views: <font color='#FF0000'>$adview </font></strong>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
";


endif;

endif;
if ($x=="2"):
include("$zahl.php");
if ($aktiv=="ja"):
$s="checked";
$s1="";
endif;
if ($aktiv=="nein"):
$s1="checked";
$s="";
endif;
if ($ex=="ja"):
$e="checked";
$e1="";
endif;
if ($ex=="nein"):
$e1="checked";
$e="";
endif;
if ($zeitan=="ON"):
$zo="checked";
endif;

if ($anz=="ja"):
$an="checked";
$an1="";
endif;
if ($anz=="nein"):
$an1="checked";
$an="";
endif;
if ($vonadview=="100000000000"):
$vonadview="0";
endif;
if ($vonadclick=="100000000000"):
$vonadclick="0";
endif;
echo "<body topmargin='0' leftmargin='0' link='#FFFFFF' vlink='#FFFFFF' alink='#FF0000'>

<table border='0' width='100%' height='511' cellspacing='0'>
<tr>
<td width='100%' height='60' bgcolor='#0000FF'></td>
</tr>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'><form
method='POST' action='werbung.php?x=3&amp;zahl=$zahl'>
<table border='0' width='100%'>
<tr>
<td width='24%' align='right' bgcolor='#000080'> <strong><font color='#FFFFFF'>Banner
$zahl:</strong></font></td>
<td width='76%' bgcolor='#000080'></td>
</tr>
<tr>
<td width='24%' align='right'>Link-URL :</td>
<td width='76%'><input type='text' value='$link' name='link' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Bild-URL:</td>
<td width='76%'><input type='text' value='$bild' name='bild' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Views:</td>
<td width='76%'><input type='text' value='$adview' name='adview' size='10'> von <input
type='text' value='$vonadview' name='vonadview' size='10'></td>
</tr>
<tr>
<td width='24%' align='right'>Clicks:</td>
<td width='76%'><input type='text' value='$adclick' name='adclick' size='10'> von <input
type='text' value='$vonadclick' name='vonadclick' size='10'></td>
</tr>
<tr><td width='24%' align='right'>
Datum: </td><td width='76%'><input maxlength='2' type='text' name='zeitvont'
size='2' value='$zeitvont'>.<input maxlength='2' type='text' name='zeitvonm' size='2' value='$zeitvonm'>.<input maxlength='4' type='text' name='zeitvonj' size='4' value='$zeitvonj'> bis <input maxlength='2' type='text'
name='zeitbist' size='2' value='$zeitbist'>.<input maxlength='2' type='text' name='zeitbism' size='2' value='$zeitbism'>.<input maxlength='4' type='text' name='zeitbisj' size='4' value='$zeitbisj'><input type='checkbox' name='zeitan' value='ON' $zo > Aktiv</td>
</tr>
<tr>
<td width='24%' align='right'>Text:</td>
<td width='76%'><input type='text' name='alttag' size='52' value='$alttag'></td>
</tr>
<tr>
<td width='24%' align='right'>Flash-Banner:</td>
<td width='76%'><input type='radio' value='ja' $an name='anz'> Ja <input
type='radio' $an1 name='anz' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'>Banner extern:</td>
<td width='76%'><input type='radio' value='ja' $e name='ex'> Ja <input
type='radio' $e1 name='ex' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'><b>Aktiv:</b></td>
<td width='76%'><input type='radio' value='ja' $s name='aktiv'> Ja <input
type='radio' $s1 name='aktiv' value='nein'> Nein</td>
</tr>
</table>
<div align='center'><center><p><input type='submit' value='Aktivieren/Ändern' name='B1'></p>
</center></div>
</form>
</td>
</tr>
<tr align='center'>
<td width='100%' height='75' bgcolor='#0000FF'></td>
</tr>
</table>
</body>
";
endif;
if ($x=="3"):
$datum=date("d.m.Y");
$fileMessage = "<?\n";
$fileMessage .= "\$link = \"$link\";\n";
$fileMessage .= "\$adview = \"$adview\";\n";
$fileMessage .= "\$adclick = \"$adclick\";\n";
$fileMessage .= "\$bild = \"$bild\";\n";
$fileMessage .= "\$aktiv = \"$aktiv\";\n";
$fileMessage .= "\$ex = \"$ex\";\n";
$fileMessage .= "\$vonadview = \"$vonadview\";\n";
$fileMessage .= "\$vonadclick = \"$vonadclick\";\n";
$fileMessage .= "\$alttag = \"$alttag\";\n";
$fileMessage .= "\$zeitan = \"$zeitan\";\n";
$fileMessage .= "\$zeitvont = \"$zeitvont\";\n";
$fileMessage .= "\$zeitvonj = \"$zeitvonj\";\n";
$fileMessage .= "\$zeitvonm = \"$zeitvonm\";\n";
$fileMessage .= "\$zeitbist = \"$zeitbist\";\n";
$fileMessage .= "\$zeitbism = \"$zeitbism\";\n";
$fileMessage .= "\$zeitbisj = \"$zeitbisj\";\n";
$fileMessage .= "\$pop = \"$pop\";\n";
$fileMessage .= "\$anz = \"$anz\";\n";
$fileMessage .= "?>";
$cartFile = fopen("$zahl.php","w+");
fputs($cartFile,$fileMessage);
fclose($cartFile);

echo"<meta HTTP-EQUIV='refresh' CONTENT='0; URL=werbung.php?x=1' target='_top'>
";
endif;
endif;


if ($x=="5"):
include("$zahl.php");
$adclick=$adclick+1;
$fileMessage = "<?\n";
$fileMessage .= "\$link = \"$link\";\n";
$fileMessage .= "\$adview = \"$adview\";\n";
$fileMessage .= "\$bild = \"$bild\";\n";
$fileMessage .= "\$aktiv = \"$aktiv\";\n";
$fileMessage .= "\$ex = \"$ex\";\n";
$fileMessage .= "\$adclick = \"$adclick\";\n";
$fileMessage .= "\$vonadview = \"$vonadview\";\n";
$fileMessage .= "\$vonadclick = \"$vonadclick\";\n";
$fileMessage .= "\$alttag = \"$alttag\";\n";
$fileMessage .= "\$zeitan = \"$zeitan\";\n";
$fileMessage .= "\$zeitvont = \"$zeitvont\";\n";
$fileMessage .= "\$zeitvonj = \"$zeitvonj\";\n";
$fileMessage .= "\$zeitvonm = \"$zeitvonm\";\n";
$fileMessage .= "\$zeitbist = \"$zeitbist\";\n";
$fileMessage .= "\$zeitbism = \"$zeitbism\";\n";
$fileMessage .= "\$zeitbisj = \"$zeitbisj\";\n";
$fileMessage .= "\$pop = \"$pop\";\n";
$fileMessage .= "\$anz = \"$anz\";\n";
$fileMessage .= "?>";
$cartFile = fopen("$zahl.php","w+");
fputs($cartFile,$fileMessage);
fclose($cartFile);
if ($link==""):
$link="http://www.m-nm.de";
endif;Header("Refresh: 0; URL=$link");
endif;




?>

Versuch es mal, aber ich bezweifle das es klapt, weil ich denke es uralt bzw. dein Server läuft auf einer alten PHP Version, weil die ganzen Variablen sind auf global.
 
Hallo!

Kennt jemand ein besseres Bannerscipt? Folgendes sollte es beinhalten;

- Übersicht über alle Banner
- kein Passwortschutz
- Zeit zum wechseln einstellen
- Adclicks und Adviews dokumentieren und anzeigen
- evtl. Banner aktivieren und deaktivieren

Wäre sehr erfreut über ein Script!

Danke :)
 
Also das umgebaute Script von Iches t schonmal! Hab nur noch ein Problem, dass wenn ich einen Banner auswähle, diesen Bearbeite und abschicke, wird er zwar bearbeitet, aber ich erhalte eine weiße seite und muss zurückgehen!

Was muss ich ändern? Vielleicht hier noch was?

HTML:
if ($x=="2"):
include("$zahl.php");
if ($aktiv=="ja"):
$s="checked";
$s1="";
endif;
if ($aktiv=="nein"):
$s1="checked";
$s="";
endif;
if ($ex=="ja"):
$e="checked";
$e1="";
endif;
if ($ex=="nein"):
$e1="checked";
$e="";
endif;
if ($zeitan=="ON"):
$zo="checked";
endif;

if ($anz=="ja"):
$an="checked";
$an1="";
endif;
if ($anz=="nein"):
$an1="checked";
$an="";
endif;
if ($vonadview=="100000000000"):
$vonadview="0";
endif;
if ($vonadclick=="100000000000"):
$vonadclick="0";
endif;
echo "<body topmargin='0' leftmargin='0' link='#FFFFFF' vlink='#FFFFFF' alink='#FF0000'>

<table border='0' width='100%' height='511' cellspacing='0'>
<tr>
<td width='100%' height='60' bgcolor='#0000FF'></td>
</tr>
<tr>
<td width='100%' height='364' bgcolor='#C5DFF3' valign='top' align='center'><form
method='POST' action='werbung.php?x=3&amp;zahl=$zahl'>
<table border='0' width='100%'>
<tr>
<td width='24%' align='right' bgcolor='#000080'> <strong><font color='#FFFFFF'>Banner
$zahl:</strong></font></td>
<td width='76%' bgcolor='#000080'></td>
</tr>
<tr>
<td width='24%' align='right'>Link-URL :</td>
<td width='76%'><input type='text' value='$link' name='link' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Bild-URL:</td>
<td width='76%'><input type='text' value='$bild' name='bild' size='52'></td>
</tr>
<tr>
<td width='24%' align='right'>Views:</td>
<td width='76%'><input type='text' value='$adview' name='adview' size='10'> von <input
type='text' value='$vonadview' name='vonadview' size='10'></td>
</tr>
<tr>
<td width='24%' align='right'>Clicks:</td>
<td width='76%'><input type='text' value='$adclick' name='adclick' size='10'> von <input
type='text' value='$vonadclick' name='vonadclick' size='10'></td>
</tr>
<tr><td width='24%' align='right'>
Datum: </td><td width='76%'><input maxlength='2' type='text' name='zeitvont'
size='2' value='$zeitvont'>.<input maxlength='2' type='text' name='zeitvonm' size='2' value='$zeitvonm'>.<input maxlength='4' type='text' name='zeitvonj' size='4' value='$zeitvonj'> bis <input maxlength='2' type='text'
name='zeitbist' size='2' value='$zeitbist'>.<input maxlength='2' type='text' name='zeitbism' size='2' value='$zeitbism'>.<input maxlength='4' type='text' name='zeitbisj' size='4' value='$zeitbisj'><input type='checkbox' name='zeitan' value='ON' $zo > Aktiv</td>
</tr>
<tr>
<td width='24%' align='right'>Text:</td>
<td width='76%'><input type='text' name='alttag' size='52' value='$alttag'></td>
</tr>
<tr>
<td width='24%' align='right'>Flash-Banner:</td>
<td width='76%'><input type='radio' value='ja' $an name='anz'> Ja <input
type='radio' $an1 name='anz' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'>Banner extern:</td>
<td width='76%'><input type='radio' value='ja' $e name='ex'> Ja <input
type='radio' $e1 name='ex' value='nein'> Nein</td>
</tr>

<tr>
<td width='24%' align='right'><b>Aktiv:</b></td>
<td width='76%'><input type='radio' value='ja' $s name='aktiv'> Ja <input
type='radio' $s1 name='aktiv' value='nein'> Nein</td>
</tr>
</table>
<div align='center'><center><p><input type='submit' value='Aktivieren/Ändern' name='B1'></p>
</center></div>
</form>
</td>
</tr>
<tr align='center'>
<td width='100%' height='75' bgcolor='#0000FF'></td>
</tr>
</table>
</body>
 
Schreibe mal ganz zu Beginn deines Scripts

PHP:
<?
error_reporting(E_ALL);

und führe es anschließend nochmal aus.

Gruß
Marc
 
Zurück