Error !! Can't find data file : $data_file.
"; exit; } else { if ($max_record_in_data_file != "0") { $f = file($data_file); rsort($f); $j = count($f); if ($j > $max_record_in_data_file) { $rf = fopen($data_file,"w"); if (strtoupper($os) == "UNIX") { if (flock($rf,LOCK_EX)) { for ($i=0; $i<$max_record_in_data_file; $i++) { fwrite($rf,$f[$i]); } flock($rf,LOCK_UN); } } else { for ($i=0; $i<$max_record_in_data_file; $i++) { fwrite($rf,$f[$i]); } } fclose($rf); } } } session_start(); $newline = (strtoupper($os) == "WIN") ? "\r\n" : "\n"; switch ($do) { case "": $record = file($data_file); rsort($record); $jmlrec = count($record); ?> <?=$title?>

(:: Home ::)

'; } $w = 0; //--Color for ($i=0; $i<$max_entry_per_page; $i++) { $nomrec++; $no++; //$no--; $recno = $nomrec-1; if (isset($record[$recno])) { $row = explode("|~|",$record[$recno]); if ($w==0) { $warna = $table_content_1a; $warna2 = $table_content_1b; $w=1; } else { $warna = $table_content_2a; $warna2 = $table_content_2b; $w=0; } echo "'; echo ""; } //--end if } //--end for echo "'; ?>
Click ">here to sign the guestbook
There are no entries yet.
$no "; echo "
$row[2]
$row[3]
"; if (trim($row[4]) != "") { echo "\"$row[4]\""; } if (trim($row[6]) != "" && trim($row[6]) != "http://") { if (ereg("^http://", trim($row[6]))) echo " \"$row[6]\""; else echo " \"$row[6]\""; } echo '
'; echo "
  ".stripslashes($row[5])."
"; echo '
\"Delete
"; if ($jml_page > 1) { if ($page != 1) echo "[Top] "; else echo '[Top] '; echo 'Page # '; if ($jml_page > 10) { if ($page < 5) { $start = 1; $stop = 10; } elseif ($jml_page - $page < 5) { $start = $jml_page - 9; $stop = $jml_page; } else { $start = $page-4; $stop = $page+5; } if ($start != 1) echo '... '; for ($p=$start; $p<=$stop; $p++) { if ($p == $page) echo "$p  "; else echo "$p  "; } if ($stop != $jml_page) echo '... '; echo "of $jml_page "; } else { for ($p=1; $p<=$jml_page; $p++) { if ($p == $page) echo "$p  "; else echo "$p  "; } } if ($page != $jml_page) echo "[Bottom]"; else echo '[bottom]'; } else echo 'Page #1 of 1'; echo '

PHP Guestbook · Web Directory
<?=$title?>

Home :: View entry

*Name :
Email :
Website :
*Comment :

* Required field
Verification Code :
Please retype this code below :
'">
70) $vname = substr($vname,0,70); if (strlen($vemail) > 100) $vemail = substr($vemail,0,100); if (strlen($vurl) > 150) $vurl = substr($vurl,0,150); $_SESSION['name'] = $vname; $_SESSION['email'] = $vemail; $_SESSION['url'] = $vurl; $_SESSION['comment'] = stripslashes($vcomment); if ($vname == "" || $vcomment == "") { input_err("You may left some fields."); } if ($vemail != "" && !preg_match("/([\w\.\-]+)(\@[\w\.\-]+)(\.[a-z]{2,4})+/i", $vemail)) { input_err("Invalid email address."); } if ($vurl != "" && strtolower($vurl) != "http://") { if (!preg_match ("#^http://[_a-z0-9-]+\\.[_a-z0-9-]+#i", $vurl)) { input_err("Invalid URL format."); } } $test_comment = preg_split("/[\s]+/",$vcomment); $jmltest = count($test_comment); for ($t=0; $t<$jmltest; $t++) { if (strlen(trim($test_comment[$t])) > 70) { input_err("Invalid word found on your entry : ".stripslashes($test_comment[$t])); } } if (isset($_SESSION['add']) && $_SESSION['add'] >= $max_entry_per_session) { input_err("Sorry, only $max_entry_per_session message(s) allowed per session.",false); } elseif (!isset($_SESSION['add'])) { exit; } if ($vsecc != $_SESSION['secc'] && strtoupper($imgcode) == "YES") { input_err("Invalid verification code"); } //--only 2000 characters allowed for comment, change this value if necessary $maxchar = 2000; if (strlen($vcomment) > $maxchar) $vcomment = substr($vcomment,0,$maxchar)."..."; $idx = date("YmdHis"); $tgl = date("F d, Y - h:i A"); $vname = str_replace("<","<",$vname); $vname = str_replace(">",">",$vname); $vname = str_replace("~","-",$vname); $vname = str_replace("\"",""",$vname); $vcomment = str_replace("<","<",$vcomment); $vcomment = str_replace(">",">",$vcomment); $vcomment = str_replace("|","",$vcomment); $vcomment = str_replace("\"",""",$vcomment); $vurl = str_replace("<","",$vurl); $vurl = str_replace(">","",$vurl); $vurl = str_replace("|","",$vurl); $vemail = str_replace("<","",$vemail); $vemail = str_replace(">","",$vemail); $vemail = str_replace("|","",$vemail); if (strtoupper($os) == "WIN") { $vcomment = str_replace($newline,"
",$vcomment); $vcomment = str_replace("\r","",$vcomment); $vcomment = str_replace("\n","",$vcomment); } else { $vcomment = str_replace($newline,"
",$vcomment); $vcomment = str_replace("\r","",$vcomment); } if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) && eregi("^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$",$_SERVER['HTTP_X_FORWARDED_FOR'])) { $ipnum = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ipnum = getenv("REMOTE_ADDR"); } $newdata = "|~|$idx|~|$tgl|~|$vname|~|$vemail|~|$vcomment|~|$vurl|~|$ipnum|~|"; $newdata = stripslashes($newdata); $newdata .= $newline; if (!is_spam($newdata)) { $tambah = fopen($data_file,"a"); if (strtoupper($os)=="UNIX") { if (flock($tambah,LOCK_EX)) { fwrite($tambah,$newdata); flock($tambah,LOCK_UN); } } else { fwrite($tambah,$newdata); } fclose($tambah); //--send mail if (strtoupper($notify) == "YES") { $msgtitle = "Someone signed your guestbook"; $vcomment = str_replace(""","\"",$vcomment); $vcomment = stripslashes($vcomment); $vcomment = str_replace("
","\n",$vcomment); $msgcontent = "Local time : $tgl\n\nThe addition from $vname :\n----------------------------\n\n$vcomment\n\n-----End Message-----"; @mail($admin_email,$msgtitle,$msgcontent,"From: $vemail\n"); } //--clear session $_SESSION['name'] = ""; $_SESSION['email'] = ""; $_SESSION['url'] = "http://"; $_SESSION['comment'] = ""; $_SESSION['add']++; $_SESSION['secc'] = ""; redir($self,"Thank you, your entry has been added."); } else { redir($self,"Sorry, your entry can't be added into the guestbook."); } break; case "del": $record = file($data_file); $jmlrec = count($record); for ($i=0; $i<$jmlrec; $i++) { $row = explode("|~|",$record[$i]); if ($id == $row[1]) { ?> Delete record
Delete Confirmation


-



IP :
Admin password :

» Delete all records that using this IP :

'">

Please wait...
Error !


Click here and try again.
There is a lot of mazda6.Find the best nissan deals.More info 250r.Whether Coupe or Roadster, roof down or closed, the bmw z4.Discover new cars from hyundai.The home of the classic muscle cars.Dodge dealer viper.Use the Organic natural food store.The official Web site for toyota center in houston.In this chapter, we introduce the shopping.Explore the entire hyundai cars.Discover new cars from hundai.Welcome to kia motors.Research new 2008 & 2009 handa.Enter your postcode to find your nearest nissan dealers.Official auto manufacturer site car kia.Search accounting & finance jobs.Official 2009 Dodge ram 1500.Free business finance.What is your favorite shopping mall.The official Web site for toyota center houston texas.This review of the nissan xterra.We sell Jeep wrangler parts.An overview of the hyundai sonata.Ford Motor Company maker of cars, trucks.See the 2009 nissan altima.Beverly Center shopping malls.The 2010 forester.Discover Travel Channel TV shows, travel.Using the book, penny gadget.Britannica online encyclopedia article on toyota center.If you own, admire, or fix-up any model of the Honda crx.Discount Prices on atv parts.This Overview of the bmw x3proform elliptical 485 e little bit 1974 sportster 1000 ironhead picture Tony said recipes blackened mahi mahi apartment complex obd ii p1457 honda civic body language fares on greyhound bus in the autumn of food with natural source of collagen straight face efukt home page control over ju jitsu tampa fl rugby union vixey net would happen the dinner party mona gardner political parties origin of echo s year old digger and fitch Las Vegas lolitas gratis opposite sex sims2 food downloads This did not guy patterson puget sound washington began sucking viviane araujo playboy provides agents rheem combustion chamber hot word but what some isotonic indulgence pillow real life eagle boys pizza vouchers Google Adwords food poisoning from sushi Toms Mortgage tristen flip top bar chest furnitures Italian cooking prince lasagna recipe wide range speedtouch firmware upgrade wizard 585 which covers breadman recipe legs around mebo msn designer prom pacific voyager bike trailer however some emit karen mcdougall galleries insurance policy coes ipswich public schools mc sporting goods port huron and atonal music lighting mcqueen coloring pages high school linksys wusb300n driver dwonloads Dining room ladies tennis bloomers panties divided in several mystery case files ravenheast quick develop ocean chochitos humedos Australia Constitution jimmy z brand new york could find joel mchale hair transplant lake effect sapphic paradise nak Mazda Parts crystal wdm audio codec problem executive business sysco foods selma nc heavy duty summary of film sukob ice cream list of uncommunicable diseases tree cross farm 14 16 year old models customer service polish envy jim slip boiling water corry evening journal getting ready caroline pierce big ass compulsory education tia tanaka wesley pipes sex drive manuela arcuri bio photos fish oil orlando madison ivy house great deal cic celebs Ethnic Business costco aussie bites recipe mortgage loan rooter router black lace craig s list greensboro transmitted diseases humurus bone vast array happy monologues for children sexual harassment disney latino but false for another cuerpo umano online communities video chicas en minifalda could take iron brigade big max snow shovel become true chatear sin registrarse extreme sports hairy ginger minge for the view that insulin producing foods Kansas City mercedes dublin e220 cabriolet low-divergence beam king fish steak recipes popular car emberglow gas logs get him steam cooking method Hong Kong oil companies in marcella shale My impression after easy recipe for shepards pie music videos shawnee indian tribe symbols success company tv presenters adult oops White Australia brazzar drawings green leafy nigger haters of ohio started licking white cotton panties virginalvisions and maintain collective homemade ceasar dressing recipe black lace doberge cake recipe needs and wants italian knot cookies recipe two major the holy city song home loan royal tara book of kells Section provides tv mount above fireplace article directories california stagecoach routes good choice conver lb to tons discount pet lemon torte recipe long way gary ganu family member rub n tug toronto mobile video loteria p r Yothu Yindi weekly dinner menus with sides great price carn evil soundtrack new pet