Hallo,
habe soweit alles eingebunden nur die captcha-code überprüfung klappt nicht. es wird alles ins gästebuch eingetragen ohne eine captcha-abfrage.
würde mich freuen, wenn mir jemand helfen kann... BITTE.
CODE:
<?php
// Wenn die Seite mit Frames programmiert wurde, dann hier $frames = true; schreiben.
// Wenn die Seite durch PHP oder CGI/Perl oder ASP als Tabelle generiert wurde, dann
// hier $frames = false; schreiben.
$frames = true;
// Wenn das Gästebuch in Ihrer Seite über den Befehl include(..); eingebunden wird, z.B. so:
// index.php?content=guestbook.php dann müssen Sie in der Variable $vor_link den Prefix hineinschreiben
// Im Falle des Beispieles wäre dies: index.php?content=
$vor_link = "";
// Wenn das Gästebuch in einem Unterverzeichnis der Homepage liegt, und das Gästebuch über $include(..);
// eingebunden werden soll, dann geben Sie hier das Unterverzeichnis an.
// Bsp.: $gb_ordner = "guestbook/";
$gb_ordner = "";
if (!$frames) {
$second_operand = "&";
} else {
$second_operand = "?";
$gb_ordner = "";
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Smilie-Funktionen:
if ($frames) require("function_smile.php");
elseif (!$frames) require($gb_ordner."function_smile.php");
// Gästebuch-Einstellungen auslesen:
if ($frames) require("guestbook_options.php");
elseif (!$frames) require($gb_ordner."guestbook_options.php");
// Sprachdatei auslesen: Muss nach dem Auslesen der Gästebuch-Einstellungen stehen!!!
if ($frames) $lang_array = parse_ini_file("lang/".$options_language_file, true);
elseif (!$frames) $lang_array = parse_ini_file($gb_ordner."lang/".$options_language_file, true);
$gb_died = 0;
$filename = $gb_ordner."guestbook-include";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
if (isset($_SESSION["PHPSESSID"])) {
@session_start($_SESSION["PHPSESSID"]);
$_SESSION["PHPSESSID"] = session_id();
}
else {
@session_start();
$_SESSION["PHPSESSID"] = session_id();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
if (!$options_use_webserver_time) {
$opp = substr($options_add_to_gmttime,0,1);
$addto = substr($options_add_to_gmttime,1,strlen($options_add_to_gmttime));
$addto = $addto*3600;
if ($opp == "+") {
$entry_date = gmdate("d.m.Y, H:i:s", time() + $addto );
$date2 = gmdate("d.m.Y", time() + $addto );
$time = gmdate("H:i:s", time() + $addto );
} else {
$entry_date = gmdate("d.m.Y, H:i:s", time() - $addto );
$date2 = gmdate("d.m.Y", time() - $addto );
$time = gmdate("H:i:s", time() - $addto );
}
} elseif ($options_use_webserver_time) {
$entry_date = date("d.m.Y, H:i:s");
$date2 = date("d.m.Y");
$time = date("H:i:s");
}
// Email-Syntax-Überprüfung
$MailOK = ereg("^[A-Za-z0-9]+((\\.|!|_|\\+|\\-)[A-Za-z0-9]+)*[.]{0,1}@([A-Za-z0-9]+(\\.|\\-))+[A-Za-z0-9]{2,}$", $HTTP_POST_VARS['email']);
if ($frames) {
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=".$lang_array["Language"]["Charset"]."\">
<meta name=\"robots\" content=\"nofollow\">
<meta name=\"Language\" content=\"".$lang_array["Language"]["NameShort"]."\">
<meta http-equiv=\"expires\" content=\"0\">
<title>$options_gb_headline1_text</title>
<link rel=\"stylesheet\" href=\"../../style/scroll.css\" type=\"text/css\">
<style type=\"text/css\">
#gbinput { font-family:tahoma,verdana,arial,helvetica; font-size:11px; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; background: #ffffff;}
#gbbutton { font-family:tahoma,verdana,arial,helvetica; font-size:11px; border: #c4c4c4 1px solid; background:$options_textbox_bgcolor; }
#gbmaintext { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:normal; color:$options_normal_font_color; }
#gbmaintextlink { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:none; color:$options_link_font_color; }
#gbmaintextlink:hover { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:underline; color:$options_link_font_color; }
#gbmaintextlink:visited { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:none; color:$options_link_font_color; }
#gbmaintext2 { font-size:12px; font-family:$options_normal_font_name; font-weight:normal; }
#gbhline { font-size:11px; font-family:$options_normal_font_name; font-weight:900; color:#486f91; }
#gbhline2 { font-size:11px; font-family:$options_normal_font_name; color:#000000; }
#gbheadline { font-size:".$options_gb_headline1_size."px; font-weight:bold; font-family:$options_normal_font_name; color:$options_gb_headline_font_color;}
#gbheadline4 { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:bold; color:$options_gb_headline_font_color; }
#gbtext { font-size:12px; font-family:$options_normal_font_name; }
#gbnormtext { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; color:$options_normal_font_color; }
#gberrormsg { font-size:".$options_error_font_size."px; font-family:$options_error_font_name; color:$options_error_font_color; }
table.gb { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:normal; color:#000000; }
</style>
</head>";
if (($options_background_use_color) && (!$options_background_use_image)) {
echo "<body bgcolor=\"$options_background_color\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" text=\"#000000\" style=\"border: 1px solid #C0C0C0\" oncontextmenu=\"return false\">";
} elseif ((!$options_background_use_color) && ($options_background_use_image)) {
echo "<body style=\"background:url($options_background_image)";
echo " ".$options_background_image_align;
if ($options_background_image_fixed) echo " fixed";
if (!$options_background_image_repeat) echo " no-repeat";
echo ";\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" text=\"#000000\">";
} elseif (($options_background_use_color) && ($options_background_use_image)) {
echo "<body style=\"background:url($options_background_image)";
echo " ".$options_background_image_align;
if ($options_background_image_fixed) echo " fixed";
if (!$options_background_image_repeat) echo " no-repeat";
echo " $options_background_color;\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" text=\"#000000\">";
}
echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" align=\"center\">";
} elseif (!$frames) {
echo "<style type=\"text/css\">
#gbinput { font-family:tahoma,verdana,arial,helvetica; font-size:11px; border-right: black 1px solid; border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; background: #ffffff;}
#gbbutton { font-family:tahoma,verdana,arial,helvetica; font-size:11px; border: #c4c4c4 1px solid; background:$options_textbox_bgcolor; }
#gbmaintext { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:normal; color:$options_normal_font_color; }
#gbmaintextlink { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:none; color:$options_link_font_color; }
#gbmaintextlink:hover { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:underline; color:$options_link_font_color; }
#gbmaintextlink:visited { font-size:".$options_link_font_size."px; font-family:$options_link_font_name; font-weight:normal; text-decoration:none; color:$options_link_font_color; }
#gbmaintext2 { font-size:12px; font-family:$options_normal_font_name; font-weight:normal; }
#gbhline { font-size:11px; font-family:$options_normal_font_name; font-weight:900; color:#486f91; }
#gbhline2 { font-size:11px; font-family:$options_normal_font_name; color:#000000; }
#gbheadline { font-size:".$options_gb_headline1_size."px; font-weight:bold; font-family:$options_normal_font_name; color:$options_gb_headline_font_color;}
#gbheadline4 { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:bold; color:$options_gb_headline_font_color; }
#gbtext { font-size:12px; font-family:$options_normal_font_name; }
#gbnormtext { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; color:$options_normal_font_color; }
#gberrormsg { font-size:".$options_error_font_size."px; font-family:$options_error_font_name; color:$options_error_font_color; }
table.gb { font-size:".$options_normal_font_size."px; font-family:$options_normal_font_name; font-weight:normal; color:#000000; }
</style>";
if (($options_background_use_color) && (!$options_background_use_image)) {
echo "<table width=\"100%\" height=\"100%\" style=\"background:$options_background_color;\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" align=\"center\">";
} elseif ((!$options_background_use_color) && ($options_background_use_image)) {
echo "<table width=\"100%\" height=\"100%\" style=\"background:url($options_background_image)";
echo " ".$options_background_image_align;
if ($options_background_image_fixed) echo " fixed";
if (!$options_background_image_repeat) echo " no-repeat";
echo ";\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" align=\"center\">";
} elseif (($options_background_use_color) && ($options_background_use_image)) {
echo "<table width=\"100%\" height=\"100%\" style=\"background:url($options_background_image)";
echo " ".$options_background_image_align;
if ($options_background_image_fixed) echo " fixed";
if (!$options_background_image_repeat) echo " no-repeat";
echo " $options_background_color;\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\" align=\"center\">";
}
}
echo "<script language=\"javascript\">
<!--
var name;
function addsmilie(name) {
document.addentryform.statement.value = document.addentryform.statement.value + name;
}
-->
</script>";
function AddForm($name,$email,$url,$icq,$aim,$yahoo,$msn,$city,$country,$statement,$PHPSESSID,$errormsg,$frames,$gb_ordner,$vor_link,$second_operand,$lang_array) {
// Gästebuch-Einstellungen auslesen:
if ($frames) require("guestbook_options.php");
elseif (!$frames) require($gb_ordner."guestbook_options.php");
$statement = stripslashes($statement);
$name = stripslashes($name);
$email = stripslashes($email);
$url = stripslashes($url);
$icq = stripslashes($icq);
$aim = stripslashes($aim);
$yahoo = stripslashes($yahoo);
$msn = stripslashes($msn);
$city = stripslashes($city);
$country = stripslashes($country);
echo "<table class=\"gb\" cellspacing=\"0\" cellpadding=\"0\" width=\"$options_table_width\"><tr><td align=\"left\">";
echo "<center><a id=\"gberrormsg\"><br>$errormsg<br></a></center>";
if ($frames == false) {
echo "<form name=\"addentryform\" method=\"POST\" action=\"".$vor_link."".$gb_ordner."guestbook_newentry.php".$second_operand."PHPSESSID=".$_SESSION["PHPSESSID"]."\" method=\"POST\">";
} else {
echo "<form name=\"addentryform\" method=\"POST\" action=\"guestbook_newentry.php?PHPSESSID=".$_SESSION["PHPSESSID"]."\" method=\"POST\">";
}
echo "<table class=\"gb\" cellspacing=\"0\" cellpadding=\"0\" width=\"$options_table_width\">
<tr><td align=\"left\">";
if ($frames == false) {
echo "<img src=\"".$gb_ordner."images/weiter.gif\"><a id=\"gbmaintextlink\" href=\"".$vor_link."".$gb_ordner."guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
} else {
echo "<img src=\"".$gb_ordner."images/weiter.gif\"><a id=\"gbmaintextlink\" href=\"guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
}
echo "</td></tr></table><br>
<table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\" bgcolor=\"$options_table_border_color\">
<tr bgcolor=\"$options_table_headline_bgcolor\" align=\"left\"><td colspan=\"2\"><font color=\"$options_table_headline_font_color\" size=\"1\"><b>".$lang_array["Guestbookadd"]["Entry"]." <font color=\"#FFCA00\">*</font> ".$lang_array["Guestbookadd"]["Needed"]."</b></font></td></tr>
<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["Name"]."</font> <font color=\"#FFCA00\">*</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"name\" size=\"".$options_input_width."\" value=\"".$name."\" tabIndex=\"1\"></td></tr>";
if ($options_user_email_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["Email"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"email\" size=\"".$options_input_width."\" value=\"".$email."\" tabIndex=\"2\"></td></tr>";
}
if ($options_user_url_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["URL"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"url\" size=\"".$options_input_width."\" value=\"".$url."\" tabIndex=\"3\"></td></tr>";
}
if ($options_user_icq_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["ICQ"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"icq\" size=\"".$options_input_width."\" value=\"".$icq."\" tabIndex=\"4\"></td></tr>";
}
if ($options_user_aim_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["AIM"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"aim\" size=\"".$options_input_width."\" value=\"".$aim."\" tabIndex=\"5\"></td></tr>";
}
if ($options_user_yahoo_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["Yahoo"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"yahoo\" size=\"".$options_input_width."\" value=\"".$yahoo."\" tabIndex=\"6\"></td></tr>";
}
if ($options_user_msn_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["MSN"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"msn\" size=\"".$options_input_width."\" value=\"".$msn."\" tabIndex=\"7\"></td></tr>";
}
if ($options_user_city_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["City"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"city\" size=\"".$options_input_width."\" value=\"".$city."\" tabIndex=\"8\"></td></tr>";
}
if ($options_user_country_enable) {
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["Country"]."</font></a></td><td bgcolor=\"$options_namebox_bgcolor\"><input id=\"gbinput\" type=\"text\" name=\"country\" size=\"".$options_input_width."\" value=\"".$country."\" tabIndex=\"9\"></td></tr>";
}
echo "<tr><td width=\"$options_namebox_width\" bgcolor=\"$options_namebox_bgcolor\" valign=\"top\"><a id=\"gbmaintext\"><font color=\"$options_namebox_font_color\">".$lang_array["Guestbookadd"]["Comment"]."</font> <font color=\"#FFCA00\">*</font></a>";
if ($options_smilies_enable) {
echo "<br><br>";
getdircontent($frames,$gb_ordner);
}
echo "</td><td bgcolor=\"$options_namebox_bgcolor\" valign=\"top\">
<textarea id=\"gbinput\" name=\"statement\" cols=\"".$options_textarea_width."\" rows=\"".$options_textarea_height."\" tabIndex=\"10\" style=\"overflow: auto;\">".$statement."</textarea><br><br>
hier habe ich das Formular eingebunden:
<img src=\"captcha/captcha.php\" border=\"0\" title=\"Sicherheitscode\"> <input maxlength=\"5\" type=\"text\" id=\"gbinput\" name=\"sicherheitscode\" size=\"5\">
<br><br>
<input type=\"hidden\" name=\"add\" value=\"true\">
<input type=\"hidden\" name=\"preview\" value=\"false\">
<input type=\"hidden\" name=\"PHPSESSID\" value=\"$PHPSESSID\">
<input type=\"image\" style=\"cursor:auto\" src=\"".$gb_ordner."$options_picture_addentry\" border=\"0\"></td></tr></table>
</form>";
echo "</td></tr></table>";
}
if ($options_logo_show) {
echo "<br><center><img src=\"".$gb_ordner."$options_logo_image\" border=\"0\" alt=\"\"></center><br>";
}
if ($options_gb_headline2_show) {
echo "<table cellspacing=\"0\" cellpadding=\"0\" width=\"$options_table_width\"><tr><td align=\"$options_gb_headline2_align\">
<a id=\"gbheadline\">$options_gb_headline2_text</a>
</td></tr></table>";
}
if (($HTTP_POST_VARS["add"]) && (isset($_SESSION["PHPSESSID"])) && ($_SESSION["AcceptSession"])) {
if ($HTTP_POST_VARS["name"] == "") {
$errormsg = $lang_array["Guestbookadd"]["ErrorName"];
if (empty($_SESSION["AcceptSession"])) $_SESSION["AcceptSession"] = true;
AddForm($HTTP_POST_VARS["name"],$HTTP_POST_VARS["email"],$HTTP_POST_VARS["url"],$HTTP_POST_VARS["icq"],$HTTP_POST_VARS["aim"],$HTTP_POST_VARS["yahoo"],$HTTP_POST_VARS["msn"],$HTTP_POST_VARS["city"],$HTTP_POST_VARS["country"],$HTTP_POST_VARS["statement"],$_SESSION["PHPSESSID"],$errormsg,$frames,$gb_ordner,$vor_link,$second_operand,$lang_array);
}
elseif (($HTTP_POST_VARS["email"] != "") && (!$MailOK)) {
$errormsg = $lang_array["Guestbookadd"]["ErrorEmail"];
if (empty($_SESSION["AcceptSession"])) $_SESSION["AcceptSession"] = true;
AddForm($HTTP_POST_VARS["name"],$HTTP_POST_VARS["email"],$HTTP_POST_VARS["url"],$HTTP_POST_VARS["icq"],$HTTP_POST_VARS["aim"],$HTTP_POST_VARS["yahoo"],$HTTP_POST_VARS["msn"],$HTTP_POST_VARS["city"],$HTTP_POST_VARS["country"],$HTTP_POST_VARS["statement"],$_SESSION["PHPSESSID"],$errormsg,$frames,$gb_ordner,$vor_link,$second_operand,$lang_array);
}
elseif ($HTTP_POST_VARS["statement"] == "") {
$errormsg = $lang_array["Guestbookadd"]["ErrorComment"];
if (empty($_SESSION["AcceptSession"])) $_SESSION["AcceptSession"] = true;
AddForm($HTTP_POST_VARS["name"],$HTTP_POST_VARS["email"],$HTTP_POST_VARS["url"],$HTTP_POST_VARS["icq"],$HTTP_POST_VARS["aim"],$HTTP_POST_VARS["yahoo"],$HTTP_POST_VARS["msn"],$HTTP_POST_VARS["city"],$HTTP_POST_VARS["country"],$HTTP_POST_VARS["statement"],$_SESSION["PHPSESSID"],$errormsg,$frames,$gb_ordner,$vor_link,$second_operand,$lang_array);
}
hier habe ich die abfrage eingebunden:
elseif ($HTTP_POST_VARS["sicherheitscode"] AND $_SESSION['captcha_spam'] == "") {
$errormsg = $lang_array["Guestbookadd"]["ErrorCaptcha"];
if (empty($_SESSION["AcceptSession"])) $_SESSION["AcceptSession"] = true;
unset($_SESSION['captcha_spam']);
AddForm($HTTP_POST_VARS["name"],$HTTP_POST_VARS["email"],$HTTP_POST_VARS["url"],$HTTP_POST_VARS["icq"],$HTTP_POST_VARS["aim"],$HTTP_POST_VARS["yahoo"],$HTTP_POST_VARS["msn"],$HTTP_POST_VARS["city"],$HTTP_POST_VARS["country"],$HTTP_POST_VARS["statement"],$_SESSION["PHPSESSID"],$errormsg,$frames,$gb_ordner,$vor_link,$second_operand,$lang_array);
}
else {
$fd = fopen($filename, "r+");
$old_content = fread($fd, filesize($filename));
$firstline = explode("\n", $old_content);
$number = explode("|", $firstline[0]);
if ($number[0] != '') {
$number[0]++;
} else {
$number[0] = "1";
}
/////////////////////////////////////
// IP-Überwachung und -Filter
if ($options_ipwatch_enable) {
$newip = $HTTP_SERVER_VARS["REMOTE_ADDR"];
$newdate = $date2;
$newtime = $time;
$datetime = explode("=", $number[9]);
$pos = strpos($datetime[1], ",");
$olddate = substr($datetime[1], 0, $pos);
$oldtime = substr($datetime[1], $pos+1, strlen($datetime[1]));
if ($olddate == $newdate) {
$oldtimearray = explode(":", $oldtime);
$newtimearray = explode(":", $newtime);
$h_diff = $newtimearray[0] - $oldtimearray[0];
if (($oldtimearray[0] == $newtimearray[0]) || ($h_diff == 1)) {
$timediff = $newtimearray[1]-$oldtimearray[1];
if ($timediff < 0) {
$checkmin = $oldtimearray[1]-$newtimearray[1];
$timediff = 60 - $checkmin;
}
}
} else {
$timediff = $options_ipwatch_time+2;
}
if (($number[14] == $newip) && ($timediff < $options_ipwatch_time)) {
$oldstatement = explode("=", $number[6]);
if ($oldstatement[1] == $HTTP_POST_VARS['statement']) {
$error_msg = $lang_array["Guestbookadd"]["ErrorIPWatch1"];
} else {
$error_msg = $lang_array["Guestbookadd"]["ErrorIPWatch2"];
}
echo "<br><br><table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\">
<tr><td align=\"left\"><img src=\"".$gb_ordner."images/weiter.gif\">";
if ($frames == false) {
echo "<a id=\"gbmaintextlink\" href=\"".$vor_link."".$gb_ordner."guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">".$lang_array["Guestbookadd"]["NoAuthorization"]."</font><br><br>$error_msg<br><br>";
} else {
echo "<a id=\"gbmaintextlink\" href=\"guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">".$lang_array["Guestbookadd"]["NoAuthorization"]."</font><br><br>$error_msg<br><br>";
}
echo "</td></tr></table><br>";
$gb_died = 1;
}
}
// Auslesen des IP-Filters und Vergleich:
if ($options_ipblocker_enable) {
include($gb_ordner."blocked.php");
$newip = $HTTP_SERVER_VARS["REMOTE_ADDR"];
for ($i=0; $i<count($ipblocker); $i++) {
if ($ipblocker[$i] == $newip) {
$gb_died2 = 1;
$gb_died = 1;
}
}
if ($gb_died2 == 1) {
$error_msg = $lang_array["Guestbookadd"]["ErrorBlocked"];
echo "<br><br><table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\">
<tr><td align=\"left\"><img src=\"".$gb_ordner."images/weiter.gif\">";
if ($frames == false) {
echo "<a id=\"gbmaintextlink\" href=\"".$vor_link."".$gb_ordner."guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">$error_msg</font><br><br>";
} else {
echo "<a id=\"gbmaintextlink\" href=\"guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">$error_msg</font><br><br>";
}
echo "</td></tr></table><br>";
}
}
// Ende: IP-Überwachung
/////////////////////////////////
if ($gb_died <> 1) {
$options_email_to_user_text = str_replace("<br>", "\n", $options_email_to_user_text);
if (($HTTP_POST_VARS['email'] != "no") && ($options_email_to_user)) {
@mail($HTTP_POST_VARS['email'], $lang_array["Guestbookadd"]["Entry"], "$options_email_to_user_text\n\n".$lang_array["Guestbookadd"]["Name"].": ".$HTTP_POST_VARS['name']."\n".$lang_array["Guestbookadd"]["Email"].": ".$HTTP_POST_VARS['email']."\n".$lang_array["Guestbookadd"]["URL"].": ".$HTTP_POST_VARS['url']."\n".$lang_array["Guestbookadd"]["ICQ"].": ".$HTTP_POST_VARS['icq']."\n".$lang_array["Guestbookadd"]["AIM"].": ".$HTTP_POST_VARS['aim']."\n".$lang_array["Guestbookadd"]["Yahoo"].": ".$HTTP_POST_VARS['yahoo']."\n".$lang_array["Guestbookadd"]["MSN"].": ".$HTTP_POST_VARS['msn']."\n".$lang_array["Guestbookadd"]["City"].": ".$HTTP_POST_VARS['city']."\n".$lang_array["Guestbookadd"]["Country"].": ".$HTTP_POST_VARS['country']."\n".$lang_array["Guestbookadd"]["Date"].": $entry_date\n\n".$HTTP_POST_VARS['statement']."", "From: $options_admin_email_address");
}
if ($options_email_to_admin) {
@mail($options_admin_email_address, $lang_array["Guestbookadd"]["Entry"], "$options_email_to_admin_text\n\n".$lang_array["Guestbookadd"]["Name"].": ".$HTTP_POST_VARS['name']."\n".$lang_array["Guestbookadd"]["Email"].": ".$HTTP_POST_VARS['email']."\n".$lang_array["Guestbookadd"]["URL"].": ".$HTTP_POST_VARS['url']."\n".$lang_array["Guestbookadd"]["ICQ"].": ".$HTTP_POST_VARS['icq']."\n".$lang_array["Guestbookadd"]["AIM"].": ".$HTTP_POST_VARS['aim']."\n".$lang_array["Guestbookadd"]["Yahoo"].": ".$HTTP_POST_VARS['yahoo']."\n".$lang_array["Guestbookadd"]["MSN"].": ".$HTTP_POST_VARS['msn']."\n".$lang_array["Guestbookadd"]["City"].": ".$HTTP_POST_VARS['city']."\n".$lang_array["Guestbookadd"]["Country"].": ".$HTTP_POST_VARS['country']."\n".$lang_array["Guestbookadd"]["Date"].": $entry_date\n\nIP-Adresse: $REMOTE_ADDR\n\n".$HTTP_POST_VARS['statement']."", "From: $options_admin_email_address");
}
$trans = get_html_translation_table (HTML_ENTITIES);
$HTTP_POST_VARS['statement'] = strtr ($HTTP_POST_VARS['statement'], $trans);
$HTTP_POST_VARS['statement'] = str_replace("|", " ", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = str_replace("=", "&equal;", $HTTP_POST_VARS['statement']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['statement'] = str_replace("<", "<", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = str_replace(">", ">", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = strip_tags($HTTP_POST_VARS['statement']);
}
if ($options_html_tags_enable) {
$HTTP_POST_VARS['statement'] = str_replace("<", "<", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = str_replace(">", ">", $HTTP_POST_VARS['statement']);
}
$HTTP_POST_VARS['statement'] = str_replace("\n", "<br>", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = str_replace("\r", "", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['statement'] = stripslashes($HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['name'] = strtr ($HTTP_POST_VARS['name'], $trans);
$HTTP_POST_VARS['name'] = str_replace("|", " ", $HTTP_POST_VARS['name']);
$HTTP_POST_VARS['name'] = str_replace("=", "&equal;", $HTTP_POST_VARS['name']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['name'] = str_replace("<", "<", $HTTP_POST_VARS['name']);
$HTTP_POST_VARS['name'] = str_replace(">", ">", $HTTP_POST_VARS['name']);
$HTTP_POST_VARS['name'] = strip_tags($HTTP_POST_VARS['name']);
}
$HTTP_POST_VARS['name'] = stripslashes($HTTP_POST_VARS['name']);
$HTTP_POST_VARS['email'] = strtr ($HTTP_POST_VARS['email'], $trans);
$HTTP_POST_VARS['email'] = str_replace("|", " ", $HTTP_POST_VARS['email']);
$HTTP_POST_VARS['email'] = str_replace("=", "&equal;", $HTTP_POST_VARS['email']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['email'] = str_replace("<", "<", $HTTP_POST_VARS['email']);
$HTTP_POST_VARS['email'] = str_replace(">", ">", $HTTP_POST_VARS['email']);
$HTTP_POST_VARS['email'] = strip_tags($HTTP_POST_VARS['email']);
}
$HTTP_POST_VARS['email'] = stripslashes($HTTP_POST_VARS['email']);
$HTTP_POST_VARS['url'] = strtr ($HTTP_POST_VARS['url'], $trans);
$HTTP_POST_VARS['url'] = str_replace("|", " ", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace("=", "&equal;", $HTTP_POST_VARS['url']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['url'] = str_replace("<", "<", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace(">", ">", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = strip_tags($HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace("\"", "", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace("(", "", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace(")", "", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['url'] = str_replace("'", "", $HTTP_POST_VARS['url']);
}
$HTTP_POST_VARS['url'] = stripslashes($HTTP_POST_VARS['url']);
$HTTP_POST_VARS['icq'] = strtr ($HTTP_POST_VARS['icq'], $trans);
$HTTP_POST_VARS['icq'] = str_replace("|", " ", $HTTP_POST_VARS['icq']);
$HTTP_POST_VARS['icq'] = str_replace("=", "&equal;", $HTTP_POST_VARS['icq']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['icq'] = str_replace("<", "<", $HTTP_POST_VARS['icq']);
$HTTP_POST_VARS['icq'] = str_replace(">", ">", $HTTP_POST_VARS['icq']);
$HTTP_POST_VARS['icq'] = strip_tags($HTTP_POST_VARS['icq']);
}
$HTTP_POST_VARS['icq'] = stripslashes($HTTP_POST_VARS['icq']);
$HTTP_POST_VARS['aim'] = strtr ($HTTP_POST_VARS['aim'], $trans);
$HTTP_POST_VARS['aim'] = str_replace("|", " ", $HTTP_POST_VARS['aim']);
$HTTP_POST_VARS['aim'] = str_replace("=", "&equal;", $HTTP_POST_VARS['aim']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['aim'] = str_replace("<", "<", $HTTP_POST_VARS['aim']);
$HTTP_POST_VARS['aim'] = str_replace(">", ">", $HTTP_POST_VARS['aim']);
$HTTP_POST_VARS['aim'] = strip_tags($HTTP_POST_VARS['aim']);
}
$HTTP_POST_VARS['aim'] = stripslashes($HTTP_POST_VARS['aim']);
$HTTP_POST_VARS['yahoo'] = strtr ($HTTP_POST_VARS['yahoo'], $trans);
$HTTP_POST_VARS['yahoo'] = str_replace("|", " ", $HTTP_POST_VARS['yahoo']);
$HTTP_POST_VARS['yahoo'] = str_replace("=", "&equal;", $HTTP_POST_VARS['yahoo']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['yahoo'] = str_replace("<", "<", $HTTP_POST_VARS['yahoo']);
$HTTP_POST_VARS['yahoo'] = str_replace(">", ">", $HTTP_POST_VARS['yahoo']);
$HTTP_POST_VARS['yahoo'] = strip_tags($HTTP_POST_VARS['yahoo']);
}
$HTTP_POST_VARS['yahoo'] = stripslashes($HTTP_POST_VARS['yahoo']);
$HTTP_POST_VARS['msn'] = strtr ($HTTP_POST_VARS['msn'], $trans);
$HTTP_POST_VARS['msn'] = str_replace("|", " ", $HTTP_POST_VARS['msn']);
$HTTP_POST_VARS['msn'] = str_replace("=", "&equal;", $HTTP_POST_VARS['msn']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['msn'] = str_replace("<", "<", $HTTP_POST_VARS['msn']);
$HTTP_POST_VARS['msn'] = str_replace(">", ">", $HTTP_POST_VARS['msn']);
$HTTP_POST_VARS['msn'] = strip_tags($HTTP_POST_VARS['yahoo']);
}
$HTTP_POST_VARS['msn'] = stripslashes($HTTP_POST_VARS['msn']);
$HTTP_POST_VARS['city'] = strtr ($HTTP_POST_VARS['city'], $trans);
$HTTP_POST_VARS['city'] = str_replace("|", " ", $HTTP_POST_VARS['city']);
$HTTP_POST_VARS['city'] = str_replace("=", "&equal;", $HTTP_POST_VARS['city']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['city'] = str_replace("<", "<", $HTTP_POST_VARS['city']);
$HTTP_POST_VARS['city'] = str_replace(">", ">", $HTTP_POST_VARS['city']);
$HTTP_POST_VARS['city'] = strip_tags($HTTP_POST_VARS['city']);
}
$HTTP_POST_VARS['city'] = stripslashes($HTTP_POST_VARS['city']);
$HTTP_POST_VARS['country'] = strtr ($HTTP_POST_VARS['country'], $trans);
$HTTP_POST_VARS['country'] = str_replace("|", " ", $HTTP_POST_VARS['country']);
$HTTP_POST_VARS['country'] = str_replace("=", "&equal;", $HTTP_POST_VARS['country']);
if (!$options_html_tags_enable) {
$HTTP_POST_VARS['country'] = str_replace("<", "<", $HTTP_POST_VARS['country']);
$HTTP_POST_VARS['country'] = str_replace(">", ">", $HTTP_POST_VARS['country']);
$HTTP_POST_VARS['country'] = strip_tags($HTTP_POST_VARS['country']);
}
$HTTP_POST_VARS['country'] = stripslashes($HTTP_POST_VARS['country']);
if ((strtolower(trim($HTTP_POST_VARS['url'])) != "http://") || (trim($HTTP_POST_VARS['url'] != ""))) {
$url_start = substr(trim($HTTP_POST_VARS['url']), 0, 7);
if (strtolower($url_start) != "http://")
$HTTP_POST_VARS['url'] = "http://".$HTTP_POST_VARS['url'];
}
if (trim($HTTP_POST_VARS['email']) == "") {
$HTTP_POST_VARS['email'] = "no";
}
if ((strtolower(trim($HTTP_POST_VARS['url'])) == "http://") || (trim($HTTP_POST_VARS['url']) == "")) {
$HTTP_POST_VARS['url'] = "no";
}
if (trim($HTTP_POST_VARS['icq']) == "") {
$HTTP_POST_VARS['icq'] = "no";
}
if (trim($HTTP_POST_VARS['aim']) == "") {
$HTTP_POST_VARS['aim'] = "no";
}
if (trim($HTTP_POST_VARS['yahoo']) == "") {
$HTTP_POST_VARS['yahoo'] = "no";
}
if (trim($HTTP_POST_VARS['msn']) == "") {
$HTTP_POST_VARS['msn'] = "no";
}
if (trim($HTTP_POST_VARS['city']) == "") {
$HTTP_POST_VARS['city'] = "no";
}
if (trim($HTTP_POST_VARS['country']) == "") {
$HTTP_POST_VARS['country'] = "no";
}
$content = "$number[0]|Name=".$HTTP_POST_VARS['name']."|Email=".$HTTP_POST_VARS['email']."|URL=".$HTTP_POST_VARS['url']."|ICQ=".$HTTP_POST_VARS['icq']."|AIM=".$HTTP_POST_VARS['aim']."|Text=".$HTTP_POST_VARS['statement']."|City=".$HTTP_POST_VARS['city']."|Country=".$HTTP_POST_VARS['country']."|Date=$entry_date|answer=no|awtext=|awname=|awdate=|".$HTTP_SERVER_VARS["REMOTE_ADDR"]."|yahoo=".$HTTP_POST_VARS['yahoo']."|msn=".$HTTP_POST_VARS['msn']."";
$content = "$content\n$old_content";
rewind($fd);
fputs($fd, $content);
fclose($fd);
$trans = get_html_translation_table (HTML_ENTITIES);
$trans = array_flip($trans);
$HTTP_POST_VARS['statement'] = strtr($HTTP_POST_VARS['statement'], $trans);
$HTTP_POST_VARS['statement'] = str_replace("&equal;", "=", $HTTP_POST_VARS['statement']);
$HTTP_POST_VARS['name'] = strtr($HTTP_POST_VARS['name'], $trans);
$HTTP_POST_VARS['name'] = str_replace("&equal;", "=", $HTTP_POST_VARS['name']);
$HTTP_POST_VARS['email'] = strtr($HTTP_POST_VARS['email'], $trans);
$HTTP_POST_VARS['email'] = str_replace("&equal;", "=", $HTTP_POST_VARS['email']);
$HTTP_POST_VARS['url'] = strtr($HTTP_POST_VARS['url'], $trans);
$HTTP_POST_VARS['url'] = str_replace("&equal;", "=", $HTTP_POST_VARS['url']);
$HTTP_POST_VARS['icq'] = strtr($HTTP_POST_VARS['icq'], $trans);
$HTTP_POST_VARS['icq'] = str_replace("&equal;", "=", $HTTP_POST_VARS['icq']);
$HTTP_POST_VARS['aim'] = strtr($HTTP_POST_VARS['aim'], $trans);
$HTTP_POST_VARS['aim'] = str_replace("&equal;", "=", $HTTP_POST_VARS['aim']);
$HTTP_POST_VARS['yahoo'] = strtr($HTTP_POST_VARS['yahoo'], $trans);
$HTTP_POST_VARS['yahoo'] = str_replace("&equal;", "=", $HTTP_POST_VARS['yahoo']);
$HTTP_POST_VARS['msn'] = strtr($HTTP_POST_VARS['msn'], $trans);
$HTTP_POST_VARS['msn'] = str_replace("&equal;", "=", $HTTP_POST_VARS['msn']);
$HTTP_POST_VARS['city'] = strtr($HTTP_POST_VARS['city'], $trans);
$HTTP_POST_VARS['city'] = str_replace("&equal;", "=", $HTTP_POST_VARS['city']);
$HTTP_POST_VARS['country'] = strtr($HTTP_POST_VARS['country'], $trans);
$HTTP_POST_VARS['country'] = str_replace("&equal;", "=", $HTTP_POST_VARS['country']);
echo "<br><table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\">
<tr><td align=\"left\"><img src=\"".$gb_ordner."images/weiter.gif\">";
if ($frames == false) {
echo "<a id=\"gbmaintextlink\" href=\"".$vor_link."".$gb_ordner."guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
} else {
echo "<a id=\"gbmaintextlink\" href=\"guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
}
echo "</td></tr></table><br><br>
<table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\">
<tr><td align=\"center\"><a id=\"gbmaintext\"><b>".$lang_array["Guestbookadd"]["YourData"].":</b><br></td></tr></table>
<table class=\"gb\" cellpadding=\"4\" cellspacing=\"1\" width=\"$options_table_width\" bgcolor=\"$options_table_border_color\" style=\"table-layout:fixed\">
<tr><td bgcolor=\"$options_namebox_bgcolor\" valign=\"top\" align=\"left\" width=\"$options_namebox_width\"><font color=\"$options_namebox_font_color\"><b>".$HTTP_POST_VARS['name']."<b></font><br>";
if ($HTTP_POST_VARS['email'] != "no") {
echo "<a id=\"gbmaintextlink\" href=\"mailto:".$HTTP_POST_VARS['email']."\"><img src=\"".$gb_ordner."images/mail.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['email']."\"></a> ";
}
if ($HTTP_POST_VARS['url'] != "no") {
echo "<a id=\"gbmaintextlink\" href=\"".$HTTP_POST_VARS['url']."\"><img src=\"".$gb_ordner."images/www.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['url']."\"></a> ";
}
if ($HTTP_POST_VARS['icq'] != "no") {
echo "<img src=\"".$gb_ordner."images/icq.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['icq']."\"> ";
}
if ($HTTP_POST_VARS['aim'] != "no") {
echo "<a id=\"gbmaintextlink\" href=\"aim:goim?screenname=".$HTTP_POST_VARS['aim']."\"><img src=\"".$gb_ordner."images/aim.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['aim']."\"></a> ";
}
if ($HTTP_POST_VARS['yahoo'] != "no") {
echo "<img src=\"".$gb_ordner."images/yahoo.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['yahoo']."\"> ";
}
if ($HTTP_POST_VARS['msn'] != "no") {
echo "<img src=\"".$gb_ordner."images/msn.gif\" border=\"0\" alt=\"".$HTTP_POST_VARS['msn']."\"> ";
}
echo "</td><td bgcolor=\"$options_textbox_bgcolor\" align=\"left\">
<font color=\"$options_textbox_font_color\">";
if ((strlen($HTTP_POST_VARS['statement']) >= $options_wordwrap) && ($options_wordwrap > 0)) {
$HTTP_POST_VARS['statement'] = wordwrap($HTTP_POST_VARS['statement'],$options_wordwrap," ",1);
$HTTP_POST_VARS['statement'] = replace_smilies($frames,$gb_ordner,$HTTP_POST_VARS['statement']);
echo $HTTP_POST_VARS['statement'];
} else {
$HTTP_POST_VARS['statement'] = replace_smilies($frames,$gb_ordner,$HTTP_POST_VARS['statement']);
echo $HTTP_POST_VARS['statement'];
}
echo "<br><br>";
if ($HTTP_POST_VARS['city'] != "no") {
echo $HTTP_POST_VARS['city'].", ";
}
if ($HTTP_POST_VARS['country'] != "no") {
echo $HTTP_POST_VARS['country']." - ";
}
echo "$entry_date</font></td></tr></table>";
session_unset();
unset($_SESSION);
unset($HTTP_POST_VARS);
session_destroy();
}
}
}
elseif (($HTTP_POST_VARS["add"]) && (isset($_SESSION["PHPSESSID"])) && (!$_SESSION["AcceptSession"])) {
echo "<br><br><table class=\"gb\" cellspacing=\"1\" cellpadding=\"5\" width=\"$options_table_width\">
<tr><td align=\"left\"><img src=\"".$gb_ordner."images/weiter.gif\">";
if ($frames == false) {
echo "<a id=\"gbmaintextlink\" href=\"".$vor_link."".$gb_ordner."guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">".$lang_array["Guestbookadd"]["NoAuthorization"]."</font><br><br>";
} else {
echo "<a id=\"gbmaintextlink\" href=\"guestbook.php\">".$lang_array["Guestbookadd"]["ToMainpage"]."</a>";
echo "<br><br><br><a id=\"gbmaintext\"><b><font color=\"$options_error_font_color\" size=\"4\">".$lang_array["Guestbookadd"]["NoAuthorization"]."</font><br><br>";
}
echo "</td></tr></table>";
echo "<br><br>";
session_unset();
unset($_SESSION);
unset($HTTP_POST_VARS);
session_destroy();
}
elseif ((!$HTTP_POST_VARS["add"]) && (isset($_SESSION["PHPSESSID"]))) {
if (empty($_SESSION["AcceptSession"])) $_SESSION["AcceptSession"] = true;
AddForm("","","","","","","","","","",$_SESSION["PHPSESSID"],"",$frames,$gb_ordner,$vor_link,$second_operand,$lang_array);
}
"<br>";
if ($frames) {
echo "</td></tr></table></body></html>";
} elseif (!$frames) {
echo "</td></tr></table>";
}
?>[/b]
