* * 1066.net's 35,000 images and 5000+ pages created and curated over 20 years remain open
and largely unchanged as a tribute to its webmaster Ion Castro, who passed away Aug 30th 2018 from cancer.
Linking to content is fine but PLEASE get permission if you want to re use anything from here,
and thank you. *
Ion's obituaries are (Link:) Here
/*-----------------------------------------------------
COPYRIGHT NOTICE
Copyright (c) 2004 - Ketut Aryadana
All Rights Reserved
Script name : ArdGuest Standard
Version : 1.6
WebSite : //www.promosi-web.com/script/guestbook
Email : aryasmail@yahoo.com.au
File name : ardguest.php
------------------------------------------------------*/
//--Change the following variables
//Title of your guestbook
$title = "Welcome to the 1066 Visitors' Book";
//Change "admin" with your own password. It's required when you delete an entry
$admin_password = "prootox";
//Enter your email here
$admin_email = "Webmaster@1066.net";
//Your website URL
$home = "//www.1066.net/index2.php";
//Send you an email when someone add your guestbook, YES or NO
$notify = "YES";
//Your Operating System
//For Windows/NT user : WIN
//For Linux/Unix user : UNIX
$os = "UNIX";
//Maximum entry per page when you view your guestbook
$max_entry_per_page = "10";
//Name of file used to store your entry, change it if necessary
$data_file = "ardgb.~~~dat";
//Maximum entry stored in data file
$max_record_in_data_file = "500";
//Color & font setting
$background = "#009900";
$table_top = "#D3B68E";
$table_content_1a = "#EDEEE8";
$table_content_1b = "#E4E4E4";
$table_content_2a = "#FFF8F0";
$table_content_2b = "#FFEFDF";
$table_bottom = "#D3B68E";
$table_border = "#000000";
$title_color = "yellow";
$link = "blue";
$visited_link = "blue";
$active_link = "red";
$font_face = "verdana";
$message_font_face = "arial";
$message_font_size = "2";
//-- Don't change bellow this line
if (!empty($_GET)) {
if (isset($_GET["do"])) $do = $_GET["do"];
if (isset($_GET["id"])) $id = $_GET["id"];
if (isset($_GET["page"])) $page = $_GET["page"];
} else if (!empty($HTTP_GET_VARS)) {
if (isset($HTTP_GET_VARS["do"])) $do = $HTTP_GET_VARS["do"];
if (isset($HTTP_GET_VARS["id"])) $id = intval($HTTP_GET_VARS["id"]);
if (isset($HTTP_GET_VARS["page"])) $page = intval($HTTP_GET_VARS["page"]);
}
if (isset($_POST["do"])) $do = $_POST["do"];
else if (isset($HTTP_POST_VARS["do"])) $do = $HTTP_POST_VARS["do"];
if (!isset($PHP_SELF)) {
if (isset($_SERVER["PHP_SELF"])) $PHP_SELF = $_SERVER["PHP_SELF"];
else if (isset($HTTP_SERVER_VARS["PHP_SELF"])) $PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"];
}
if (!isset($do)) $do = "";
else if (preg_match("/\W/",$do)) $do = "";
if (!isset($page) or $page == 0) $page=1;
if (!file_exists($data_file)) {
echo "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);
}
}
}
switch ($do) {
case "":
$record = file($data_file);
rsort($record);
$jmlrec = count($record);
?>
" link="" vlink="" alink="" topmargin="0" marginheight="0">