-- http://www.phpmyadmin.net
--




--
-- Database: `directsuites`
--

-- --------------------------------------------------------

--
-- Table structure for table `attributes`
--

CREATE TABLE IF NOT EXISTS `attributes` (
  `index` int(11) NOT NULL auto_increment,
  `id` int(11) NOT NULL default '0',
  `title` varchar(100) NOT NULL default '',
  `parentid` int(11) NOT NULL default '-1',
  `value` varchar(150) NOT NULL default '',
  `productid` int(11) NOT NULL default '0',
  `sortorder` int(11) NOT NULL default '0',
  PRIMARY KEY  (`index`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3781 ;

--
-- Dumping data for table `attributes`
--


-- --------------------------------------------------------

--
-- Table structure for table `baskets`
--

CREATE TABLE IF NOT EXISTS `baskets` (
  `basketID` int(11) NOT NULL auto_increment,
  `basketSession` varchar(50) default NULL,
  `productID` int(11) default NULL,
  `productPrice` float(7,2) default NULL,
  `productoptions` varchar(255) NOT NULL default '',
  `productoptionsforstock` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`basketID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=565 ;

--
-- Dumping data for table `baskets`
--


-- --------------------------------------------------------

--
-- Table structure for table `categories`
--

CREATE TABLE IF NOT EXISTS `categories` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(100) NOT NULL default '',
  `metadescription` text NOT NULL,
  `metakeywords` text NOT NULL,
  `categorytext` text NOT NULL,
  `parentid` int(11) NOT NULL default '0',
  `imageurl` varchar(255) NOT NULL default '',
  `keywords` varchar(100) NOT NULL default '',
  `catorder` int(11) NOT NULL default '0',
  `displaycategorytitle` int(11) NOT NULL default '1',
  `positionoftext` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=68 ;

--
-- Dumping data for table `categories`
--


-- --------------------------------------------------------

--
-- Table structure for table `content`
--

CREATE TABLE IF NOT EXISTS `content` (
  `id` int(11) NOT NULL auto_increment,
  `content` mediumblob NOT NULL,
  `title` varchar(150) NOT NULL default '',
  `img` varchar(155) NOT NULL default '',
  `location` varchar(50) NOT NULL default '',
  `admindescription` text NOT NULL,
  `perm` int(11) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ;

--
-- Dumping data for table `content`
--

INSERT INTO `content` (`id`, `content`, `title`, `img`, `location`, `admindescription`, `perm`) VALUES
(14, 0x3c703e3c7370616e207374796c653d22636f6c6f723a20233030333330303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c7374726f6e673e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20782d6c617267653b223e266e6273703b3c2f7370616e3e3c2f7370616e3e3c2f7374726f6e673e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d22636f6c6f723a20233030333330303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c7374726f6e673e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e57656c636f6d6520746f204368657175657273204d656e7377656172206f6e6c696e652e2e2e2e2e2e2e3c2f7370616e3e3c2f7370616e3e3c2f7374726f6e673e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7374726f6e673e3c656d3e3c7370616e207374796c653d22666f6e742d73697a653a20782d736d616c6c3b223e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e266e6273703b3c2f7370616e3e3c2f7370616e3e3c2f656d3e3c2f7374726f6e673e3c2f703e0d0a3c703e3c656d3e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e4f70656e656420696e2031393831204368657175657273206f726967696e616c6c79207370656369616c6973656420696e207175616c697479206d656e732073756974732066726f6d20612073696e676c652073686f7020666c6f6f722e203c2f7370616e3e3c2f656d3e3c2f703e0d0a3c703e3c656d3e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e5769746820612067726f77696e672064656d616e6420666f72206d656e732063617375616c20636c6f7468696e6720636865717565727320657874656e64656420746f2061207365636f6e6420666c6f6f722e3c2f7370616e3e3c2f656d3e3c2f703e0d0a3c703e3c656d3e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e546f646179204368657175657273206f666665727320746865206c6174657374266e6273703b436c6f746865732c73686f65732026616d703b206163636573736f72696573266e6273703b77697468206e616d65732073756368206173203c7374726f6e673e4c61636f7374652c3c2f7374726f6e673e203c7374726f6e673e5465642042616b65723c2f7374726f6e673e2c203c7374726f6e673e48656e7269204c6c6f79643c2f7374726f6e673e2c203c7374726f6e673e312e2e6c696b65206e6f206f746865722c3c2f7374726f6e673e203c7374726f6e673e4c6f616b652c2052617942616e2c3c2f7374726f6e673e203c7374726f6e673e427567617474692c3c2f7374726f6e673e203c7374726f6e673e43616d656c204163746976652c3c2f7374726f6e673e20616e6420616c736f206861732061206c617267652073756974206465706172746d656e7420696e2073746f7265266e6273703b77697468206e616d657320737563682061732c203c7374726f6e673e56616e3c2f7374726f6e673e203c7374726f6e673e4b6f6c6c656d2c3c2f7374726f6e673e203c7374726f6e673e576974686f7574205072656a75646963652c3c2f7374726f6e673e2026616d703b203c7374726f6e673e5465642042616b65723c2f7374726f6e673e2e3c2f7370616e3e3c2f656d3e3c2f703e0d0a3c703e3c656d3e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20782d736d616c6c3b223e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c7370616e207374796c653d22636f6c6f723a20236666303030303b223e3c6272202f3e3c2f7370616e3e3c2f7370616e3e3c2f7374726f6e673e3c2f7370616e3e3c2f7370616e3e3c2f656d3e3c2f703e, 'homepage', '', '', '', 1),
(3, 0x3c703e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c7370616e207374796c653d22636f6c6f723a20233939333330303b223e53616c65205072696365203c2f7370616e3e3c2f7370616e3e3c2f703e, 'special offer text', '', '', 'Where ever a sale price is displayed', 1),
(4, '', 'standard price', '', '', 'Where ever a standard price is displayed', 1),
(10, 0x3c703e5465726d733c2f703e, 'terms', '', '', '', 1),
(16, 0x3c703e4469726563745375697465732e6e65743c2f703e, 'Site Title', '', '', 'In the browser title bar', 1),
(17, '', 'meta keywords', '', '', 'in the meta keywords tags on every page', 1),
(18, '', 'meta description', '', '', 'In the meta description tags on every page', 1),
(19, 0x3c703e49277665206164646564206564697461626c6520636f6e74656e7420756e64657220746865206c697374206f662063617465676f726965732063616c6c656420273c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c2f7370616e3e3c6120687265663d2265646974636f6e74656e742e7068703f69643d3337223e3c7370616e207374796c653d226d617267696e2d746f703a203070743b20666f6e742d73697a653a20312e32656d3b223e686f6d65207061676520756e6465722063617465676f7279206c6973743c2f7370616e3e3c2f613e27204927766520707574207468652066726565207368697070696e67206d65737361676520686572652e20686f706520746861742773206f6b2e2049277665206d616465207368697070696e6720636f73742026706f756e643b332e3935206f6e206f72646572732062656c6f772026706f756e643b353020492077696c6c20707574207468697320696e207468652061646d696e20736f20796f752063616e206368616e67652069742061742061206c61746572206461746520696620796f752077616e742e3c2f703e, 'Status Message', '', '', '', 1),
(20, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e546865207472616e73616374696f6e2070726f63657373206661696c65642e203c2f7370616e3e3c6272202f3e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c6272202f3e3c2f7370616e3e3c2f7374726f6e673e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e506c6561736520636f6e74616374207573206f6e2030313734332033353020373134207769746820746865203c6272202f3e6461746520616e642074696d65206f6620796f7572206f7264657220616e642077652077696c6c20696e7665737469676174652e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e596f752063616e20706c61636520746865206f72646572206f766572207468652074656c6570686f6e65203c6272202f3e696e73746561642062792063616c6c696e673c2f7370616e3e266e6273703b203c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e303137343320333530203731343c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Default Payment Error', '', '', 'Whenever a customer returns from payment page with an unspecified error', 1),
(21, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e546865207472616e73616374696f6e2070726f63657373206661696c65642e203c2f7370616e3e3c6272202f3e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c6272202f3e3c2f7370616e3e3c2f7374726f6e673e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e596f75207061796d656e7420776173206465636c696e6564206279207468652062616e6b2e203c6272202f3e5468697320636f756c642062652064756520746f20696e73756666696369656e742066756e64732c203c6272202f3e6f7220696e636f727265637420636172642064657461696c732e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c6272202f3e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e596f752063616e20706c61636520746865206f72646572206f766572207468652074656c6570686f6e65203c6272202f3e696e73746561642062792063616c6c696e673c2f7370616e3e266e6273703b203c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e303137343320333530203731343c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Payment Error Bad Card', '', '', 'Whenever a customer returns from payment page with a bad card error', 1),
(22, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e546865207472616e73616374696f6e2070726f63657373206661696c65642e203c2f7370616e3e3c2f7374726f6e673e3c2f703e0d0a3c703e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e576520636f756c64206e6f742070726f6365737320796f7572206f726465722062656361757365203c6272202f3e77652068617665206265656e20756e61626c6520746f20726567697374657220796f7572203c6272202f3e7472616e73616374696f6e2077697468206f7572205061796d656e7420476174657761792e203c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e596f752063616e20706c61636520746865206f72646572206f766572207468652074656c6570686f6e65203c6272202f3e696e73746561642062792063616c6c696e673c2f7370616e3e266e6273703b203c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3031393532203530363832323c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Payment Error payment Gateway fault', '', '', 'Whenever a customer returns from payment page with a payment Gateway fault', 1),
(23, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e546865207472616e73616374696f6e2070726f63657373206661696c65642e203c2f7370616e3e3c6272202f3e3c2f7374726f6e673e3c2f703e0d0a3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c6272202f3e3c2f7370616e3e3c2f7374726f6e673e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e596f752063686f736520746f2043616e63656c20796f7572206f72646572206f6e20746865207061796d656e743c6272202f3e2070616765732e266e6273703b20496620796f75207769736820746f206368616e676520796f7572206f72646572206f7220747279203c6272202f3e616761696e20706c6561736520636c69636b206f6e20746865206974656d7320696e20796f7572206261736b65742e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e596f752063616e20706c61636520746865206f72646572206f766572207468652074656c6570686f6e65203c6272202f3e696e73746561642062792063616c6c696e673c2f7370616e3e266e6273703b203c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e303137343320333530203731343c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Payment Error cancelled', '', '', 'Whenever a customer returns from payment page by cancelling', 1),
(24, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e546865207472616e73616374696f6e2070726f63657373206661696c65642e203c2f7370616e3e3c6272202f3e3c2f7374726f6e673e3c2f703e0d0a3c703e3c7374726f6e673e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c6272202f3e3c2f7370616e3e3c2f7374726f6e673e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e596f7572206f7264657220646964206e6f74206d656574206f7572206d696e696d756d203c6272202f3e66726175642073637265656e696e6720726571756972656d656e74732e203c6272202f3e3c6272202f3e496620796f752068617665207175657374696f6e732061626f7574206f7572206672617564203c6272202f3e73637265656e696e672072756c65732c206f72207769736820746f20636f6e74616374207573203c6272202f3e746f206469736375737320746869732c20706c656173652063616c6c203c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a206d656469756d3b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e303137343320333530203731343c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e2e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Payment Error Rejected', '', '', 'Whenever a customer returns from payment page with a rejected order', 1),
(25, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22636f6c6f723a20233030303030303b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e596f7572206f7264657220686173206265656e205375636365737366756c2e3c6272202f3e3c2f7370616e3e3c2f7370616e3e3c2f7374726f6e673e3c2f703e0d0a3c703e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e496620796f75206861766520616e79207175657374696f6e7320726567617264696e6720796f7572203c6272202f3e6f7264657220706c6561736520636f6e74616374204368657175657273204d656e7377656172203c2f7370616e3e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e4f6e6c696e65206f6e20303137343320333530203731343c6272202f3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e596f752077696c6c20726563656976652074776f20656d61696c7320636f6e6669726d696e6720796f7572206f726465722e3c6272202f3e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e0d0a3c703e3c7370616e207374796c653d22636f6c6f723a20233830303030303b223e3c7370616e207374796c653d226261636b67726f756e642d636f6c6f723a20236666666666663b223e3c7370616e207374796c653d22666f6e742d73697a653a20736d616c6c3b223e3c6272202f3e5468616e6b796f7520666f722073686f7070696e672077697468203c6272202f3e3c7374726f6e673e4368657175657273204d656e7377656172204f6e6c696e653c2f7374726f6e673e3c2f7370616e3e3c2f7370616e3e3c2f7370616e3e3c2f703e, 'Payment Success', '', '', 'Displayed on successful purchase', 1),
(26, 0x3c703e4469726563745375697465732e6e6574206261736b6574207570646174653c2f703e, 'during order email subject', '', '', 'during order email subject', 1),
(27, 0x3c703e496620796f75206e65656420616e792068656c7020636f6d706c6574696e6720796f7572206f7264657220706c656173652063616c6c20303139353220353036203832323c2f703e0d0a3c703e596f7572204469726563745375697465732e6e6574206261736b65742063757272656e746c7920636f6e7461696e733b3c2f703e, 'during order email message', '', '', 'during order email message', 1),
(28, 0x3c703e4469726563745375697465732e6e6574206f7264657220537563636573733c2f703e, 'successful order email subject', '', '', 'successful order email subject', 1),
(29, 0x3c703e5468616e6b796f7520666f7220796f75206f726465722077697468204469726563745375697465732e6e65743c2f703e0d0a3c703e496620796f75206861766520616e7920656e7175697269657320726567617264696e6720796f7572206f7264657220706c656173652063616c6c20303139353220353036203832323c2f703e, 'successful order email message', '', '', 'successful order email message', 1),
(30, 0x3c703e6661696c6564206f7264657220656d61696c207375626a6563743c2f703e, 'failed order email subject', '', '', 'failed order email subject', 1),
(31, 0x3c703e6661696c6564206f7264657220656d61696c206d6573736167653c2f703e, 'failed order email message', '', '', 'failed order email message', 1),
(32, 0x3c703e54686572652069732063757272656e746c79206e6f2073746f636b20666f722074686973206974656d3c2f703e, 'no stock message', '', '', 'no stock message', 1),
(33, 0x3c703e3c7374726f6e673e4e6f2073746f636b2e3c2f7374726f6e673e20506c656173652063616c6c203031393532203530362038323220666f72206164766963652061626f7574206f75722073746f636b2e3c2f703e, 'no stock with these options', '', '', 'when choosing product attributes on product detail page eg; colour or size and there is no stock', 1),
(34, 0x3c7072652069643d226c696e6531223e4469726563745375697465732e6e65743c2f7072653e, 'home page title', '', '', 'In the browser title bar ONLY on the homepage', 1),
(35, 0x3c703e3c7374726f6e673e3c7370616e207374796c653d22636f6c6f723a20233939333330303b223e467265653c2f7370616e3e3c2f7374726f6e673e20554b205368697070696e67206f6e2074686973204974656d3c2f703e, 'free shipping on product page', '', '', 'free shipping message on product detail page', 1),
(36, 0x3c703e3c7370616e207374796c653d22636f6c6f723a20233939333330303b223e46726565203c2f7370616e3e7368697070696e6720746f20554b206d61696e6c616e643c2f703e, 'free shipping in basket', '', '', 'free shipping message on basket billing info page', 1),
(37, '', 'home page under category list', '', '', 'home page under category list', 1);

-- --------------------------------------------------------

--
-- Table structure for table `menu`
--

CREATE TABLE IF NOT EXISTS `menu` (
  `id` int(11) NOT NULL default '0',
  `parentid` int(11) NOT NULL default '0',
  `title` varchar(100) NOT NULL default '',
  `link` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `menu`
--


-- --------------------------------------------------------

--
-- Table structure for table `products`
--

CREATE TABLE IF NOT EXISTS `products` (
  `id` int(11) NOT NULL auto_increment,
  `productName` varchar(50) default NULL,
  `productImage` varchar(250) default NULL,
  `productPrice` float(7,2) default NULL,
  `category` int(11) NOT NULL default '0',
  `shortdescription` varchar(255) NOT NULL default '',
  `description` blob NOT NULL,
  `categories` varchar(255) NOT NULL default '',
  `image1` varchar(150) NOT NULL default '',
  `image2` varchar(150) NOT NULL default '',
  `image3` varchar(150) NOT NULL default '',
  `image4` varchar(150) NOT NULL default '',
  `image5` varchar(150) NOT NULL default '',
  `specialprice` float NOT NULL default '0',
  `enabled` int(11) NOT NULL default '1',
  `freeshipping` int(11) NOT NULL default '0',
  `shipping` float NOT NULL default '0',
  `stock` int(11) NOT NULL default '1',
  `stockoptions` text NOT NULL,
  `onoffer` int(11) NOT NULL default '0',
  `featured` int(11) NOT NULL default '0',
  `metakeywords` text NOT NULL,
  `metadescription` text NOT NULL,
  `sku` varchar(100) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=211 ;

--
-- Dumping data for table `products`
--


-- --------------------------------------------------------

--
-- Table structure for table `sales`
--

CREATE TABLE IF NOT EXISTS `sales` (
  `id` int(11) NOT NULL auto_increment,
  `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
  `status` int(11) NOT NULL default '0',
  `VPSTxId` varchar(100) NOT NULL default '',
  `TxAuthNo` varchar(10) NOT NULL default '',
  `Amount` varchar(20) NOT NULL default '',
  `CardType` varchar(25) NOT NULL default '',
  `Last4Digits` varchar(5) NOT NULL default '',
  `strBillingFirstnames` varchar(50) NOT NULL default '',
  `strBillingSurname` varchar(50) NOT NULL default '',
  `strBillingAddress1` varchar(100) NOT NULL default '',
  `strBillingCity` varchar(50) NOT NULL default '',
  `strBillingPostCode` varchar(10) NOT NULL default '',
  `strBillingCountry` varchar(5) NOT NULL default '',
  `strBillingPhone` varchar(30) NOT NULL default '',
  `strCustomerEMail` varchar(100) NOT NULL default '',
  `ordersummary` text NOT NULL,
  KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=111 ;

--
-- Dumping data for table `sales`
--


-- --------------------------------------------------------

--
-- Table structure for table `settings`
--

CREATE TABLE IF NOT EXISTS `settings` (
  `id` int(11) NOT NULL auto_increment,
  `thumb_wide_width` int(11) default NULL,
  `thumb_wide_height` int(11) default NULL,
  `thumb_tall_width` int(11) default NULL,
  `thumb_tall_height` int(11) default NULL,
  `categorytemplate` varchar(50) NOT NULL default '',
  `categorynumber` int(11) NOT NULL default '0',
  `metakeywords` text NOT NULL,
  `metadescription` text NOT NULL,
  `websiteroot` varchar(250) NOT NULL default '',
  `websitetitle` varchar(150) NOT NULL default '',
  `featuredfrontpage` int(11) NOT NULL default '0',
  `specialofferfrontpage` int(11) NOT NULL default '0',
  `specialofferfrontpageimagepadding` int(11) NOT NULL default '0',
  `onmouseoverspecialchangefeatured` int(11) NOT NULL default '0',
  `metakeywordsmaxlength` int(11) NOT NULL default '0',
  `metadescriptionmaxlength` int(11) NOT NULL default '0',
  `pagetitlemaximumlength` int(11) NOT NULL default '0',
  `paymenttesting` int(11) NOT NULL default '0',
  `generalcontactemail` varchar(100) NOT NULL default '',
  `strYourSiteFQDN` varchar(255) NOT NULL default '',
  `strVendorName` varchar(50) NOT NULL default '',
  `strEncryptionPassword` varchar(25) NOT NULL default '',
  `strCurrency` varchar(5) NOT NULL default '',
  `strVendorEMail` varchar(150) NOT NULL default '',
  `sagepaytype` varchar(50) NOT NULL default '',
  `sagepaymode` int(11) NOT NULL default '0',
  `customimage1` varchar(150) NOT NULL default '',
  `customimage2` varchar(150) NOT NULL default '',
  `customimage3` varchar(150) NOT NULL default '',
  `backgroundimage` varchar(150) NOT NULL default '',
  `useattributestocklevels` int(11) NOT NULL default '0',
  `showifnostock` int(11) NOT NULL default '1',
  `showstockleveltocustomer` int(11) NOT NULL default '1',
  `activepaymentprovider` varchar(100) NOT NULL default '',
  `paypalstandardemail` varchar(150) NOT NULL default '',
  `paypalstandardpaymenturl` varchar(250) NOT NULL default '',
  `paypalstandardcancelurl` varchar(250) NOT NULL default '',
  `paypalstandardpaymentsuccess` varchar(250) NOT NULL default '',
  `freeshippinglimit` float NOT NULL default '0',
  `lowordershipping` float NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `thumb_wide_width`, `thumb_wide_height`, `thumb_tall_width`, `thumb_tall_height`, `categorytemplate`, `categorynumber`, `metakeywords`, `metadescription`, `websiteroot`, `websitetitle`, `featuredfrontpage`, `specialofferfrontpage`, `specialofferfrontpageimagepadding`, `onmouseoverspecialchangefeatured`, `metakeywordsmaxlength`, `metadescriptionmaxlength`, `pagetitlemaximumlength`, `paymenttesting`, `generalcontactemail`, `strYourSiteFQDN`, `strVendorName`, `strEncryptionPassword`, `strCurrency`, `strVendorEMail`, `sagepaytype`, `sagepaymode`, `customimage1`, `customimage2`, `customimage3`, `backgroundimage`, `useattributestocklevels`, `showifnostock`, `showstockleveltocustomer`, `activepaymentprovider`, `paypalstandardemail`, `paypalstandardpaymenturl`, `paypalstandardcancelurl`, `paypalstandardpaymentsuccess`, `freeshippinglimit`, `lowordershipping`) VALUES
(1, 100, 75, 75, 100, 'smallfloatleftWHITE.html', 12, '', '', 'http://195.110.9.181/directsuites/', 'DirectSuites.net', 0, 1, 4, 1, 250, 250, 70, 0, 'manuel@dawleywebdesign.co.uk', '', '', '', 'GBP', 'manuel@dawleywebdesign.co.uk', 'SIMULATOR', 0, '', '', '', '', 1, 1, 1, 'paypalstandard', 'manuel@dawleywebdesign.co.uk', 'https://www.paypal.com/cgi-bin/webscr', 'http://www.chequersmenswear.co.uk/orderfail.php', 'http://www.chequersmenswear.co.uk/ordersuccessful.php', 50, 3.95);

-- --------------------------------------------------------

--
-- Table structure for table `stats`
--

CREATE TABLE IF NOT EXISTS `stats` (
  `id` int(11) NOT NULL auto_increment,
  `productid` int(11) NOT NULL default '0',
  `ipaddress` varchar(20) NOT NULL default '',
  `datetime` timestamp NOT NULL default CURRENT_TIMESTAMP,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1695 ;

--
-- Dumping data for table `stats`
--


-- --------------------------------------------------------

--
-- Table structure for table `userdata`
--

CREATE TABLE IF NOT EXISTS `userdata` (
  `loggedin` int(11) NOT NULL default '0',
  `id` int(11) NOT NULL auto_increment,
  `username` varchar(30) NOT NULL default '',
  `password` varchar(150) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `userdata`
--

INSERT INTO `userdata` (`loggedin`, `id`, `username`, `password`) VALUES
(0, 1, 'directsuites', '66da7f62207a111849dfccaf87cf00b6');
