0) die("FU!"); if (count($_GET) > 1) // wg. ?page=2 ... die("FU!"); if ($_GET["add"] != "") die("FUCK U!"); } die("WinkeWinke, liebes Gästebuch!
Zum Gästebuch 2000
Zu WinkeWinke"); $referer = $_SERVER["HTTP_REFERER"]; /* if ($referer == "http://www.winkewinke.de/guestbook/addguest.html" || $referer == "http://www.winkewinke.de/guestbook/index.html" || $referer == "") die("MF"); // Motherfucker! if ($referer == "http://www.winkewinke.de/guestbook/" && $_GET["page"] == "") die("MF"); // Motherfucker! if (strstr($referer, "winkewinke.de") === false) die("GH"); // go home! */ // make db-connect: include("../../foto-und-kind/include/database.inc.php"); $link = ConnectDB("foto"); if ($link == false){ die("DB not available"); } //else $guestbook = new Guestbook(); // create a new instance of the guestbook $guestbook->GuestbookPage = 'http://www.winkewinke.de/guestbook/'; // the location of the guestbook page on ur site. $guestbook->EmailsFrom = 'Gaestebuch@winkewinke.de'; // where do the emails come from inrelation to the guestbook $guestbook->ConfirmMessage = 0; // set this to 1 if you want to email whoever submits the form letting them know to that it has been submitted. $guestbook->SubmitConfirmationEmail = 'This is the message which is sent to people if you set ConfirmMessage'; // the message which is sent to the person who submitted the form $guestbook->myEmail = 'gepi@gmx.net'; // set the email you want the guestbook entrys going to; // CAPTCHA START*********** $captcha_error = false; if ($Captcha_enabled){ $hashstring = $_POST["hashstring"]; $captcha = $_POST["captcha"]; $length= 5; require($_SERVER["LIBRARY_PATH"]."/kcaptcha/captcha.functions.inc.php"); $secret = ""; $timeout = false; if ($hashstring != ""){ $secret = Captcha_DecodeString($hashstring, $length); if ($secret == false){ $captcha_error = true; $timeout = true; } } if (isset($_POST['addToGuestbook'])){ if ($captcha != $secret || $secret == "") $captcha_error = true; } if (!isset($_POST['addToGuestbook']) || $captcha_error || $hashstring == ""){ $secret = Captcha_MakeString($length); } $sid = $hashstring = Captcha_EncodeString($secret, $length); $guestbook->CaptchaCode = "\"Bitte". "  BitteBitte, die linken ".$length." Zeichen hier eingeben, um Spam zu vermeiden:  ". "   "; } // CAPTCHA END ************ $guestbook->checkAddorDelete(); if(isset($_POST['addToGuestbook'])) { if($guestbook->CheckForm($_POST) == true && $captcha_error == false) { $guestbook->FormError = 'Gästebucheintrag erfolgreich.'; $guestbook->SendConfirmEmail(); } else { if(!isset($guestbook->FormError)) { if ($captcha_error){ if ($captcha == "") $guestbook->FormError = '** BITTE: In das Feld unten die '.$length.' Zeichen (wie auf bem Bild angezeigt) eintippen ". "(Das verhintert Spam im Gästebuch).'; elseif($timeout == true) $guestbook->FormError = 'Die Zeichenfolge ist abgelaufen (timout). Bitte erneut eingeben.'; else $guestbook->FormError = 'Die Zeichenfolge (unten) stimmt nicht mit der angezeigten überein.'; } else $guestbook->FormError = 'Bitte die Felder "Name", "Betreff" und "Nachricht" ausfüllen.'; } } } ?> Gästebuch WinkeWinke
[Alte Einträge im Gästebuch]   [Zurück zu WinkeWinke.de] TableWidth = 690; // set the width of the guestbook table $guestbook->TableBorder = 0; // set the border of the table $guestbook->NameAlign = 'center'; // does the author of each log, align left, right or middle ? $guestbook->TableId = 'guestView'; // the id for the table $guestbook->TdClass = 'TdClass'; // the class for the td's in the table .. padding, bg color..etc $guestbook->RowClass = 'TrClass'; $guestbook->TdClass2 = 'Column_1'; $guestbook->TdClass1 = 'Column_2'; $guestbook->DivTitleClass = 'guestTitle'; // the div class name for the title section $guestbook->DivTimeClass = 'commentcontent'; // the div class name for the time section $guestbook->DivAuthorClass = 'commentcontent'; // the div class name for the author section $guestbook->Add_TextInputSize = '30'; // size for the input text fields in the add form $guestbook->Add_TextareaSize = '550px'; // width for the text area, eg: 24em, 1em, 100%, 50%, 10px, 100px . . . $guestbook->Add_TextareaHeight = '100px;'; // height for the textarea, eg: 24em, 1em, 100%, 50%, 10px, 100px . . . $guestbook->MessageLimit = 500; //$guestbook->JavascriptShowHide(); // make sure to include the javascript for the show / hide of the 'add to guestbook' link //$guestbook->JavascriptMessageLimit(); $guestbook->showEntrys(SHOW_ADD_FORM); // true: show add-form, false, show NOT // draw the page elements mysql_close($link); ?>