Next " . $cfg['per_page'] . " "; } if($pageplus >= $pages) { $Volgende = "Next " . $cfg['per_page'] . " "; } if($pagemin <= $pages AND !empty($_GET['page'])) { $prev = " Previous " . $cfg['per_page'] . " "; } else { $prev = " Previous " . $cfg['per_page'] . " "; } ?> These are the bulletins which appear in the guest book
Tutaj znajdziesz opinie naszych klubowiczow
New message | " . $Volgende ?>

There are no messages in the guestbook yet.

"; } else { while($row = mysql_fetch_assoc($query)) { if(!empty($row['website'])) { $split_url = substr($row['website'],0,7); { if($split_url != "http://") { $url = "http://" . $row['website']; } else { $url = $row['website']; } } } ?>

"; echo " "; echo " "; } ?>
Name:   " . htmlspecialchars($row['naam']) . ""; } else { echo htmlspecialchars($row['naam']); } ?> - #" . $row['id'] . ""; } ?>
Website:  
Posted:  
Message:   ",">", $row2['tag']); $row2['tag'] = str_replace("<","<", $row2['tag']); $row['bericht'] = str_replace("$row2[tag]","", $row['bericht']); } $query3 = mysql_query("SELECT * FROM filter"); while($row3 = mysql_fetch_assoc($query3)) { $row['bericht'] = str_replace("$row3[woord]","***", $row['bericht']); } echo nl2br($row['bericht']); ?>
"; echo " "; echo " "; echo " "; echo " "; echo "

New message | " . $Volgende ?>

Fill in the form to add your message.

Name:  
E-mail:  
Website:  
Message:  
 
Antispam:   <- What year do we live in ?
 
Smileys:   "; } ?>
 
 


"; echo " Go back."; } else { if(empty($_POST['naam']) OR empty($_POST['bericht'])) { echo "Please fill in the required fields.

"; echo " Go back."; } else { $_POST['naam'] = str_replace("'","`",$_POST['naam']); $_POST['bericht'] = str_replace("'","`",$_POST['bericht']); mysql_query("INSERT INTO gastenboek (naam,datetime,email,website,bericht,ip) VALUES ('" . $_POST['naam'] . "',NOW(),'" . $_POST['email'] . "','" . $_POST['website'] . "','" . $_POST['bericht'] . "','" . $_SERVER['REMOTE_ADDR'] . "')"); echo "Your message has been added to our guestbook, thank you !

"; echo "Click here to read the guestbook."; } } } } else { echo "Wrong action !"; } } ?>