Location: PHPKode > projects > PHP-Fusion: Guestbook > inf_guestbook_v4.12/files/infusions/guest_book/infusion_v6.php
<?php
/*-------------------------------------------------------+
| Guestbook Infusion 4.12
| Author: Sebastian Schüssler (slaughter)
| Download:
| http://basti2web.de
+--------------------------------------------------------+
| Filename: infusion_v6.php
| Version: 4.07
| Author: Sebastian Schüssler (slaughter)
+--------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

if (!defined("IN_FUSION") || !checkrights("I")) { die("Access Denied"); }


$inf_admin_image = "";
$inf_admin_panel = "admin/gb_admin.php";

$inf_link_name = $locale['gb_100'];
$inf_link_url = "guest_book.php";
$inf_link_visibility = "0";

$inf_newtables = 4;
$inf_insertdbrows = 1;
$inf_altertables = 0;
$inf_deldbrows = 0;


$inf_newtable_[1] = "guestbook_entry (
gb_id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
gb_name VARCHAR(50) NOT NULL DEFAULT '',
gb_email VARCHAR(100) NOT NULL DEFAULT '',
gb_weburl VARCHAR(200) NOT NULL DEFAULT '',
gb_webtitle VARCHAR(50) NOT NULL DEFAULT '',
gb_message TEXT NOT NULL,
gb_comment TEXT NOT NULL,
gb_comment_user VARCHAR(50) NOT NULL DEFAULT '',
gb_show SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
gb_ip VARCHAR(20) NOT NULL DEFAULT '0.0.0.0',
PRIMARY KEY (gb_id)
) TYPE=MyISAM;";

$inf_newtable_[2] = "guestbook_settings (
gb_num INT(100) UNSIGNED NOT NULL DEFAULT '0',
gb_email_required SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_moderated SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_moderated_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_captcha_type SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_captcha_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_spam_words TEXT NOT NULL,
gb_spam_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_flood_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_flood_time INT(100) UNSIGNED NOT NULL DEFAULT '0',
gb_notify_kind VARCHAR(20) NOT NULL,
gb_notify_who INT(10) UNSIGNED NOT NULL DEFAULT '0',
gb_show_bbcode SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_show_color SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_show_image SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_seo_active SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
gb_version VARCHAR(20) NOT NULL
) TYPE=MyISAM;";

$inf_newtable_[3] = "guestbook_log (
gb_log_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
gb_log_type TEXT NOT NULL,
gb_log_userid INT(11) UNSIGNED NOT NULL,
gb_log_ip VARCHAR(20) NOT NULL,
gb_log_name TEXT NOT NULL,
gb_log_email TEXT NOT NULL,
gb_log_url TEXT NOT NULL,
gb_log_urltitel TEXT NOT NULL,
gb_log_message TEXT NOT NULL,
gb_log_datestamp INT(10) NOT NULL,
  PRIMARY KEY (gb_log_id)
) TYPE=MyISAM;";

$inf_newtable_[4] = "guestbook_captcha (
captcha_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
captcha_ip varchar(50) NOT NULL,
captcha_encode VARCHAR(32) NOT NULL DEFAULT '',
captcha_string VARCHAR(15) NOT NULL DEFAULT ''
) TYPE=MyISAM;";

$inf_insertdbrow_[1] = "guestbook_settings (gb_num, gb_email_required, gb_moderated, gb_moderated_access, gb_captcha_type, gb_captcha_access, gb_spam_words, gb_spam_access, gb_flood_access, gb_flood_time, gb_notify_kind, gb_notify_who, gb_show_bbcode, gb_show_color, gb_show_image, gb_seo_active, gb_version) VALUES ('10', '1', '0', '102', '2', '101', 
'sex
fuck
porn
gangbang
viagra
anal
phentermine
blowjob
asian
gay
lesbian
href=
mailto
meridia
soma
levitra
lipitor
nexium
effexor
flomax
carisoprodol
accutane
aldara
condylox
cipro xr
cialis
pill
cyclobenzaprine
bactrim
celebrex
crestor
arimidex
aciphex
buspar
valium
ebony
booty
bbw
boob
bangbros
prescription
purchase
herbal
pharmacy
gambling', '103', '103', '3600', 'pm', '103', '1', '1', '0', '0', '".$inf_version."')";

$inf_droptable_[1] = "guestbook_entry";
$inf_droptable_[2] = "guestbook_settings";
$inf_droptable_[3] = "guestbook_log";
$inf_droptable_[4] = "guestbook_captcha";
?>
Return current item: PHP-Fusion: Guestbook