Registreer FAQ Berichten van vandaag


Ga terug   Scholieren.com forum / Technologie / Software & Hardware
Reageren
 
Topictools Zoek in deze topic
Oud 03-05-2003, 15:34
spsup
spsup is offline
Mensen ik heb een probleem ik heb een gastenboek van iemand gekregen zelf wat aan gerommeld en het resultaat is hier te vinden.

Wat is echter het probleem bij het invoeren van een bericht komt na het verzenden een leeg wit scherm te voorschijn dat is niet leuk :( ik kom er alleen niet achter waar dat aan ligt of hoe dat komt is er hier misschien iemand die het wel weet ? hieronder me index.php

<?
include "config.php";
include "passwd.php";
function a1(){
global $a11,$a12,$a13,$a25;
if(!empty($a25))$a25="$a25";
else{
$a25="0";}
?>
<html>
<head>
<meta charset=windows-1251>
<title>Gastenboek</title>
</head>
<body alink=#0000FF background=sumtextb.jpg bgcolor=<?echo$a12?> link=#0000FF text=#000000 vlink=#0000FF>
<style>
a:visited{text-decoration:none}
a:hover{text-decoration:underline}
a:link{text-decoration:none}
</style>
<?}
function a2(){
?>
</body>
</html>
<?}
function a3(){
global $a1,$a2,$a3,$a5,$a6,$a7,$a14,$a15,$a16,$a17,$a18,$a19,$a20,$a21,$a22,$ a23,$a24,$a26,$a39;
a1();
?>
<center>
<img src="spartalogo.gif" width="75" height="74"><br>
<font face=verdana size=2><a href=<?echo$a1?>?a66=a1>Plaats bericht</a></font>
</center>
<br>
<?
$a27=file($a2);
$a28=count($a27);
if(!isset($a26))$a26=0;
?>
<center>
<table bgcolor=<?echo$a14?> border=0 cellpadding=1 cellspacing=0 width=530>
<tr>
<td background="sumtextb.jpg">
<table bgcolor=<?echo$a15?> border=0 cellpadding=2 cellspacing=0 width=530>
<tr>
<td background="sumtextb.jpg"> <br>
<?
for($a29=$a26;$a29<min($a26+$a3,$a28);$a29++){
list($a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a40,$a41)=spli t("\|","$a27[$a29]");
if(empty($a5)||$a39=="n/a"){
$a42="";
$a43="";}
else{
$a41="&nbsp;<font face=verdana size=1><b><a href=mailto:$a7><font color=$a24>$a6</font></a>:&nbsp;$a41</b></font>";}
?>
<center>
<table width="86%" border="0" height="155">
<tr>
<td bgcolor="#000000">
<table border=0 cellpadding=2 cellspacing=0 height=150 width=448 background="sumtextb.jpg" bgcolor="#CCCCCC">
<tr background="sumtextb.jpg">
<td bgcolor=<?echo$a17?> height=1 valign=top background="sumtextb.jpg"><font face=verdana size=2><a href=mailto:<?echo$a34?>><font face=verdana size=2></font></a><font face=verdana size=2><a href=mailto:<?echo$a34?>><font color=<?echo$a18?>>
<?echo$a33?>
</font></a></font><font color=<?echo$a18?>> </font></font></td>
<td align=right height=1 valign=top><font color=<?echo$a18?> face=verdana size=2>&nbsp;<a href=<?echo$a35?> target=_top>
<?echo$a36?>
</a></font></td>
</tr>
<tr background="sumtextb.jpg" bordercolor="#333333">
<td bgcolor=<?echo$a19?> colspan=2 height=29 valign=top background="sumtextb.jpg"><font color=<?echo$a20?> face=verdana size=1>
<font face="Arial, Helvetica, sans-serif" size="2">
<?echo$a37?>
&nbsp;[
<?echo$a32?>
]</font></font>
<hr>
</td>
</tr>
<tr background="sumtextb.jpg">
<td colspan=2 style=text-align:justify valign=top background="sumtextb.jpg"><font color=<?echo$a22?> face=arial size=2>
<?echo$a38?>
<br>
<br>
<?echo$a41?>
</font></td>
</tr>
<tr>
<td bgcolor=<?echo$a21?> colspan=2 height=1 background="sumtextb.jpg">
<table border=0 width=100% background="sumtextb.jpg">
<tr background="sumtextb.jpg">
<td width=20>&nbsp;</td>
<td align=left width=80>&nbsp;</td>
<td align=right width=348><font face="verdana" size="1" color="<?echo$a23?>">IP
logged </font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0 width=448>
<tr>
<td background="sumtextb.jpg">&nbsp; </td>
</tr>
</table>
<br>
</center>
<?}
?>
<font face=verdana size=1><a href=<?echo$a1?>?a66=a5><font size="-4">
Admin</font></a></font></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
<br>
<div align=center>
<table border=0>
<tr>
<?
$a45=$a26+$a3;
$a46=$a26-$a3;
if($a26>=$a3){
?>
<td align=left><a href=<?echo$a1?>?a26=0&a28=<?echo$a28?>><img alt=First border=0 src=first.gif></a>&nbsp;<a href=<?echo$a1?>?a26=<?echo$a46?>&a28=<?echo$a28?>><img alt="Previous <?echo$a3?>" border=0 src=prev.gif></a></td>
<?}
if($a26+$a3<$a28){
?>
<td align=right><a href=<?echo$a1?>?a26=<?echo$a45?>&a28=<?echo$a28?>><img alt="Next <?echo$a3?>" border=0 src=next.gif></a>&nbsp;<a href=<?echo$a1?>?a26=<?echo"".floor($a28/$a3)*$a3.""?>&a28=<?echo$a28?>><img alt=Last border=0 src=last.gif></a></td>
<?}
?>
</tr>
</table>
</div>
<?
a2();}
function a4(){
global $a1,$a11,$a13,$a14,$a15,$a16,$a17,$a18,$a19,$a21,$a22,$a33,$a34,$a35,$ a36,$a37,$a38,$a39,$a47;
if(!isset($a33))$a33="";
if(!isset($a34))$a34="";
if(!isset($a35))$a35="";
if(!isset($a36))$a36="Homepage";
if(!isset($a37))$a37="";
if(!isset($a38))$a38="";
if(!isset($a39))$a39="";
if(!isset($a48))$a48="";
if($a47=="1")$a48="<br><b>Alle velden waar een * voorstaat moeten ingevuld worden.</b>";
elseif($a47=="a34")$a48="<br><b>E-mail adres is ongeldig.</b>";
a1();
?>
<center>
<form action=<?echo$a1?> method=post>
<input name=a66 type=hidden value=a2>
<table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0 width=448>
<tr>
<td>
<table border=0 cellpadding=2 cellspacing=0 width=448 background="sumtextb.jpg">
<tr>
<td bgcolor=<?echo$a17?>><img src="spartalogo.gif" width="75" height="74"></td>
<td align=right bgcolor=<?echo$a17?>><font color=<?echo$a18?> face=verdana size=2><b>
<?echo$a11?>
&nbsp;</b></font></td>
</tr>
<tr>
<td bgcolor=<?echo$a21?> colspan=2 height=1>&nbsp;</td>
</tr>
<tr>
<td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>*&nbsp;<b>Naam</b></font></td>
<td bgcolor=<?echo$a21?> height=1 width=330>&nbsp;&nbsp;
<input maxlength=16 name=a33 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="<?echo$a33?>">
</td>
</tr>
<tr>
<td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>E-Mail</font></td>
<td bgcolor=<?echo$a21?> height=1 width=330>&nbsp;&nbsp;
<input maxlength=64 name=a34 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value=<?echo$a34?>>
</td>
</tr>
<tr>
<td align=right bgcolor=<?echo$a21?> height=1 width=120><font color="<?echo$a13?>" face="verdana" size="2">Website</font></td>
<td bgcolor=<?echo$a21?> height=1 width=330>&nbsp;&nbsp;
<input maxlength=64 name=a35 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="Http://">
</td>
</tr>
<tr>
<td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>*&nbsp;<b>Club</b></font></td>
<td bgcolor=<?echo$a21?> height=1 width=330>&nbsp;&nbsp;
<input maxlength=24 name=a37 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:250" type=text value="<?echo$a37?>">
</td>
</tr>
<tr>
<td align=right bgcolor=<?echo$a21?> height=1 width=120><font color=<?echo$a13?> face=verdana size=2>*&nbsp;<b>Bericht</b></font></td>
<td bgcolor=<?echo$a21?> height=1 width=330>&nbsp;&nbsp;
<textarea cols=28 name=a38 rows=5 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:arial;font-size:13;height:100;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:250"><?echo$a38?></textarea>
</td>
</tr>
<tr>
<td bgcolor=<?echo$a21?> colspan=2> <br>
<center>
&nbsp;&nbsp; <input name=A70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=submit value=Toevoegen>
<input name=reset style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=reset value=Leegmaken>
<p></p>
</center></center>
</td>
</tr>
</table>
</table>
</form>
<table border=0 cellpadding=0 cellspacing=0 width=448>
<tr>
<td> <font face=verdana size=1>* Verplichte velden
<?echo$a48?>
</td>
</tr>
</table>
<p align=right><font face=verdana size=1><a href=<?echo$a1?>?a66=a5>Admin</a></font></p>
<?
a2();}
function a5(){
global $a1,$a5,$a49;
a1();
if(!isset($a49))$a49="";
if(empty($a5)){
$a50="n/a";
$a51="";
$a52="";}
else{
$a50="$a5";
$a51="<a href=$a5>";
$a52="</a>";}
a2();}
function a6(){
global $HTTP_USER_AGENT,$HTTP_X_FORWARDED_FOR,$REMOTE_ADDR,$REMOTE_HOST,$a1,$ a2,$a4,$a6,$a7,$a8,$a9,$a10,$a11,$a31,$a33,$a34,$a35,$a36,$a37,$a38,$a 39,$a53;
if(!empty($a34)){
if(!eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+\.[a-z]{2,4}\$",$a34)){
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a 37&a38=$a38&a39=$a39&a47=a34");
exit;}}
if(empty($a33)||empty($a37)||empty($a38)){
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a 37&a38=$a38&a39=$a39&a47=1");
exit;}
if(empty($a34))$a34="";
if(empty($a35))$a35="";
if(empty($a36))$a36="Homepage";
if(!ereg("^http://(.*)",$a35))$a35="$a35";
if(isset($HTTP_X_FORWARDED_FOR)){
$a54=gethostbyaddr($HTTP_X_FORWARDED_FOR);}
else{
$a54=gethostbyaddr($REMOTE_ADDR);}
$a31=gethostbyname("$a54");
if($a9=="1"){
include "badwords.php";
$a55=sizeof($a56);
for($a29=0;$a29<$a55;$a29++){
$a57=$a56[$a29];
if(eregi($a57,$a33)||eregi($a57,$a34)||eregi($a57,$a35)||eregi($a57,$a 36)||eregi($a57,$a37)||eregi($a57,$a38)){
$a33=str_replace($a57,"***",$a33);
$a34=str_replace($a57,"***",$a34);
$a35=str_replace($a57,"***",$a35);
$a36=str_replace($a57,"***",$a36);
$a37=str_replace($a57,"***",$a37);
$a38=str_replace($a57,"***",$a38);}}}
if(crypt($a39,"$a10")!=$a53){
$a33=htmlspecialchars($a33);
$a33=stripcslashes($a33);
$a33=trim($a33);
$a33=str_replace("@","a",$a33);
$a33=str_replace("|","I",$a33);
$a33=str_replace("$","S",$a33);
$a33=str_replace("][","X",$a33);
$a33=str_replace("}{","X",$a33);
$a33=str_replace("[","/",$a33);
$a33=str_replace("]","/",$a33);
$a33=str_replace("{","/",$a33);
$a33=str_replace("}","/",$a33);
$a33=str_replace("#","N",$a33);
$a33=substr($a33,0,16);
$a34=htmlspecialchars($a34);
$a34=stripcslashes($a34);
$a34=trim($a34);
$a34=str_replace("|","",$a34);
$a34=str_replace("$","",$a34);
$a34=str_replace("*","",$a34);
$a34=str_replace("!","",$a34);
$a34=str_replace("[","",$a34);
$a34=str_replace("]","",$a34);
$a34=str_replace("{","",$a34);
$a34=str_replace("}","",$a34);
$a34=str_replace("#","",$a34);
$a34=str_replace("/","",$a34);
$a34=substr($a34,0,64);
$a35=htmlspecialchars($a35);
$a35=stripcslashes($a35);
$a35=trim($a35);
$a35=str_replace("@","a",$a35);
$a35=str_replace("|","I",$a35);
$a35=str_replace("$","S",$a35);
$a35=str_replace("][","X",$a35);
$a35=str_replace("}{","X",$a35);
$a35=str_replace("[","/",$a35);
$a35=str_replace("]","/",$a35);
$a35=str_replace("{","/",$a35);
$a35=str_replace("}","/",$a35);
$a35=str_replace("#","N",$a35);
$a35=substr($a35,0,64);
$a36=htmlspecialchars($a36);
$a36=stripcslashes($a36);
$a36=trim($a36);
$a36=str_replace("@","a",$a36);
$a36=str_replace("|","I",$a36);
$a36=str_replace("$","S",$a36);
$a36=str_replace("][","X",$a36);
$a36=str_replace("}{","X",$a36);
$a36=str_replace("[","/",$a36);
$a36=str_replace("]","/",$a36);
$a36=str_replace("{","/",$a36);
$a36=str_replace("}","/",$a36);
$a36=str_replace("#","N",$a36);
$a36=substr($a36,0,32);
$a37=htmlspecialchars($a37);
$a37=stripcslashes($a37);
$a37=trim($a37);
$a37=str_replace("@","a",$a37);
$a37=str_replace("|","I",$a37);
$a37=str_replace("$","S",$a37);
$a37=str_replace("][","X",$a37);
$a37=str_replace("}{","X",$a37);
$a37=str_replace("[","/",$a37);
$a37=str_replace("]","/",$a37);
$a37=str_replace("{","/",$a37);
$a37=str_replace("}","/",$a37);
$a37=str_replace("#","N",$a37);
$a37=substr($a37,0,24);
$a38=htmlspecialchars($a38);
$a38=str_replace("
","<br>",$a38);
$a38=stripcslashes($a38);
$a38=trim($a38);
$a38=str_replace("@","a",$a38);
$a38=str_replace("|","I",$a38);
$a38=str_replace("$","S",$a38);
$a38=str_replace("][","X",$a38);
$a38=str_replace("}{","X",$a38);
$a38=str_replace("[","/",$a38);
$a38=str_replace("]","/",$a38);
$a38=str_replace("{","/",$a38);
$a38=str_replace("}","/",$a38);
$a38=str_replace("#","N",$a38);
$a38=substr($a38,0,1024);}
else{
$a39="";}
$a39=ereg_replace("[^0-9]","",$a39);
$a39=substr($a39,0,9);
if(empty($a39))$a39="n/a";
$a58=array("januari","februari","maart","april","mei","juni","juli","a ugustus","september","oktober","november","december");
$a103=array("1","2","3","4","5","6","7","8","9","10","11","12","13","1 4","15","16","17","18","19","20","21","22","23","24","25","26","27","2 8","29","30","31");
$a59=$a103[date("d")-1]." ".$a58[date("m")-1]." ".date("Y")."."." ".date("H:i");
$a60=fopen("counter.php","r");
$a61=fread($a60,filesize("counter.php"));
fclose($a60);
$a61++;
$a60=fopen("counter.php","w");
flock($a60,2);
fputs($a60,$a61);
flock($a60,3);
fclose($a60);
$a62=file("$a2");
$a63="$a61|$a31|$a59|$a33|$a34|$a35|$a36|$a37|$a38|$a39|$HTTP_USER_AGE NT||";
$a60=fopen("$a2","w");
flock($a60,1);
fwrite($a60,"$a63\n");
for($a29=0;$a29<$a4;$a29++){
@fwrite($a60,"$a62[$a29]");}
flock($a60,3);
fclose($a60);
if($a8=="1"&&!empty($a7)){
$a64="From:Guest book: $a11<>\nReply-To:$a34";
$a65="New message from: $a33";
$a63="[$a59] $a37 $a34 $a35 ICQ: $a39\n\n$a33: $a38\n\nip: $a31\nhost: $REMOTE_HOST\nsystem: $HTTP_USER_AGENT";
$a63=str_replace("<br>","\n",$a63);
$a6=convert_cyr_string($a6,'w','k');
$a63=convert_cyr_string($a63,'w','k');
$a64=convert_cyr_string($a64,'w','k');
$a65=convert_cyr_string($a65,'w','k');
mail("$a6 <$a7>",$a65,$a63,$a64);}
header("location:$a1?a66=a3");
exit;}
function a7(){
global $a1,$a12,$a13,$a16,$a17,$a19,$a22,$a53,$a66,$a67;
a1();
?>
<center>
<br>
<br>
<br>
<font face="verdana" size="5">Administratie</font><br>
<form action=<?echo$a1?> method=post>
<input name=a66 type=hidden value=a6>
<font face="verdana" size="2">Wachtwoord&nbsp;</font>
<input maxlength=8 name=a67 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57 &&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyC ode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password>
<br>
<br>
<input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=<Back>
&nbsp;&nbsp;
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Bevestig>
</form>
</center>
<?
a2();
exit;}
function a8(){
global $a1,$a2,$a3,$a4,$a5,$a10,$a14,$a15,$a16,$a17,$a19,$a20,$a21,$a22,$a26, $a28,$a53,$a66,$a67;
if($a67!=$a53){
if(!empty($a67)){
$a67=escapeshellcmd($a67);
$a67=substr($a67,0,8);
$a67=htmlspecialchars($a67);
$a67=crypt($a67,$a10);}}
if($a67==$a53){
a1();
?>
<table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448>
<tr>
<td align=center><font face=verdana size=2><a href=<?echo$a1?>?a66=a10&a67=<?echo$a67?>>Layout</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a9&a67=<?echo$a67?>>Regeling</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a7&a67=<?echo$a67?>>Verander wachtwoord</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a1>voeg record toe</a></font></td>
</tr>
</table>
<br>
<?
$a27=file($a2);
$a28=count($a27);
if(!isset($a26)){
$a26=0;}
$a68=($a4-$a28)+1;
if($a28>=$a4+1)$a69="Oude berichten zijn verwijderd";
else $a69="stayed: $a68";
?>
<center>
<font face="verdana" size="1">Het hele record is:
<?echo$a28?>
&nbsp;(
<?echo$a69?>
)</font>
</center>
<?
for($a29=$a26;$a29<min($a26+$a3,$a28);$a29++){
list($a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a40,$a41)=spli t("\|","$a27[$a29]");
$a41=str_replace("<br>","\n",$a41);
?>
<center>
<form action=<?echo$a1?> method=post>
<input name=a26 type=hidden value=<?echo$a26?>>
<input name=a28 type=hidden value=<?echo$a28?>>
<input name=a30 type=hidden value=<?echo$a30?>>
<input name=a32 type=hidden value="<?echo$a32?>">
<input name=a40 type=hidden value="<?echo$a40?>">
<input name=a66 type=hidden value=a8>
<input name=a67 type=hidden value=<?echo$a67?>>
<table bgcolor=<?echo$a16?> border=0 cellpadding=1 cellspacing=0>
<tr>
<td>
<table border=0 cellpadding=2 cellspacing=0 width=448>
<tr>
<td bgcolor=<?echo$a17?> height=1 valign=top>
<input name=a33 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value="<?echo$a33?>">
<input name=a34 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value=<?echo$a34?>>
<input name=a36 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value="<?echo$a36?>">
<input name=a35 size=13 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:15;width:108" type=text value=<?echo$a35?>>
</td>
</tr>
<tr>
<td bgcolor=<?echo$a19?> colspan=2 height=1 valign=top><input name=a37 size=20 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value="<?echo$a37?>"><font color=<?echo$a20?> face=verdana size=1>&nbsp;[<?echo$a32?>]</font></td>
</td>
</tr>
<tr>
<td bgcolor=<?echo$a21?> colspan=2 valign=top><center><textarea cols=54 name=a38 rows=3 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:arial;font-size:13;height:80;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:445"><?echo$a38?></textarea></center></td>
</tr>
<tr>
<td bgcolor=<?echo$a21?> colspan=2 height=1>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td align=left width=149><input name=a39 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value=<?echo$a39?>></td>
<td align=center width=150><font color=<?echo$a20?> face=verdana size=1>[<a href=<?echo$a1?>>read book</a>]</font></td>
<td align=right width=149><input name=a31 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;width:108" type=text value=<?echo$a31?>></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border=0 cellpadding=1 cellspacing=0 width=487>
<tr>
<td bgcolor=<?echo$a15?> rowspan=2 width=65><font color=<?echo$a20?> face=verdana size=1>
<center>#:&nbsp;<?echo$a30?><br>----------<br>
Voeg commentaar toe.
</center></font></td>
<td rowspan=2 width=317><center><textarea cols=40 name=a41 rows=2 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-family:verdana;font-size:10;font-weight:bold;height:46;scrollbar-3dlight-color:<?echo$a14?>;scrollbar-arrow-color:<?echo$a17?>;scrollbar-darkshadow-color:<?echo$a17?>;scrollbar-face-color:<?echo$a21?>;scrollbar-highlight-color:<?echo$a15?>;scrollbar-shadow-color:<?echo$a14?>;scrollbar-track-color:<?echo$a15?>;width:307"><?echo$a41?></textarea></center></td>
<td align=right width=99>
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:12;height:22;width:80" type=submit value=Toevoegen>
</td>
</tr>
<tr>
<td align=right width="99">
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:12;height:22;width:80" type=submit value=Verwijderen>
</td>
</tr>
</table>
<font face=verdana size=1><?echo$a40?></font>
<hr color=<?echo$a16?> size=1 width=448>
</form>
</center>
<?}
?>
<div align=center>
<table border=0>
<tr>
<?
$a45=$a26+$a3;
$a46=$a26-$a3;
if($a26>=$a3){
?>
<td align=left><a href=<?echo$a1?>?a66=a6&a26=0&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt=First border=0 src=first.gif></a>&nbsp;<a href=<?echo$a1?>?a66=a6&a26=<?echo$a46?>&a28=<?echo$a28?>&a67=<?echo$a 67?>><img alt="Previous <?echo$a3?>" border=0 src=prev.gif></a></td>
<?}
if($a26+$a3<$a28){
?>
<td align=right><a href=<?echo$a1?>?a66=a6&a26=<?echo$a45?>&a28=<?echo$a28?>&a67=<?echo$a 67?>><img alt="Next <?echo$a3?>" border=0 src=next.gif></a>&nbsp;<a href=<?echo$a1?>?a66=a6&a26=<?echo"".floor($a28/$a3)*$a3.""?>&a28=<?echo$a28?>&a67=<?echo$a67?>><img alt=Last border=0 src=last.gif></a></td>
<?}
?>
</tr>
</table>
</div>
<?
a2();}
else{
a1();
?>
<center>
<br>
<br>
<br>
<br>
<br>
<br>
<table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448>
<tr>
<td align=center><font face=verdana size=2><a href=<?echo$a1?>>Bekijk het
gastenboek</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a5>enter nog een keer</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a1>voeg
record toe</a></font></td>
</tr>
</table>
</center>
<?
a2();}}
function a9(){
global $a1,$a2,$a26,$a28,$a30,$a31,$a32,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a 40,$a41,$a53,$a66,$a67,$a70;
if($a67!=$a53){
a1();
a7();
a2();}
else{
if($a70=="Accept"){
$a41=str_replace("|","I",$a41);
$a41=str_replace("#","N",$a41);
$a41=str_replace("<?","&lt;?",$a41);
$a41=str_replace("?>","?&gt;",$a41);
$a41=str_replace("
","<br>",$a41);
$a71=file($a2);
for($a29=0;$a29<=count($a71);$a29++){
if(@ereg("^$a30\|",$a71[$a29]))$a71[$a29]="$a30|$a31|$a32|$a33|$a34|$a35|$a36|$a37|$a38|$a39|$a40|$a41|\n";}
$a60=fopen($a2,"w");
flock($a60,2);
for($a29=0;$a29<=count($a71);$a29++){
if(isset($a71[$a29]))fputs($a60,$a71[$a29]);}
flock($a60,3);
fclose($a60);
header("location:$a1?a66=a6&a26=$a26&a28=$a28&a67=$a67");
exit;}
else{
$a71=file($a2);
for($a29=0;$a29<=count($a71);$a29++){
if(ereg("^$a30\|",$a71[$a29]))unset($a71[$a29]);}
$a60=fopen($a2,"w");
flock($a60,2);
for($a29=0;$a29<=count($a71);$a29++){
if(isset($a71[$a29]))fputs($a60,$a71[$a29]);}
flock($a60,3);
fclose($a60);
header("location:$a1?a66=a6&a26=$a26&a28=$a28&a67=$a67");
exit;}}}
function a10(){
global $a1,$a10,$a12,$a13,$a16,$a17,$a19,$a22,$a42,$a53,$a66,$a67,$a72,$a73,$ a74;
if($a67!=$a53){
if(!empty($a67)){
$a67=crypt($a67,$a10);}}
if($a67!=$a53){
a1();
a7();
a2();}
else{
if(empty($a42)){
a1();
?>
<center>
<br>
<br>
<br>
<font face="verdana" size="5">Verander wachtwoord</font>
<form action=<?echo$a1?> method=post>
<input name=a42 type=hidden value=ok>
<input name=a66 type=hidden value=a7>
<input name=a67 type=hidden value=<?echo$a67?>>
<table border=0 width="303">
<tr>
<td><font face="verdana" size="2">Oude wachtwoord</font></td>
<td><input maxlength=8 name=a72 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57 &&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyC ode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td>
</tr>
<tr>
<td><font face="verdana" size="2">Nieuwe wachtwoord</font></td>
<td><input maxlength=8 name=a73 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57 &&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyC ode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td>
</tr>
<tr>
<td><font face="verdana" size="2">Nog een keer</font></td>
<td><input maxlength=8 name=a74 onkeypress="if((event.keyCode>32&&event.keyCode<48)||(event.keyCode>57 &&event.keyCode<65)||(event.keyCode>90&&event.keyCode<97)||(event.keyC ode==34||event.keyCode==39))event.returnValue=false" style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>;font-size:16;height:20;width:120" type=password></td>
</tr>
</table>
<br>
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Verander>
</form>
</center>
<?
a2();
exit;}
else{
if(!empty($a72)){
$a72=substr($a72,0,8);
$a72=crypt($a72,$a10);}
if($a72!=$a53){
a1();
?>
<center>
<br>
<br>
<br>
<font face="verdana" size="4">Oude wachtwoord is niet goed.</font> <br>
<br>
<input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=Back>
</center>
<?
a2();
exit;}
if(empty($a73)){
$a73=substr($a73,0,8);
a1();
?>
<center>
<br>
<br>
<br>
<font face="verdana" size="4">Nieuwe wachtwoord niet ingevoerd.</font> <br>
<br>
<input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=Back>
</center>
<?
a2();
exit;}
if($a73!=$a74){
$a74=substr($a74,0,8);
a1();
?>
<center>
<br>
<br>
<br>
<font face="verdana" size="4">Fout in het veranderen van het wachtwoord.</font>
<br>
<br>
<input onclick=javascript:history.back() style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=button value=Back>
</center>
<?
a2();
exit;}
$a73=crypt($a73,$a10);
$a60=@fopen("passwd.php","w")or die("Error open file");
flock($a60,2);
fwrite($a60,"<?\n");
fwrite($a60,"\$a53=\"$a73\";\n");
fwrite($a60,"?>");
flock($a60,3);
fclose($a60);
a1();
?>
<center>
<br>
<br>
<br>
<br>
<br>
<br>
<table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448>
<tr>
<td align=center><font face=verdana size=2><a href=<?echo$a1?>>Bekijk boek</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a5>enter
nog een keer</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a1>voeg record toe</a></font></td>
</tr>
</table>
</center>
<?
a2();}}}
function a11(){
global $a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a16,$a17,$a18,$a19,$a22,$a50,$a53 ,$a66,$a67,$a75,$a76,$a77,$a78,$a79,$a80,$a81,$a82,$a83;
if($a67!=$a53){
a1();
a7();
a2();}
else{
if(empty($a50)){
a1();
if($a8=="1")$a84="checked";
else $a84="";
if($a9=="1")$a85="checked";
else $a85="";
?>
<center>
<br>
<form action=<?echo$a1?> method=post>
<input name=a50 type=hidden value=ok>
<input name=a66 type=hidden value=a9>
<input name=a67 type=hidden value=<?echo$a67?>>
<table border=0 width=650>
<tr>
<td bgcolor=<?echo$a17?> colspan=2><font color=<?echo$a18?> face=verdana size=2><b>&nbsp;&nbsp;Regeling</b></font></td>
</tr>
<tr>
<td>
<input name=a75 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a1?>>
</td>
<td><font face=verdana size=2>&nbsp;Bestandsnaam of script van php_self
(whereupon - rename file itself)</font></td>
</tr>
<tr>
<td>
<input name=a76 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a2?>>
</td>
<td><font face=verdana size=2>&nbsp;Bestandsnaam van base of berichten
(whereupon - rename file itself)</font></td>
</tr>
<tr>
<td>
<input name=a77 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a3?>>
</td>
<td><font face=verdana size=2>&nbsp;Berichten per pagina</font></td>
</tr>
<tr>
<td>
<input name=a78 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a4?>>
</td>
<td><font face=verdana size=2>&nbsp;maximum amount of record, keeping
in base</font></td>
</tr>
<tr>
<td>
<input name=a80 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a6?>">
</td>
<td><font face=verdana size=2>&nbsp;Naam van de admin</font></td>
</tr>
<tr>
<td>
<input name=a81 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a7?>">
</td>
<td><font face=verdana size=2>&nbsp;E-Mail van de admin</font></td>
</tr>
<tr>
<td align=right width=155>
<input <?echo$a84?> name=a82 type=checkbox value=1>
</td>
<td><font face=verdana size=2>&nbsp;Report nieuwe berichten ? via e-mail</font></td>
</tr>
<tr>
<td align=right width=155>
<input <?echo$a85?> name=a83 type=checkbox value=1>
</td>
<td><font face=verdana size=2>&nbsp;Gebruik foute woorden</font></td>
</tr>
</table>
<br>
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Bevestigen>
</form>
<br>
<table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448>
<tr>
<td align=center><font face=verdana size=2><a href=<?echo$a1?>>Bekijk boek</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a5>enter
nog een keer</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a1>voeg record toe</a></font></td>
</tr>
</table>
</center>
<?
a2();}
else{
$a86=file("config.php");
for($a29=0;$a29<=count($a86);$a29++){
if(@ereg("^\\\$a1=",$a86[$a29]))$a86[$a29]="\$a1=\"$a75\";\n";
if(@ereg("^\\\$a2=",$a86[$a29]))$a86[$a29]="\$a2=\"$a76\";\n";
if(@ereg("^\\\$a3=",$a86[$a29]))$a86[$a29]="\$a3=\"$a77\";\n";
if(@ereg("^\\\$a4=",$a86[$a29]))$a86[$a29]="\$a4=\"$a78\";\n";
if(@ereg("^\\\$a5=",$a86[$a29]))$a86[$a29]="\$a5=\"$a79\";\n";
if(@ereg("^\\\$a6=",$a86[$a29]))$a86[$a29]="\$a6=\"$a80\";\n";
if(@ereg("^\\\$a7=",$a86[$a29]))$a86[$a29]="\$a7=\"$a81\";\n";
if(@ereg("^\\\$a8=",$a86[$a29]))$a86[$a29]="\$a8=\"$a82\";\n";
if(@ereg("^\\\$a9=",$a86[$a29]))$a86[$a29]="\$a9=\"$a83\";\n";}
$a60=@fopen("config.php","w")or die("Fout in het open van het bestand");
flock($a60,2);
for($a29=0;$a29<=count($a86);$a29++){
if(isset($a86[$a29]))fputs($a60,$a86[$a29]);}
flock($a60,3);
fclose($a60);
header("location:$a1?a66=a9&a67=$a67");
exit;}}}
function a12(){
global $a1,$a11,$a12,$a13,$a14,$a15,$a16,$a17,$a18,$a19,$a20,$a21,$a22,$a23,$ a24,$a25,$a53,$a66,$a67,$a87,$a88,$a89,$a90,$a91,$a92,$a93,$a94,$a95,$ a96,$a97,$a98,$a99,$a100,$a101,$a102;
if($a67!=$a53){
a1();
a7();
a2();}
else{
if(empty($a87)){
a1();
?>
<form action=<?echo$a1?> method=post>
<input name=a66 type=hidden value=a10>
<input name=a67 type=hidden value=<?echo$a67?>>
<input name=a87 type=hidden value=ok>
<center>
<table border=0 width=448>
<tr>
<td bgcolor=<?echo$a17?> colspan=3><font color=<?echo$a18?> face=verdana size=2><b>&nbsp;&nbsp;Lay
out</b></font></td>
</tr>
<tr>
<td><input name=a88 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value="<?echo$a11?>"></td>
<td align=center width=25>-</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Naam</font></td>
</tr>
<tr>
<td><input name=a89 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a25?>></td>
<td align=center width=25>-</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Achtergrond plaatje</font></td>
</tr>
<tr>
<td><input name=a90 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a12?>></td>
<td bgcolor=<?echo$a12?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur achtergrond</font></td>
</tr>
<tr>
<td><input name=a91 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a14?>></td>
<td bgcolor=<?echo$a14?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur main border</font></td>
</tr>
<tr>
<td><input name=a92 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a15?>></td>
<td bgcolor=<?echo$a15?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur van de lijntjes</font></td>
</tr>
<tr>
<td><input name=a93 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a13?>></td>
<td bgcolor=<?echo$a13?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Tekst kleur</font></td>
</tr>
<tr>
<td><input name=a94 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a16?>></td>
<td bgcolor=<?echo$a16?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur of border van
bericht </font></td>
</tr>
<tr>
<td><input name=a95 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a17?>></td>
<td bgcolor=<?echo$a17?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur of headline van
bericht </font></td>
</tr>
<tr>
<td><input name=a96 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a18?>></td>
<td bgcolor=<?echo$a18?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur van tekst hoofdlijn</font></td>
</tr>
<tr>
<td><input name=a97 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a19?>></td>
<td bgcolor=<?echo$a19?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur van sub heading
bericht </font></td>
</tr>
<tr>
<td><input name=a98 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a20?>></td>
<td bgcolor=<?echo$a20?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur of text van sub
bericht </font></td>
</tr>
<tr>
<td><input name=a99 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a21?>></td>
<td bgcolor=<?echo$a21?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;background kleur van
bericht </font></td>
</tr>
<tr>
<td><input name=a100 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a22?>></td>
<td bgcolor=<?echo$a22?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur of text of message</font></td>
</tr>
<tr>
<td><input name=a101 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a23?>></td>
<td bgcolor=<?echo$a23?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp; Kleur van tekst IP-address</font></td>
</tr>
<tr>
<td><input name=a102 style="background-color:<?echo$a19?>;border:<?echo$a16?> 1 solid;color:<?echo$a22?>" type=text value=<?echo$a24?>></td>
<td bgcolor=<?echo$a24?> width=25>&nbsp;</td>
<td width=260><font face=verdana size=2>&nbsp;&nbsp;Kleur naam admin</font></td>
</tr>
</table>
<br>
<input name=a70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;height:22;width:90" type=submit value=Bevestigen>
</form>
<br>
<table align=center border=1 bordercolor=<?echo$a16?> cellpadding=1 cellspacing=1 width=448>
<tr>
<td align=center><font face=verdana size=2><a href=<?echo$a1?>>Bekijk boek</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a5>enter nog een keer</a>&nbsp;|&nbsp;<a href=<?echo$a1?>?a66=a1>voeg record toe</a></font></td>
</tr>
</table>
</center>
<?
a2();}
else{
$a86=file("config.php");
for($a29=0;$a29<=count($a86);$a29++){
if(@ereg("^\\\$a11=",$a86[$a29]))$a86[$a29]="\$a11=\"$a88\";\n";
if(@ereg("^\\\$a12=",$a86[$a29]))$a86[$a29]="\$a12=\"$a90\";\n";
if(@ereg("^\\\$a13=",$a86[$a29]))$a86[$a29]="\$a13=\"$a93\";\n";
if(@ereg("^\\\$a14=",$a86[$a29]))$a86[$a29]="\$a14=\"$a91\";\n";
if(@ereg("^\\\$a15=",$a86[$a29]))$a86[$a29]="\$a15=\"$a92\";\n";
if(@ereg("^\\\$a16=",$a86[$a29]))$a86[$a29]="\$a16=\"$a94\";\n";
if(@ereg("^\\\$a17=",$a86[$a29]))$a86[$a29]="\$a17=\"$a95\";\n";
if(@ereg("^\\\$a18=",$a86[$a29]))$a86[$a29]="\$a18=\"$a96\";\n";
if(@ereg("^\\\$a19=",$a86[$a29]))$a86[$a29]="\$a19=\"$a97\";\n";
if(@ereg("^\\\$a20=",$a86[$a29]))$a86[$a29]="\$a20=\"$a98\";\n";
if(@ereg("^\\\$a21=",$a86[$a29]))$a86[$a29]="\$a21=\"$a99\";\n";
if(@ereg("^\\\$a22=",$a86[$a29]))$a86[$a29]="\$a22=\"$a100\";\n";
if(@ereg("^\\\$a23=",$a86[$a29]))$a86[$a29]="\$a23=\"$a101\";\n";
if(@ereg("^\\\$a24=",$a86[$a29]))$a86[$a29]="\$a24=\"$a102\";\n";
if(@ereg("^\\\$a25=",$a86[$a29]))$a86[$a29]="\$a25=\"$a89\";\n";}
$a60=@fopen("config.php","w")or die("Kan bestand niet openen");
flock($a60,2);
for($a29=0;$a29<=count($a86);$a29++){
if(isset($a86[$a29]))fputs($a60,$a86[$a29]);}
flock($a60,3);
fclose($a60);
header("location:$a1?a66=a10&a67=$a67");
exit;}}}
if(!isset($a66))$a66="";
switch($a66){
case "a1":
a4();
break;
case "a2":
a6();
break;
case "a3":
a3();
break;
case "a4":
a5();
break;
case "a5":
a7();
break;
case "a6":
a8();
break;
case "a7":
a10();
break;
case "a8":
a9();
break;
case "a9":
a11();
break;
case "a10":
a12();
break;
default:
a3();
break;}
?>
Met citaat reageren
Advertentie
Oud 03-05-2003, 15:59
Martin
Avatar van Martin
Martin is offline
Je denkt toch zeker niet dat wij 1015 regels gaan controleren hè? Zet het dan op zijn minst in een nette color-coding op het forum en alleen dat deel dat van belang is.

En anders vraag je het aan degene die het boek heeft geschreven?

Laatst gewijzigd op 03-05-2003 om 16:01.
Met citaat reageren
Oud 03-05-2003, 16:03
Megadeth
Avatar van Megadeth
Megadeth is offline
Zet het even tussen [php] tags plz.. zo is het onduidelijk.
Met citaat reageren
Oud 03-05-2003, 16:40
spsup
spsup is offline
<center>
<input name=A70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=submit value=Toevoegen>
<input name=reset style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=reset value=Leegmaken>
<p></p>
</center></center>
</td>
</tr>
</table>
</table>
</form>
<table border=0 cellpadding=0 cellspacing=0 width=448>
<tr>
<td> <font face=verdana size=1>* Verplichte velden
<?echo$a48?>
</td>
</tr>
</table>
<p align=right><font face=verdana size=1><a href=<?echo$a1?>?a66=a5>Admin</a></font></p>
<?
a2();}
function a5(){
global $a1,$a5,$a49;
a1();
if(!isset($a49))$a49="";
if(empty($a5)){
$a50="n/a";
$a51="";
$a52="";}
else{
$a50="$a5";
$a51="<a href=$a5>";
$a52="</a>";}
a2();}
function a6(){
global $HTTP_USER_AGENT,$HTTP_X_FORWARDED_FOR,$REMOTE_ADD
R,$REMOTE_HOST,$a1,$a2,$a4,$a6,$a7,$a8,$a9,$a10,$a
11,$a31,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a53;
if(!empty($a34)){
if(!eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+\.[a-z]{2,4}\$",$a34)){
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a 37&a38=$a38&a39=$a39&a47=a34");
exit;}}
if(empty($a33)||empty($a37)||empty($a38)){
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a 37&a38=$a38&a39=$a39&a47=1");
exit;}
if(empty($a34))$a34="";
if(empty($a35))$a35="";
if(empty($a36))$a36="Homepage";
if(!ereg("^http://(.*)",$a35))$a35="$a35";
if(isset($HTTP_X_FORWARDED_FOR)){
$a54=gethostbyaddr($HTTP_X_FORWARDED_FOR);}
else{
$a54=gethostbyaddr($REMOTE_ADDR);}
$a31=gethostbyname("$a54");
if($a9=="1"){
include "badwords.php";
$a55=sizeof($a56);
for($a29=0;$a29<$a55;$a29++){
$a57=$a56[$a29];
if(eregi($a57,$a33)||eregi($a57,$a34)||eregi($a57,
$a35)||eregi($a57,$a36)||eregi($a57,$a37)||eregi($
a57,$a38)){
?>


Hier zal de fout wel zitten en als ik hem binnen php tags zet kan je net zo goed gewoon naar http://members.lycos.nl/michaelv/gb_eng/index.php
Met citaat reageren
Oud 03-05-2003, 16:49
Megadeth
Avatar van Megadeth
Megadeth is offline
Nee hoezo? Als je het tussen PHP tags doet zie je :

PHP-code:
<? echo ("BLAAT"); ?>
Netjes met kleur enzo..
Met citaat reageren
Oud 03-05-2003, 16:58
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Pf wat is dat lelijk geprogt zeg.
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 03-05-2003, 17:46
spsup
spsup is offline
oooooooooooooooooooooh oke dan zet ik het in php tag

PHP-code:
 <center> 
<input name=A70 style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=submit value=Toevoegen> 
<input name=reset style="background-color:<?echo$a17?>;border-color:<?echo$a16?>;font-size:13;height:22;width:90" type=reset value=Leegmaken> 
<p></p> 
</center></center> 
</td> 
</tr> 
</table> 
</table> 
</form> 
<table border=0 cellpadding=0 cellspacing=0 width=448> 
<tr> 
<td> <font face=verdana size=1>* Verplichte velden 
<?echo$a48?> 
</td> 
</tr> 
</table> 
<p align=right><font face=verdana size=1><a href=<?echo$a1?>?a66=a5>Admin</a></font></p> 
<? 
a2();} 
function a5(){ 
global $a1,$a5,$a49; 
a1(); 
if(!isset($a49))$a49=""; 
if(empty($a5)){ 
$a50="n/a"; 
$a51=""; 
$a52="";} 
else{ 
$a50="$a5"; 
$a51="<a href=$a5>"; 
$a52="</a>";} 
a2();} 
function a6(){ 
global $HTTP_USER_AGENT,$HTTP_X_FORWARDED_FOR,$REMOTE_ADD

R,$REMOTE_HOST,$a1,$a2,$a4,$a6,$a7,$a8,$a9,$a10,$a

11,$a31,$a33,$a34,$a35,$a36,$a37,$a38,$a39,$a53; 
if(!empty($a34)){ 
if(!eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+\.[a-z]{2,4}\$",$a34)){ 
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a37&a38=$a38&a39=$a39&a47=a34"); 
exit;}} 
if(empty($a33)||empty($a37)||empty($a38)){ 
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a37&a38=$a38&a39=$a39&a47=1"); 
exit;} 
if(empty($a34))$a34=""; 
if(empty($a35))$a35=""; 
if(empty($a36))$a36="Homepage"; 
if(!ereg("^[url]http://[/url](.*)",$a35))$a35="$a35"; 
if(isset($HTTP_X_FORWARDED_FOR)){ 
$a54=gethostbyaddr($HTTP_X_FORWARDED_FOR);} 
else{ 
$a54=gethostbyaddr($REMOTE_ADDR);} 
$a31=gethostbyname("$a54"); 
if($a9=="1"){ 
include "badwords.php"; 
$a55=sizeof($a56); 
for($a29=0;$a29<$a55;$a29++){ 
$a57=$a56[$a29]; 
if(eregi($a57,$a33)||eregi($a57,$a34)||eregi($a57,

$a35)||eregi($a57,$a36)||eregi($a57,$a37)||eregi($

a57,$a38)){ 
?>
Met citaat reageren
Oud 03-05-2003, 17:54
Martin
Avatar van Martin
Martin is offline
Citaat:
Enlightenment schreef op 03-05-2003 @ 17:58:
Pf wat is dat lelijk geprogt zeg.
Inderdaad, hier kan je toch geen fout uit halen?

(Zelfs mijn zusje kan nog netter PHP-en )
Met citaat reageren
Oud 04-05-2003, 16:25
spsup
spsup is offline
nou dan toch niet
Met citaat reageren
Oud 04-05-2003, 17:01
Enlightenment
Avatar van Enlightenment
Enlightenment is offline
Citaat:
spsup schreef op 04-05-2003 @ 17:25:
nou dan toch niet
Ja kijk hier kunnen we niets mee. Je zult zelf PHP moeten leren en het leren schrijven. Als je specifieke vragen hebt, kun je natuurlijk altijd hier terecht. Maar een lap code van hier tot gunter geven en vragen of wij even de bugs eruit willen halen, ja zo werkt het niet.

www.php.net kijk eens bij documentation. Daar staat - ook in het Nederlands - voldoende informatie om jezelf PHP aan te leren. Zo heb ik, en met mij vele anderen, het ook geleerd.

Succes! en voor specifieke vragen ben je hier altijd welkom.
__________________
Per undas adversas (tegen de stroom in)
Met citaat reageren
Oud 04-05-2003, 17:36
CryptapiX
Avatar van CryptapiX
CryptapiX is offline
jesus wat een ZOOI
welke *** schrijft zijn site ZO scheef ?

ik ga er iig niet naar kijken
leer maar php zoals gezegd
__________________
I have not failed, I have just found 10.000 ways that won't work
Met citaat reageren
Oud 04-05-2003, 18:02
Verwijderd
PHP-code:
header("location:$a1?a66=a1&a33=$a33&a34=$a34&a35=$a35&a36=$a36&a37=$a37&a38=$a38&a39=$a39&a47=1"); 

Okeey dan... lekker duidelijk...
Met citaat reageren
Advertentie
Reageren


Regels voor berichten
Je mag geen nieuwe topics starten
Je mag niet reageren op berichten
Je mag geen bijlagen versturen
Je mag niet je berichten bewerken

BB code is Aan
Smileys zijn Aan
[IMG]-code is Aan
HTML-code is Uit

Spring naar

Soortgelijke topics
Forum Topic Reacties Laatste bericht
Software & Hardware [PHP] - Gastenboek, wil email als hyperlink tonen
afrutado
8 21-02-2007 10:37
Software & Hardware [PHP] Verkeerde tijd in gastenboek
Venomous
11 27-10-2004 18:59
Software & Hardware [PHP] Errors met mysql_*()
Hydraul!C FunK
18 11-05-2004 17:40
Software & Hardware [PHP] gastenboek vraag
Lil' Stef
10 14-01-2004 19:09
Software & Hardware [php] Gastenboekje foutje [mysql]
micra
13 10-07-2003 11:36
Software & Hardware php gastenboek werkt niet
Slaughterer
5 20-06-2002 18:49


Alle tijden zijn GMT +1. Het is nu 15:59.