--
-- Host: localhost    Database: creativ5_db3
-- ------------------------------------------------------


--
-- Current Database: `creativ5_db3`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `creativ5_db3` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `creativ5_db3`;

--
-- Table structure for table `book_auth`
--

CREATE TABLE `book_auth` (
  `ID` smallint(5) NOT NULL AUTO_INCREMENT,
  `username` varchar(60) NOT NULL DEFAULT '',
  `password` varchar(60) NOT NULL DEFAULT '',
  `session` varchar(32) NOT NULL DEFAULT '',
  `last_visit` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_auth`
--

INSERT INTO `book_auth` VALUES (1,'admin','47d2657e7925e8d2','38ddb96a0a65c54e7fbb43977840c5f1',1238444001);

--
-- Table structure for table `book_ban`
--

CREATE TABLE `book_ban` (
  `ban_ip` varchar(15) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_ban`
--

INSERT INTO `book_ban` VALUES ('123.123.123.123');

--
-- Table structure for table `book_com`
--

CREATE TABLE `book_com` (
  `com_id` int(11) NOT NULL AUTO_INCREMENT,
  `id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `comments` text NOT NULL,
  `host` varchar(255) NOT NULL DEFAULT '',
  `timestamp` int(11) NOT NULL DEFAULT '0',
  `comaccepted` smallint(1) NOT NULL DEFAULT '1',
  `ip` varchar(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`com_id`),
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_com`
--


--
-- Table structure for table `book_config`
--

CREATE TABLE `book_config` (
  `config_id` smallint(4) NOT NULL AUTO_INCREMENT,
  `agcode` smallint(1) NOT NULL DEFAULT '0',
  `allow_html` smallint(1) NOT NULL DEFAULT '0',
  `offset` varchar(5) NOT NULL DEFAULT '0',
  `smilies` smallint(1) NOT NULL DEFAULT '1',
  `dformat` varchar(6) NOT NULL DEFAULT '',
  `tformat` varchar(4) NOT NULL DEFAULT '24hr',
  `admin_mail` varchar(50) NOT NULL DEFAULT '',
  `book_mail` varchar(50) NOT NULL DEFAULT '',
  `always_bookemail` smallint(1) NOT NULL DEFAULT '0',
  `notify_private` smallint(1) NOT NULL DEFAULT '0',
  `notify_admin` smallint(1) NOT NULL DEFAULT '0',
  `notify_guest` smallint(1) NOT NULL DEFAULT '0',
  `notify_mes` text NOT NULL,
  `entries_per_page` int(6) NOT NULL DEFAULT '10',
  `show_ip` smallint(1) NOT NULL DEFAULT '0',
  `pbgcolor` varchar(7) NOT NULL DEFAULT '0',
  `text_color` varchar(7) NOT NULL DEFAULT '0',
  `link_color` varchar(7) NOT NULL DEFAULT '0',
  `width` varchar(4) NOT NULL DEFAULT '0',
  `tb_font_1` varchar(7) NOT NULL DEFAULT '',
  `tb_font_2` varchar(7) NOT NULL DEFAULT '',
  `font_face` varchar(60) NOT NULL DEFAULT '',
  `tb_hdr_color` varchar(7) NOT NULL DEFAULT '',
  `tb_bg_color` varchar(7) NOT NULL DEFAULT '',
  `tb_text` varchar(7) NOT NULL DEFAULT '',
  `tb_color_1` varchar(7) NOT NULL DEFAULT '',
  `tb_color_2` varchar(7) NOT NULL DEFAULT '',
  `lang` varchar(30) NOT NULL DEFAULT '',
  `min_text` smallint(4) NOT NULL DEFAULT '0',
  `max_text` int(6) NOT NULL DEFAULT '0',
  `max_word_len` smallint(4) NOT NULL DEFAULT '0',
  `comment_pass` varchar(50) NOT NULL DEFAULT '',
  `need_pass` smallint(1) NOT NULL DEFAULT '0',
  `censor` smallint(1) NOT NULL DEFAULT '0',
  `flood_check` smallint(1) NOT NULL DEFAULT '0',
  `banned_ip` smallint(1) NOT NULL DEFAULT '0',
  `flood_timeout` smallint(5) NOT NULL DEFAULT '0',
  `allow_icq` smallint(1) NOT NULL DEFAULT '0',
  `allow_aim` smallint(1) NOT NULL DEFAULT '0',
  `allow_gender` smallint(1) NOT NULL DEFAULT '0',
  `allow_img` smallint(1) NOT NULL DEFAULT '0',
  `max_img_size` int(10) NOT NULL DEFAULT '0',
  `img_width` smallint(5) NOT NULL DEFAULT '0',
  `img_height` smallint(5) NOT NULL DEFAULT '0',
  `thumbnail` smallint(1) NOT NULL DEFAULT '0',
  `thumb_min_fsize` int(10) NOT NULL DEFAULT '0',
  `encrypt_email` smallint(1) NOT NULL DEFAULT '1',
  `allow_yahoo` smallint(1) NOT NULL DEFAULT '0',
  `allow_skype` smallint(1) NOT NULL DEFAULT '0',
  `allow_msn` smallint(1) NOT NULL DEFAULT '0',
  `allow_private` smallint(1) NOT NULL DEFAULT '1',
  `allowed_tags` varchar(30) NOT NULL DEFAULT '',
  `require_checking` smallint(1) NOT NULL DEFAULT '0',
  `require_email` smallint(1) NOT NULL DEFAULT '0',
  `html_email` smallint(1) NOT NULL DEFAULT '0',
  `require_comchecking` smallint(1) NOT NULL DEFAULT '0',
  `notify_admin_com` smallint(1) NOT NULL DEFAULT '0',
  `allow_imgagcode` smallint(1) NOT NULL DEFAULT '0',
  `allow_emailagcode` smallint(1) NOT NULL DEFAULT '0',
  `allow_urlagcode` smallint(1) NOT NULL DEFAULT '0',
  `allow_url` smallint(1) NOT NULL DEFAULT '1',
  `antibottest` smallint(1) NOT NULL DEFAULT '0',
  `bottestquestion` varchar(50) NOT NULL DEFAULT '',
  `bottestanswer` varchar(20) NOT NULL DEFAULT '',
  `use_regex` smallint(1) NOT NULL DEFAULT '0',
  `post_time_min` smallint(2) NOT NULL DEFAULT '10',
  `post_time_max` smallint(5) NOT NULL DEFAULT '300',
  `hide_comments` smallint(1) NOT NULL DEFAULT '1',
  `allow_loc` smallint(1) NOT NULL DEFAULT '1',
  `com_question` varchar(50) NOT NULL DEFAULT '',
  `antispam_word` varchar(10) NOT NULL DEFAULT '6de9d',
  `charset` varchar(20) NOT NULL DEFAULT 'utf-8',
  `captcha_noise` smallint(1) NOT NULL DEFAULT '1',
  `captcha_grid` smallint(1) NOT NULL DEFAULT '1',
  `captcha_grey` smallint(1) NOT NULL DEFAULT '1',
  `captcha_greytext` smallint(1) NOT NULL DEFAULT '1',
  `ad_pos` varchar(5) NOT NULL DEFAULT '0',
  `ad_code` text NOT NULL,
  `agcode_img_width` smallint(5) NOT NULL DEFAULT '300',
  `agcode_img_height` smallint(5) NOT NULL DEFAULT '100',
  `disablecomments` smallint(1) NOT NULL DEFAULT '0',
  `base_url` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`config_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_config`
--

INSERT INTO `book_config` VALUES (1,0,0,'0',1,'US','AMPM','admin@creativeimageexperts.com','',0,1,1,0,'Thank you for signing the guestbook.',10,0,'#FFFFFF','#000000','#006699','95%','11px','10px','Verdana, Arial, Helvetica, sans-serif','#150D49','#000000','#FFFFFF','#E8E8E8','#F7F7F7','english',6,1500,80,'comment',0,1,1,1,300,0,0,0,0,120,60,60,1,12,1,0,0,0,0,'b,i,u',1,3,0,1,1,1,1,1,0,2,'What colour is the sky?','blue',0,10,300,1,1,'','6de9d','utf-8',1,1,1,1,'0','',300,100,0,'http://www.creativeimageexperts.com/guestbook');

--
-- Table structure for table `book_data`
--

CREATE TABLE `book_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `gender` char(1) NOT NULL DEFAULT '',
  `email` varchar(60) NOT NULL DEFAULT '',
  `url` varchar(70) NOT NULL DEFAULT '',
  `date` int(11) NOT NULL DEFAULT '0',
  `location` varchar(50) NOT NULL DEFAULT '',
  `host` varchar(255) NOT NULL DEFAULT '',
  `browser` varchar(255) NOT NULL DEFAULT '',
  `comment` text NOT NULL,
  `icq` int(11) NOT NULL DEFAULT '0',
  `aim` varchar(70) NOT NULL DEFAULT '',
  `msn` varchar(70) NOT NULL DEFAULT '',
  `yahoo` varchar(40) NOT NULL DEFAULT '',
  `skype` varchar(40) NOT NULL DEFAULT '',
  `accepted` smallint(1) NOT NULL DEFAULT '1',
  `ip` varchar(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_data`
--


--
-- Table structure for table `book_ip`
--

CREATE TABLE `book_ip` (
  `guest_ip` varchar(15) NOT NULL DEFAULT '',
  `timestamp` int(11) NOT NULL DEFAULT '0',
  KEY `guest_ip` (`guest_ip`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_ip`
--


--
-- Table structure for table `book_pics`
--

CREATE TABLE `book_pics` (
  `msg_id` int(11) NOT NULL DEFAULT '0',
  `book_id` int(11) NOT NULL DEFAULT '0',
  `p_filename` varchar(100) NOT NULL DEFAULT '',
  `p_size` int(11) unsigned NOT NULL DEFAULT '0',
  `width` int(11) unsigned NOT NULL DEFAULT '0',
  `height` int(11) unsigned NOT NULL DEFAULT '0',
  KEY `msg_id` (`msg_id`),
  KEY `book_id` (`book_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_pics`
--


--
-- Table structure for table `book_private`
--

CREATE TABLE `book_private` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `gender` char(1) NOT NULL DEFAULT '',
  `email` varchar(60) NOT NULL DEFAULT '',
  `url` varchar(70) NOT NULL DEFAULT '',
  `date` int(11) NOT NULL DEFAULT '0',
  `location` varchar(50) NOT NULL DEFAULT '',
  `host` varchar(255) NOT NULL DEFAULT '',
  `browser` varchar(255) NOT NULL DEFAULT '',
  `comment` text NOT NULL,
  `icq` int(11) NOT NULL DEFAULT '0',
  `aim` varchar(70) NOT NULL DEFAULT '',
  `msn` varchar(70) NOT NULL DEFAULT '',
  `yahoo` varchar(40) NOT NULL DEFAULT '',
  `skype` varchar(40) NOT NULL DEFAULT '',
  `accepted` smallint(1) NOT NULL DEFAULT '1',
  `ip` varchar(16) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_private`
--


--
-- Table structure for table `book_smilies`
--

CREATE TABLE `book_smilies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `s_code` varchar(20) NOT NULL DEFAULT '',
  `s_filename` varchar(60) NOT NULL DEFAULT '',
  `s_emotion` varchar(60) NOT NULL DEFAULT '',
  `width` smallint(6) unsigned NOT NULL DEFAULT '0',
  `height` smallint(6) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_smilies`
--

INSERT INTO `book_smilies` VALUES (1,':-)','a1.gif','smile',15,15),(2,':-(','a2.gif','frown',15,15),(3,';-)','a3.gif','wink',15,15),(4,':o','a4.gif','embarrassment',15,15),(5,':D','a5.gif','big grin',15,15),(6,':p','a6.gif','razz (stick out tongue)',15,15),(7,':cool:','a7.gif','cool',21,15),(8,':rolleyes:','a8.gif','roll eyes (sarcastic)',15,15),(9,':mad:','a9.gif','#@*%!',15,15),(10,':eek:','a10.gif','eek!',15,15),(11,':confused:','a11.gif','confused',15,22),(12,':lol:','lol.gif','lol',15,15);

--
-- Table structure for table `book_words`
--

CREATE TABLE `book_words` (
  `word` varchar(30) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `book_words`
--

INSERT INTO `book_words` VALUES ('crap');


