-- MySQL dump 10.9
--
-- Host: localhost    Database: tudortack
-- ------------------------------------------------------
-- Server version	5.0.45-community-nt

/*!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 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

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

DROP TABLE IF EXISTS `categories`;
CREATE TABLE `categories` (
  `cat_ID` int(8) NOT NULL auto_increment,
  `cat_parent` varchar(10) NOT NULL,
  `cat_name` varchar(50) NOT NULL,
  `cat_desc` varchar(200) NOT NULL,
  `cat_image` varchar(200) NOT NULL,
  PRIMARY KEY  (`cat_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

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

LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (1,'0','Saddles','',''),(2,'0','Equipment','',''),(3,'1','Dressage','',''),(4,'1','Eventing','','');
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `category`
--

DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
  `category_id` int(11) NOT NULL auto_increment,
  `name` varchar(20) NOT NULL,
  `parent` int(11) default NULL,
  PRIMARY KEY  (`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `category`
--

LOCK TABLES `category` WRITE;
/*!40000 ALTER TABLE `category` DISABLE KEYS */;
INSERT INTO `category` VALUES (1,'ELECTRONICS',NULL),(2,'TELEVISIONS',1),(3,'TUBE',2),(4,'LCD',2),(5,'PLASMA',2),(6,'PORTABLE ELECTRONICS',1),(7,'MP3 PLAYERS',6),(8,'FLASH',7),(9,'CD PLAYERS',6),(10,'2 WAY RADIOS',6);
/*!40000 ALTER TABLE `category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `features`
--

DROP TABLE IF EXISTS `features`;
CREATE TABLE `features` (
  `featureid` int(4) NOT NULL,
  `title` varchar(100) NOT NULL,
  `image` varchar(300) NOT NULL,
  `details` varchar(500) NOT NULL,
  `cost` double NOT NULL,
  PRIMARY KEY  (`featureid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `features`
--

LOCK TABLES `features` WRITE;
/*!40000 ALTER TABLE `features` DISABLE KEYS */;
INSERT INTO `features` VALUES (1,'New Helmets','http://itwiz.ca/tudor/images/products/feature/1266021995Assessment_001.jpg','This hat is used buy many of the top riders in the circuit right now, and we currently have it on special for only',291);
/*!40000 ALTER TABLE `features` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `nested_category`
--

DROP TABLE IF EXISTS `nested_category`;
CREATE TABLE `nested_category` (
  `category_id` int(11) NOT NULL auto_increment,
  `name` varchar(20) NOT NULL,
  `lft` int(11) NOT NULL,
  `rgt` int(11) NOT NULL,
  PRIMARY KEY  (`category_id`)
) ENGINE=MyISAM AUTO_INCREMENT=56 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `nested_category`
--

LOCK TABLES `nested_category` WRITE;
/*!40000 ALTER TABLE `nested_category` DISABLE KEYS */;
INSERT INTO `nested_category` VALUES (1,'ELECTRONICS',1,20),(2,'TELEVISIONS',2,9),(5,'TUBE',3,4),(4,'LCD',5,6),(3,'PLASMA',4,8),(6,'PORTABLE ELECTRONICS',10,19),(7,'MP3 PLAYERS',11,14),(8,'FLASH',12,13),(9,'CD PLAYERS',15,16),(10,'2 WAY RADIOS',17,18);
/*!40000 ALTER TABLE `nested_category` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `products`;
CREATE TABLE `products` (
  `prod_ID` int(8) NOT NULL auto_increment,
  `prod_code` varchar(10) NOT NULL,
  `prod_cat` varchar(10) NOT NULL,
  `prod_title` varchar(50) NOT NULL,
  `prod_manf` varchar(200) NOT NULL,
  `prod_dipl` varchar(100) NOT NULL,
  `prod_styl` varchar(100) NOT NULL,
  `prod_cols` varchar(200) NOT NULL,
  `prod_size` int(10) NOT NULL,
  `prod_lthr` varchar(100) NOT NULL,
  `prod_seat` varchar(100) NOT NULL,
  `prod_tree` varchar(100) NOT NULL,
  `prod_flap` varchar(100) NOT NULL,
  `prod_flok` varchar(100) NOT NULL,
  `prod_dim` varchar(100) NOT NULL,
  `prod_weit` int(10) NOT NULL,
  `prod_description` varchar(1000) NOT NULL,
  `prod_image` varchar(200) NOT NULL,
  `prod_thumb` varchar(200) NOT NULL,
  `prod_price` decimal(5,2) NOT NULL default '0.00',
  PRIMARY KEY  (`prod_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

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

LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` VALUES (1,'SD001','3','Dressage Saddle','man','dicipline','model','red;white',0,'leather','small;medium;large','5;6','9','20','5x7',55,'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed adipiscing, massa vitae varius semper, augue metus aliquam magna, ut laoreet odio magna ut metus. Sed leo erat, pellentesque vitae elementum vel, condimentum sagittis neque. Pellentesque nec turpis non risus vulputate bibendum at in sem. Integer eu enim tellus, eu mattis enim. Nulla aliquet, ante a tincidunt tincidunt, erat arcu bibendum mauris, sit amet ultricies dolor urna rutrum nibh. Aliquam laoreet rhoncus ante, eu scelerisque risus dignissim vel. Phasellus luctus cursus viverra. Mauris eleifend risus vitae felis ullamcorper aliquam. Curabitur nec ligula enim, ac fermentum magna. Quisque scelerisque convallis purus, vitae elementum nibh commodo et.','http://tudorequestrian.ca/images/products/dressage.jpg','http://tudorequestrian.ca/images/products/thumbs/dressage.jpg','400.00'),(2,'HT001','2','Riding Hat','','','','',0,'0','','','','','',0,'Hat to keep your head safe','http://itwiz.ca/tudor/images/products/hat.png','http://itwiz.ca/tudor/images/products/thumbs/hat.png','150.00'),(3,'EV034','4','Eventing Saddle','','','','',0,'','','','','','',0,'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed adipiscing, massa vitae varius semper, augue metus aliquam magna, ut laoreet odio magna ut metus. Sed leo erat, pellentesque vitae elementum vel, condimentum sagittis neque. Pellentesque nec turpis non risus vulputate bibendum at in sem. Integer eu enim tellus, eu mattis enim. Nulla aliquet, ante a tincidunt tincidunt, erat arcu bibendum mauris, sit amet ultricies dolor urna rutrum nibh. Aliquam laoreet rhoncus ante, eu scelerisque risus dignissim vel. Phasellus luctus cursus viverra. Mauris eleifend risus vitae felis ullamcorper aliquam. Curabitur nec ligula enim, ac fermentum magna. Quisque scelerisque convallis purus, vitae elementum nibh commodo et.','http://tudorequestrian.ca/images/products/eventing.jpg','http://tudorequestrian.ca/images/products/thumbs/eventing.jpg','0.00');
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

