<?php
$admin_pass="pass";
$gbook_title="My Great Guestbook";
$gbook_name="guestbook.html";
$gbook_url="http://www.yourdomain.com/guestbook/guestbook.html";
$admin_email="yourname@yourdomain.com";
$gbook_email="guestbook@yourdomain.com";
$reserved_name="admin";
$activate_res_name=1;
$posts_per_page=20;
$sendmail_onpost=1;
$max_message_length=1500;
$max_word_length=100;
$secret_salt="phpguestbook";
$activate_geoip="no";
$enable_image_verification_step=1;
$additional_pages_name="page_";
$menu_spacer=" - ";
$enable_image_verification_step="yes";
$enable_ajax_verification_step="yes";
$forbidden_html_elements=array("<\s*frameset","<\s*iframe","<\s*body","<\s*table","<\s*tbody","<\s*thead","<\s*tfoot","<\s*tr","<\s*td","<\s*embed","<\s*iframe","<\s*h","<\s*!--","COMMENTS-START","COMMENTS-END","<\s*textarea","<\s*form","<\s*input","<\s*div","<\s*span","history\.go","src=\"javascript","<\s*script","<\s*meta","http-equiv","javascript","onload","onclick","onmouseover","onmouseout","ondblclick","onmousedown","onmousemove","ondblclick","onmouseup","onkeydown","onkeypress","onkeyup","title=\"");
$forbidden_strings=array("dbd","urlaubpreiswert","cory","cliffsidemalibu","termpapers","gutscheincodex","dredward.jackson","ucoz","portaliz","thaiiceland","topmovielinks","superbpapers","anti-breeze","bayu","zone857","oni\.cc","Hanfsamen","kcmedia","baethyl","4writers","dailymovielinks","INDOHERBAL","fcpages","norwalk","vimax","phazeddl","superman","drb","parkingagency","cheapcars","medicationguide","ohost\.de","allforbath","m-utils","gay","bisex","omo","teen","sex","laptoprepair","	royalgold","unescape","dental","Burbank","makemoney\.pk","igoo","frankenstein\.com","SelectWealth","gymbagsinfo","offthebest","toyspiano","adidasfootwear","riverhouselodge","referatik","refe.ru","googlepages","online keno","4wap","scrubsystem","violetpots","bestdatingblogs","aahubs","Pokrov","actorsite","aboutlaw","ameranet","4noles","puttan","opfkf","cuteweblog","aaawebpage","screenplaysmag","blogcentro.com","reductil","wilsonriverartisans","luogo grande","visalia","lo gradisco","sekob.com","sexblogsite","phaa3","bennyb","teen sex","teen-sex","teensex","xxx","gay-movies","craps","datafarmdesign","saveplanet\.net","systemdoctor","prescription-drug","ewqe","prescription drug","online slots","slots online","play slots","vitosfromsicily.com","atlantawebpackages","baccarat","rkpayne.com","invisionlasercenter.com","terrysmazda\.com","plongee83.com","collinsdollnissan\.com","andycagliarealty\.com","whiterockagent\.com","alumafence\.com","penis","black jack","black-jack","elcom-inc.com","interfree.it","praize\.com","elcom-inc","laketahoerez","computerpro-atl","laketahoerez","cherryfalls","hold em","hold-em","hazelshideaway","p-65\.com","holdem","boltscarcare","ccwgroup","ambersells","boltscarcare","myteeundercar","whyreadthepaper","puebloairmotive","loan","faststartdirect\.com","bondage","canalblog","kaotek","fullrxlist","effexor","fluoxetine","fowlplayer\.com","blackjack","roulette","gammon","texas-holdem","pvgbw\.org","megs\.com","mb\.com","250m\.com","hydroc","fastpages\.com","zolam","domaindlx","yourfreespace\.net","50megs","fullka","celebrex","zepam","batcave.net","phenter","741.com","501megs\.com","bestklik\.info","seklik\.com","125mb\.com","freeadult","usapages","sweethost","esubahost","freehostonline.com","republika\.pl","refinanc","insurance","barashka","huylo","20mbweb\.com","sekob\.com","beam\.to","adipex","virtualklik","ringto","ripway\.com","ownsthis","yourfreespace\.net","levitra","meridia","\[u","tramadol","net4free","ambien","zolof","smutstars","netscape\.com","tamiflu","xanax","valium","propecia","gruagrua","viagr","vicod","ciali","acne","porno","lesbian movie","lesbian-movie","cutpage.com","sekob.com","winantispyware","winfix","cutepage\.com","rogalik","onesite\.com","mandsstudiopa","sekob\.com","pharmac","suck","fuck","tits","mortgage","bad credi","shit","poker","myteeundercar","casino","xxxnations","cock","treatmentcenters");
$banned_ips=array("123.221.331.21","111.122");
$p_template='\n<div class="postdiv">
  <div class="postheader">
    <span class="name_lang">Posted by </span><a href="mailto:$email" class="namelink">$name</a>
    <span class="date_lang">on </span><span class="date">$date</span>
    <a href="php_guestbook.php?task=ShowPrivatePost&post_id=$post_id" class="post_admin_view">
    <img src="images/arrow1.png" align="right" border="0">
    </a>
  </div>
  <div class="message">
    <span class="message">$message</span>
  </div>
</div>\n';
$posts_file_name="posts.txt";
$logfile_name="gbook_log.txt";
$time_offset="+0";
$country_codes_list=array("XX","YY");