if (!isset($anzeige)) {
$anzeige = date("Y");
} else if ($anzeige<=1996) {
$anzeige = date("Y");
}
function gb_navigation($a) {
global $PHP_SELF;
$anfangsjahr = 1997;
$endjahr = date("Y");
$jahr = $anfangsjahr;
echo "";
if (!isset($a)) {
$show = date("Y");
} else {
$show = $a;
}
do {
for ($i=1; $i<=5; $i++){
if ($jahr <= $endjahr) {
if ($show != $jahr) {
echo "$jahr"." ";
} else {
echo "".$jahr." ";
}
} else {
echo " "." ";
}
$jahr++;
}
echo "
";
}
function str_br2br($str) {
$str = str_replace('<br>','
";
} while ($jahr <= $endjahr);
echo "
',$str);
return $str;
}
function show_gb($y) {
// JP_show_data
if(($y<=2001)&&($y>=1997)) {
// SHOW OLD GB
$filename = "jp_gb_".$y.".txt";
@ReadFile("$filename");
} else{
// SHOW NEW GB
echo "".$y."____________________________________________
";
$fcontents = file ('jp_gb.text');
// JP_LAST_FIRST
$fcontents = array_reverse($fcontents);
// JP_DEBUG
while (list ($line_num, $line) = each ($fcontents)) {
$z = unserialize($line);
if ((count($z)==4)&&($z[0] == $y)) {
if ($z[3]!= "xyz") {
$str_mail = "".$z[3].""."\n
\n";
} else {
$str_mail = "";
}
$gb_message = str_br2br(htmlentities($z[2], ENT_QUOTES))."\n
\n".$str_mail.$z[0].$z[1];
echo "$gb_message\n
\n"."__________________________________________________"."\n
\n";
}
}
}
}
?>
art 1999 guestbook eintragen: __________________________________________________ vielen dank an alle......die uns, sei es den künstlern oder mir ( Jean-Paul ), eine mail schicken, oder sich hier eintragen.
lesen___________________________________________________> ',$str); $str = str_replace(chr(13),'',$str); return $str; } // JP_prepare_data $date1 = date("Y"); $date2 = date("/m/d H:i:s"); if(isset($comments)) { $comments = str_killslash($comments); $comments = str_crlf2br($comments); } else { $comments = "xyz"; } if(isset($email)) { $email = test_mail($email); } else { $email = "xyz"; } $v = array($date1, $date2, $comments, $email); $v_packed = serialize($v); // JP_save_data $fp = @fopen("jp_gb.text","a+"); // JP_KILLING_ME_SOFTLY START if (!$fp) die("Ein Fehler ist aufgetreten, bitte versuchen Sie es später wieder.\n"); // JP_KILLING_ME_SOFTLY END // JP_LOCK flock($fp,LOCK_SH); // JP_WRITE fwrite($fp,"$v_packed\n"); // JP_UNLOCK flock($fp,LOCK_UN); // JP_CLOSE fclose($fp); } ?> // gb einfuegen show_gb($anzeige); ?> für den inhalt (inhalte, namen, links...) dieses guestbooks wird keine haftung übernommen. wer gerne wieder ausgetragen werden möchte, schreibe mir bitte eine mail.
lesen___________________________________________________> |