SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `craftysyntax375` -- -- -------------------------------------------------------- -- -- Table structure for table `livehelp_autoinvite` -- CREATE TABLE `livehelp_autoinvite` ( `idnum` int(10) NOT NULL AUTO_INCREMENT, `offline` int(1) NOT NULL DEFAULT '0', `isactive` char(1) NOT NULL DEFAULT '', `department` int(10) NOT NULL DEFAULT '0', `message` text, `page` varchar(255) NOT NULL DEFAULT '', `visits` int(8) NOT NULL DEFAULT '0', `referer` varchar(255) NOT NULL DEFAULT '', `typeof` varchar(255) NOT NULL DEFAULT '', `seconds` int(11) unsigned NOT NULL DEFAULT '0', `user_id` int(10) NOT NULL DEFAULT '0', `socialpane` char(1) NOT NULL DEFAULT 'N', `excludemobile` char(1) NOT NULL DEFAULT 'N', `onlymobile` char(1) NOT NULL DEFAULT 'N', PRIMARY KEY (`idnum`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `livehelp_autoinvite` -- INSERT INTO `livehelp_autoinvite` VALUES (1, 0, 'Y', 0, '4', '', 0, '', 'layer', 30, 0, 'N', 'N', 'N'); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_channels` -- CREATE TABLE `livehelp_channels` ( `id` int(10) NOT NULL AUTO_INCREMENT, `user_id` int(10) NOT NULL DEFAULT '0', `statusof` char(1) NOT NULL DEFAULT '', `startdate` bigint(8) NOT NULL DEFAULT '0', `sessionid` varchar(40) NOT NULL DEFAULT '', `website` int(8) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_config` -- CREATE TABLE `livehelp_config` ( `version` varchar(25) NOT NULL DEFAULT '3.7.5', `site_title` varchar(100) NOT NULL DEFAULT '', `use_flush` varchar(10) NOT NULL DEFAULT 'YES', `membernum` int(8) NOT NULL DEFAULT '0', `show_typing` char(1) NOT NULL DEFAULT '', `webpath` varchar(255) NOT NULL DEFAULT '', `s_webpath` varchar(255) NOT NULL DEFAULT '', `speaklanguage` varchar(60) NOT NULL DEFAULT 'English', `scratch_space` text, `admin_refresh` varchar(30) NOT NULL DEFAULT 'auto', `maxexe` int(5) DEFAULT '180', `refreshrate` int(5) NOT NULL DEFAULT '1', `chatmode` varchar(60) NOT NULL DEFAULT 'xmlhttp-flush-refresh', `adminsession` char(1) NOT NULL DEFAULT 'Y', `ignoreips` text, `directoryid` varchar(32) NOT NULL DEFAULT '', `tracking` char(1) NOT NULL DEFAULT 'N', `colorscheme` varchar(30) NOT NULL DEFAULT 'white', `matchip` char(1) NOT NULL DEFAULT 'N', `gethostnames` char(1) NOT NULL DEFAULT 'N', `maxrecords` int(10) NOT NULL DEFAULT '75000', `maxreferers` int(10) NOT NULL DEFAULT '50', `maxvisits` int(10) NOT NULL DEFAULT '75', `maxmonths` int(10) NOT NULL DEFAULT '12', `maxoldhits` int(10) NOT NULL DEFAULT '1', `showgames` char(1) NOT NULL DEFAULT 'Y', `showsearch` char(1) NOT NULL DEFAULT 'Y', `showdirectory` char(1) NOT NULL DEFAULT 'Y', `usertracking` char(1) NOT NULL DEFAULT 'N', `resetbutton` char(1) NOT NULL DEFAULT 'N', `keywordtrack` char(1) NOT NULL DEFAULT 'N', `reftracking` char(1) NOT NULL DEFAULT 'N', `topkeywords` int(10) NOT NULL DEFAULT '50', `everythingelse` text, `rememberusers` char(1) NOT NULL DEFAULT 'Y', `smtp_host` varchar(255) NOT NULL DEFAULT '', `smtp_username` varchar(60) NOT NULL DEFAULT '', `smtp_password` varchar(60) NOT NULL DEFAULT '', `owner_email` varchar(255) NOT NULL DEFAULT '', `topframeheight` int(8) NOT NULL DEFAULT '85', `topbackground` varchar(156) NOT NULL DEFAULT 'header_images/customersupports.png', `usecookies` char(1) NOT NULL DEFAULT 'Y', `smtp_portnum` int(10) NOT NULL DEFAULT '25', `showoperator` char(1) NOT NULL DEFAULT 'Y', `chatcolors` text, `floatxy` varchar(42) NOT NULL DEFAULT '200|160', `sessiontimeout` int(8) NOT NULL DEFAULT '60', `theme` varchar(42) NOT NULL DEFAULT 'vanilla', `operatorstimeout` int(4) NOT NULL DEFAULT '4', `operatorssessionout` int(8) NOT NULL DEFAULT '45', `maxrequests` int(8) NOT NULL DEFAULT '99999', `ignoreagent` text, PRIMARY KEY (`version`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `livehelp_config` -- INSERT INTO `livehelp_config` VALUES ('3.7.5', '[[site_name]]', 'YES', 0, 'Y', '[[softurl]]/', '[[softurl]]/', '[[language]]', '\r\n Welcome to CRAFTY SYNTAX Live Help \r\n\r\n All the administrative functions are located to the left of this text. \r\n \r\nYou can use this section to keep notes for yourself and other admins, etc. \r\n \r\nTo change the text that is located in this box just click on the small edit \r\nbutton on the top right corner of this box. \r\n ', 'auto', 180, 1, 'xmlhttp-flush-refresh', 'Y', NULL, '', 'N', 'white', 'N', 'N', 75000, 50, 75, 12, 1, 'Y', 'Y', 'Y', 'N', 'N', 'N', 'N', 50, NULL, 'Y', '', '', '', '[[admin_email]]', 85, 'header_images/customersupports.png', 'Y', 25, 'Y', 'fefdcd,cbcefe,caedbe,cccbba,aecddc,EBBEAA,faacaa,fbddef,cfaaef,aedcbd,bbffff,fedabf;040662,240462,520500,404062,100321,662640,242642,151035,051411,442662,442022,200220;426446,224646,466286,828468,866482,484668,504342,224882,486882,824864,668266,444468', '200|160', 60, 'vanilla', 4, 45, 99999, NULL); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_departments` -- CREATE TABLE `livehelp_departments` ( `recno` int(5) NOT NULL AUTO_INCREMENT, `nameof` varchar(30) NOT NULL DEFAULT '', `onlineimage` varchar(255) NOT NULL DEFAULT '', `offlineimage` varchar(255) NOT NULL DEFAULT '', `layerinvite` varchar(255) NOT NULL DEFAULT '', `requirename` char(1) NOT NULL DEFAULT '', `messageemail` varchar(60) NOT NULL DEFAULT '', `leaveamessage` varchar(10) NOT NULL DEFAULT '', `opening` text, `offline` text, `creditline` char(1) NOT NULL DEFAULT 'L', `imagemap` text, `whilewait` text, `timeout` int(5) NOT NULL DEFAULT '150', `leavetxt` text, `topframeheight` int(10) NOT NULL DEFAULT '85', `topbackground` varchar(255) NOT NULL DEFAULT '', `botbackground` varchar(255) NOT NULL DEFAULT '', `midbackground` varchar(255) NOT NULL DEFAULT '', `topbackcolor` varchar(255) NOT NULL DEFAULT '', `midbackcolor` varchar(255) NOT NULL DEFAULT '', `botbackcolor` varchar(255) NOT NULL DEFAULT '', `colorscheme` varchar(255) NOT NULL DEFAULT '', `speaklanguage` varchar(60) NOT NULL DEFAULT '', `busymess` text, `emailfun` char(1) NOT NULL DEFAULT 'Y', `dbfun` char(1) NOT NULL DEFAULT 'Y', `everythingelse` text, `ordering` int(8) NOT NULL DEFAULT '0', `smiles` char(1) NOT NULL DEFAULT 'Y', `visible` int(1) NOT NULL DEFAULT '1', `theme` varchar(45) NOT NULL DEFAULT 'vanilla', `showtimestamp` char(1) NOT NULL DEFAULT 'N', `website` int(8) NOT NULL DEFAULT '1', PRIMARY KEY (`recno`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `livehelp_departments` -- INSERT INTO `livehelp_departments` VALUES (1, 'default', 'onoff_images/online1.gif', 'onoff_images/offline1.gif', 'dhtmlimage.gif', 'Y', '[[admin_email]]', 'YES', '
[[opening]]', '
Sorry no operators are currently online to provide Live support at this time.', 'L', '', 'Please be patient while an operator is contacted... ', 150, '
Sorry all operators are currently helping other clients and are unable to provide Live support at this time.
Would you like to continue to wait for an operator or leave a message?
Continue to wait or Leave A Message ', 'Y', 'Y', NULL, 0, 'Y', 1, 'vanilla', 'N', 1); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_emailque` -- CREATE TABLE `livehelp_emailque` ( `id` int(8) NOT NULL AUTO_INCREMENT, `messageid` int(8) NOT NULL, `towho` varchar(60) NOT NULL, `dateof` int(8) NOT NULL, PRIMARY KEY (`id`), KEY `messageid` (`messageid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_emails` -- CREATE TABLE `livehelp_emails` ( `id` int(8) NOT NULL AUTO_INCREMENT, `fromemail` varchar(60) NOT NULL, `subject` varchar(60) NOT NULL, `bodyof` text NOT NULL, `notes` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_identity_daily` -- CREATE TABLE `livehelp_identity_daily` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `isnamed` char(1) NOT NULL DEFAULT 'N', `groupidentity` int(11) NOT NULL DEFAULT '0', `groupusername` int(11) NOT NULL DEFAULT '0', `identity` varchar(100) NOT NULL DEFAULT '', `cookieid` varchar(40) NOT NULL DEFAULT '', `ipaddress` varchar(30) NOT NULL DEFAULT '', `username` varchar(100) NOT NULL DEFAULT '', `dateof` bigint(14) NOT NULL DEFAULT '0', `uservisits` int(10) NOT NULL DEFAULT '0', `seconds` int(10) NOT NULL DEFAULT '0', `useragent` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `isnamed` (`isnamed`), KEY `groupidentity` (`groupidentity`), KEY `groupusername` (`groupusername`), KEY `identity` (`identity`), KEY `cookieid` (`cookieid`), KEY `username` (`username`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_identity_monthly` -- CREATE TABLE `livehelp_identity_monthly` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `isnamed` char(1) NOT NULL DEFAULT 'N', `groupidentity` int(11) NOT NULL DEFAULT '0', `groupusername` int(11) NOT NULL DEFAULT '0', `identity` varchar(100) NOT NULL DEFAULT '', `cookieid` varchar(40) NOT NULL DEFAULT '', `ipaddress` varchar(30) NOT NULL DEFAULT '', `username` varchar(100) NOT NULL DEFAULT '', `dateof` bigint(14) NOT NULL DEFAULT '0', `uservisits` int(10) NOT NULL DEFAULT '0', `seconds` int(10) NOT NULL DEFAULT '0', `useragent` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `isnamed` (`isnamed`), KEY `groupidentity` (`groupidentity`), KEY `groupusername` (`groupusername`), KEY `identity` (`identity`), KEY `cookieid` (`cookieid`), KEY `username` (`username`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_keywords_daily` -- CREATE TABLE `livehelp_keywords_daily` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `referer` varchar(255) NOT NULL DEFAULT '', `pageurl` varchar(255) NOT NULL DEFAULT '', `keywords` varchar(255) NOT NULL DEFAULT '', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `levelvisits` (`levelvisits`), KEY `dateof` (`dateof`), KEY `referer` (`referer`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_keywords_monthly` -- CREATE TABLE `livehelp_keywords_monthly` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `referer` varchar(255) NOT NULL DEFAULT '', `pageurl` varchar(255) NOT NULL DEFAULT '', `keywords` varchar(255) NOT NULL DEFAULT '', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `levelvisits` (`levelvisits`), KEY `dateof` (`dateof`), KEY `referer` (`referer`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_layerinvites` -- CREATE TABLE `livehelp_layerinvites` ( `layerid` int(10) NOT NULL DEFAULT '0', `name` varchar(60) NOT NULL DEFAULT '', `imagename` varchar(60) NOT NULL DEFAULT '', `imagemap` text, `department` varchar(60) NOT NULL DEFAULT '', `user` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`layerid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `livehelp_layerinvites` -- INSERT INTO `livehelp_layerinvites` VALUES (1, '', 'layer-Man_invite.gif', '', '', 0), (2, '', 'layer-Phone.gif', '', '', 0), (3, '', 'layer-Help_button.gif', '', '', 0), (4, '', 'layer-Woman_invite.png', '', '', 0), (5, '', 'layer-Subsilver.gif', '', '', 0); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_leads` -- CREATE TABLE `livehelp_leads` ( `id` int(8) NOT NULL AUTO_INCREMENT, `email` varchar(90) NOT NULL, `phone` varchar(90) NOT NULL, `source` varchar(45) NOT NULL, `status` varchar(10) NOT NULL, `data` text NOT NULL, `firstname` varchar(40) NOT NULL, `lastname` varchar(40) NOT NULL, `date_entered` int(8) NOT NULL, PRIMARY KEY (`id`), KEY `email` (`email`,`source`,`status`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_leavemessage` -- CREATE TABLE `livehelp_leavemessage` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(255) NOT NULL DEFAULT '', `subject` varchar(200) NOT NULL DEFAULT '', `department` int(11) unsigned NOT NULL DEFAULT '0', `dateof` bigint(14) NOT NULL DEFAULT '0', `sessiondata` text, `deliminated` text, PRIMARY KEY (`id`), KEY `department` (`department`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_messages` -- CREATE TABLE `livehelp_messages` ( `id_num` int(10) NOT NULL AUTO_INCREMENT, `message` text, `channel` int(10) NOT NULL DEFAULT '0', `timeof` bigint(14) NOT NULL DEFAULT '0', `saidfrom` int(10) NOT NULL DEFAULT '0', `saidto` int(10) NOT NULL DEFAULT '0', `typeof` varchar(30) NOT NULL DEFAULT '', PRIMARY KEY (`id_num`), KEY `channel` (`channel`), KEY `timeof` (`timeof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_modules` -- CREATE TABLE `livehelp_modules` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(30) NOT NULL DEFAULT '', `path` varchar(255) NOT NULL DEFAULT '', `adminpath` varchar(255) NOT NULL DEFAULT '', `query_string` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `livehelp_modules` -- INSERT INTO `livehelp_modules` VALUES (1, 'Live Help!', 'livehelp.php', '', ''), (2, 'Contact', 'leavemessage.php', '', ''), (3, 'Q & A', 'user_qa.php', 'qa.php', ''); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_modules_dep` -- CREATE TABLE `livehelp_modules_dep` ( `rec` int(10) NOT NULL AUTO_INCREMENT, `departmentid` int(10) NOT NULL DEFAULT '0', `modid` int(10) NOT NULL DEFAULT '0', `ordernum` int(8) NOT NULL DEFAULT '0', `isactive` char(1) NOT NULL DEFAULT 'N', `defaultset` char(1) NOT NULL DEFAULT '', PRIMARY KEY (`rec`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `livehelp_modules_dep` -- INSERT INTO `livehelp_modules_dep` VALUES (1, 1, 1, 1, 'N', ''), (2, 1, 2, 2, 'N', 'Y'); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_operator_channels` -- CREATE TABLE `livehelp_operator_channels` ( `id` int(10) NOT NULL AUTO_INCREMENT, `user_id` int(10) NOT NULL DEFAULT '0', `channel` int(10) NOT NULL DEFAULT '0', `userid` int(10) NOT NULL DEFAULT '0', `statusof` char(1) NOT NULL DEFAULT '', `startdate` bigint(8) NOT NULL DEFAULT '0', `bgcolor` varchar(10) NOT NULL DEFAULT '000000', `txtcolor` varchar(10) NOT NULL DEFAULT '000000', `channelcolor` varchar(10) NOT NULL DEFAULT 'F7FAFF', `txtcolor_alt` varchar(10) NOT NULL DEFAULT '000000', PRIMARY KEY (`id`), KEY `channel` (`channel`), KEY `user_id` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_operator_departments` -- CREATE TABLE `livehelp_operator_departments` ( `recno` int(10) NOT NULL AUTO_INCREMENT, `user_id` int(10) NOT NULL DEFAULT '0', `department` int(10) NOT NULL DEFAULT '0', `extra` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`recno`), KEY `user_id` (`user_id`), KEY `department` (`department`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `livehelp_operator_departments` -- INSERT INTO `livehelp_operator_departments` VALUES (1, 1, 1, ''); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_operator_history` -- CREATE TABLE `livehelp_operator_history` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `opid` int(11) unsigned NOT NULL DEFAULT '0', `action` varchar(60) NOT NULL DEFAULT '', `dateof` bigint(14) NOT NULL DEFAULT '0', `sessionid` varchar(40) NOT NULL DEFAULT '', `transcriptid` int(10) NOT NULL DEFAULT '0', `totaltime` int(10) NOT NULL DEFAULT '0', `channel` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `opid` (`opid`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_paths_firsts` -- CREATE TABLE `livehelp_paths_firsts` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `visit_recno` int(11) unsigned NOT NULL DEFAULT '0', `exit_recno` int(11) unsigned NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `visits` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `visit_recno` (`visit_recno`,`dateof`,`visits`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_paths_monthly` -- CREATE TABLE `livehelp_paths_monthly` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `visit_recno` int(11) unsigned NOT NULL DEFAULT '0', `exit_recno` int(11) unsigned NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `visits` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `visit_recno` (`visit_recno`), KEY `dateof` (`dateof`), KEY `visits` (`visits`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_qa` -- CREATE TABLE `livehelp_qa` ( `recno` int(10) NOT NULL AUTO_INCREMENT, `parent` int(10) NOT NULL DEFAULT '0', `question` text, `typeof` varchar(10) NOT NULL DEFAULT '', `status` varchar(20) NOT NULL DEFAULT '', `username` varchar(60) NOT NULL DEFAULT '', `ordernum` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_questions` -- CREATE TABLE `livehelp_questions` ( `id` int(10) NOT NULL AUTO_INCREMENT, `department` int(10) NOT NULL DEFAULT '0', `ordering` int(8) NOT NULL DEFAULT '0', `headertext` text, `fieldtype` varchar(30) NOT NULL DEFAULT '', `options` text, `flags` varchar(60) NOT NULL DEFAULT '', `module` varchar(60) NOT NULL DEFAULT '', `required` char(1) NOT NULL DEFAULT 'N', PRIMARY KEY (`id`), KEY `department` (`department`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `livehelp_questions` -- INSERT INTO `livehelp_questions` VALUES (1, 1, 0, 'E-mail:', 'email', '', '', 'leavemessage', 'Y'), (2, 1, 0, 'Question:', 'textarea', '', '', 'leavemessage', 'N'), (3, 1, 0, 'Name', 'username', '', '', 'livehelp', 'N'), (5, 1, 1, 'Question', 'textarea', '', '', 'livehelp', 'N'); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_quick` -- CREATE TABLE `livehelp_quick` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '', `typeof` varchar(30) NOT NULL DEFAULT '', `message` text, `visiblity` varchar(20) NOT NULL DEFAULT '', `department` varchar(60) NOT NULL DEFAULT '0', `user` int(10) NOT NULL DEFAULT '0', `ishtml` varchar(3) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_referers_daily` -- CREATE TABLE `livehelp_referers_daily` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `pageurl` varchar(255) NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `level` int(10) NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `pageurl` (`pageurl`), KEY `parentrec` (`parentrec`), KEY `levelvisits` (`levelvisits`), KEY `directvisits` (`directvisits`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_referers_monthly` -- CREATE TABLE `livehelp_referers_monthly` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `pageurl` varchar(255) NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `level` int(10) NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `pageurl` (`pageurl`), KEY `parentrec` (`parentrec`), KEY `levelvisits` (`levelvisits`), KEY `directvisits` (`directvisits`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_sessions` -- CREATE TABLE `livehelp_sessions` ( `session_id` varchar(100) NOT NULL DEFAULT '', `session_data` text NOT NULL, `expires` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`session_id`), KEY `expires` (`expires`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_smilies` -- CREATE TABLE `livehelp_smilies` ( `smilies_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `code` varchar(50) DEFAULT NULL, `smile_url` varchar(100) DEFAULT NULL, `emoticon` varchar(75) DEFAULT NULL, PRIMARY KEY (`smilies_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=43 ; -- -- Dumping data for table `livehelp_smilies` -- INSERT INTO `livehelp_smilies` VALUES (1, ':D', 'icon_biggrin.gif', 'Very Happy'), (2, ':-D', 'icon_biggrin.gif', 'Very Happy'), (3, ':grin:', 'icon_biggrin.gif', 'Very Happy'), (4, ':)', 'icon_smile.gif', 'Smile'), (5, ':-)', 'icon_smile.gif', 'Smile'), (6, ':smile:', 'icon_smile.gif', 'Smile'), (7, ':(', 'icon_sad.gif', 'Sad'), (8, ':-(', 'icon_sad.gif', 'Sad'), (9, ':sad:', 'icon_sad.gif', 'Sad'), (10, ':o', 'icon_surprised.gif', 'Surprised'), (11, ':-o', 'icon_surprised.gif', 'Surprised'), (12, ':eek:', 'icon_surprised.gif', 'Surprised'), (13, ':shock:', 'icon_eek.gif', 'Shocked'), (14, ':?', 'icon_confused.gif', 'Confused'), (15, ':-?', 'icon_confused.gif', 'Confused'), (16, ':???:', 'icon_confused.gif', 'Confused'), (17, '8)', 'icon_cool.gif', 'Cool'), (18, '8-)', 'icon_cool.gif', 'Cool'), (19, ':cool:', 'icon_cool.gif', 'Cool'), (20, ':lol:', 'icon_lol.gif', 'Laughing'), (21, ':x', 'icon_mad.gif', 'Mad'), (22, ':-x', 'icon_mad.gif', 'Mad'), (23, ':mad:', 'icon_mad.gif', 'Mad'), (24, ':P', 'icon_razz.gif', 'Razz'), (25, ':-P', 'icon_razz.gif', 'Razz'), (26, ':razz:', 'icon_razz.gif', 'Razz'), (27, ':oops:', 'icon_redface.gif', 'Embarassed'), (28, ':cry:', 'icon_cry.gif', 'Crying or Very sad'), (29, ':evil:', 'icon_evil.gif', 'Evil or Very Mad'), (30, ':twisted:', 'icon_twisted.gif', 'Twisted Evil'), (31, ':roll:', 'icon_rolleyes.gif', 'Rolling Eyes'), (32, ':wink:', 'icon_wink.gif', 'Wink'), (33, ';)', 'icon_wink.gif', 'Wink'), (34, ';-)', 'icon_wink.gif', 'Wink'), (35, ':!:', 'icon_exclaim.gif', 'Exclamation'), (36, ':?:', 'icon_question.gif', 'Question'), (37, ':idea:', 'icon_idea.gif', 'Idea'), (38, ':arrow:', 'icon_arrow.gif', 'Arrow'), (39, ':|', 'icon_neutral.gif', 'Neutral'), (40, ':-|', 'icon_neutral.gif', 'Neutral'), (41, ':neutral:', 'icon_neutral.gif', 'Neutral'), (42, ':mrgreen:', 'icon_mrgreen.gif', 'Mr. Green'); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_transcripts` -- CREATE TABLE `livehelp_transcripts` ( `recno` int(10) NOT NULL AUTO_INCREMENT, `who` varchar(100) NOT NULL DEFAULT '', `endtime` bigint(14) DEFAULT NULL, `transcript` text, `sessionid` varchar(40) NOT NULL DEFAULT '', `sessiondata` text, `department` int(10) NOT NULL DEFAULT '0', `email` varchar(100) NOT NULL DEFAULT '', `starttime` bigint(14) NOT NULL DEFAULT '0', `duration` int(11) unsigned NOT NULL DEFAULT '0', `operators` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`recno`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_users` -- CREATE TABLE `livehelp_users` ( `user_id` int(10) NOT NULL AUTO_INCREMENT, `lastaction` bigint(14) DEFAULT '0', `username` varchar(30) NOT NULL DEFAULT '', `displayname` varchar(42) NOT NULL DEFAULT '', `password` varchar(60) NOT NULL DEFAULT '', `isonline` char(1) NOT NULL DEFAULT '', `isoperator` char(1) NOT NULL DEFAULT 'N', `onchannel` int(10) NOT NULL DEFAULT '0', `isadmin` char(1) NOT NULL DEFAULT 'N', `department` int(5) NOT NULL DEFAULT '0', `identity` varchar(255) NOT NULL DEFAULT '', `status` varchar(30) NOT NULL DEFAULT '', `isnamed` char(1) NOT NULL DEFAULT 'N', `showedup` bigint(14) DEFAULT NULL, `email` varchar(60) NOT NULL DEFAULT '', `camefrom` varchar(255) NOT NULL DEFAULT '', `show_arrival` char(1) NOT NULL DEFAULT 'N', `user_alert` char(1) NOT NULL DEFAULT 'A', `auto_invite` char(1) NOT NULL DEFAULT 'N', `istyping` char(1) NOT NULL DEFAULT '3', `visits` int(8) NOT NULL DEFAULT '0', `jsrn` int(5) NOT NULL DEFAULT '0', `hostname` varchar(255) NOT NULL DEFAULT '', `useragent` varchar(255) NOT NULL DEFAULT '', `ipaddress` varchar(255) NOT NULL DEFAULT '', `sessionid` varchar(40) NOT NULL DEFAULT '', `typing_alert` char(1) NOT NULL DEFAULT 'N', `authenticated` char(1) NOT NULL DEFAULT '', `cookied` char(1) NOT NULL DEFAULT 'N', `sessiondata` text, `expires` bigint(14) NOT NULL DEFAULT '0', `greeting` text, `photo` varchar(255) NOT NULL DEFAULT '', `chataction` bigint(14) DEFAULT '0', `new_session` char(1) NOT NULL DEFAULT 'Y', `showtype` int(10) NOT NULL DEFAULT '1', `chattype` char(1) NOT NULL DEFAULT 'Y', `externalchats` varchar(255) NOT NULL DEFAULT '', `layerinvite` int(10) NOT NULL DEFAULT '0', `askquestions` char(1) NOT NULL DEFAULT 'Y', `showvisitors` char(1) NOT NULL DEFAULT 'N', `cookieid` varchar(40) NOT NULL DEFAULT '', `cellphone` varchar(255) NOT NULL DEFAULT '', `lastcalled` bigint(14) NOT NULL DEFAULT '0', `ismobile` char(1) DEFAULT 'N', `cell_invite` char(1) DEFAULT 'N', `useimage` char(1) NOT NULL DEFAULT 'N', `firstdepartment` int(11) NOT NULL DEFAULT '0', `alertchat` varchar(45) NOT NULL DEFAULT '', `alerttyping` varchar(45) NOT NULL DEFAULT '', `alertinsite` varchar(45) NOT NULL DEFAULT '', PRIMARY KEY (`user_id`), KEY `expires` (`expires`), KEY `sessionid` (`sessionid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `livehelp_users` -- INSERT INTO `livehelp_users` VALUES (1, 0, '[[admin_username]]', '[[admin_username]]', '[[admin_pass]]', 'N', 'Y', 0, 'Y', 0, '', '', 'Y', NULL, '[[admin_email]]', '', 'N', 'A', 'Y', '3', 0, 0, '', '', '', '', 'N', '', 'N', NULL, 0, 'How may I help You?', '', 0, 'Y', 1, 'Y', '', 0, 'Y', 'N', '', '', 0, 'N', 'N', 'N', 0, 'new_chats.wav', 'click_x.wav', 'youve_got_visitors.wav'); -- -------------------------------------------------------- -- -- Table structure for table `livehelp_visits_daily` -- CREATE TABLE `livehelp_visits_daily` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `pageurl` varchar(255) NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `level` int(10) NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `pageurl` (`pageurl`), KEY `parentrec` (`parentrec`), KEY `levelvisits` (`levelvisits`), KEY `directvisits` (`directvisits`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_visits_monthly` -- CREATE TABLE `livehelp_visits_monthly` ( `recno` int(11) NOT NULL AUTO_INCREMENT, `pageurl` varchar(255) NOT NULL DEFAULT '0', `dateof` int(8) NOT NULL DEFAULT '0', `levelvisits` int(11) unsigned NOT NULL DEFAULT '0', `directvisits` int(11) unsigned NOT NULL DEFAULT '0', `parentrec` int(11) unsigned NOT NULL DEFAULT '0', `level` int(10) NOT NULL DEFAULT '0', `department` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`recno`), KEY `department` (`department`), KEY `pageurl` (`pageurl`), KEY `parentrec` (`parentrec`), KEY `levelvisits` (`levelvisits`), KEY `directvisits` (`directvisits`), KEY `dateof` (`dateof`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_visit_track` -- CREATE TABLE `livehelp_visit_track` ( `recno` int(10) NOT NULL AUTO_INCREMENT, `sessionid` varchar(40) NOT NULL DEFAULT '0', `location` varchar(255) NOT NULL DEFAULT '', `page` bigint(14) NOT NULL DEFAULT '0', `title` varchar(100) NOT NULL DEFAULT '', `whendone` bigint(14) NOT NULL DEFAULT '0', `referrer` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`recno`), KEY `sessionid` (`sessionid`), KEY `location` (`location`), KEY `page` (`page`), KEY `whendone` (`whendone`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `livehelp_websites` -- CREATE TABLE `livehelp_websites` ( `id` int(11) NOT NULL AUTO_INCREMENT, `site_name` varchar(45) NOT NULL, `site_url` varchar(255) NOT NULL, `defaultdepartment` int(8) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `livehelp_websites` -- INSERT INTO `livehelp_websites` VALUES (1, '[[site_name]]', '[[softurl]]', 1); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;