back to entries";echo "$titel1";$gbfile = "gbdata/gbook.txt";$datum = date("d.m.Y");
$zeit = date("H:i");$teiler = "
| ";if (isset($_GET['show'])) $show = $_GET['show'];
if (isset($_GET['id'])) $id = $_GET['id'];if (isset($_GET['pages'])) $pages = $_GET['pages'];
if (isset($_GET['start'])) $start = $_GET['start'];if (isset($_GET['ende'])) $ende = $_GET['ende'];
if (isset($_POST['pass'])) $pass = $_POST['pass'];global $show, $pages, $start, $ende, $pass, $id;
$sf = file("gbdata/smilie.txt");$sf = str_replace("../","",$sf);
if(!empty($sf[0])) {$s0 = "$sf[0]";}if(!empty($sf[1])) {$s1 = "$sf[1]";}
if(!empty($sf[2])) {$s2 = "$sf[2]";}if(!empty($sf[3])) {$s3 = "$sf[3]";}
if(!empty($sf[4])) {$s4 = "$sf[4]";}if(!empty($sf[5])) {$s5 = "$sf[5]";}
if(!empty($sf[6])) {$s6 = "$sf[6]";}if(!empty($sf[7])) {$s7 = "$sf[7]";}
if(!empty($sf[8])) {$s8 = "$sf[8]";}if(!empty($sf[9])) {$s9 = "$sf[9]";}
$comment="
";if($show == ""){$file = file("$gbfile");
$anzahl = count($file);if($anzahl>$blaettern){$ende=$blaettern;}
else{$ende=$anzahl;}$start=0;}if($show == "" or $show == "cut"){echo "$comment";$file = file("$gbfile");$anzahl = count($file); echo "$titel2"; ?>
new entry
At present no entries are in forum W.W. Anger.
At present 1 entry is in forum W.W. Anger.
1) { ?>
At present entries are in forum W.W. Anger.
0) {for($a=$start;$a<$ende;$a++){$split = explode("|",$file[$a]);$t = $split[3];$name = $split[1];$ort = $split[2];clear (); ?>
entry on at
$kurzname from $kurzort";}else{echo "$split[1]";} ?>
"> s Homepage" /> "> s Homepage" /> ">" />
preview
",$text);if(!empty($sf[0])) {$text = str_replace(":-)","$s0",$text);}if(!empty($sf[1])) {$text = str_replace(":-D","$s1",$text);} if(!empty($sf[2])) {$text = str_replace(":-o","$s2",$text);}if(!empty($sf[3])) {$text = str_replace(":-/","$s3",$text);} if(!empty($sf[4])) {$text = str_replace(":-(","$s4",$text);} if(!empty($sf[5])) {$text = str_replace(":-s","$s5",$text);}if(!empty($sf[6])) {$text = str_replace(":-w","$s6",$text);} if(!empty($sf[7])) {$text = str_replace(":-x","$s7",$text);} if(!empty($sf[8])) {$text = str_replace(":-y","$s8",$text);} if(!empty($sf[9])) {$text = str_replace(":-z","$s9",$text);}?>
entry on at
$kurzname
aus $kurzort";}else{echo "$kurzname";}?> "> s Homepage" /> "> s Homepage" /> ">" /> $e1";$error = true;} if(eregi("http://", $name) or eregi("www.", $name) or eregi("url", $name) && trim($url_sperre == "1")){ $error2 = "
$e2";
$error = true;} if(eregi("http://", $ort) or eregi("www.", $ort) or eregi("url", $ort) && trim($url_sperre == "1")){ $error3 = "
$e3";$error = true;} if(!eregi(".+@.+\..+", $mail)&& !empty($mail)){ $error4 = "
$e4";$error = true;} if(!(strlen(trim($text)))){$error5 = "
$e5";$error = true;} if(eregi("http://", $text) or eregi("www.", $text) or eregi("url", $text) && trim($url_sperre == "1")){$error6 = "
$e6";$error = true;} if($summant1+$summant2 != $result && trim($captcha == "1")){$error7 = "
$e7";$error = true;} if($error == true) {
echo "$e
$error1$error2$error3$error4$error5$error6$error7
";form();}else{if(trim($mailinfo) == "1") {$betreff = "forum W.W. Anger";$body = "Es wurde ein neuer Eintrag im forum W.W. Anger hinterlassen:\n
Name: $name \n Nachricht:
$text";
mail("$webmaster","$betreff","$body\n");}$br=chr(13).chr(10);
$name = str_replace("|","Ι",$name);$name = strip_tags($name);$name = stripslashes($name);
$ort = str_replace("|","Ι",$ort);$ort = strip_tags($ort);$ort = stripslashes($ort);
$mail = trim($mail);$mail = str_replace("|","Ι",$mail);$home = trim($home); $home = str_replace("|","Ι",$home); $text = str_replace("|","Ι",$text); $text = strip_tags($text);
$text = stripslashes($text);if(trim($br_spam == "1")) {$text = preg_replace('/(\s{4})\s+/', '\1', $text);}$text = str_replace("$br","
",$text);$file=file("$gbfile");$fp=fopen("$gbfile","r"); $inhalt=fgets($fp,1000);$zeile=explode("|",$inhalt); $next=$zeile[0]+1;$z = filesize($gbfile);
$ax = str_replace(")","",$name);$ax = str_replace("(","",$ax);$bx = str_replace(")","",$zeile[1]);
$bx = str_replace("(","",$bx);$cx = str_replace(")","",$text);$cx = str_replace("(","",$cx);
$dx = str_replace(")","",$zeile[3]);$dx = str_replace("(","",$dx);if ($z>0 && eregi("$ax",$bx) && (eregi("$cx",$dx))){ ?>
reloadprevention
This entry allready exists . Filestore not possible.
Thanks for your entry.
Filestore successfull.
$blaettern){$pages=ceil($anzahl/$blaettern);$startid=0;$endid=$blaettern; ?>
$cutword) {$cutname = substr($name, 0, $cutword); $kurzname = "$cutname..."; } else {
$kurzname = $name; } $ort = trim($ort); $langort = strlen($ort); if($langort > $cutword) {$cutort = substr($ort, 0, $cutword); $kurzort = "$cutort...";} else{$kurzort = $ort;} if(!empty($sf[0])) {$t = str_replace(":-)","$s0",$t);} if(!empty($sf[1])) {$t = str_replace(":-D","$s1",$t);} if(!empty($sf[2])) {$t = str_replace(":-o","$s2",$t);} if(!empty($sf[3])) {$t = str_replace(":-/","$s3",$t);} if(!empty($sf[4])) {$t = str_replace(":-(","$s4",$t);} if(!empty($sf[5])) {$t = str_replace(":-s","$s5",$t);} if(!empty($sf[6])) {$t = str_replace(":-w","$s6",$t);} if(!empty($sf[7])) {$t = str_replace(":-x","$s7",$t);} if(!empty($sf[8])) {$t = str_replace(":-y","$s8",$t);} if(!empty($sf[9])) {$t = str_replace(":-z","$s9",$t);} }?>