$gbook_txt="../gbook.txt"; $spam_words=array('viagra', 'cialis', 'levitra', 'bingo', 'poker', 'casino', 'slots', 'lottery', 'http:', 'blackjack', 'facking', 'sucking'); $warning='²ÝáõÝ »õ Ø»Ïݳµ³ÝáõÃÛáõÝ ¹³ßï»ñÁ Éñ³óÝ»ÉÁ å³ñï³¹Çñ ¿:'; // include("head.php"); function name($el) { if (substr($el, 0, 5)=='name:') return TRUE; else return FALSE; }//name function delete_message($num) { global $gbook_txt; $msgs=file($gbook_txt); for($i=0;$i<6;$i++) unset($msgs[$num+$i]); $fh=fopen($gbook_txt, 'w'); fclose($fh); }//delete_message function show_guestbook() { global $gbook_txt; ?> =0;$i--) { ?>
 
Leave your message here
'.substr($msgs[$keys[$i]], 6).''; else echo substr($msgs[$keys[$i]], 6); //name if(trim(substr($msgs[$keys[$i]+3], 4))!='') echo "
".substr($msgs[$keys[$i]+3], 4).''; ?>
Personal Page"; //url else echo ' '; ?>

Please, leave your message here.

method=post>
Your name :
E-mail:
URL:
Location:
Message:
 

  
'; echo $warning.'
'; ?>
method=post>
²ÝáõÝ:
¾É. ѳëó»:
URL:
´Ý³Ï³í³ÛñÁ:
Ø»Ïݳµ³ÝáõÃÛáõÝ:
 

  
Your message did not pass spam control.
Please do not use HTML tags in message.
", $_POST['msg']); $MSG= str_replace("\n", "
", $_POST['msg']); fputs($fh, 'msg: '.$MSG."\n\n"); fclose($fh); ?>