--
-- Host: localhost    Database: salpa_agbook1
-- ------------------------------------------------------


--
-- Current Database: `salpa_agbook1`
--

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

USE `salpa_agbook1`;

--
-- 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` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

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

INSERT INTO `book_auth` VALUES (1,'admin','7ba705a478604026','d87854bb4d025c6d0c2be9793b7101ae','2005-01-29 13:51:12');

--
-- 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(60) NOT NULL DEFAULT '',
  `timestamp` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`com_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 '',
  `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` varchar(150) NOT NULL DEFAULT '',
  `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',
  PRIMARY KEY (`config_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

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

INSERT INTO `book_config` VALUES (1,1,0,'7',1,'Euro','24hr','webmaster@salpa.net',1,1,0,'Thank you for signing the guestbook!',10,0,'#FFFFFF','#000000','#006699','95%','11px','10px','Verdana, Arial, Helvetica, sans-serif','#7878BE','#000000','#FFFFFF','#DEDFDF','#F7F7F7','english',6,1500,25,'comment',0,1,1,1,60,1,1,1,0,60,350,75);

--
-- 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(60) NOT NULL DEFAULT '',
  `browser` varchar(70) NOT NULL DEFAULT '',
  `comment` text NOT NULL,
  `image` varchar(25) NOT NULL DEFAULT '',
  `icq` int(11) NOT NULL DEFAULT '0',
  `aim` varchar(70) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=84 DEFAULT CHARSET=latin1;

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

INSERT INTO `book_data` VALUES (81,'admin','m','','',1107006653,'','rrr','rrr)','hacked by ........\r\nhahahahhahaha','',0,''),(82,'ert','m','','',1107012368,'','166.114.30.40','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)','weteryehdfhdfhfhdfd','',0,''),(83,'supo','m','','',1107012464,'','166.114.30.40','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)','Saitko orkut????','',0,'');

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

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

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

INSERT INTO `book_ip` VALUES ('166.114.30.40',1107012464);

--
-- 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(60) NOT NULL DEFAULT '',
  `browser` varchar(70) NOT NULL DEFAULT '',
  `comment` text NOT NULL,
  `image` varchar(25) NOT NULL DEFAULT '',
  `icq` int(11) NOT NULL DEFAULT '0',
  `aim` varchar(70) 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) NOT NULL DEFAULT '0',
  `height` smallint(6) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 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);

--
-- 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 ('fuck');


