-- http://www.phpmyadmin.net
-- 
-- 
-- Database: `demo2`
-- 

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

-- 
-- Table structure for table `articles_category`
-- 

CREATE TABLE `articles_category` (
  `articles_category_id` int(4) NOT NULL auto_increment,
  `category` varchar(255) NOT NULL default '',
  `image_heading` INT( 4 ) NOT NULL ,
  `static_article` INT( 4 ) NOT NULL ,
  PRIMARY KEY  (`articles_category_id`)
) TYPE=MyISAM AUTO_INCREMENT=35 ;

-- 
-- Dumping data for table `articles_category`
-- 


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

-- 
-- Table structure for table `articles_config`
-- 

CREATE TABLE `articles_config` (
  `articles_config_id` int(4) NOT NULL auto_increment,
  `category_1` int(4) default NULL,
  `category_2` int(4) default NULL,
  `category_3` int(4) default NULL,
  `category_4` int(4) default NULL,
  `category_5` int(4) default NULL,
  `category_6` int(4) default NULL,
  `category_7` int(4) default NULL,
  `category_8` int(4) default NULL,
  `category_9` int(4) NOT NULL default '0',
  `category_10` int(4) NOT NULL default '0',
  `category_11` int(4) NOT NULL default '0',
  `category_12` int(4) NOT NULL default '0',
  `category_13` int(4) NOT NULL default '0',
  `category_14` int(4) NOT NULL default '0',
  `category_15` int(4) NOT NULL default '0',
  `category_16` int(4) NOT NULL default '0',
  `category_17` int(4) NOT NULL default '0',
  `category_18` int(4) NOT NULL default '0',
  `category_19` int(4) NOT NULL default '0',
  `category_20` int(4) NOT NULL default '0',
  `category_21` int(4) NOT NULL default '0',
  `category_22` int(4) NOT NULL default '0',
  `category_23` int(4) NOT NULL default '0',
  `category_24` int(4) NOT NULL default '0',
  `max_headlines_1` int(4) default NULL,
  `max_headlines_2` int(4) default NULL,
  `max_headlines_3` int(4) default NULL,
  `max_headlines_4` int(4) default NULL,
  `max_headlines_5` int(4) default NULL,
  `max_headlines_6` int(4) default NULL,
  `max_headlines_7` int(4) default NULL,
  `max_headlines_8` int(4) default NULL,
  `max_headlines_9` int(4) NOT NULL default '0',
  `max_headlines_10` int(4) NOT NULL default '0',
  `max_headlines_11` int(4) NOT NULL default '0',
  `max_headlines_12` int(4) NOT NULL default '0',
  `max_headlines_13` int(4) NOT NULL default '0',
  `max_headlines_14` int(4) NOT NULL default '0',
  `max_headlines_15` int(4) NOT NULL default '0',
  `max_headlines_16` int(4) NOT NULL default '0',
  `max_headlines_17` int(4) NOT NULL default '0',
  `max_headlines_18` int(4) NOT NULL default '0',
  `max_headlines_19` int(4) NOT NULL default '0',
  `max_headlines_20` int(4) NOT NULL default '0',
  `max_headlines_21` int(4) NOT NULL default '0',
  `max_headlines_22` int(4) NOT NULL default '0',
  `max_headlines_23` int(4) NOT NULL default '0',
  `max_headlines_24` int(4) NOT NULL default '0',
  `headlines` int(2) NOT NULL default '3',
  `lead_in` int(3) NOT NULL default '75',
  `show_date` tinyint(1) NOT NULL default '1',
  `show_author` tinyint(1) NOT NULL default '0',
  `bold_newest` tinyint(1) NOT NULL default '1',
  `show_date_featured_article` TINYINT NOT NULL DEFAULT '1',
  `show_similar_articles` TINYINT NOT NULL DEFAULT '1',
  `show_all_articles_button` TINYINT NOT NULL DEFAULT '1',
  `show_subscribe_button` TINYINT NOT NULL DEFAULT '1',
  `sort_articles` VARCHAR( 50 ) NOT NULL ,
  `rss_filename_postfix` VARCHAR(50)  NOT NULL  DEFAULT '',
  `rss_title` VARCHAR(200)  NOT NULL  DEFAULT '',
  `rss_description` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_link_to_url` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_category_title` VARCHAR(200)  NOT NULL  DEFAULT '',
  `rss_category_link_to_url` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_copyright` VARCHAR(50)  NOT NULL  DEFAULT '',
  `rss_managing_editor` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_webmaster_email` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_last_build` DATE  NOT NULL  DEFAULT '0000-00-00',
  `rss_publish` DATE  NOT NULL  DEFAULT '0000-00-00',
  `rss_generator` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_files_photos_manager_id` INT(11)  NOT NULL  DEFAULT '0',
  PRIMARY KEY  (`articles_config_id`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;

-- 
-- Dumping data for table `articles_config`
-- 

INSERT INTO `articles_config` (`articles_config_id`, `category_1`, `category_2`, `category_3`, `category_4`, `category_5`, `category_6`, `category_7`, `category_8`, `category_9`, `category_10`, `category_11`, `category_12`, `category_13`, `category_14`, `category_15`, `category_16`, `category_17`, `category_18`, `category_19`, `category_20`, `category_21`, `category_22`, `category_23`, `category_24`, `headlines`, `lead_in`, `show_date`, `show_author`, `bold_newest`, `show_date_featured_article`, `show_similar_articles`, `show_all_articles_button`, `show_subscribe_button`, `sort_articles`) VALUES
(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 400, 1, 1, 1, 1, 1, 1, 1, '');

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

-- 
-- Table structure for table `articles_manager`
-- 

CREATE TABLE `articles_manager` (
  `articles_manager_id` int(4) NOT NULL auto_increment,
  `page_filename` VARCHAR(255)  NOT NULL  DEFAULT '',
  `heading` varchar(255) NOT NULL default '',
  `author` VARCHAR( 200 ) NOT NULL default '',
  `summary` text,
  `category_id` VARCHAR(100)  NOT NULL  DEFAULT '0',
  `landing_page_manager_id` INT(4)  NOT NULL  DEFAULT '0',
  `file_photo_1` int(4) default NULL,
  `file_photo_2` int(4) default NULL,
  `file_photo_3` int(4) default NULL,
  `file_photo_4` int(4) default NULL,
  `auto_size_1` BOOL NOT NULL DEFAULT '1',
  `auto_size_2` BOOL NOT NULL DEFAULT '1',
  `auto_size_3` BOOL NOT NULL DEFAULT '1',
  `auto_size_4` BOOL NOT NULL DEFAULT '1',
  `date_added` datetime NOT NULL default '0000-00-00 00:00:00',
  `article_text` longtext NOT NULL,
  `template` INT( 2 ) NOT NULL DEFAULT '1',
  PRIMARY KEY  (`articles_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=35 ;

CREATE TABLE `autocheck_scores`(  
  `autocheck_score` INT(20) NOT NULL AUTO_INCREMENT,
  `autocheck_vin` VARCHAR(17),
  `button_style` TINYINT(4),
  `button_html` BLOB,
  PRIMARY KEY (`autocheck_score`),
  INDEX (`autocheck_vin`, `button_style`)
) ENGINE=MYISAM;



CREATE TABLE `digital_brochures` (
`digital_brochures_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`digital_brochure_name` VARCHAR( 100 ) NOT NULL ,
`width` INT( 3 ) NOT NULL DEFAULT '770',
`height` INT( 3 ) NOT NULL DEFAULT '590'
) ENGINE = MYISAM ;



CREATE TABLE `digital_brochure_pages` (
`digital_brochure_pages_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`digital_brochure` INT( 4 ) NOT NULL ,
`page_number` INT( 2 ) NOT NULL ,
`background` INT( 4 ) NOT NULL ,
`audio` INT( 4 ) NOT NULL ,
`header` INT( 4 ) NOT NULL ,
`digital_brochure_template` INT( 4 ) NOT NULL
) ENGINE = MYISAM ;



CREATE TABLE `digital_brochure_templates` (
`digital_brochure_templates_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`template_type` VARCHAR( 100 ) NOT NULL
) ENGINE = MYISAM ;

insert into digital_brochure_templates (template_type) values ('Video Player');
insert into digital_brochure_templates (template_type) values ('Contest');
insert into digital_brochure_templates (template_type) values ('Vehicle Details');
insert into digital_brochure_templates (template_type) values ('New Arrivals');
insert into digital_brochure_templates (template_type) values ('About Us');



CREATE TABLE `digital_brochure_template_elements` (
`digital_brochure_template_elements_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`digital_brochure_template` INT( 4 ) NOT NULL ,
`element_table` VARCHAR( 100 ) NOT NULL ,
`element_field` VARCHAR( 100 ) NOT NULL ,
`element_x` INT( 3 ) NOT NULL ,
`element_y` INT( 3 ) NOT NULL ,
`element_width` INT( 3 ) NOT NULL ,
`element_height` INT( 3 ) NOT NULL ,
`element_background` INT( 4 ) NOT NULL ,
`element_margin` INT( 3 ) NOT NULL ,
`element_zindex` INT( 3 ) NOT NULL
) ENGINE = MYISAM ;



CREATE TABLE `digital_brochure_data` (
`digital_brochure_data_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`brochure_page` INT( 4 ) NOT NULL DEFAULT '0',
`brochure_template` INT( 4 ) NOT NULL DEFAULT '0',
`table_row_id` INT( 4 ) NOT NULL DEFAULT '0',
`media_id` INT( 4 ) NOT NULL DEFAULT '0',
`user_data` MEDIUMTEXT NOT NULL ,
`link` VARCHAR( 255 ) NOT NULL
) ENGINE = MYISAM ;



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

-- 
-- Table structure for table `calendar_category`
-- 

CREATE TABLE `calendar_category` (
  `calendar_category_id` int(4) NOT NULL auto_increment,
  `category_name` varchar(50) NOT NULL default '',
  `category_color` varchar(6) default NULL,
  PRIMARY KEY  (`calendar_category_id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;

-- 
-- Dumping data for table `calendar_category`
-- 


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

-- 
-- Table structure for table `calendar_manager`
-- 

CREATE TABLE `calendar_manager` (
  `calendar_manager_id` int(4) NOT NULL auto_increment,
  `event_name` varchar(50) NOT NULL default '',
  `event_category` int(4) default '0',
  `event_description` MEDIUMTEXT NULL DEFAULT NULL,
  `event_owner` INT( 4 ) NOT NULL,
  `show_on_website` tinyint(1) NOT NULL default '1',
  `minutes_before` INT( 2 ) NOT NULL,
  `hours_before` INT( 2 ) NOT NULL,
  `event_type` tinyint(1) NOT NULL default '0',
  `event_start_date` datetime default NULL,
  `event_end_date` datetime default NULL,
  `event_address` VARCHAR( 255 ) NOT NULL,
  `event_city` VARCHAR( 150 ) NOT NULL,
  `event_state` VARCHAR( 150 ) NOT NULL,
  `event_zip` VARCHAR( 25 ) NOT NULL,
  `event_picture` INT( 4 ) NOT NULL,
  `link_to_page` int(4) default NULL,
  `link_to_url` varchar(150) default NULL,
  `link_to_file_photo` int(4) default NULL,
  `notify` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
  `reminder_to_alt_email` varchar(75) NOT NULL,
  `reminder_to_group` int(4) default '0',
  `send_reminder` time default NULL,
  `repeat_event` varchar(25) default NULL,
  PRIMARY KEY  (`calendar_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;


CREATE TABLE `calendar_appointment_available` (
  `calendar_appointment_available_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `calendar_appointment_preferences_id` int(4) NOT NULL DEFAULT '0',
  `plus_day` int(4) NOT NULL DEFAULT '0',
  `time_from_1` time NOT NULL DEFAULT '00:00:00',
  `time_until_1` time NOT NULL DEFAULT '00:00:00',
  `time_from_2` time NOT NULL DEFAULT '00:00:00',
  `time_until_2` time NOT NULL DEFAULT '00:00:00',
  `time_from_3` time NOT NULL DEFAULT '00:00:00',
  `time_until_3` time NOT NULL DEFAULT '00:00:00',
  `time_from_4` time NOT NULL DEFAULT '00:00:00',
  `time_until_4` time NOT NULL DEFAULT '00:00:00',
  `time_from_5` time NOT NULL DEFAULT '00:00:00',
  `time_until_5` time NOT NULL DEFAULT '00:00:00',
  `time_from_6` time NOT NULL DEFAULT '00:00:00',
  `time_until_6` time NOT NULL DEFAULT '00:00:00',
  PRIMARY KEY (`calendar_appointment_available_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `calendar_appointment_exceptions` (
  `calendar_appointment_exceptions_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `calendar_appointment_preferences_id` int(4) NOT NULL DEFAULT '0',
  `month_exception` INT(2)  NOT NULL  DEFAULT '0',
  `monthly_date` int(2) NOT NULL DEFAULT '0',
  `monthly_week_day` int(1) NOT NULL DEFAULT '0',
  `repeat_exception` tinyint(1) NOT NULL DEFAULT '0',
  `time_from_1` time NOT NULL DEFAULT '00:00:00',
  `time_until_1` time NOT NULL DEFAULT '00:00:00',
  `time_from_2` time NOT NULL DEFAULT '00:00:00',
  `time_until_2` time NOT NULL DEFAULT '00:00:00',
  `time_from_3` time NOT NULL DEFAULT '00:00:00',
  `time_until_3` time NOT NULL DEFAULT '00:00:00',
  PRIMARY KEY (`calendar_appointment_exceptions_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `calendar_appointment_preferences` (
  `calendar_appointment_preferences_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(4) NOT NULL,
  `category_id` int(4) NOT NULL,
  `show_name_as` varchar(255) NOT NULL DEFAULT '',
  `show_on_website` int(1) NOT NULL DEFAULT '1',
  `notify` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `minutes_before` int(2) NOT NULL DEFAULT '0',
  `hours_before` int(2) NOT NULL DEFAULT '0',
  `reminder_to_alt_email` varchar(255) NOT NULL DEFAULT '',
  `reminder_to_group` int(4) NOT NULL DEFAULT '0',
  `availability_day_start` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`calendar_appointment_preferences_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `calendar_appointment_types` (
  `calendar_appointment_types_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `calendar_appointment_preferences_id` int(4) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `hours` int(4) NOT NULL DEFAULT '0',
  `minutes` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`calendar_appointment_types_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `campaign_adgroups` */

CREATE TABLE `campaign_adgroups` (
  `adgroup_id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'internal adgroup id',
  `campaign_id` int(20) DEFAULT '1' COMMENT 'internal campaign ID',
  `adwords_campaign_id` varchar(50) DEFAULT NULL COMMENT 'adwords campaignid',
  `adgroup_type` int(3) DEFAULT '1' COMMENT '1 for image ads',
  `adwords_status` int(3) DEFAULT '0' COMMENT '0 = Needs processing, 1 awaiting push to goole, 2= pushed to google-need keywords,3= keywords pushed, 4= pending removal from google, 5=removed from google',
  `adwords_id` varchar(50) DEFAULT NULL COMMENT 'adwords groupid',
  `vehicle_id` varchar(20) DEFAULT NULL COMMENT 'id in vehicle_manager',
  `adgroup_name` varchar(60) DEFAULT NULL COMMENT 'Name of Adgroup',
  `adgroup_keywords` blob COMMENT 'List of keywords, comma delimitted',
  `destination_url` varchar(255) DEFAULT NULL COMMENT 'URL images within this group resolve to',
  `simple_url` varchar(70) DEFAULT NULL COMMENT 'Simple url',
  `ad_images` blob COMMENT 'ad images, separated by commas',
  `adwords_texttitle` varchar(35) DEFAULT NULL COMMENT 'title of text ad',
  `adwords_desc1` varchar(35) DEFAULT NULL COMMENT 'text desc 1',
  `adwords_desc2` varchar(35) DEFAULT NULL COMMENT 'text desc 2',
  KEY `adgroup_id` (`adgroup_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*Table structure for table `campaign_media` */
CREATE TABLE `campaign_media` (
  `media_id` int(4) NOT NULL AUTO_INCREMENT,
  `account_id` varchar(20) DEFAULT NULL,
  `image_md5` varchar(32) DEFAULT NULL,
  `adwords_id` varchar(120) DEFAULT NULL,
  PRIMARY KEY (`media_id`),
  KEY `account_id` (`account_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

/*Table structure for table `campaign_categories` */

CREATE TABLE `campaign_categories` (
  `campaign_categories_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`campaign_categories_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `campaign_elements` */

CREATE TABLE `campaign_elements` (
  `campaign_elements_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `element_left` int(4) NOT NULL DEFAULT '0',
  `element_top` int(4) NOT NULL DEFAULT '0',
  `element_width` int(4) NOT NULL DEFAULT '0',
  `element_height` int(4) NOT NULL DEFAULT '0',
  `text` mediumtext NOT NULL,
  `text_font` varchar(50) NOT NULL DEFAULT 'arial',
  `text_color` varchar(10) NOT NULL DEFAULT '000000',
  `text_size` int(2) NOT NULL DEFAULT '12',
  `text_style` mediumtext NOT NULL,
  `text_align` varchar(10) NOT NULL DEFAULT 'center',
  `image` int(4) NOT NULL DEFAULT '0',
  `image_resize` tinyint(1) NOT NULL DEFAULT '1',
  `image_place_holder` varchar(50) NOT NULL DEFAULT '',
  `template_id` int(4) NOT NULL DEFAULT '0',
  `element_order` int(4) NOT NULL DEFAULT '1',
  `text_maxlength` int(4) DEFAULT '0',
  PRIMARY KEY (`campaign_elements_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `campaign_manager` */

CREATE TABLE `campaign_manager` (
  `campaign_id` int(11) NOT NULL AUTO_INCREMENT,
  `campaign_name` varchar(50) DEFAULT NULL,
  `campaign_type` int(5) DEFAULT '1',
  `campaign_dealer` int(11) DEFAULT NULL,
  `campaign_templates` int(3) DEFAULT NULL,
  `adwords_campaignid` varchar(20) DEFAULT NULL,
  `adwords_status` int(5) DEFAULT NULL,
  `adwords_keywords` blob,
  `adwords_clientID` varchar(12) DEFAULT NULL,
  PRIMARY KEY (`campaign_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `campaign_templates` */

CREATE TABLE `campaign_templates` (
  `campaign_templates_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `template_width` int(4) NOT NULL DEFAULT '0',
  `template_height` int(4) NOT NULL DEFAULT '0',
  `template_name` varchar(255) NOT NULL DEFAULT '',
  `template_category` int(4) NOT NULL DEFAULT '0',
  `background_image` int(4) DEFAULT '0',
  `background_color` varchar(8) DEFAULT '0',
  PRIMARY KEY (`campaign_templates_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- 
-- Table structure for table `content_manager`
-- 

CREATE TABLE `content_manager` (
  `content_manager_id` int(4) NOT NULL auto_increment,
  `page` int(4) default NULL,
  `element` varchar(60) default NULL,
  `text` longtext,
  `show_text` tinyint(1) NOT NULL default '1',
  `article` int(4) default NULL,
  `show_article` tinyint(1) NOT NULL default '0',
  `category` int(4) default NULL,
  `show_category` tinyint(1) NOT NULL default '0',
  `form` INT( 4 ) NULL ,
  `show_form` TINYINT( 1 ) NOT NULL DEFAULT  '0',
  `photo_viewer` VARCHAR( 25 ) NOT NULL DEFAULT '0',
  `photo_viewer_orientation` VARCHAR( 10 ) NOT NULL DEFAULT 'center',
  `show_photo_viewer` TINYINT( 1 ) NOT NULL DEFAULT '0',
  PRIMARY KEY  (`content_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=121 ;

-- 
-- Dumping data for table `content_manager`
-- 

INSERT INTO `content_manager` VALUES (1, 2, 'intro', '', 1, NULL, 0, NULL, 0, NULL, 0, 'category|1', 'center', 0);
INSERT INTO `content_manager` VALUES (2, 2, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (3, 500, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (4, 4, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (5, 5, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (6, 6, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (7, 7, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (8, 8, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (9, 9, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (10, 10, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (11, 11, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (12, 12, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (13, 13, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (14, 14, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (15, 15, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (16, 16, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (17, 17, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (18, 18, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (19, 19, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (21, 21, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (22, 22, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (23, 23, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (24, 24, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (25, 25, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (26, 26, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (27, 27, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (28, 28, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (29, 29, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (30, 30, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (31, 31, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (32, 32, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (33, 33, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (34, 34, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (35, 35, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (36, 36, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (37, 37, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (38, 38, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (39, 39, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (40, 40, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (41, 41, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (42, 42, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (43, 43, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (44, 44, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (45, 45, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (46, 46, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (47, 47, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (48, 48, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (49, 49, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (50, 50, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (51, 51, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (52, 52, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (53, 53, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (54, 54, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (55, 55, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (56, 56, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (57, 57, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (58, 58, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (59, 59, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (60, 60, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (61, 61, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (62, 62, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (63, 63, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (64, 64, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (65, 65, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (66, 66, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (67, 67, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (68, 68, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (69, 69, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (70, 70, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);

-- Extra Pages not found in most sites
INSERT INTO `content_manager` VALUES (71, 71, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (72, 72, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (73, 73, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (74, 74, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (75, 75, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (76, 76, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (77, 77, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (78, 78, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (79, 79, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (80, 80, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (81, 81, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (82, 82, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (83, 83, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (84, 84, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (85, 85, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (86, 86, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (87, 87, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (88, 88, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (89, 89, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (90, 90, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (91, 91, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (92, 92, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (93, 93, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (94, 94, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (95, 95, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (96, 96, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (97, 97, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (98, 98, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (99, 99, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (100, 100, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (101, 101, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (102, 102, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (103, 103, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (104, 104, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (105, 105, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (106, 106, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (107, 107, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (108, 108, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (109, 109, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (110, 110, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (111, 111, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (112, 112, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (113, 113, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (114, 114, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (115, 115, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (200, 200, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (201, 201, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (202, 202, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (302, 202, 'footer', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (203, 203, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (204, 204, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (205, 205, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (206, 206, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (207, 207, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (208, 208, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (209, 209, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (210, 210, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (211, 211, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (311, 211, 'footer', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (212, 212, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (213, 213, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (214, 214, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (215, 215, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (216, 216, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (217, 217, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (218, 218, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);
INSERT INTO `content_manager` VALUES (219, 219, 'body', '', 1, NULL, 0, NULL, 0, NULL, 0, 0, 'center', 0);

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

-- 
-- Table structure for table `files_photos_categories`
-- 

CREATE TABLE `files_photos_categories` (
  `files_photos_categories_id` int(4) NOT NULL auto_increment,
  `category` varchar(100) default NULL,
  PRIMARY KEY  (`files_photos_categories_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

insert into `files_photos_categories` (`files_photos_categories_id`, `category`) values ('1', 'HomePage Slides');



CREATE TABLE `files_photos_category` (
  `category_id` int(4) NOT NULL auto_increment,
  `category` varchar(50) default NULL,
  `private_gallery` BOOL NOT NULL,
  PRIMARY KEY  (`category_id`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;


CREATE TABLE `files_photos_manager` (
  `picture` varchar(75) default NULL,
  `element_location` int(3) default NULL,
  `align` int(1) default NULL,
  `starts_at` int(4) default NULL,
  `caption` longblob,
  `border` int(2) default NULL,
  `spacing` int(11) default NULL,
  `alt_text` VARCHAR( 255 ) NOT NULL,
  `links_to_page` int(3) default '0',
  `links_to_url` varchar(255) default NULL,
  `links_to_file` int(4) default '0',
  `gallery` int(2) default NULL,
  `type` varchar(8) default 'unknown',
  `files_photos_manager_id` int(4) NOT NULL auto_increment,
  `category` int(4) default NULL,
  `slideshow_order` INT(4)  NOT NULL  DEFAULT '0',
  `active_from` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
  `active_to` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
  `vehicle_attach_dealer` INT(4)  NOT NULL  DEFAULT '0',
  `vehicle_attach_type` VARCHAR( 10 ) NOT NULL,
  `vehicle_attach_year` VARCHAR( 10 ) NOT NULL,
  `vehicle_attach_make` VARCHAR( 80 ) NOT NULL,
  `vehicle_attach_model` VARCHAR( 80 ) NOT NULL,
  `vehicle_attach_trim` VARCHAR( 80 ) NOT NULL,
  `vehicle` SMALLINT( 1  ) DEFAULT '0'  NOT  NULL,
  `file_added` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY  (`files_photos_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=208 ;

INSERT INTO `files_photos_manager` (`picture`, `element_location`, `align`, `starts_at`, `caption`, `border`, `spacing`, `links_to_page`, `links_to_url`, `links_to_file`, `gallery`, `type`, `category`, `vehicle`) VALUES ('credit_form_pic1.jpg', 0, 1, 0, '', 0, 0, 0, '', 0, 0, 'jpg', 0, 0);
INSERT INTO `files_photos_manager` (`picture`, `element_location`, `align`, `starts_at`, `caption`, `border`, `spacing`, `links_to_page`, `links_to_url`, `links_to_file`, `gallery`, `type`, `category`, `vehicle`) VALUES ('credit_form_pic2.jpg', 0, 1, 0, '', 0, 0, 0, '', 0, 0, 'jpg', 0, 0);
INSERT INTO `files_photos_manager` (`picture`, `element_location`, `align`, `starts_at`, `caption`, `border`, `spacing`, `links_to_page`, `links_to_url`, `links_to_file`, `gallery`, `type`, `category`, `vehicle`) VALUES ('credit_form_pic3.jpg', 0, 1, 0, '', 0, 0, 0, '', 0, 0, 'jpg', 0, 0);
INSERT INTO `files_photos_manager` (`picture`, `element_location`, `align`, `starts_at`, `caption`, `border`, `spacing`, `links_to_page`, `links_to_url`, `links_to_file`, `gallery`, `type`, `category`, `vehicle`) VALUES ('credit_form_pic4.jpg', 0, 1, 0, '', 0, 0, 0, '', 0, 0, 'jpg', 0, 0);



CREATE TABLE IF NOT EXISTS `files_photos_options` (
  `viewer_width` int(3) NOT NULL default '400',
  `viewer_height` int(3) NOT NULL default '300',
  `view_time` int(2) NOT NULL default '3',
  `fade_time` int(2) NOT NULL default '1',
  `transition` VARCHAR(20)  NOT NULL  DEFAULT 'fade',
  `display_order` varchar(75) NOT NULL default 'order by picture asc',
  `nav_buttons` tinyint(1) NOT NULL default '1',
  `resize` tinyint(1) NOT NULL default '1',
  `flv_audio_quality` INT( 5 ) NOT NULL DEFAULT '22050',
  `flv_video_quality` INT( 6 ) NOT NULL DEFAULT '1500',
  `flv_aspect` VARCHAR( 20 ) NOT NULL DEFAULT '16:9',
  `flv_size` VARCHAR( 20 ) NOT NULL DEFAULT '640x360',
  `category` int(4) NOT NULL default '0',
  `gallery` int(4) NOT NULL default '0',
  `template` varchar(255) NOT NULL default 'original_template'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

insert into files_photos_options (viewer_width, viewer_height, view_time, fade_time, display_order, nav_buttons, resize) values ('400', '300', '3', '1', 'order by picture asc', '1', '1');



CREATE TABLE IF NOT EXISTS `got_a_question_form` (
  `got_a_question_form_id` int(4) NOT NULL AUTO_INCREMENT,
  `question_date` DATE NOT NULL ,
  `question_time` TIME NOT NULL ,
  `first_last_name` varchar(200) NOT NULL,
  `email_address` varchar(200) NOT NULL,
  `phone_number` varchar(100) NOT NULL,
  `question` mediumtext NOT NULL,
  `source` varchar(50) NOT NULL default 'desktop',
  PRIMARY KEY (`got_a_question_form_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE `vehicle_certified` (
  `vehicle_certified_id` int(2) unsigned NOT NULL AUTO_INCREMENT,
  `dealer` int(2) NOT NULL DEFAULT '0',
  `make` varchar(50) NOT NULL DEFAULT '',
  `heading` varchar(255) NOT NULL DEFAULT '',
  `points` mediumtext NOT NULL,
  `image` INT(2)  NOT NULL DEFAULT '0',
  PRIMARY KEY (`vehicle_certified_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE IF NOT EXISTS `vehicle_contact_form` (
  `vehicle_contact_form_id` int(4) NOT NULL AUTO_INCREMENT,
  `contact_date` DATE NOT NULL,
  `contact_time` TIME NOT NULL,
  `contact_name` varchar(200) NOT NULL,
  `contact_email` varchar(200) NOT NULL,
  `contact_phone` varchar(100) NOT NULL,
  `contact_via` varchar(50) NOT NULL,
  `best_time_to_contact` varchar(50) NOT NULL,
  `questions_comments` mediumtext NOT NULL,
  `dealer` INT( 4 ) NOT NULL,
  `source` varchar(50) NOT NULL default 'desktop',
  PRIMARY KEY (`vehicle_contact_form_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE `vehicle_factory_manager` (
  `vehicle_factory_manager_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `vehicle_factory_package_id` int(11) NOT NULL DEFAULT '0',
  `certified` varchar(20) NOT NULL DEFAULT '',
  `retail_price` float(8,2) NOT NULL DEFAULT '0.00',
  `msrp` float(8,2) NOT NULL DEFAULT '0.00',
  `installed_package_weighting` int(2) NOT NULL DEFAULT '0',
  `package_label` varchar(255) NOT NULL DEFAULT '',
  `package_description` mediumtext NOT NULL,
  PRIMARY KEY (`vehicle_factory_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `vehicle_factory_options` (
  `vehicle_factory_options_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `vehicle_factory_package_id` int(11) NOT NULL DEFAULT '0',
  `style_id` varchar(20) NOT NULL DEFAULT '',
  `vin` varchar(20) NOT NULL DEFAULT '',
  `chrome_code_option_id` int(5) NOT NULL DEFAULT '0',
  `removed` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`vehicle_factory_options_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `vehicle_factory_packages` (
  `vehicle_factory_packages_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `style_id` varchar(20) NOT NULL DEFAULT '',
  `chrome_code` varchar(20) NOT NULL DEFAULT '',
  `oem_code` varchar(20) NOT NULL DEFAULT '',
  `standard` int(1) NOT NULL DEFAULT '0',
  `option_kind_id` int(3) NOT NULL DEFAULT '0',
  `utf` varchar(20) NOT NULL DEFAULT '',
  `fleet_only` int(1) NOT NULL DEFAULT '0',
  `header` varchar(255) NOT NULL DEFAULT '',
  `description_simple` varchar(255) NOT NULL DEFAULT '',
  `description_detailed` mediumtext NOT NULL,
  `retail_price_min` float(8,2) NOT NULL DEFAULT '0.00',
  `retail_price_max` float(8,2) NOT NULL DEFAULT '0.00',
  `msrp_min` float(8,2) NOT NULL DEFAULT '0.00',
  `msrp_max` float(8,2) NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`vehicle_factory_packages_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE IF NOT EXISTS `vehicle_get_a_quote_form` (
  `vehicle_get_a_quote_form_id` int(4) NOT NULL AUTO_INCREMENT,
  `quote_date` DATE NOT NULL,
  `quote_time` TIME NOT NULL,
  `first_last_name` varchar(200) NOT NULL,
  `email_address` varchar(200) NOT NULL,
  `phone_number` varchar(100) NOT NULL,
  `model_of_interest` varchar(200) NOT NULL,
  `source` varchar (50) NOT NULL default 'desktop',
  PRIMARY KEY (`vehicle_get_a_quote_form_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE `catalog_manager` (
  `catalog_manager` int(4) NOT NULL auto_increment,
  `catalog_name` varchar(100) NOT NULL,
  PRIMARY KEY  (`catalog_manager`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE catalog_pages (
  catalog_pages_id int(4) NOT NULL auto_increment,
  catalog int(4) NOT NULL,
  columns int(2) NOT NULL default '1',
  slots int(2) NOT NULL default '8',
  header_text varchar(50) NOT NULL,
  header_image int(4) NOT NULL,
  header_size int(2) NOT NULL default '24',
  header_color varchar(6) NOT NULL default '880000',
  background int(4) NOT NULL,
  gradient int(2) NOT NULL,
  solid_color varchar(6) NOT NULL,
  top_text mediumtext NOT NULL,
  top_text_color varchar(6) NOT NULL default '000000',
  top_text_size int(2) NOT NULL default '16',
  left_margin_text mediumtext NOT NULL,
  left_margin_color varchar(6) NOT NULL default '000000',
  left_margin_size int(2) NOT NULL default '8',
  right_margin_text mediumtext NOT NULL,
  right_margin_color varchar(6) NOT NULL default '000000',
  right_margin_size int(2) NOT NULL default '8',
  bottom_margin_text mediumtext NOT NULL,
  bottom_margin_color varchar(6) NOT NULL default '000000',
  bottom_margin_size int(2) NOT NULL default '8',
  footer_image int(4) NOT NULL,
  footer_text mediumtext NOT NULL,
  footer_color varchar(6) NOT NULL default '888888',
  footer_size int(2) NOT NULL default '14',
  PRIMARY KEY  (catalog_pages_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE `catalog_slots` (
  `catalog_slots_id` int(4) NOT NULL auto_increment,
  `vehicle` int(4) NOT NULL,
  `alt_price` varchar(50) NOT NULL,
  `alt_monthly` varchar(50) NOT NULL,
  `include_trim` tinyint(1) NOT NULL,
  `include_options` int(4) NOT NULL,
  `include_monthly` blob NOT NULL,
  `gradient` int(2) NOT NULL,
  `solid_color` varchar(6) NOT NULL,
  `title` varchar(200) NOT NULL,
  `description` mediumtext NOT NULL,
  `image` int(4) NOT NULL,
  `image_1` int(4) NOT NULL,
  `image_2` int(4) NOT NULL,
  `image_3` int(4) NOT NULL,
  `title_color` VARCHAR( 6 ) NOT NULL DEFAULT '000000',
  `title_size` INT( 2 ) NOT NULL DEFAULT '14',
  `description_color` varchar(6) NOT NULL,
  `description_size` int(2) NOT NULL,
  `highlight_1` varchar(50) NOT NULL,
  `highlight_2` varchar(50) NOT NULL,
  `highlight_3` varchar(50) NOT NULL,
  `highlight_4` varchar(50) NOT NULL,
  `highlight_5` varchar(50) NOT NULL,
  `page_position` VARCHAR( 50 ) NOT NULL,
  `catalog_pages_id` INT( 4 ) NOT NULL,
  PRIMARY KEY  (`catalog_slots_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE IF NOT EXISTS `equipment_databases` (
  `equipment_databases_id` int(4) NOT NULL auto_increment,
  `equipment_field` int(4) NOT NULL,
  `option_category` varchar(100) NOT NULL,
  `display_order` int(4) NOT NULL,
  PRIMARY KEY  (`equipment_databases_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=291 ;


CREATE TABLE IF NOT EXISTS `equipment_fields` (
  `equipment_fields_id` int(4) NOT NULL auto_increment,
  `option_category` int(4) NOT NULL,
  `field_name` varchar(250) NOT NULL,
  `field_input_type` int(4) NOT NULL,
  `sub_field_input_type` int(4) NOT NULL default '0',
  `static_field` varchar(50) NOT NULL,
  `field_size` int(4) NOT NULL,
  `management_grid` smallint(6) NOT NULL default '0',
  `inventory_browser` smallint(6) NOT NULL default '0',
  PRIMARY KEY  (`equipment_fields_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;


CREATE TABLE IF NOT EXISTS `equipment_headers` (
  `equipment_headers_id` int(4) NOT NULL auto_increment,
  `equipment_database` varchar(100) NOT NULL,
  `created_date` date NOT NULL,
  `created_time` time NOT NULL,
  `modified_date` date NOT NULL,
  `modified_time` time NOT NULL,
  `status` TINYINT( 1 ) NOT NULL DEFAULT '1',
  PRIMARY KEY  (`equipment_headers_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;


CREATE TABLE IF NOT EXISTS `equipment_inquiry` (
  `equipment_inquiry_id` int(4) NOT NULL auto_increment,
  `inquiry_date` date NOT NULL,
  `inquiry_time` time NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(100) NOT NULL,
  `comments` mediumtext NOT NULL,
  `option_category` varchar(255) NOT NULL,
  `equipment_header` int(4) NOT NULL,
  PRIMARY KEY  (`equipment_inquiry_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


CREATE TABLE IF NOT EXISTS `equipment_log` (
  `equipment_log_id` int(4) NOT NULL auto_increment,
  `hit_date` date NOT NULL,
  `hit_time` time NOT NULL,
  `option_category` varchar(255) NOT NULL,
  `equipment_header` int(4) NOT NULL,
  `equipment_function` VARCHAR( 50 ) NOT NULL,
  PRIMARY KEY  (`equipment_log_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


CREATE TABLE IF NOT EXISTS `equipment_media` (
  `equipment_media_id` int(4) NOT NULL auto_increment,
  `equipment_header` int(4) NOT NULL,
  `media_url` mediumtext NOT NULL,
  PRIMARY KEY  (`equipment_media_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;


CREATE TABLE IF NOT EXISTS `equipment_menus` (
  `equipment_menus_id` int(4) NOT NULL auto_increment,
  `menu_name` varchar(250) NOT NULL,
  PRIMARY KEY  (`equipment_menus_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;


CREATE TABLE IF NOT EXISTS `equipment_menu_items` (
  `equipment_menu_items_id` int(4) NOT NULL auto_increment,
  `menu_item_name` varchar(250) NOT NULL,
  `equipment_menu` int(4) NOT NULL,
  `display_order` int(2) NOT NULL,
  PRIMARY KEY  (`equipment_menu_items_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=641 ;


CREATE TABLE IF NOT EXISTS `equipment_notifications` (
  `equipment_notifications_id` int(4) NOT NULL auto_increment,
  `option_category` varchar(200) NOT NULL,
  `email` mediumtext NOT NULL,
  PRIMARY KEY  (`equipment_notifications_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;


CREATE TABLE IF NOT EXISTS `equipment_sub_menu_items` (
  `equipment_sub_menu_items_id` int(4) NOT NULL auto_increment,
  `sub_menu_item_name` varchar(250) NOT NULL,
  `equipment_menu_item` int(4) NOT NULL,
  `display_order` int(2) NOT NULL,
  PRIMARY KEY  (`equipment_sub_menu_items_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;


CREATE TABLE IF NOT EXISTS `equipment_values` (
  `equipment_values_id` int(4) NOT NULL auto_increment,
  `equipment_header` int(4) NOT NULL,
  `equipment_field` int(4) NOT NULL,
  `value` mediumtext NOT NULL,
  PRIMARY KEY  (`equipment_values_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=72 ;



CREATE TABLE  `forum_category_manager` (
 `forum_category_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
 `category_name` VARCHAR( 100 ) NOT NULL ,
 `sort_by` VARCHAR( 50 ) NOT NULL DEFAULT ' order by date_posted asc',
 `date_created` DATETIME NOT NULL ,
 `views` INT( 5  )  NOT NULL DEFAULT '0' ,
 `update_send_to` VARCHAR( 255 ) NOT NULL ,
 `created_by` INT( 4 ) NOT NULL ,
 `moderate` TINYINT( 1 ) NOT NULL DEFAULT '1' ,
 `activity` TINYINT( 1 ) NOT NULL DEFAULT '2' ,
 `ratings` TINYINT( 1 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM ;



CREATE TABLE  `forum_manager` (
 `forum_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
 `date_posted` DATETIME NOT NULL ,
 `category` INT( 4 ) NOT NULL ,
 `video` INT( 4 ) NOT NULL ,
 `review` INT(4)  NOT NULL ,
 `article` INT( 4 ) NOT NULL ,
 `file_photo` INT( 4 ) NOT NULL ,
 `events` INT( 4 ) NOT NULL ,
 `shopping` INT( 4 ) NOT NULL ,
 `vehicle` INT( 4 ) NOT NULL ,
 `coupons` INT( 4 ) NOT NULL ,
 `equipment` INT( 4 ) NOT NULL ,
 `posted_by` INT( 4 ) NOT NULL ,
 `rating` INT( 1 ) NOT NULL ,
 `post_text` MEDIUMTEXT NOT NULL ,
 `approved` TINYINT( 1 ) NOT NULL DEFAULT '1' ,
 `forum_parent` INT(4)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;



CREATE  TABLE `forum_filter`  (
`forum_filter_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT  PRIMARY  KEY ,
`find_word` VARCHAR( 50  )  NOT  NULL ,
`replace_with` VARCHAR( 50  )  NOT  NULL 
) ENGINE  =  MYISAM ;

insert into forum_filter (find_word, replace_with) values ('fuck', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('shit', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('cunt', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('bitch', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('cock', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('pussy', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('damn', 'darn');
insert into forum_filter (find_word, replace_with) values ('asshole', '[expletive]');
insert into forum_filter (find_word, replace_with) values ('tits', '[expletive]');



CREATE TABLE IF NOT EXISTS `classifieds_category_manager` (
  `classifieds_category_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `category_name` varchar(100) NOT NULL DEFAULT '',
  `sort_by` varchar(50) NOT NULL DEFAULT ' order by date_posted asc',
  `views` int(5) NOT NULL DEFAULT '0',
  `created_by` int(4) NOT NULL DEFAULT '0',
  `moderate` tinyint(1) NOT NULL DEFAULT '0',
  `fields_needed` mediumtext NOT NULL,
  `disclaimer` MEDIUMTEXT NOT NULL,
  PRIMARY KEY (`classifieds_category_manager_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;



CREATE TABLE IF NOT EXISTS `classifieds_manager` (
  `classifieds_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `date_posted` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `category` int(4) NOT NULL DEFAULT '0',
  `posted_by` int(4) NOT NULL DEFAULT '0',
  `classifieds_data` mediumtext NOT NULL,
  `views` int(5) NOT NULL DEFAULT '0',
  `responses` int(5) NOT NULL DEFAULT '0',
  `approved` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`classifieds_manager_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;



CREATE TABLE IF NOT EXISTS `classifieds_responses` (
  `classifieds_responses_id` int(4) NOT NULL AUTO_INCREMENT,
  `category` int(4) NOT NULL,
  `ip_address` varchar(25) NOT NULL,
  `date_responded` datetime NOT NULL,
  `response` mediumtext NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(75) NOT NULL,
  PRIMARY KEY (`classifieds_responses_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



--
-- Table structure for table `game_inquiry`
--

CREATE TABLE IF NOT EXISTS `game_inquiry` (
  `game_inquiry_id` int(4) NOT NULL AUTO_INCREMENT,
  `installed_game` INT( 2 ) NOT NULL,
  `inquiry_date` date NOT NULL,
  `inquiry_time` time NOT NULL,
  `first_name` varchar(75) NOT NULL,
  `last_name` varchar(75) NOT NULL,
  `email` varchar(150) NOT NULL,
  `phone` varchar(75) NOT NULL,
  `game_manager_id` int(4) NOT NULL,
  `site_url` VARCHAR( 200 ) NOT NULL,
  PRIMARY KEY (`game_inquiry_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `game_manager`
--

CREATE TABLE IF NOT EXISTS `game_manager` (
  `game_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `installed_game` int(2) NOT NULL,
  `notification_email` mediumtext NOT NULL,
  `adf_email` MEDIUMTEXT  NOT NULL,
  `tickets_available` int(5) NOT NULL,
  `display_page` int(4) NOT NULL,
  `include_banner` int(4) NOT NULL,
  `display_type` varchar(100) NOT NULL,
  `display_frequency` int(4) NOT NULL,
  `site_url` VARCHAR( 200 ) NOT NULL,
  PRIMARY KEY (`game_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `game_stats`
--

CREATE TABLE IF NOT EXISTS `game_stats` (
  `game_stats_id` int(4) NOT NULL AUTO_INCREMENT,
  `installed_game` INT( 2 ) NOT NULL,
  `game_manager_id` int(4) NOT NULL,
  `stat_type` varchar(25) NOT NULL,
  `hit_date` date NOT NULL,
  `hit_time` time NOT NULL,
  `ip_address` varchar(50) NOT NULL,
  `site_url` VARCHAR( 200 ) NOT NULL,
  PRIMARY KEY (`game_stats_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


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

-- 
-- Table structure for table `groups_manager`
-- 

CREATE TABLE `groups_manager` (
  `group_id` int(4) NOT NULL auto_increment,
  `group_name` varchar(100) default NULL,
  PRIMARY KEY  (`group_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `groups_manager`
-- 


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

-- 
-- Table structure for table `groups_members_manager`
-- 

CREATE TABLE `groups_members_manager` (
  `group_member_id` int(4) NOT NULL auto_increment,
  `group_manager_id` int(4) default NULL,
  `user` int(4) default NULL,
  PRIMARY KEY  (`group_member_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;


CREATE TABLE `image_overlays` (
  `image_overlays_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `files_photos_manager_id` int(4) NOT NULL DEFAULT '0',
  `fpm_id_3x2` INT(4)  NOT NULL  DEFAULT '0',
  `fpm_id_5x3` INT(4)  NOT NULL  DEFAULT '0',
  `fpm_id_16x9` INT(4)  NOT NULL  DEFAULT '0',
  `dealer` INT(4)  NOT NULL  DEFAULT '0',
  `certified` varchar(20) NOT NULL DEFAULT '',
  `make` varchar(255) NOT NULL DEFAULT '',
  `style_id` varchar(255) NOT NULL DEFAULT '',
  `stock_number` VARCHAR(255)  NOT NULL  DEFAULT '',
  `carfax` varchar(100) NOT NULL DEFAULT '',
  `video` INT(1)  NOT NULL  DEFAULT '0',
  `font_family` VARCHAR(100)  NOT NULL  DEFAULT 'arial',
  `font_size` INT(3)  NOT NULL  DEFAULT '16',
  `text_align` VARCHAR(10)  NOT NULL  DEFAULT 'center',
  `word_wrap` INT(1)  NOT NULL  DEFAULT '0',
  `color` VARCHAR(6)  NOT NULL  DEFAULT 'FFFFFF',
  `padding_left` INT(4)  NOT NULL  DEFAULT '0',
  `padding_right` INT(4)  NOT NULL  DEFAULT '0',
  `vertical_position` INT(3)  NOT NULL  DEFAULT '36',
  `vertical_position_3x2` INT(3)  NOT NULL  DEFAULT '0',
  `vertical_position_5x3` INT(3)  NOT NULL  DEFAULT '0',
  `vertical_position_16x9` INT(3)  NOT NULL  DEFAULT '0',
  `vehicle_option_category_id` INT(4)  NOT NULL  DEFAULT '0',
  `photo_start` int(2) NOT NULL DEFAULT '0',
  `photo_end` int(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`image_overlays_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE IF NOT EXISTS `landing_page_manager` (
  `landing_page_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `page_title` varchar(255) NOT NULL DEFAULT '',
  `sub_title` VARCHAR(255)  NOT NULL  DEFAULT '',
  `summary` MEDIUMTEXT  NOT NULL,
  `browser_wide_html` MEDIUMTEXT  NOT NULL,
  `background_color` VARCHAR(6)  NOT NULL  DEFAULT '',
  `background_image` INT(4)  NOT NULL  DEFAULT '0',
  `title_width` VARCHAR(255)  NOT NULL  DEFAULT '',
  `title_shift` INT(4)  NOT NULL  DEFAULT '0',
  `created_by` int(4) NOT NULL DEFAULT '0',
  `element_spacing` INT(4)  NOT NULL  DEFAULT '10',
  `page_filename` VARCHAR( 255 ) NOT NULL DEFAULT '',
  `page_diagram` MEDIUMTEXT  NOT NULL,
  `page_file_data` MEDIUMTEXT  NOT NULL,
  `start_date` date NOT NULL DEFAULT '0000-00-00',
  `stop_date` date NOT NULL DEFAULT '0000-00-00',
  `date_added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `category_id` VARCHAR(100)  NOT NULL  DEFAULT '0',
  `generated` VARCHAR(200) DEFAULT NULL,
  `model_lineup` TINYINT(1)  NOT NULL  DEFAULT '0',
  `model_lineup_caption` VARCHAR(255)  NOT NULL  DEFAULT '',
  `model_lineup_image` INT(4)  NOT NULL  DEFAULT '0',
  `model_lineup_order` INT(3)  NOT NULL  DEFAULT '0',
  `model_lineup_link` VARCHAR(255)  NOT NULL  DEFAULT '',
  `use_form` int(4) DEFAULT NULL,
  `use_form_1` INT(4)  NOT NULL  DEFAULT '0',
  `use_form_2` INT(4)  NOT NULL  DEFAULT '0',
  `use_form_3` INT(4)  NOT NULL  DEFAULT '0',
  `use_form_4` INT(4)  NOT NULL  DEFAULT '0',
  `use_incentives_1` INT(4)  NOT NULL  DEFAULT '0',
  `use_incentives_2` INT(4)  NOT NULL  DEFAULT '0',
  `use_incentives_3` INT(4)  NOT NULL  DEFAULT '0',
  `use_incentives_4` INT(4)  NOT NULL  DEFAULT '0',
  `external_page` MEDIUMTEXT  NOT NULL,
  `external_url` MEDIUMTEXT  NOT NULL,
  `external_maxwidth` VARCHAR( 10 ) NOT NULL DEFAULT '',
  `external_margin` VARCHAR( 10 ) NOT NULL DEFAULT '',
  `file_photo_1` int(4) DEFAULT NULL,
  `file_photo_2` int(4) DEFAULT NULL,
  `file_photo_3` int(4) DEFAULT NULL,
  `file_photo_4` int(4) DEFAULT NULL,
  `auto_size_1` tinyint(1) NOT NULL DEFAULT '1',
  `auto_size_2` tinyint(1) NOT NULL DEFAULT '1',
  `auto_size_3` tinyint(1) NOT NULL DEFAULT '1',
  `auto_size_4` tinyint(1) NOT NULL DEFAULT '1',
  `landing_page_text` longtext NOT NULL,
  `landing_page_bottom_text` longtext NOT NULL,
  `template` int(2) NOT NULL DEFAULT '1',
  `no_sitemap` BOOLEAN DEFAULT 0 NULL, 
  `no_robot` BOOLEAN DEFAULT 0 NULL,
  PRIMARY KEY (`landing_page_manager_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=51 ;




CREATE TABLE IF NOT EXISTS `landing_page_category` (
  `landing_page_category_id` int(4) NOT NULL AUTO_INCREMENT,
  `category` varchar(255) NOT NULL DEFAULT '',
  `items_per_row` INT(2)  NOT NULL  DEFAULT '0',
  `conversion_button_text` VARCHAR(50)  NOT NULL  DEFAULT '',
  PRIMARY KEY (`landing_page_category_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=52 ;


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

-- 
-- Table structure for table `links_manager`
-- 

CREATE TABLE `links_manager` (
  `links_id` int(4) NOT NULL auto_increment,
  `link_text` varchar(255) NOT NULL default '',
  `links_to_page` int(4) unsigned zerofill NOT NULL default '0000',
  `links_to_url` MEDIUMTEXT NULL DEFAULT NULL,
  `links_to_file` int(4) unsigned zerofill NOT NULL default '0000',
  `links_in_pages` int(1) unsigned zerofill NOT NULL default '0',
  `links_in_commerce` int(1) unsigned zerofill NOT NULL default '0',
  PRIMARY KEY  (`links_id`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;



-- 
-- Table structure for table `mail_queue`
-- 

CREATE TABLE `mail_queue` (
  `mail_queue_id` int(4) NOT NULL auto_increment,
  `mail_to` mediumtext NOT NULL,
  `mail_subject` mediumtext NOT NULL,
  `mail_body` mediumtext NOT NULL,
  `mail_headers` mediumtext NOT NULL,
  `queued_at` DATETIME  NOT NULL,
  `send_at` DATETIME NOT NULL,
  `sent_at` DATETIME  NOT NULL,
  `mail_sent` tinyint(1) NOT NULL default '0',
  `form_filled_from_ip` VARCHAR(50)  NOT NULL  DEFAULT '',
  PRIMARY KEY  (`mail_queue_id`),
  INDEX (`mail_sent`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;



CREATE TABLE `market_dealers` (
  `market_dealers_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `market_manager` int(4) NOT NULL DEFAULT '0',
  `dealer_manager` int(4) NOT NULL DEFAULT '0',
  `launch_date` date NOT NULL DEFAULT '0000-00-00',
  `expire_date` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`market_dealers_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `market_manager` (
  `market_manager_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `market_name` varchar(100) NOT NULL DEFAULT '',
  `market_id` varchar(25) NOT NULL DEFAULT '',
  `market_state` varchar(25) NOT NULL DEFAULT '',
  `images` varchar(255) NOT NULL DEFAULT '',
  `primary_market_text` mediumtext NOT NULL,
  `secondary_market_text` mediumtext NOT NULL,
  `meta_keywords` varchar(255) NOT NULL DEFAULT '',
  `meta_description` mediumtext NOT NULL,
  `zip_codes` mediumtext NOT NULL,
  `adjacent_markets` varchar(100) NOT NULL DEFAULT '',
  `market_video` VARCHAR(200)  NOT NULL  DEFAULT '',
  `market_iframe` VARCHAR(200)  NOT NULL  DEFAULT '',
  PRIMARY KEY (`market_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `market_neighborhoods` (
  `market_neighborhoods_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `market_manager` int(11) NOT NULL DEFAULT '0',
  `neighborhood_name` varchar(50) NOT NULL DEFAULT '',
  `neighborhood_id` varchar(50) NOT NULL DEFAULT '',
  `zip_codes` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`market_neighborhoods_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `market_station_manager` (
  `market_station_manager_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `market_manager` int(4) NOT NULL DEFAULT '0',
  `station_name` varchar(100) NOT NULL DEFAULT '',
  `image` int(4) NOT NULL DEFAULT '0',
  `address` varchar(150) NOT NULL DEFAULT '',
  `city` varchar(50) NOT NULL DEFAULT '',
  `state` varchar(25) NOT NULL DEFAULT '',
  `zip_code` varchar(15) NOT NULL DEFAULT '',
  `station_url` varchar(100) NOT NULL DEFAULT '',
  `broadcast_day` varchar(10) NOT NULL DEFAULT '',
  `broadcast_time_from` time NOT NULL DEFAULT '00:00:00',
  `broadcast_time_until` time NOT NULL DEFAULT '00:00:00',
  `timezone` VARCHAR(20) NOT NULL DEFAULT 'UTC -05:00',
  PRIMARY KEY (`market_station_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



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

-- 
-- Table structure for table `members_only`
-- 

CREATE TABLE `members_only` (
  `members_only_id` int(4) NOT NULL auto_increment,
  `users_id` int(4) NOT NULL default '0',
  `page_id` int(4) NOT NULL default '0',
  PRIMARY KEY  (`members_only_id`)
) TYPE=MyISAM AUTO_INCREMENT=23 ;

-- 
-- Dumping data for table `members_only`
-- 


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

-- 
-- Table structure for table `menu_item_manager`
-- 

CREATE TABLE `menu_item_manager` (
  `menu_item_manager_id` int(4) NOT NULL auto_increment,
  `page` int(4) NOT NULL default '0',
  `menu` int(4) NOT NULL default '0',
  `menu_order` int(2) NOT NULL default '0',
  `active` tinyint(1) NOT NULL default '1',
  `module` INT(2)  NOT NULL  DEFAULT '0',
  `parent_link` TINYINT(1)  NOT NULL  DEFAULT '0',
  PRIMARY KEY  (`menu_item_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=92 ;

-- 
-- Dumping data for table `menu_item_manager`
-- 


insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('107','0','21','8','0');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('106','0','21','7','0');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('105','0','21','6','0');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('104','15','21','5','1');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('103','12','21','4','1');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('102','14','21','3','1');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('101','11','21','2','1');
insert into `menu_item_manager` (`menu_item_manager_id`, `page`, `menu`, `menu_order`, `active`) values('100','2','21','1','1');
-- --------------------------------------------------------

-- 
-- Table structure for table `menu_manager`
-- 

CREATE TABLE `menu_manager` (
  `menu_manager_id` int(4) NOT NULL auto_increment,
  `menu_title` varchar(40) NOT NULL default '',
  `location` tinyint(1) NOT NULL default '1',
  `menu_order` int(2) NOT NULL default '1',
  `active` tinyint(1) NOT NULL default '1',
  `static` tinyint(1) NOT NULL default '0',
  `edit_temp` tinyint(1) NOT NULL default '0',
  `id_temp` int(4) default NULL,
  PRIMARY KEY  (`menu_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=185 ;

-- 
-- Dumping data for table `menu_manager`
-- 

INSERT INTO `menu_manager` VALUES (1, 'Weather', 1, 1, 1, 1, 0, NULL);
INSERT INTO `menu_manager` VALUES (2, 'Upcoming Events', 0, 4, 1, 6, 0, NULL);
INSERT INTO `menu_manager` VALUES (3, 'Menu', 1, 2, 1, 0, 0, NULL);
INSERT INTO `menu_manager` VALUES (4, 'Newsletter', 2, 1, 1, 7, 0, NULL);
INSERT INTO `menu_manager` VALUES (5, 'Search the Site', 1, 4, 1, 2, 0, NULL);
INSERT INTO `menu_manager` VALUES (6, 'Web Poll', 2, 4, 1, 5, 0, NULL);
INSERT INTO `menu_manager` VALUES (7, 'Featured Products', 2, 3, 1, 3, 0, NULL);
INSERT INTO `menu_manager` VALUES (8, 'Credit Approval', 3, 0, 0, 8, 0, NULL);
INSERT INTO `menu_manager` VALUES (9, 'Contact Info', 3, 0, 0, 9, 0, NULL);
INSERT INTO `menu_manager` VALUES (10, 'Pre-Owned Specials', 3, 0, 0, 10, 0, NULL);
INSERT INTO `menu_manager` VALUES (11, 'Certified Specials', 3, 0, 0, 11, 0, NULL);
INSERT INTO `menu_manager` VALUES (12, 'New Car Specials', 3, 0, 0, 12, 0, NULL);
INSERT INTO `menu_manager` VALUES (13, 'Vehicle Specials', 3, 0, 0, 13, 0, NULL);
INSERT INTO `menu_manager` VALUES (14, 'Custom Graphic', 3, 0, 0, 14, 0, NULL);
INSERT INTO `menu_manager` VALUES (15, 'Social Networking', 3, 0, 0, 15, 0, NULL);
INSERT INTO `menu_manager` VALUES (21, '', 0, 1, 1, 0, 0, NULL);
INSERT INTO `menu_manager` VALUES (22, 'Log-in', 1, 3, 1, 4, 0, NULL);
INSERT INTO `menu_manager` VALUES (23, 'Inside...', 2, 2, 1, 0, 0, NULL);
INSERT INTO `menu_manager` VALUES (24, 'You may also like...', 3, 0, 0, 16, 0, NULL);
INSERT INTO `menu_manager` VALUES (25, 'Got a Question?', 3, 0, 0, 17, 0, NULL);
INSERT INTO `menu_manager` VALUES (26, 'Most Popular Videos', 3, 0, 0, 18, 0, NULL);
INSERT INTO `menu_manager` VALUES (27, 'New Inventory Arrivals', 3, 0, 0, 19, 0, NULL);
INSERT INTO `menu_manager` VALUES (28, 'Refine Your Search', 3, 0, 0, 20, 0, NULL);
INSERT INTO `menu_manager` VALUES (29, 'Get a Quote', 3, 0, 0, 21, 0, NULL);
INSERT INTO `menu_manager` VALUES (30, 'Detailed Search', 3, 0, 0, 23, 0, NULL);
INSERT INTO `menu_manager` VALUES (31, 'Inventory Search', 3, 0, 0, 24, 0, NULL);
insert into menu_manager VALUES (32, 'Split-window Search', 3, 0, 0, 25, 0, NULL);
insert into menu_manager VALUES (33, 'Detailed Multi-Search', 3, 0, 0, 26, 0, NULL);
insert into menu_manager VALUES (34, 'Customizable Search', 3, 0, 0, 27, 0, NULL);
insert into menu_manager VALUES (35, 'Detailed Multi-Search (no qty)', 3, 0, 0, 28, 0, NULL);




CREATE TABLE `menu_mobile_manager` (
  `menu_mobile_manager_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `page` int(4) NOT NULL DEFAULT '0',
  `menu` int(4) NOT NULL DEFAULT '0',
  `menu_order` int(4) NOT NULL DEFAULT '0',
  `active` int(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`menu_mobile_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `menu_alternatives` (
`menu_alternatives_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`menu_manager_id` INT( 4 ) NOT NULL ,
`page` INT( 4 ) NOT NULL ,
`location` INT( 1 ) NOT NULL ,
`menu_order` INT( 1 ) NOT NULL ,
`active` TINYINT NOT NULL ,
`all_active` TINYINT NOT NULL DEFAULT '1'
) ENGINE = MYISAM ;

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

-- 
-- Table structure for table `meta_tags_manager`
-- 

CREATE TABLE  `meta_tags_manager` (
 `meta_tags_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `page` INT( 4 ) NOT NULL,
 `keywords` MEDIUMTEXT,
 `description` MEDIUMTEXT,
 `base_description` MEDIUMTEXT,
 `charset` VARCHAR( 200 ) ,
 `distribution` VARCHAR( 200 ) ,
 `robots` VARCHAR( 200 ) ,
 `revisitsafter` VARCHAR( 200 ) ,
 `email` VARCHAR( 200 ) ,
 `author` VARCHAR( 200 ) ,
 `copyright` VARCHAR( 200 ) ,
 `custom` MEDIUMTEXT NOT NULL ,
 `google_site_verification` VARCHAR( 255 ) ,
 `google_analytics` MEDIUMTEXT NOT NULL ,
 `google_tagmanager` MEDIUMTEXT NOT NULL ,
 `google_translator` MEDIUMTEXT NOT NULL ,
 `header_overlay` MEDIUMTEXT NOT NULL ,
PRIMARY KEY (  `meta_tags_manager_id` )
) TYPE = MYISAM ;

-- 
-- Dumping data for table `meta_tags_manager`
-- 

INSERT INTO meta_tags_manager (page, keywords, description, charset, distribution, robots, revisitsafter, email, author, copyright, google_analytics) VALUES (0, '', '', '', '', '', '', '', '', '', '<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">');

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

-- 
-- Table structure for table `newsletter_manager`
-- 

CREATE TABLE `newsletter_manager` (
  `news_id` int(4) NOT NULL auto_increment,
  `article` int(4) NOT NULL default '0',
  `group_manager_id` int(4) default NULL,
  `individuals` tinyint(1) NOT NULL default '0',
  `news_sender` varchar(50) default NULL,
  `homepage_link` int(1) default '0',
  `add_coupons` VARCHAR( 255 ) NOT NULL,
  PRIMARY KEY  (`news_id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;


CREATE TABLE `newsletter_config` (
  `newsletter_config_id` int(4) NOT NULL auto_increment,
  `category_1` int(4) default NULL,
  `category_2` int(4) default NULL,
  `category_3` int(4) default NULL,
  `category_4` int(4) default NULL,
  `category_5` int(4) default NULL,
  `category_6` int(4) default NULL,
  `category_7` int(4) default NULL,
  `category_8` int(4) default NULL,
  `category_9` int(4) NOT NULL default '0',
  `category_10` int(4) NOT NULL default '0',
  `category_11` int(4) NOT NULL default '0',
  `category_12` int(4) NOT NULL default '0',
  `headlines` int(2) NOT NULL default '3',
  `lead_in` int(3) NOT NULL default '75',
  `show_date` tinyint(1) NOT NULL default '1',
  `show_author` tinyint(1) NOT NULL default '0',
  `bold_newest` tinyint(1) NOT NULL default '1',
  `include_menus` varchar(255) NOT NULL default ';1;;6;;7;',
  PRIMARY KEY  (`newsletter_config_id`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;

INSERT INTO `newsletter_config` VALUES (1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 25, 0, 0, 0, ';5;');


CREATE TABLE IF NOT EXISTS `newsletter_blasts` (
  `newsletter_blasts_id` int(4) NOT NULL auto_increment,
  `sent_by` int(4) NOT NULL,
  `sent_date` date NOT NULL,
  `sent_time` time NOT NULL,
  `newsletter` int(4) NOT NULL,
  PRIMARY KEY  (`newsletter_blasts_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;


CREATE TABLE IF NOT EXISTS `newsletter_bounces` (
  `newsletter_bounces_id` int(4) NOT NULL auto_increment,
  `user_id` int(4) NOT NULL,
  `blast_id` int(4) NOT NULL,
  PRIMARY KEY  (`newsletter_bounces_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;


CREATE TABLE IF NOT EXISTS `newsletter_stats` (
  `newsletter_stats_id` int(4) NOT NULL auto_increment,
  `ip_address` varchar(50) NOT NULL,
  `stat_date` date NOT NULL,
  `stat_time` time NOT NULL,
  `user_id` int(4) NOT NULL,
  `newsletter` int(4) NOT NULL,
  `blast_id` int(4) NOT NULL,
  `stat_type` varchar(50) NOT NULL,
  PRIMARY KEY  (`newsletter_stats_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;


CREATE TABLE `objects` (
  `objects_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `content_manager_id` int(4) NOT NULL DEFAULT '0',
  `object_function` varchar(80) NOT NULL DEFAULT '',
  `id` int(4) NOT NULL DEFAULT '0',
  `html` mediumtext NOT NULL,
  `object_x` int(4) NOT NULL DEFAULT '0',
  `object_y` int(4) NOT NULL DEFAULT '0',
  `object_z` int(4) NOT NULL DEFAULT '0',
  `object_w` int(4) NOT NULL DEFAULT '0',
  `object_h` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`objects_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


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

-- 
-- Table structure for table `page_manager`
-- 

CREATE TABLE `page_manager` (
  `page_manager_id` int(4) NOT NULL auto_increment,
  `file` varchar(250) default NULL,
  `url` varchar(250) default NULL,
  `title` varchar(255) default NULL,
  `menu` varchar(255) NOT NULL default '',
  `header` int(4) NOT NULL default '0',
  `template` INT(4)  NOT NULL  DEFAULT '0',
  `background_color` VARCHAR(6)  NOT NULL  DEFAULT '',
  `background_image` INT(4)  NOT NULL  DEFAULT '0',
  `title_width` VARCHAR(255)  NOT NULL  DEFAULT '',
  `title_shift` INT(4)  NOT NULL  DEFAULT '0',
  `mobile_header` INT(4)  NOT NULL  DEFAULT '0',
  `mobile_slides` VARCHAR(150)  NOT NULL  DEFAULT '',
  `mobile_slide_location` VARCHAR(50)  NOT NULL  DEFAULT '',
  `mobile_default_menu` INT(1)  NOT NULL  DEFAULT '1',
  `mobile_footer` INT(4)  NOT NULL  DEFAULT '0',
  `mobile_footer_html` MEDIUMTEXT  NOT NULL,
  `footer` MEDIUMTEXT NOT NULL ,
  `email` MEDIUMTEXT NOT NULL DEFAULT '',
  `website` varchar(255) NOT NULL default '',
  `shopping`  VARCHAR( 15  )  NOT  NULL default '',
  `inquiry`  VARCHAR( 15  )  NOT  NULL default '',
  `vehicle`  VARCHAR( 15  )  NOT  NULL default '',
  `private` int(1) NOT NULL default '0',
  `no_sitemap` BOOLEAN DEFAULT 0  NULL,
  `no_robot` BOOLEAN DEFAULT 0  NULL,
  `book_ends` int(1) NOT NULL default '1',
  `menu_location` TINYINT( 1 ) NOT NULL default '0',
  `page_type` VARCHAR(50)  NOT NULL  DEFAULT '',
  PRIMARY KEY  (`page_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=55 ;

-- 
-- Dumping data for table `page_manager`
-- 

INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (1, 'default', '', '', 0, '', '', '', '', '', '', '', 1, 0, '', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (2, 'index.php', '', 'Home', 0, '', '', '', '', '', '', '', 1, 0, 'index', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (500, 'events_calendar.php', '', 'Events Calendar', 0, '', '', '', '', '', '', '', 1, 0, 'events_calendar', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (4, 'shopping_center.php', '', 'Shopping Center', 0, '', '', '', '', '', '', '', 1, 0, 'shopping_center', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (5, 'media_gallery.php', '', 'Media Gallery', 0, '', '', '', '', '', '', '', 1, 0, 'media_gallery', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (6, 'public_forums.php', '', 'Public Forums', 0, '', '', '', '', '', '', '', 1, 0, 'public_forums', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (7, 'zones.php', '', 'Interactive Images', 0, '', '', '', '', '', '', '', 1, 0, 'zones', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (8, 'site_search.php', '', 'Search Results', 0, '', '', '', '', '', '', '', 1, 0, 'site_search', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (9, 'articles.php', '', 'Articles', 0, '', '', '', '', '', '', '', 1, 0, 'articles', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (10, 'property_listings.php', '', 'Product Inquiries', 0, '', '', '', '', '', '', '', 1, 0, 'property_listings', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (11, 'vehicle-inventory.php', '', 'Vehicle Inventory', 0, '', '', '', '', '', '', '', 1, 0, 'vehicle_inventory', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (12, 'credit_application.php', '', 'Credit Application', 0, '', '', '', '', '', '', '', 1, 0, 'credit_application', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (13, 'find_your_car.php', '', 'Find Your Car', 0, '', '', '', '', '', '', '', 1, 0, 'find_your_car', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (14, 'trade_in_appraisal.php', '', 'Trade-In Appraisal', 0, '', '', '', '', '', '', '', 1, 0, 'trade_in_appraisal', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (15, 'contact_information.php', '', 'Contact Information', 0, '', '', '', '', '', '', '', 1, 0, 'contact_information', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (16, 'staff_information.php', '', 'Staff Information', 0, '', '', '', '', '', '', '', 1, 0, 'staff_information', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (17, 'coupons_specials.php', '', 'Coupons & Specials', 0, '', '', '', '', '', '', '', 1, 0, 'coupons_specials', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (18, 'sell_your_car.php', '', 'Sell Your Car', 0, '', '', '', '', '', '', '', 1, 0, 'sell_your_car', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (19, 'live_chat.php', '', 'Live Chat', 0, '', '', '', '', '', '', '', 1, 0, 'live_chat', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (21, 'page01.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page01', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (22, 'page02.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page02', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (23, 'page03.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page03', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (24, 'page04.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page04', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (25, 'page05.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page05', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (26, 'page06.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page06', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (27, 'page07.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page07', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (28, 'page08.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page08', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (29, 'page09.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page09', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (30, 'page10.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page10', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (31, 'page11.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page11', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (32, 'page12.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page12', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (33, 'page13.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page13', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (34, 'page14.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page14', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (35, 'page15.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page15', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (36, 'page16.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page16', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (37, 'page17.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page17', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (38, 'page18.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page18', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (39, 'page19.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page19', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (40, 'page20.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page20', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (41, 'page21.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page21', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (42, 'page22.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page22', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (43, 'page23.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page23', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (44, 'page24.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page24', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (45, 'page25.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page25', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (46, 'page26.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page26', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (47, 'page27.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page27', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (48, 'page28.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page28', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (49, 'page29.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page29', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (50, 'page30.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page30', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (51, 'page31.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page31', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (52, 'page32.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page32', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (53, 'page33.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page33', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (54, 'page34.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page34', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (55, 'page35.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page35', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (56, 'page36.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page36', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (57, 'page37.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page37', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (58, 'page38.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page38', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (59, 'page39.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page39', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (60, 'page40.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page40', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (61, 'page41.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page41', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (62, 'page42.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page42', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (63, 'page43.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page43', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (64, 'page44.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page44', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (65, 'page45.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page45', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (66, 'page46.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page46', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (67, 'page47.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page47', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (68, 'page48.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page48', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (69, 'page49.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page49', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (70, 'page50.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page50', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (71, 'page51.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page51', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (72, 'page52.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page52', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (73, 'page53.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page53', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (74, 'page54.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page54', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (75, 'page55.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page55', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (76, 'page56.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page56', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (77, 'page57.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page57', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (78, 'page58.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page58', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (79, 'page59.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page59', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (80, 'page60.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page60', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (81, 'page61.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page61', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (82, 'page62.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page62', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (83, 'page63.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page63', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (84, 'page64.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page64', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (85, 'page65.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page65', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (86, 'page66.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page66', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (87, 'page67.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page67', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (88, 'page68.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page68', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (89, 'page69.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page69', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (90, 'page70.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page70', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (91, 'page71.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page71', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (92, 'page72.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page72', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (93, 'page73.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page73', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (94, 'page74.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page74', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (95, 'page75.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page75', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (96, 'page76.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page76', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (97, 'page77.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page77', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (98, 'page78.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page78', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (99, 'page79.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page79', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (100, 'page80.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page80', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (101, 'page81.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page81', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (102, 'page82.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page82', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (103, 'page83.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page83', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (104, 'page84.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page84', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (105, 'page85.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page85', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (106, 'page86.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page86', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (107, 'page87.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page87', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (108, 'page88.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page88', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (109, 'page89.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page89', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (110, 'page90.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page90', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (111, 'page91.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page91', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (112, 'page92.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page92', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (113, 'page93.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page93', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (114, 'page94.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page94', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (115, 'page95.php', '', '{ new page }', 0, '', '', '', '', '', '', '', 1, 0, 'page95', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (200, 'service_appointment.php', '', 'Service Appointment', 0, '', '', '', '', '', '', '', 1, 0, 'service_appointment', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (201, 'video_channels.php', '', 'Video Channels', 0, '', '', '', '', '', '', '', 1, 0, 'video_channels', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (202, 'new_car_incentives.php', '', 'New Car Incentives', 0, '', '', '', '', '', '', '', 1, 0, 'new_car_incentives', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (203, 'sitemap.php', '', 'Site Map', 0, '', '', '', '', '', '', '', 1, 0, 'sitemap', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (204, 'saved_vehicles.php', '', 'Saved Vehicles', 0, '', '', '', '', '', '', '', 1, 0, 'saved_vehicles', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (205, 'equipment_inventory.php', '', 'Equipment Inventory', 0, '', '', '', '', '', '', '', 1, 0, 'equipment_inventory', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (206, 'live_chat_public.php', '', 'Public Chat', 0, '', '', '', '', '', '', '', 1, 0, 'live_chat_public', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (207, 'classifieds.php', '', 'Classified Ads', 0, '', '', '', '', '', '', '', 1, 0, 'classifieds', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (208, 'parts_order_form.php', '', 'Parts Order', 0, '', '', '', '', '', '', '', 1, 0, 'parts_order_form', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (209, 'help_desk.php', '', 'Help Desk', 0, '', '', '', '', '', '', '', 1, 0, 'help_desk', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (210, 'custom_build.php', '', 'Custom Build', 0, '', '', '', '', '', '', '', 1, 0, 'custom_build', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (211, 'model-lineup.php', '', 'Model Line-up', 0, '', '', '', '', '', '', '', 1, 0, 'model_lineup', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (212, 'vehicle-compare.php', '', 'Vehicle Compare', 0, '', '', '', '', '', '', '', 1, 0, 'vehicle_compare', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (213, 'qualify-me-form.php', '', 'Qualify Me', 0, '', '', '', '', '', '', '', 1, 0, 'qualify-me', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (214, 'payment-calculator.php', '', 'Payment Calculator', 0, '', '', '', '', '', '', '', 1, 0, 'payment_calculator', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (215, 'payment-purchasing-calculator.php', '', 'Payment / Purchasing Calculator', 0, '', '', '', '', '', '', '', 1, 0, 'payment_purchasing_calculator', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (216, 'accessories.php', '', 'Accessories', 0, '', '', '', '', '', '', '', 1, 0, 'accessories', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (217, 'dealer-list.php', '', 'Dealer List', 0, '', '', '', '', '', '', '', 1, 0, 'dealer_list', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (218, 'vehicle-reviews.php', '', 'Vehicle Reviews', 0, '', '', '', '', '', '', '', 1, 0, 'vehicle_reviews', '2D96CD');
INSERT INTO `page_manager` (page_manager_id, file, title, menu, header, footer, email, website, shopping, inquiry, vehicle, private, book_ends, menu_location, page_type, background_color) VALUES (219, 'market-search.php', '', 'Market Search', 0, '', '', '', '', '', '', '', 1, 0, 'market_search', '2D96CD');

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

-- 
-- Table structure for table `page_stats`
-- 

CREATE TABLE `page_stats` (
  `page_stats_id` int(4) NOT NULL auto_increment,
  `page` int(4) default NULL,
  `hit_date` date default NULL,
  `hit_time` time default NULL,
  `ip` varchar(30) default NULL,
  `referrer` VARCHAR( 255 ) NULL,
  `referrer_host` VARCHAR( 100 ) NOT NULL,
  PRIMARY KEY  (`page_stats_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

CREATE TABLE `page_stats_links` (
  `page_stats_links_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `title` varchar(50) NOT NULL DEFAULT '',
  `url` mediumtext NOT NULL,
  PRIMARY KEY (`page_stats_links_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS `mobile_stats` (
  `mobile_stats_id` int(4) NOT NULL auto_increment,
  `page` VARCHAR( 100 ) NOT NULL default '',
  `page_item` INT( 4 ) NOT NULL,
  `hit_date` date default NULL,
  `hit_time` time default NULL,
  `ip` varchar(30) default NULL,
  `referrer` varchar(255) default NULL,
  `referrer_host` varchar(100) NOT NULL,
  PRIMARY KEY  (`mobile_stats_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;

CREATE TABLE IF NOT EXISTS `facebook_stats` (
  `facebook_stats_id` int(4) NOT NULL auto_increment,
  `hit_date` date default NULL,
  `hit_time` time default NULL,
  `ip` varchar(30) default NULL,
  `referrer` varchar(255) default NULL,
  `referrer_host` varchar(100) NOT NULL,
  PRIMARY KEY  (`facebook_stats_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;

-- 
-- Dumping data for table `page_stats`
-- 


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

-- 
-- Table structure for table `polls_manager`
-- 

CREATE TABLE `polls_manager` (
  `poll_id` int(4) NOT NULL auto_increment,
  `poll_name` varchar(50) default NULL,
  `show_date_start` date default NULL,
  `show_date_end` date default NULL,
  `poll_answer_1` varchar(50) default NULL,
  `poll_answer_2` varchar(50) default NULL,
  `poll_answer_3` varchar(50) default NULL,
  `poll_answer_4` varchar(50) default NULL,
  `poll_answer_5` varchar(50) default NULL,
  `poll_answer_6` varchar(50) default NULL,
  `poll_answer_7` varchar(50) default NULL,
  `poll_answer_8` varchar(50) default NULL,
  `poll_answer_9` varchar(50) default NULL,
  `poll_answer_10` varchar(50) default NULL,
  `poll_answer_11` varchar(50) default NULL,
  `poll_answer_12` varchar(50) default NULL,
  `poll_answer_13` varchar(50) default NULL,
  `poll_answer_14` varchar(50) default NULL,
  `poll_answer_15` varchar(50) default NULL,
  `poll_page` varchar(50) default NULL,
  `poll_text` varchar(200) default NULL,
  PRIMARY KEY  (`poll_id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;

-- 
-- Dumping data for table `polls_manager`
-- 


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

-- 
-- Table structure for table `polls_stats`
-- 

CREATE TABLE `polls_stats` (
  `answer_id` int(4) NOT NULL auto_increment,
  `answer_selected` int(4) default NULL,
  `answer_date` date default NULL,
  `poll_id` int(4) default NULL,
  PRIMARY KEY  (`answer_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;



CREATE TABLE `portal_needed_zip_codes` (
  `portal_needed_zip_codes_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `zip` varchar(20) NOT NULL DEFAULT '',
  `notify_email` varchar(200) NOT NULL DEFAULT '',
  `request_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `zip_added_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`portal_needed_zip_codes_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `property_category` (
  `category_id` int(4) NOT NULL auto_increment,
  `category` varchar(50) default NULL,
  PRIMARY KEY  (`category_id`)
) TYPE=MyISAM AUTO_INCREMENT=28 ;

-- 
-- Dumping data for table `property_category`
-- 


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

-- 
-- Table structure for table `property_list`
-- 

CREATE TABLE `property_list` (
  `list_id` int(4) NOT NULL auto_increment,
  `order_number` int(4) default NULL,
  `list_item_id` int(4) default NULL,
  `list_item` varchar(50) default NULL,
  `list_item_model` varchar(30) default NULL,
  `list_item_price` decimal(8,2) default NULL,
  `list_item_fee` DECIMAL( 8, 2 ) NOT NULL DEFAULT '0.00',
  `list_item_shipping` decimal(8,2) default NULL,
  `list_flat_shipping` DECIMAL( 8, 2 ) NOT NULL DEFAULT '0.00',
  `list_item_option_1` varchar(50) default NULL,
  `list_item_option_2` varchar(50) default NULL,
  `list_item_quantity` int(4) default NULL,
  `list_image_small` varchar(75) default NULL,
  `list_image_medium` varchar(75) default NULL,
  `list_image_large` varchar(50) default NULL,
  PRIMARY KEY  (`list_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `property_list`
-- 


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

-- 
-- Table structure for table `property_manager`
-- 

CREATE TABLE `property_manager` (
  `item` varchar(50) NOT NULL default '',
  `price` decimal(8,2) default NULL,
  `model` varchar(30) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `description` longtext,
  `property_id` int(4) NOT NULL auto_increment,
  `quantity_left` int(4) default '0',
  `category_number` int(4) default NULL,
  `shipping` decimal(8,2) default NULL,
  `taxable` int(1) default NULL,
  `ad_page` int(4) default NULL,
  `link_item_1` int(4) default NULL,
  `link_item_2` int(4) default NULL,
  `link_item_3` int(4) default NULL,
  PRIMARY KEY  (`property_id`)
) TYPE=MyISAM AUTO_INCREMENT=12 ;

-- 
-- Dumping data for table `property_manager`
-- 


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

-- 
-- Table structure for table `property_options_1`
-- 

CREATE TABLE `property_options_1` (
  `option_id` int(4) NOT NULL auto_increment,
  `item_option` varchar(50) default NULL,
  `price` decimal(8,2) default NULL,
  `quantity_left` int(4) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `property_id` int(4) default NULL,
  `shipping` decimal(8,2) default NULL,
  PRIMARY KEY  (`option_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `property_options_1`
-- 


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

-- 
-- Table structure for table `property_options_2`
-- 

CREATE TABLE `property_options_2` (
  `option_id` int(4) NOT NULL auto_increment,
  `item_option` varchar(50) default NULL,
  `price` decimal(8,2) default NULL,
  `quantity_left` int(4) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `property_id` int(4) default NULL,
  `shipping` decimal(8,2) default NULL,
  PRIMARY KEY  (`option_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `property_options_2`
-- 


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

-- 
-- Table structure for table `property_order`
-- 

CREATE TABLE `property_order` (
  `property_list_id` int(4) NOT NULL auto_increment,
  `users_number` int(4) default NULL,
  `checkout_date` datetime default NULL,
  `item_total` int(4) default NULL,
  `price_total` decimal(8,2) default NULL,
  `payment_type` varchar(50) default NULL,
  `completed` tinyint(1) default NULL,
  `shipped` tinyint(1) default NULL,
  `shipping_total` decimal(8,2) default NULL,
  `tax_total` decimal(8,2) default NULL,
  PRIMARY KEY  (`property_list_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `property_order`
-- 


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

/*Table structure for table `radar_mapping` */

CREATE TABLE `radar_mapping` (
  `mapping_id` int(5) NOT NULL AUTO_INCREMENT,
  `radar_id` int(5) DEFAULT NULL,
  `dealer_id` int(5) DEFAULT NULL,
  PRIMARY KEY (`mapping_id`),
  UNIQUE KEY `radar_id` (`radar_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

/*Table structure for table `radar_reviews` */

CREATE TABLE `radar_reviews` (
  `review_id` varchar(24) NOT NULL,
  `dealer_id` int(3) DEFAULT NULL,
  `rating` int(3) DEFAULT NULL,
  `reviewer_name` varchar(40) DEFAULT NULL,
  `content` blob,
  `review_date` date DEFAULT NULL,
  `review_url` varchar(200) DEFAULT NULL,
  `review_site` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`review_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `reviews_categories` (
  `reviews_categories_id` int(4) NOT NULL AUTO_INCREMENT,
  `category_name` varchar(50) NOT NULL,
  PRIMARY KEY (`reviews_categories_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `reviews_fixed_categories` (
  `reviews_fixed_categories_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(20) NOT NULL DEFAULT '',
  `category_order` int(1) NOT NULL DEFAULT '0',
  `rating_min` int(2) NOT NULL DEFAULT '1',
  `rating_max` int(2) NOT NULL DEFAULT '10',
  PRIMARY KEY (`reviews_fixed_categories_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `reviews_manager` (
  `reviews_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `template` int(1) NOT NULL DEFAULT '0',
  `apply_dealer` int(4) NOT NULL DEFAULT '0',
  `apply_year` varchar(10) NOT NULL,
  `apply_make` varchar(80) NOT NULL,
  `apply_model` varchar(80) NOT NULL,
  `apply_trim` varchar(80) NOT NULL,
  `apply_body_style` varchar(20) NOT NULL,
  `author` int(4) NOT NULL DEFAULT '0',
  `publish_from` date NOT NULL DEFAULT '0000-00-00',
  `publish_until` date NOT NULL DEFAULT '0000-00-00',
  `subtitle` varchar(200) NOT NULL,
  `meta_keywords` mediumtext NOT NULL,
  `meta_description` mediumtext NOT NULL,
  `summary` mediumtext NOT NULL,
  `leadin` mediumtext NOT NULL,
  `leadout` mediumtext NOT NULL,
  `pros` mediumtext NOT NULL,
  `cons` mediumtext NOT NULL,
  `related_reviews` varchar(50) NOT NULL,
  `include_inventory` int(1) NOT NULL DEFAULT '0',
  `include_form` int(4) NOT NULL DEFAULT '0',
  `video_manager_id` int(4) NOT NULL DEFAULT '0',
  `youtube_url` varchar(200) NOT NULL,
  `photos` mediumtext NOT NULL,
  `category` int(4) NOT NULL,
  `allow_commentary` int(1) NOT NULL DEFAULT '0',
  `commentary_admin` int(4) NOT NULL DEFAULT '0',
  `number_views` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`reviews_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `reviews_options` (
  `default_description` mediumtext NOT NULL,
  `default_keywords` mediumtext NOT NULL,
  `default_review` int(4) NOT NULL DEFAULT '0',
  `default_category` int(4) NOT NULL DEFAULT '0',
  `rss_filename_postfix` VARCHAR(50)  NOT NULL  DEFAULT '',
  `rss_title` VARCHAR(200)  NOT NULL  DEFAULT '',
  `rss_description` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_link_to_url` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_category_title` VARCHAR(200)  NOT NULL  DEFAULT '',
  `rss_category_link_to_url` VARCHAR(255)  NOT NULL  DEFAULT '',
  `rss_copyright` VARCHAR(50)  NOT NULL  DEFAULT '',
  `rss_managing_editor` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_webmaster_email` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_last_build` DATE  NOT NULL  DEFAULT '0000-00-00',
  `rss_publish` DATE  NOT NULL  DEFAULT '0000-00-00',
  `rss_generator` VARCHAR(100)  NOT NULL  DEFAULT '',
  `rss_files_photos_manager_id` INT(11)  NOT NULL  DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `reviews_ratings` (
  `reviews_ratings_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `reviews_manager_id` int(4) NOT NULL DEFAULT '0',
  `reviews_fixed_categories_id` int(4) NOT NULL DEFAULT '0',
  `rating` int(2) NOT NULL DEFAULT '0',
  `description` mediumtext NOT NULL,
  PRIMARY KEY (`reviews_ratings_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



-- 
-- Table structure for table `shipping_carriers`
-- 

CREATE TABLE `shipping_carriers` (
  `shipping_carrier_id` int(4) NOT NULL auto_increment,
  `shipping_carrier_name` int(2) NOT NULL default '0',
  PRIMARY KEY  (`shipping_carrier_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `shipping_carriers`
-- 


CREATE TABLE IF NOT EXISTS `shipping_options` (
  `shipping_options_id` int(4) NOT NULL AUTO_INCREMENT,
  `handling_fee` float(8,2) NOT NULL DEFAULT '0.00',
  `handling_label` varchar(255) NOT NULL DEFAULT '',
  `flatrate_table` mediumtext NOT NULL,
  `weight_table` mediumtext NOT NULL,
  `quantity_table` mediumtext NOT NULL,
  `fee_table` mediumtext NOT NULL,
  PRIMARY KEY (`shipping_options_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

insert into shipping_options (handling_fee) values ('');


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

-- 
-- Table structure for table `shopping_category`
-- 

CREATE TABLE `shopping_category` (
  `category_id` int(4) NOT NULL auto_increment,
  `category` varchar(50) default NULL,
  PRIMARY KEY  (`category_id`)
) TYPE=MyISAM AUTO_INCREMENT=10 ;

-- 
-- Dumping data for table `shopping_category`
-- 

CREATE TABLE `shopping_coupons` (
  `shopping_coupons_id` int(4) NOT NULL AUTO_INCREMENT,
  `item_id` int(4) DEFAULT '0',
  `available` int(4) NOT NULL DEFAULT '0',
  `apply_discount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `coupon_code` varchar(50) NOT NULL DEFAULT '',
  `coupon` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`shopping_coupons_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- 
-- Table structure for table `shopping_list`
-- 

CREATE TABLE IF NOT EXISTS `shopping_list` (
  `list_id` int(4) NOT NULL auto_increment,
  `order_number` int(4) default NULL,
  `list_item_id` int(4) default NULL,
  `list_item` varchar(50) default NULL,
  `list_item_count` INT(11)  NOT NULL  DEFAULT '0',
  `list_item_model` varchar(30) default NULL,
  `list_item_price` decimal(8,2) default NULL,
  `list_item_price_type` VARCHAR(50)  NOT NULL  DEFAULT 'price',
  `list_item_fee` decimal(8,2) NOT NULL default '0.00',
  `list_item_shipping` decimal(8,2) default NULL,
  `list_flat_shipping` decimal(8,2) NOT NULL default '0.00',
  `list_item_option_1` varchar(50) default NULL,
  `list_item_option_2` varchar(50) default NULL,
  `list_item_quantity` int(4) default NULL,
  `list_image_small` varchar(75) default NULL,
  `list_image_medium` varchar(75) default NULL,
  `list_image_large` varchar(50) default NULL,
  PRIMARY KEY  (`list_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ;

-- 
-- Dumping data for table `shopping_list`
-- 


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

-- 
-- Table structure for table `shopping_manager`
-- 

CREATE TABLE `shopping_manager` (
  `item` varchar(255) NOT NULL default '',
  `vehicle_year` varchar(255) NOT NULL default '',
  `vehicle_make` varchar(255) NOT NULL default '',
  `vehicle_model` varchar(255) NOT NULL default '',
  `vehicle_trim` varchar(255) NOT NULL default '',
  `vehicle_model_code` varchar(255) NOT NULL default '',
  `brand` varchar(255) NOT NULL default '',
  `custom_purchase_code` MEDIUMTEXT  NOT NULL,
  `price` decimal(8,2) default NULL,
  `price_alternate` VARCHAR( 200 ) NOT NULL,
  `wholesale_price` decimal(8,2) default NULL,
  `cost_price` decimal(8,2) default NULL,
  `installation_price` decimal(8,2) default NULL,
  `installation_op_code` varchar(255) NOT NULL default '',
  `default_quantities` VARCHAR(100)  NOT NULL  DEFAULT '',
  `multiple_qty_1` int(4) NOT NULL default '0',
  `multiple_per_1` int(3) NOT NULL default '0',
  `multiple_val_1` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_2` int(4) NOT NULL default '0',
  `multiple_per_2` int(3) NOT NULL default '0',
  `multiple_val_2` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_3` int(4) NOT NULL default '0',
  `multiple_per_3` int(3) NOT NULL default '0',
  `multiple_val_3` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_4` int(4) NOT NULL default '0',
  `multiple_per_4` int(3) NOT NULL default '0',
  `multiple_val_4` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_5` int(4) NOT NULL default '0',
  `multiple_per_5` int(3) NOT NULL default '0',
  `multiple_val_5` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_6` int(4) NOT NULL default '0',
  `multiple_per_6` int(3) NOT NULL default '0',
  `multiple_val_6` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_7` int(4) NOT NULL default '0',
  `multiple_per_7` int(3) NOT NULL default '0',
  `multiple_val_7` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `multiple_qty_8` int(4) NOT NULL default '0',
  `multiple_per_8` int(3) NOT NULL default '0',
  `multiple_val_8` FLOAT(6,2)  NOT NULL  DEFAULT '0.00',
  `model` varchar(30) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `summary` mediumtext,
  `description` longtext,
  `disclaimer` mediumtext,
  `shopping_id` int(4) NOT NULL auto_increment,
  `quantity_left` int(4) default '0',
  `category_number` int(4) default NULL,
  `additional_fee` FLOAT( 6, 2 ) NULL,
  `additional_fee_label` VARCHAR( 255 ) NOT NULL,
  `flat_shipping_free` FLOAT( 6, 2 ) NULL,
  `shipping` decimal(8,2) default NULL,
  `taxable` int(1) default NULL,
  `ad_page` int(4) default NULL,
  `link_item_1` int(4) default NULL,
  `link_item_2` int(4) default NULL,
  `link_item_3` int(4) default NULL,
  `picture1` varchar(200) NOT NULL default '',
  `picture2` varchar(200) NOT NULL default '',
  `picture3` varchar(200) NOT NULL default '',
  `picture4` varchar(200) NOT NULL default '',
  `picture5` varchar(200) NOT NULL default '',
  `picture6` varchar(200) NOT NULL default '',
  `picture7` varchar(200) NOT NULL default '',
  `picture8` varchar(200) NOT NULL default '',
  `picture9` varchar(200) NOT NULL default '',
  `picture10` varchar(200) NOT NULL default '',
  `picture11` varchar(200) NOT NULL default '',
  `picture12` varchar(200) NOT NULL default '',
  `picture13` varchar(200) NOT NULL default '',
  `picture14` varchar(200) NOT NULL default '',
  `picture15` varchar(200) NOT NULL default '',
  `picture16` varchar(200) NOT NULL default '',
  `picture17` varchar(200) NOT NULL default '',
  `picture18` varchar(200) NOT NULL default '',
  `picture19` varchar(200) NOT NULL default '',
  `picture20` varchar(200) NOT NULL default '',
  `picture21` varchar(200) NOT NULL default '',
  `picture22` varchar(200) NOT NULL default '',
  `picture23` varchar(200) NOT NULL default '',
  `picture24` varchar(200) NOT NULL default '',
  `picture25` varchar(200) NOT NULL default '',
  `picture26` varchar(200) NOT NULL default '',
  `picture27` varchar(200) NOT NULL default '',
  `picture28` varchar(200) NOT NULL default '',
  `picture29` varchar(200) NOT NULL default '',
  `picture30` varchar(200) NOT NULL default '',
  `video1` varchar(200) NOT NULL default '',
  `video2` varchar(200) NOT NULL default '',
  `video3` varchar(200) NOT NULL default '',
  `video4` varchar(200) NOT NULL default '',
  `video5` varchar(200) NOT NULL default '',
  `media_alt_tag` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`shopping_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `shopping_manager`
-- 


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

-- 
-- Table structure for table `shopping_options_1`
-- 

CREATE TABLE `shopping_options_1` (
  `option_id` int(4) NOT NULL auto_increment,
  `item_option` varchar(255) default NULL,
  `price` decimal(8,2) default NULL,
  `quantity_left` int(4) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `shopping_id` int(4) default NULL,
  `shipping` decimal(8,2) default NULL,
  PRIMARY KEY  (`option_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `shopping_options_1`
-- 


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

-- 
-- Table structure for table `shopping_options_2`
-- 

CREATE TABLE `shopping_options_2` (
  `option_id` int(4) NOT NULL auto_increment,
  `item_option` varchar(255) default NULL,
  `price` decimal(8,2) default NULL,
  `quantity_left` int(4) default NULL,
  `image_large` int(4) default NULL,
  `image_medium` int(4) default NULL,
  `image_small` int(4) default NULL,
  `shopping_id` int(4) default NULL,
  `shipping` decimal(8,2) default NULL,
  PRIMARY KEY  (`option_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `shopping_options_2`
-- 


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

-- 
-- Table structure for table `shopping_order`
-- 

CREATE TABLE `shopping_order` (
  `shopping_list_id` int(4) NOT NULL auto_increment,
  `users_number` int(4) default NULL,
  `checkout_date` datetime default NULL,
  `item_total` int(4) default NULL,
  `price_total` decimal(8,2) default NULL,
  `payment_type` varchar(50) default NULL,
  `completed` tinyint(1) default NULL,
  `shipped` tinyint(1) default NULL,
  `shipping_method` varchar(50) default NULL,
  `shipping_total` decimal(8,2) default NULL,
  `tax_total` decimal(8,2) default NULL,
  `order_notes` MEDIUMTEXT  NOT NULL,
  `coupon_code` VARCHAR(50)  NOT NULL  DEFAULT '',
  `discount_applied` FLOAT(8,2)  NOT NULL  DEFAULT '0.00',
  `vehicle_vin` VARCHAR(50)  NOT NULL  DEFAULT '',
  PRIMARY KEY  (`shopping_list_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

-- 
-- Dumping data for table `shopping_order`
-- 

CREATE TABLE IF NOT EXISTS `shopping_specials` (
  `shopping_specials_id` int(4) NOT NULL auto_increment,
  `heading` varchar(200) default NULL,
  `comments` mediumtext,
  `item` int(4) NOT NULL default '0',
  `price` varchar(100) default NULL,
  `active` smallint(1) default '1',
  `alternate_link` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`shopping_specials_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2096 ;



CREATE TABLE `social_networking` (
`social_networking_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` VARCHAR( 75 ) NOT NULL ,
`url` VARCHAR( 255 ) NOT NULL ,
`icon_url` VARCHAR( 255 ) NOT NULL ,
`header_link` MEDIUMTEXT NOT NULL 
) ENGINE = MYISAM;


INSERT INTO `social_networking` (`name`, `url`, `icon_url`, `header_link`) VALUES
('|15|15|15|bottom', '', '', '');
update social_networking set social_networking_id = '0' where social_networking_id = '1';
INSERT INTO `social_networking` (`social_networking_id`, `name`, `url`, `icon_url`, `header_link`) VALUES
(1, 'MSN Spaces', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_msn_spaces.gif', ''),
(2, 'MySpace', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_myspace.gif', ''),
(3, 'Facebook', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_facebook.gif', ''),
(4, 'Twitter', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_twitter.gif', ''),
(5, 'Flickr', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_flickr.gif', ''),
(6, 'LinkedIn', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_linkedin.gif', ''),
(7, 'Xanga', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_xanga.gif', ''),
(8, 'Yammer', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_yammer.gif', ''),
(9, 'Tagged.com', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_tagged.gif', ''),
(10, 'Yelp, Inc.', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_yelp.gif', ''),
(11, 'Bebo', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_bebo.gif', ''),
(12, 'YouTube', '', 'http://www.ebait.biz/ebait_images/shared/navigation/social_youtube.gif', '');




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

-- 
-- Table structure for table `users_categories`
-- 


CREATE TABLE  `users_categories` (
 `users_categories_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `users_categories_name` VARCHAR( 50 ) ,
PRIMARY KEY (  `users_categories_id` )
) TYPE = MYISAM ;

INSERT INTO `users_categories` (`users_categories_id`, `users_categories_name`) VALUES 
(1, 'Sales Department'),
(2, 'Service Department'),
(3, 'Administration'),
(4, 'Leads');



-- 
-- Table structure for table `zones_manager`
-- 

CREATE TABLE `zones_manager` (
  `zones_manager_id` int(4) NOT NULL auto_increment,
  `zone_name` varchar(50) default NULL,
  `zone_map` int(4) default '0',
  `page_location` int(4) default '0',
  `show_map_on_page` int(1) default '0',
  `target_url` varchar(255) default NULL,
  `target_page` int(3) default '0',
  `target_link` int(4) default '0',
  `target_size` int(1) default '1',
  `target_location_x` int(4) default '0',
  `target_location_y` int(4) default '0',
  `zone_text` varchar(50) default NULL,
  `zone_text_brightness` varchar(6) default 'CCCCCC',
  `zone_text_size` int(1) default '1',
  `zone_text_direction` int(1) default '1',
  PRIMARY KEY  (`zones_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=19 ;

-- 
-- Dumping data for table `zones_manager`
-- 


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

-- 
-- Table structure for table `zones_map_manager`
-- 

CREATE TABLE `zones_map_manager` (
  `zone_maps_manager_id` int(4) NOT NULL auto_increment,
  `map_image` varchar(255) NOT NULL default '',
  `map_name` varchar(50) default NULL,
  PRIMARY KEY  (`zone_maps_manager_id`)
) TYPE=MyISAM AUTO_INCREMENT=8 ;



CREATE TABLE `vehicle_bhph` (
  `vehicle_bhph_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `dealer` int(4) NOT NULL DEFAULT '0',
  `drivers_license_require` tinyint(1) NOT NULL DEFAULT '1',
  `max_distance_require` tinyint(1) NOT NULL DEFAULT '1',
  `max_distance_miles` int(5) NOT NULL DEFAULT '100',
  `min_residence_require` tinyint(1) NOT NULL DEFAULT '1',
  `min_residence_years` int(2) NOT NULL DEFAULT '2',
  `min_residence_months` int(2) NOT NULL DEFAULT '0',
  `min_residence_rent_own` tinyint(1) NOT NULL DEFAULT '1',
  `min_employment_require` tinyint(1) NOT NULL DEFAULT '1',
  `min_employment_years` int(2) NOT NULL DEFAULT '2',
  `min_employment_months` int(2) NOT NULL DEFAULT '0',
  `min_income_required` tinyint(1) NOT NULL DEFAULT '1',
  `min_income_month` int(6) NOT NULL DEFAULT '1200',
  `min_payment_require` tinyint(1) NOT NULL DEFAULT '1',
  `min_payment_apr` int(3) NOT NULL DEFAULT '10',
  `min_payment_term` int(4) NOT NULL DEFAULT '36',
  `min_payment_down` float(6,2) NOT NULL DEFAULT '0.10',
  `cosigner_require` tinyint(1) NOT NULL DEFAULT '1',
  `min_references_require` tinyint(1) NOT NULL DEFAULT '1',
  `min_references` int(2) NOT NULL DEFAULT '2',
  `credit_app_require` TINYINT(1)  NOT NULL  DEFAULT '0',
  `required_documents` mediumtext NOT NULL,
  PRIMARY KEY (`vehicle_bhph_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE  TABLE `vehicle_config`  (
`vehicle_config_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`heading` VARCHAR( 200  ) ,
`comments` MEDIUMTEXT,
`vehicle` INT( 4  ) DEFAULT '0'  NOT  NULL ,
`special_type` VARCHAR(50)  NOT NULL  DEFAULT '',
`equipment` INT( 4 ) NOT NULL DEFAULT '0' ,
`price` VARCHAR( 100  ) ,
`expiration_date` DATE ,
`exit_local_pedestal_ads_id` INT( 4 ) NOT NULL DEFAULT '0' ,
`active` SMALLINT( 1  ) DEFAULT '1' ,
`alternate_link` VARCHAR( 255 ) NOT NULL ,
PRIMARY  KEY ( `vehicle_config_id`   ) 
) TYPE  =  MYISAM ;



CREATE TABLE IF NOT EXISTS `vehicle_stats` (
  `vehicle_stats_id` int(4) NOT NULL AUTO_INCREMENT,
  `vin` VARCHAR( 20 ) NOT NULL,
  `action` varchar(50) NOT NULL,
  `location` VARCHAR( 50 ) NOT NULL,
  `action_from` VARCHAR( 100 ) NOT NULL,
  `action_page` MEDIUMTEXT NOT NULL,
  `action_datetime` datetime NOT NULL,
  `ip` varchar(50) NOT NULL,
  `referrer` mediumtext NOT NULL,
  `referrer_host` mediumtext NOT NULL,
  PRIMARY KEY (`vehicle_stats_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

CREATE TABLE `vehicle_stats_counts` (
  `vehicle_stats_id` int(4) NOT NULL AUTO_INCREMENT,
  `vin` varchar(20) NOT NULL,
  `action` varchar(50) NOT NULL,
  `action_date` date NOT NULL,
  `location` varchar(50) NOT NULL,
  `action_from` varchar(100) NOT NULL,
  `count` int(4) DEFAULT '1',
  PRIMARY KEY (`vehicle_stats_id`),
  UNIQUE KEY `unique` (`vin`,`action`,`location`,`action_date`,`action_from`),
  KEY `vin` (`vin`,`action`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;


CREATE  TABLE `remote_manager`  (
`remote_manager_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`application` VARCHAR( 50  ) ,
`user` VARCHAR ( 50  ) ,
`action_date` DATE,
`action_time` TIME,
`action` VARCHAR( 255  ) ,
`effected` INT( 4  ) ,
PRIMARY  KEY ( `remote_manager_id`   ) 
) TYPE  =  MYISAM ;



CREATE TABLE `RV_quotes` (
  `quotes_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `quote_date` date NOT NULL DEFAULT '0000-00-00',
  `quote_time` time NOT NULL DEFAULT '00:00:00',
  `quote_msrp` float(8,2) NOT NULL DEFAULT '0.00',
  `quote_amount` float(8,2) NOT NULL DEFAULT '0.00',
  `quote_manufacturer` varchar(50) NOT NULL DEFAULT '',
  `quote_model` varchar(50) NOT NULL DEFAULT '',
  `quote_floorplan` varchar(50) NOT NULL DEFAULT '',
  `options_summary` mediumtext NOT NULL,
  `quote_rv_id` int(4) NOT NULL DEFAULT '0',
  `quote_pricing_method` int(2) NOT NULL DEFAULT '0',
  `first_name` varchar(200) NOT NULL DEFAULT '',
  `last_name` varchar(200) NOT NULL DEFAULT '',
  `phone` varchar(200) NOT NULL DEFAULT '',
  `email` varchar(200) NOT NULL DEFAULT '',
  `zip_code` varchar(50) NOT NULL DEFAULT '',
  `tradein_year` varchar(20) NOT NULL DEFAULT '',
  `tradein_make` varchar(50) NOT NULL DEFAULT '',
  `tradein_model` varchar(50) NOT NULL DEFAULT '',
  `tradein_owed` varchar(50) NOT NULL DEFAULT '',
  `comments` mediumtext NOT NULL,
  `dealer_id` int(4) NOT NULL DEFAULT '0',
  `source` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`quotes_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*Table structure for table `send_to_mobile` */

CREATE TABLE IF NOT EXISTS `send_to_mobile` (
  `send_to_mobile_id` int(9) NOT NULL AUTO_INCREMENT,
  `status` int(2) DEFAULT '0',
  `dealer_id` int(3) DEFAULT NULL,
  `customer_name` varchar(30) DEFAULT NULL,
  `vehicle_id` int(6) DEFAULT NULL,
  `send_to` varchar(14) DEFAULT NULL,
  `message` text,
  `queued_at` datetime DEFAULT NULL,
  `sent_at` datetime DEFAULT NULL,
  `ip_address` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`send_to_mobile_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  
  
CREATE TABLE `vehicle_manager_index` (
  `vin` varchar(50) NOT NULL DEFAULT '',
  `vehicle_year` varchar(10) NOT NULL DEFAULT '',
  `make` varchar(50) NOT NULL DEFAULT '',
  `model` varchar(50) NOT NULL DEFAULT '',
  `vehicle_category` INT(4)  NOT NULL  DEFAULT '0',
  `dealer` int(4) NOT NULL DEFAULT '0',
  `certified` int(4) NOT NULL DEFAULT '0',
  `body_style` varchar(50) NOT NULL DEFAULT '',
  `exterior_color` varchar(50) NOT NULL DEFAULT '',
  `retail_price` int(10) NOT NULL DEFAULT '0',
  `epa_highway` INT(2)  NOT NULL  DEFAULT '0',
  `trim` VARCHAR(50)  NOT NULL  DEFAULT '',
  `cab_type` VARCHAR(25)  NOT NULL  DEFAULT '',
  `bed_length` VARCHAR(25)  NOT NULL  DEFAULT '',
  `product_type` VARCHAR(25)  NOT NULL  DEFAULT '',
  `mileage` INT(11)  NOT NULL  DEFAULT '0',
  `transmission` VARCHAR(50)  NOT NULL  DEFAULT '',
  `drive_train` VARCHAR(25)  NOT NULL  DEFAULT '',
  `fuel` VARCHAR(25)  NOT NULL  DEFAULT '',
  `epa_city` INT(2)  NOT NULL  DEFAULT '0',
  PRIMARY KEY (`vin`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `vehicle_incentives` (
  `vehicle_incentives_id` int(4) NOT NULL auto_increment,
  `active` TINYINT( 1 ) NOT NULL DEFAULT '1',
  `show_on_site` TINYINT(1)  NOT NULL  DEFAULT '1',
  `from_date` DATE NOT NULL,
  `to_date` DATE NOT NULL,
  `vehicle_type` INT( 1 ) NOT NULL,
  `model` varchar(50) NOT NULL,
  `eligible_year` int(4) NOT NULL,
  `trim` VARCHAR( 40 ) NOT NULL,
  `trim_detailed` VARCHAR(255)  NOT NULL  DEFAULT '',
  `incentive_zip` VARCHAR(10)  NOT NULL  DEFAULT '',
  `apply_to` VARCHAR( 10 ) NOT NULL,
  `price_adjustment` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_2` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_2` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_3` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_3` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_4` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_4` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_5` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_5` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_6` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_6` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_7` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_7` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_8` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_8` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_9` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_9` INT(2)  NOT NULL  DEFAULT '0',
  `price_adjustment_10` FLOAT(7, 2) NOT NULL DEFAULT '0.00',
  `days_after_10` INT(2)  NOT NULL  DEFAULT '0',
  `dealer_cash` float(7,2) NOT NULL,
  `customer_cash_1` float(7,2) NOT NULL,
  `customer_cash_or_apr` VARCHAR(5)  NOT NULL  DEFAULT 'or',
  `reduced_apr_1` float(4,2) NOT NULL,
  `apr_term_1` int(2) NOT NULL,
  `apr_per_1000_1` float(6,2) NOT NULL,
  `customer_cash_2` float(7,2) NOT NULL,
  `reduced_apr_2` float(4,2) NOT NULL,
  `apr_term_2` int(2) NOT NULL,
  `apr_per_1000_2` float(6,2) NOT NULL,
  `customer_cash_3` float(7,2) NOT NULL,
  `reduced_apr_3` float(4,2) NOT NULL,
  `apr_term_3` int(2) NOT NULL,
  `apr_per_1000_3` float(6,2) NOT NULL,
  `customer_cash_4` float(7,2) NOT NULL,
  `reduced_apr_4` float(4,2) NOT NULL,
  `apr_term_4` int(2) NOT NULL,
  `apr_per_1000_4` float(6,2) NOT NULL,
  `customer_cash_5` float(7,2) NOT NULL,
  `reduced_apr_5` float(4,2) NOT NULL,
  `apr_term_5` int(2) NOT NULL,
  `apr_per_1000_5` float(6,2) NOT NULL,
  `customer_cash_6` FLOAT(7,2)  NOT NULL,
  `reduced_apr_6` FLOAT(4,2)  NOT NULL,
  `apr_term_6` INT(2)  NOT NULL,
  `apr_per_1000_6` float(6,2) NOT NULL,
  `customer_cash_7` FLOAT(7,2)  NOT NULL,
  `reduced_apr_7` FLOAT(4,2)  NOT NULL,
  `apr_term_7` INT(2)  NOT NULL,
  `apr_per_1000_7` float(6,2) NOT NULL,
  `customer_cash_8` FLOAT(7,2)  NOT NULL,
  `reduced_apr_8` FLOAT(4,2)  NOT NULL,
  `apr_term_8` INT(2)  NOT NULL,
  `apr_per_1000_8` float(6,2) NOT NULL,
  `lease_states` varchar(100) NOT NULL,
  `lease_monthly` float(6,2) NOT NULL,
  `lease_cash_down` float(7,2) NOT NULL,
  `lease_term` INT( 2 ) NOT NULL,
  `lease_miles` INT( 6 ) NOT NULL,
  `lease_mile_overage` float(4,2) NOT NULL,
  `model_number` varchar(25) NOT NULL,
  `stock_number` VARCHAR(50)  NOT NULL  DEFAULT '',
  `headline` VARCHAR( 255 ) NOT NULL,
  `comments` MEDIUMTEXT NOT NULL,
  `disclaimer` MEDIUMTEXT NOT NULL,
  `customer_cash_disclaimer` MEDIUMTEXT  NOT NULL,
  `finance_disclaimer` MEDIUMTEXT  NOT NULL,
  `group_and_or_total_cash` VARCHAR(3)  NOT NULL  DEFAULT '',
  `specials` MEDIUMTEXT  NOT NULL,
  `programs` MEDIUMTEXT  NOT NULL,
  PRIMARY KEY  (`vehicle_incentives_id`),
  INDEX (`active`),
  INDEX (`eligible_year`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


CREATE  TABLE `vehicle_category`  (
`vehicle_category_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`vehicle_category_name` VARCHAR( 50  )  NOT  NULL ,
`vehicle_category_image` INT(4)  NOT NULL  DEFAULT '0',
`vehicle_category_image_url` VARCHAR(255)  NOT NULL  DEFAULT '',
`price_phrase` VARCHAR(200)  NOT NULL  DEFAULT '',
`active_from` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`active_to` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`vc_dealer` INT(4)  NOT NULL  DEFAULT '0',
`vc_certified` VARCHAR(2)  NOT NULL  DEFAULT '',
`vc_body_style` VARCHAR(255)  NOT NULL  DEFAULT '',
`vc_make` VARCHAR(100)  NOT NULL  DEFAULT '',
`vc_model` VARCHAR(100)  NOT NULL  DEFAULT '',
`vc_price` INT(8)  NOT NULL  DEFAULT '0',
`vc_to_price` INT(8)  NOT NULL  DEFAULT '0',
`vc_age` INT(4)  NOT NULL  DEFAULT '0',
`vc_to_age` INT(4)  NOT NULL  DEFAULT '0',
`vc_query` MEDIUMTEXT  NOT NULL,
`vc_minimum_photos` INT(2)  NOT NULL  DEFAULT '0',
`vc_priority` INT(2)  NOT NULL  DEFAULT '1',
`heading` VARCHAR(255)  NOT NULL  DEFAULT '',
`points` MEDIUMTEXT  NOT NULL,
PRIMARY  KEY ( `vehicle_category_id`   ) 
) TYPE  =  MYISAM ;


CREATE  TABLE `vehicle_price_append`  (
`vehicle_price_append_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`vehicle_price_append_text` VARCHAR( 50  )  NOT  NULL ,
`active_from` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`active_to` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`vc_dealer` INT(4)  NOT NULL  DEFAULT '0',
`vc_certified` VARCHAR(2)  NOT NULL  DEFAULT '',
`vc_body_style` VARCHAR(255)  NOT NULL  DEFAULT '',
`vc_make` VARCHAR(100)  NOT NULL  DEFAULT '',
`vc_model` VARCHAR(100)  NOT NULL  DEFAULT '',
`vc_price` INT(8)  NOT NULL  DEFAULT '0',
`vc_to_price` INT(8)  NOT NULL  DEFAULT '0',
`vc_query` MEDIUMTEXT  NOT NULL,
`vc_priority` INT(2)  NOT NULL  DEFAULT '1',
`heading` VARCHAR(255)  NOT NULL  DEFAULT '',
`points` MEDIUMTEXT  NOT NULL,
PRIMARY  KEY ( `vehicle_price_append_id`   ) 
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE  `vehicle_log` (
`vehicle_log_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
`hit_date` DATE,
`hit_time` TIME,
`vehicle_year` INT( 4 ) ,
`make` VARCHAR( 50 ) ,
`model` VARCHAR( 50 ) ,
`trim` VARCHAR( 50 ) ,
`vin` VARCHAR( 20 ) ,
`stock_number` VARCHAR( 25 ) ,
`exterior_color` VARCHAR( 40 ) ,
`mileage` INT( 10 ) ,
`retail_price` INT( 10 ) ,
`brochure` SMALLINT( 1 ) DEFAULT  '0' NOT NULL ,
`calculator` SMALLINT( 1 ) DEFAULT  '0' NOT NULL ,
`dealer_id` INT( 4  ) DEFAULT '0'  NOT  NULL ,
PRIMARY KEY (  `vehicle_log_id` )
) TYPE = MYISAM ;


CREATE TABLE  `vehicle_inquiry` (
`vehicle_inquiry_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
`inquiry_date` DATE,
`inquiry_time` TIME,
`name` VARCHAR( 60 ) ,
`email` VARCHAR( 100 ) ,
`phone` VARCHAR( 30 ) ,
`vehicle_year` INT( 4 ) ,
`make` VARCHAR( 50 ) ,
`model` VARCHAR( 50 ) ,
`trim` VARCHAR( 50 ) ,
`vin` VARCHAR( 20 ) ,
`stock_number` VARCHAR( 25 ) ,
`exterior_color` VARCHAR( 40 ) ,
`mileage` INT( 10 ) ,
`retail_price` INT( 10 ) ,
`comments` MEDIUMTEXT NOT NULL ,
`receive_price_updates` TINYINT  NOT NULL  DEFAULT '0',
`dealer_id` INT( 4  ) DEFAULT '0'  NOT  NULL ,
`source` VARCHAR( 50 ) DEFAULT 'desktop' NOT NULL ,
PRIMARY KEY (  `vehicle_inquiry_id` )
) TYPE = MYISAM ;


CREATE TABLE `vehicle_offers` (
  `vehicle_offers_id` int(4) NOT NULL auto_increment,
  `offer_date` date default NULL,
  `offer_time` time default NULL,
  `name` varchar(60) default NULL,
  `email` varchar(100) default NULL,
  `phone` varchar(30) default NULL,
  `vehicle_year` int(4) default NULL,
  `make` varchar(50) default NULL,
  `model` varchar(50) default NULL,
  `trim` varchar(50) default NULL,
  `vin` varchar(20) default NULL,
  `stock_number` varchar(25) default NULL,
  `exterior_color` varchar(40) default NULL,
  `mileage` int(10) default NULL,
  `retail_price` int(10) default NULL,
  `comments` MEDIUMTEXT NOT NULL,
  `dealer_id` int(4) NOT NULL default '0',
  `source` varchar(50) NOT NULL default 'desktop',
  PRIMARY KEY  (`vehicle_offers_id`)
) TYPE = MYISAM ;


CREATE TABLE `vehicle_confirm` (
  `vehicle_confirm_id` int(4) NOT NULL AUTO_INCREMENT,
  `confirm_date` date DEFAULT NULL,
  `confirm_time` time DEFAULT NULL,
  `name` varchar(60) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `vehicle_year` int(4) DEFAULT NULL,
  `make` varchar(50) DEFAULT NULL,
  `model` varchar(50) DEFAULT NULL,
  `trim` varchar(50) DEFAULT NULL,
  `vin` varchar(20) DEFAULT NULL,
  `stock_number` varchar(25) DEFAULT NULL,
  `exterior_color` varchar(40) DEFAULT NULL,
  `mileage` int(10) DEFAULT NULL,
  `retail_price` int(10) DEFAULT NULL,
  `comments` mediumtext NOT NULL,
  `dealer_id` int(4) NOT NULL DEFAULT '0',
  `source` varchar(50) NOT NULL DEFAULT 'desktop',
  PRIMARY KEY (`vehicle_confirm_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE IF NOT EXISTS `vehicle_quotes` (
  `vehicle_quotes_id` int(4) NOT NULL AUTO_INCREMENT,
  `quote_date` date DEFAULT NULL,
  `quote_time` time DEFAULT NULL,
  `name` varchar(60) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `zip` VARCHAR(30)  NOT NULL  DEFAULT '',
  `vehicle_year` int(4) DEFAULT NULL,
  `make` varchar(50) DEFAULT NULL,
  `model` varchar(50) DEFAULT NULL,
  `trim` varchar(50) DEFAULT NULL,
  `vin` varchar(20) DEFAULT NULL,
  `stock_number` varchar(25) DEFAULT NULL,
  `exterior_color` varchar(40) DEFAULT NULL,
  `mileage` int(10) DEFAULT NULL,
  `retail_price` int(10) DEFAULT NULL,
  `comments` mediumtext NOT NULL,
  `dealer_id` int(4) NOT NULL DEFAULT '0',
  `source` varchar(50) NOT NULL default 'desktop',
  `best_time` varchar(75) NOT NULL,
  PRIMARY KEY (`vehicle_quotes_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;


CREATE TABLE  `vehicle_credit_apps` (
 `vehicle_credit_apps_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `credit_app_date` DATE NOT NULL ,
 `credit_app_time` TIME NOT NULL ,
 `first_name` VARCHAR( 35 ) ,
 `last_name` VARCHAR( 35 ) ,
 `day_phone` VARCHAR( 255 ) ,
 `evening_phone` VARCHAR( 255 ) ,
 `cell_phone` VARCHAR( 255 ) ,
 `contact_via` VARCHAR( 255 ) ,
 `vehicle_year` VARCHAR( 255 ) ,
 `vehicle_make` VARCHAR( 255 ) ,
 `vehicle_model` VARCHAR( 255 ) ,
 `vehicle_vin` VARCHAR( 255 ) ,
 `comments` VARCHAR( 255 ) ,
 `phone` VARCHAR( 20 ) ,
 `address` VARCHAR( 40 ) ,
 `city` VARCHAR( 40 ) ,
 `state` VARCHAR( 25 ) ,
 `zip_code` VARCHAR( 15 ) ,
 `email` VARCHAR( 50 ) ,
 `birth_date` VARCHAR( 30 ) ,
 `nuseso` VARCHAR( 15 ) ,
 `nuseso_hashed` MEDIUMTEXT  NOT NULL,
 `current_employer` VARCHAR( 200 ) NOT NULL ,
 `previous_employer` VARCHAR( 200 ) NOT NULL ,
 `rate` VARCHAR( 50 ) NOT NULL ,
 `housing_status` VARCHAR( 200 ) NOT NULL ,
 `job_time` VARCHAR( 20 ) ,
 `residence_time` VARCHAR( 20 ) ,
 `previous_residence_time` VARCHAR( 20 ) ,
 `previous_address` VARCHAR( 40 ) ,
 `previous_city` VARCHAR( 40 ) NOT NULL ,
 `previous_state` VARCHAR( 25 ) NOT NULL ,
 `previous_zip_code` VARCHAR( 15 ) NOT NULL ,
 `gross_income` VARCHAR( 10 ) ,
 `down_payment` VARCHAR( 50 ) NOT NULL ,
 `trade_in` VARCHAR( 5 ) NOT NULL ,
 `co_applicant` VARCHAR(255) NOT NULL ,
 `recent_bankruptcy` VARCHAR(255) NOT NULL ,
 `bankruptcy_discharged` VARCHAR(255) NOT NULL ,
 `questions_comments` VARCHAR( 255 ) ,
 `vehicle_of_interest` VARCHAR( 100 ) ,
 `custom1` VARCHAR(255) NOT NULL ,
 `custom2` VARCHAR(255) NOT NULL ,
 `custom3` VARCHAR(255) NOT NULL ,
 `custom4` VARCHAR(255) NOT NULL ,
 `custom5` VARCHAR(255) NOT NULL ,
 `custom6` VARCHAR(255) NOT NULL ,
 `custom7` VARCHAR(255) NOT NULL ,
 `custom8` VARCHAR(255) NOT NULL ,
 `custom9` VARCHAR(255) NOT NULL ,
 `custom10` VARCHAR(255) NOT NULL ,
 `custom11` VARCHAR(255) NOT NULL ,
 `custom12` VARCHAR(255) NOT NULL ,
 `custom13` VARCHAR(255) NOT NULL ,
 `custom14` VARCHAR(255) NOT NULL ,
 `custom15` VARCHAR(255) NOT NULL ,
 `custom16` VARCHAR(255) NOT NULL ,
 `custom17` VARCHAR(255) NOT NULL ,
 `custom18` VARCHAR(255) NOT NULL ,
 `custom19` VARCHAR(255) NOT NULL ,
 `custom20` VARCHAR(255) NOT NULL ,
 `custom21` VARCHAR(255) NOT NULL ,
 `custom22` VARCHAR(255) NOT NULL ,
 `custom23` VARCHAR(255) NOT NULL ,
 `custom24` VARCHAR(255) NOT NULL ,
 `custom25` VARCHAR(255) NOT NULL ,
 `custom26` VARCHAR(255) NOT NULL ,
 `custom27` VARCHAR(255) NOT NULL ,
 `custom28` VARCHAR(255) NOT NULL ,
 `custom29` VARCHAR(255) NOT NULL ,
 `custom30` VARCHAR(255) NOT NULL ,
 `custom31` VARCHAR(255) NOT NULL ,
 `custom32` VARCHAR(255) NOT NULL ,
 `custom33` VARCHAR(255) NOT NULL ,
 `custom34` VARCHAR(255) NOT NULL ,
 `custom35` VARCHAR(255) NOT NULL ,
 `custom36` VARCHAR(255) NOT NULL ,
 `custom37` VARCHAR(255) NOT NULL ,
 `custom38` VARCHAR(255) NOT NULL ,
 `custom39` VARCHAR(255) NOT NULL ,
 `custom40` VARCHAR(255) NOT NULL ,
 `custom41` VARCHAR(255) NOT NULL ,
 `custom42` VARCHAR(255) NOT NULL ,
 `custom43` VARCHAR(255) NOT NULL ,
 `custom44` VARCHAR(255) NOT NULL ,
 `custom45` VARCHAR(255) NOT NULL ,
 `custom46` VARCHAR(255) NOT NULL ,
 `custom47` VARCHAR(255) NOT NULL ,
 `custom48` VARCHAR(255) NOT NULL ,
 `custom49` VARCHAR(255) NOT NULL ,
 `custom50` VARCHAR(255) NOT NULL ,
 `custom51` VARCHAR(255) NOT NULL ,
 `custom52` VARCHAR(255) NOT NULL ,
 `custom53` VARCHAR(255) NOT NULL ,
 `custom54` VARCHAR(255) NOT NULL ,
 `custom55` VARCHAR(255) NOT NULL ,
 `custom56` VARCHAR(255) NOT NULL ,
 `custom57` VARCHAR(255) NOT NULL ,
 `custom58` VARCHAR(255) NOT NULL ,
 `custom59` VARCHAR(255) NOT NULL ,
 `custom60` VARCHAR(255) NOT NULL ,
 `custom61` VARCHAR(255) NOT NULL ,
 `custom62` VARCHAR(255) NOT NULL ,
 `custom63` VARCHAR(255) NOT NULL ,
 `custom64` VARCHAR(255) NOT NULL ,
 `custom65` VARCHAR(255) NOT NULL ,
 `custom66` VARCHAR(255) NOT NULL ,
 `custom67` VARCHAR(255) NOT NULL ,
 `custom68` VARCHAR(255) NOT NULL ,
 `custom69` VARCHAR(255) NOT NULL ,
 `custom70` VARCHAR(255) NOT NULL ,
 `custom71` VARCHAR(255) NOT NULL ,
 `custom72` VARCHAR(255) NOT NULL ,
 `custom73` VARCHAR(255) NOT NULL ,
 `custom74` VARCHAR(255) NOT NULL ,
 `custom75` VARCHAR(255) NOT NULL ,
 `custom76` VARCHAR(255) NOT NULL ,
 `custom77` VARCHAR(255) NOT NULL ,
 `custom78` VARCHAR(255) NOT NULL ,
 `custom79` VARCHAR(255) NOT NULL ,
 `custom80` VARCHAR(255) NOT NULL ,
 `custom81` VARCHAR(255) NOT NULL ,
 `custom82` VARCHAR(255) NOT NULL ,
 `custom83` VARCHAR(255) NOT NULL ,
 `custom84` VARCHAR(255) NOT NULL ,
 `custom85` VARCHAR(255) NOT NULL ,
 `custom86` VARCHAR(255) NOT NULL ,
 `custom87` VARCHAR(255) NOT NULL ,
 `custom88` VARCHAR(255) NOT NULL ,
 `custom89` VARCHAR(255) NOT NULL ,
 `custom90` VARCHAR(255) NOT NULL ,
 `custom91` VARCHAR(255) NOT NULL ,
 `custom92` VARCHAR(255) NOT NULL ,
 `custom93` VARCHAR(255) NOT NULL ,
 `custom94` VARCHAR(255) NOT NULL ,
 `custom95` VARCHAR(255) NOT NULL ,
 `custom96` VARCHAR(255) NOT NULL ,
 `custom97` VARCHAR(255) NOT NULL ,
 `custom98` VARCHAR(255) NOT NULL ,
 `custom99` VARCHAR(255) NOT NULL ,
 `custom100` VARCHAR(255) NOT NULL ,
 `vehicle_id` INT( 4 ) NULL DEFAULT '0' ,
 `vehicle_id_vin` VARCHAR( 25 ) NOT NULL ,
 `dealer_id` INT( 4  ) DEFAULT '0'  NOT  NULL ,
 `source` VARCHAR( 50 ) DEFAULT 'desktop' NOT NULL ,
PRIMARY KEY (  `vehicle_credit_apps_id` )
) TYPE = MYISAM ;


CREATE TABLE `vehicle_appraisal` (
 `vehicle_appraisal_id` INT(4) NOT NULL AUTO_INCREMENT PRIMARY KEY,
 `submit_date` DATE NOT NULL, 
 `submit_time` TIME NOT NULL, 
 `first_name` VARCHAR(100) NOT NULL, 
 `last_name` VARCHAR(100) NOT NULL, 
 `phone` VARCHAR(50) NOT NULL, 
 `mobile_phone` VARCHAR(50) NOT NULL, 
 `email` VARCHAR(150) NOT NULL, 
 `zip` VARCHAR( 25 ) NOT NULL,
 `best_time` VARCHAR(15) NOT NULL,
 `appointment_date` VARCHAR(50)  NOT NULL  DEFAULT '',
 `appointment_time` VARCHAR(50)  NOT NULL  DEFAULT '',
 `year` VARCHAR(15) NOT NULL, 
 `make` VARCHAR(50) NOT NULL, 
 `model` VARCHAR(75) NOT NULL, 
 `exterior_color` VARCHAR(50) NOT NULL, 
 `vin` VARCHAR(20) NOT NULL, 
 `mileage` VARCHAR(30) NOT NULL, 
 `doors` VARCHAR(10) NOT NULL, 
 `transmission` VARCHAR(10) NOT NULL, 
 `drivetrain` VARCHAR(50) NOT NULL, 
 `options` MEDIUMTEXT NOT NULL, 
 `rate_body` INT(2) NOT NULL, 
 `rate_tires` INT(2) NOT NULL, 
 `rate_engine` INT(2) NOT NULL, 
 `rate_transmission` INT(2) NOT NULL, 
 `rate_glass` INT(2) NOT NULL, 
 `rate_interior` INT(2) NOT NULL, 
 `rate_exhaust` INT(2) NOT NULL, 
 `lease_rental` VARCHAR(3) NOT NULL, 
 `odometer` VARCHAR(3) NOT NULL, 
 `service_records` VARCHAR(3) NOT NULL, 
 `leinholder` VARCHAR(3) NOT NULL, 
 `leinholder_location` VARCHAR(100) NOT NULL, 
 `holds_title` VARCHAR(100) NOT NULL, 
 `equipment_accessories` MEDIUMTEXT NOT NULL, 
 `purchase_new` MEDIUMTEXT NOT NULL, 
 `accidents_list` MEDIUMTEXT NOT NULL, 
 `existing_damage` MEDIUMTEXT NOT NULL, 
 `paint_work` MEDIUMTEXT NOT NULL, 
 `title_declarations` MEDIUMTEXT NOT NULL, 
 `comments` MEDIUMTEXT NOT NULL,
 `example_image_1` MEDIUMTEXT  NOT NULL,
 `example_image_2` MEDIUMTEXT  NOT NULL,
 `example_image_3` MEDIUMTEXT  NOT NULL,
 `example_image_4` MEDIUMTEXT  NOT NULL,
 `example_image_5` MEDIUMTEXT  NOT NULL,
 `example_image_6` MEDIUMTEXT  NOT NULL,
 `example_image_7` MEDIUMTEXT  NOT NULL,
 `example_image_8` MEDIUMTEXT  NOT NULL,
 `dealer_id` INT( 4  ) DEFAULT '0'  NOT  NULL,
  `source` varchar(50) NOT NULL default 'desktop'
) ENGINE = myisam;


CREATE TABLE  `vehicle_find_your_car` (
 `vehicle_find_your_car_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
 `source` VARCHAR( 50 ) DEFAULT 'desktop' NOT NULL ,
 `first_name` VARCHAR( 100 ) NOT NULL ,
 `last_name` VARCHAR( 100 ) NOT NULL ,
 `phone` VARCHAR( 50 ) NOT NULL ,
 `email` VARCHAR( 150 ) NOT NULL ,
 `vehicle_type_1` VARCHAR( 20 ) NOT NULL ,
 `year_start_1` INT( 4  ) DEFAULT '0' NOT NULL ,
 `year_end_1` INT( 4  ) DEFAULT '0' NOT NULL ,
 `make_1` VARCHAR( 50 ) NOT NULL ,
 `model_1` VARCHAR( 80 ) NOT NULL ,
 `body_style_1` VARCHAR( 80 ) NOT NULL ,
 `transmission_1` VARCHAR( 20 ) NOT NULL ,
 `mileage_range_start_1` INT( 4 ) NOT NULL ,
 `price_range_start_1` INT( 4 ) NOT NULL ,
 `mileage_range_end_1` INT( 4 ) NOT NULL ,
 `price_range_end_1` INT( 4 ) NOT NULL ,
 `vehicle_type_2` VARCHAR( 20 ) NOT NULL ,
 `year_start_2` INT( 4  ) DEFAULT '0' NOT NULL ,
 `year_end_2` INT( 4  ) DEFAULT '0' NOT NULL ,
 `make_2` VARCHAR( 50 ) NOT NULL ,
 `model_2` VARCHAR( 80 ) NOT NULL ,
 `body_style_2` VARCHAR( 80 ) NOT NULL ,
 `transmission_2` VARCHAR( 20 ) NOT NULL ,
 `mileage_range_start_2` INT( 4 ) NOT NULL ,
 `price_range_start_2` INT( 4 ) NOT NULL ,
 `mileage_range_end_2` INT( 4 ) NOT NULL ,
 `price_range_end_2` INT( 4 ) NOT NULL ,
 `vehicle_type_3` VARCHAR( 20 ) NOT NULL ,
 `year_start_3` INT( 4  ) DEFAULT '0' NOT NULL ,
 `year_end_3` INT( 4  ) DEFAULT '0' NOT NULL ,
 `make_3` VARCHAR( 50 ) NOT NULL ,
 `model_3` VARCHAR( 80 ) NOT NULL ,
 `body_style_3` VARCHAR( 80 ) NOT NULL ,
 `transmission_3` VARCHAR( 20 ) NOT NULL ,
 `mileage_range_start_3` INT( 4 ) NOT NULL ,
 `price_range_start_3` INT( 4 ) NOT NULL ,
 `mileage_range_end_3` INT( 4 ) NOT NULL ,
 `price_range_end_3` INT( 4 ) NOT NULL ,
 `vehicle_type_4` VARCHAR( 20 ) NOT NULL ,
 `year_start_4` INT( 4  ) DEFAULT '0' NOT NULL ,
 `year_end_4` INT( 4  ) DEFAULT '0' NOT NULL ,
 `make_4` VARCHAR( 50 ) NOT NULL ,
 `model_4` VARCHAR( 80 ) NOT NULL ,
 `body_style_4` VARCHAR( 80 ) NOT NULL ,
 `transmission_4` VARCHAR( 20 ) NOT NULL ,
 `mileage_range_start_4` INT( 4 ) NOT NULL ,
 `price_range_start_4` INT( 4 ) NOT NULL ,
 `mileage_range_end_4` INT( 4 ) NOT NULL ,
 `price_range_end_4` INT( 4 ) NOT NULL ,
 `comments` MEDIUMTEXT NOT NULL ,
 `submit_date` DATE NOT NULL ,
 `submit_time` TIME NOT NULL, 
 `dealer_id` INT( 4  ) DEFAULT '0'  NOT  NULL,
 `example_image_1` MEDIUMTEXT  NOT NULL,
 `example_image_2` MEDIUMTEXT  NOT NULL,
 `example_image_3` MEDIUMTEXT  NOT NULL,
 `example_image_4` MEDIUMTEXT  NOT NULL,
 `matched_1` BOOL  NOT NULL  DEFAULT '0',
 `matched_2` BOOL  NOT NULL  DEFAULT '0',
 `matched_3` BOOL  NOT NULL  DEFAULT '0',
 `matched_4` BOOL  NOT NULL  DEFAULT '0',
 `email_link` BOOL  NOT NULL  DEFAULT '0',
 `salesperson_contact` BOOL  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;


CREATE TABLE `vehicle_auto_price_manager` (
`auto_price_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`days_in_from` INT( 4 ) NULL ,
`days_in_to` INT( 4 ) NULL ,
`priced_from` INT( 5 ) NULL ,
`priced_to` INT( 5 ) NULL ,
`amount_over_cost` FLOAT(8,2) NULL DEFAULT NULL,
`down_payment` FLOAT(8,2)  NOT NULL  DEFAULT '-1.00',
`monthly_payment` FLOAT(8,2)  NOT NULL  DEFAULT '0.00',
`specific_dealer` VARCHAR(50)  NOT NULL  DEFAULT '',
`vehicle_type` INT( 1 ) NULL ,
`vehicle_year` VARCHAR( 4 ) NOT NULL ,
`vehicle_make` VARCHAR( 40 ) NOT NULL ,
`vehicle_model` VARCHAR( 50 ) NOT NULL ,
`msrp_markup` INT( 1 ) NOT NULL DEFAULT '1'
) ENGINE = MYISAM ;


CREATE TABLE `vehicle_invoice_manager` (
`vehicle_invoice_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`user_id` INT( 4 ) NOT NULL ,
`datetime_printed` DATETIME NOT NULL ,
`invoice` MEDIUMTEXT NOT NULL ,
`invoice_number` INT( 5 ) NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE `vehicle_lot_manager` (
`vehicle_lot_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`user_id` INT( 4 ) NOT NULL ,
`week_day` INT( 1 ) NOT NULL ,
`week_cycle` INT( 2 ) NOT NULL ,
`last_process` DATE NOT NULL ,
`email_notify` VARCHAR( 150 ) NOT NULL
) ENGINE = MYISAM ;


 CREATE TABLE `video_queue` (
`video_queue_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`vehicle` INT( 4 ) NOT NULL ,
`video` VARCHAR( 200 ) NOT NULL ,
`convert_to` VARCHAR( 200 ) NOT NULL ,
`submitted` DATETIME NOT NULL ,
`converted` DATETIME NOT NULL ,
`sold` DATETIME NOT NULL ,
`deleted` DATETIME NOT NULL
) ENGINE = MYISAM ;




CREATE TABLE `recon_item_list` (
`recon_item_list_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`recon_item_name` VARCHAR( 250 ) NOT NULL ,
`code` VARCHAR(50)  NOT NULL  DEFAULT '' ,
`retail_price` FLOAT(8,2)  NOT NULL  DEFAULT '0.00',
`recon_dealer` INT(4)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;


CREATE TABLE `recon_items` (
`recon_items_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`recon_item_list_id` INT( 4 ) NOT NULL ,
`recon_vehicle_id` INT( 4 ) NOT NULL ,
`recon_info` MEDIUMTEXT NOT NULL ,
`recon_cost` DECIMAL( 8, 2 ) NOT NULL ,
`recon_date` DATE NOT NULL ,
`recon_by` VARCHAR( 255 ) NOT NULL,
`recon_dealer` INT(4)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;




CREATE TABLE `comments_dynamic` (
  `comments_dynamic_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `dynamic_text` MEDIUMTEXT  NOT NULL,
  `dynamic_position` int(3) NOT NULL DEFAULT '0',
  `dynamic_number` int(3) NOT NULL DEFAULT '0',
  `language` int(3) NOT NULL DEFAULT '1',
  `specific_type` varchar(2) NOT NULL DEFAULT '',
  `specific_year` varchar(5) NOT NULL DEFAULT '',
  `specific_make` varchar(50) NOT NULL DEFAULT '',
  `specific_model` varchar(100) NOT NULL DEFAULT '',
  `specific_trim` varchar(100) NOT NULL DEFAULT '',
  `specific_style` varchar(50) NOT NULL DEFAULT '',
  `specific_dealer` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`comments_dynamic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `comments_google` (
  `comments_google_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `google_text` MEDIUMTEXT  NOT NULL,
  `google_number` int(3) NOT NULL DEFAULT '0',
  `language` int(3) NOT NULL DEFAULT '1',
  `specific_type` varchar(2) NOT NULL DEFAULT '',
  `specific_year` varchar(5) NOT NULL DEFAULT '',
  `specific_make` varchar(50) NOT NULL DEFAULT '',
  `specific_model` varchar(100) NOT NULL DEFAULT '',
  `specific_trim` varchar(100) NOT NULL DEFAULT '',
  `specific_style` varchar(50) NOT NULL DEFAULT '',
  `specific_dealer` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`comments_google_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `comments_google_call_only` (
  `comments_google_call_only_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `google_text` MEDIUMTEXT  NOT NULL,
  `google_number` int(3) NOT NULL DEFAULT '0',
  `language` int(3) NOT NULL DEFAULT '1',
  `specific_type` varchar(2) NOT NULL DEFAULT '',
  `specific_year` varchar(5) NOT NULL DEFAULT '',
  `specific_make` varchar(50) NOT NULL DEFAULT '',
  `specific_model` varchar(100) NOT NULL DEFAULT '',
  `specific_trim` varchar(100) NOT NULL DEFAULT '',
  `specific_style` varchar(50) NOT NULL DEFAULT '',
  `specific_dealer` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`comments_google_call_only_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `comments_google_display` (
  `comments_google_display_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `google_text` MEDIUMTEXT  NOT NULL,
  `google_number` int(3) NOT NULL DEFAULT '0',
  `language` int(3) NOT NULL DEFAULT '1',
  `specific_type` varchar(2) NOT NULL DEFAULT '',
  `specific_year` varchar(5) NOT NULL DEFAULT '',
  `specific_make` varchar(50) NOT NULL DEFAULT '',
  `specific_model` varchar(100) NOT NULL DEFAULT '',
  `specific_trim` varchar(100) NOT NULL DEFAULT '',
  `specific_style` varchar(50) NOT NULL DEFAULT '',
  `specific_dealer` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`comments_google_display_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE IF NOT EXISTS `comments_leads` (
  `comments_leads_id` int(4) NOT NULL auto_increment,
  `lead_in_text` mediumtext NOT NULL,
  `lead_out_text` mediumtext NOT NULL,
  `language` int(4) NOT NULL default '1',
  `specific_type` varchar(1) NOT NULL default '',
  `specific_year` VARCHAR(4)  NOT NULL  DEFAULT '',
  `specific_make` varchar(100) NOT NULL default '',
  `specific_model` varchar(100) NOT NULL default '',
  `specific_trim` VARCHAR(100)  NOT NULL  DEFAULT '',
  `specific_style` varchar(200) NOT NULL default '',
  `specific_dealer` varchar(5) NOT NULL default '',
  `specific_service` int(4) NOT NULL default '0',
  PRIMARY KEY  (`comments_leads_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;


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

--
-- Table structure for table `comments_manager`
--

CREATE TABLE IF NOT EXISTS `comments_manager` (
  `comments_id` int(4) NOT NULL auto_increment,
  `identifier` varchar(50) default NULL,
  `comment_number` int(2) default NULL,
  `comment_total` int(2) default NULL,
  `comment_text` varchar(255) default NULL,
  `language` int(4) NOT NULL default '1',
  `specific_type` varchar(1) NOT NULL default '',
  `specific_year` VARCHAR(4)  NOT NULL  DEFAULT '',
  `specific_make` varchar(100) NOT NULL,
  `specific_model` varchar(100) NOT NULL default '',
  `specific_trim` VARCHAR(100)  NOT NULL  DEFAULT '',
  `specific_style` varchar(200) NOT NULL,
  `specific_dealer` varchar(5) NOT NULL,
  PRIMARY KEY  (`comments_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=720 ;

--
-- Dumping data for table `comments_manager`
--


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

--
-- Table structure for table `comments_sentences`
--

CREATE TABLE IF NOT EXISTS `comments_sentences` (
  `comments_sentences_id` int(4) NOT NULL auto_increment,
  `sentence_text` mediumtext NOT NULL,
  `sentence_position` int(2) NOT NULL default '0',
  `sentence_number` int(2) NOT NULL default '0',
  `language` int(4) NOT NULL default '1',
  `specific_type` varchar(1) NOT NULL default '',
  `specific_year` VARCHAR(4)  NOT NULL  DEFAULT '',
  `specific_make` varchar(100) NOT NULL,
  `specific_model` varchar(100) NOT NULL default '',
  `specific_trim` VARCHAR(100)  NOT NULL  DEFAULT '',
  `specific_style` varchar(200) NOT NULL,
  `specific_dealer` varchar(5) NOT NULL,
  PRIMARY KEY  (`comments_sentences_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=125 ;

--
-- Dumping data for table `comments_sentences`
--





CREATE TABLE  `coupon_manager` (
 `coupon_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
 `title` VARCHAR( 150 ) NOT NULL ,
 `sub_title` MEDIUMTEXT NOT NULL ,
 `title_color` VARCHAR( 6 ) NOT NULL ,
 `sub_title_color` VARCHAR( 6 ) NOT NULL ,
 `column_1` MEDIUMTEXT NOT NULL ,
 `column_2` MEDIUMTEXT NOT NULL ,
 `column_color` VARCHAR( 6 ) NOT NULL ,
 `price` VARCHAR(100)  NOT NULL  DEFAULT '' ,
 `price_color` VARCHAR(6)  NOT NULL  DEFAULT '000000' ,
 `disclaimer` MEDIUMTEXT NOT NULL ,
 `disclaimer_color` VARCHAR( 6 ) NOT NULL ,
 `container_x` INT(4)  NOT NULL  DEFAULT '0' ,
 `container_y` INT(4)  NOT NULL  DEFAULT '0' ,
 `container_w` INT(4)  NOT NULL  DEFAULT '0' ,
 `container_h` INT(4)  NOT NULL  DEFAULT '0' ,
 `background_photo` INT( 4 ) NOT NULL ,
 `image_photo` INT(4)  NOT NULL  DEFAULT '0' ,
 `coupon_category` INT( 4 ) NOT NULL DEFAULT '0' ,
 `expiration_date` DATE NOT NULL ,
 `display_order` INT(2)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;



CREATE TABLE `coupon_category` (
  `coupon_category_id` int(4) NOT NULL auto_increment,
  `category` varchar(255) NOT NULL default '',
  `button_name` VARCHAR(50)  NOT NULL  DEFAULT '',
  `button_link` VARCHAR(255)  NOT NULL  DEFAULT '',
  PRIMARY KEY  (`coupon_category_id`)
) ENGINE = MYISAM ;


CREATE  TABLE `warranty_manager`  (
`warranty_manager_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`warranty_name` VARCHAR( 50  ) ,
`warranty` TINYINT( 1  ) DEFAULT '0'  NOT  NULL ,
`full` TINYINT( 1  ) DEFAULT '0'  NOT  NULL ,
`labor` VARCHAR( 3  ) DEFAULT '0'  NOT  NULL ,
`parts` VARCHAR( 3  ) DEFAULT '0'  NOT  NULL ,
`systems_covered` MEDIUMTEXT NOT  NULL ,
`duration` MEDIUMTEXT NOT  NULL ,
`disclaimer` MEDIUMTEXT NOT  NULL ,
`manu_applies` INT(1)  NOT NULL  DEFAULT '0',
`manu_used_applies` INT(1)  NOT NULL  DEFAULT '0',
`other_used_applies` INT(1)  NOT NULL  DEFAULT '0',
`service_contract` TINYINT( 1  ) DEFAULT '0'  NOT  NULL ,
`dealer`  INT( 4  ) DEFAULT '0'  NOT  NULL ,
`dealer_certified_image` INT( 4 ) NOT NULL ,
`auto_certified` VARCHAR(25)  NOT NULL  DEFAULT '-1',
`auto_year` VARCHAR(255)  NOT NULL  DEFAULT '',
`auto_make` VARCHAR(255)  NOT NULL  DEFAULT '',
`auto_model` VARCHAR(255)  NOT NULL  DEFAULT '',
`auto_stock` VARCHAR(255)  NOT NULL  DEFAULT '',
`auto_miles_from` INT( 7 ) NOT NULL DEFAULT '-1' ,
`auto_miles_to` INT( 7 ) NOT NULL DEFAULT '-1' ,
`auto_years_old_from` INT( 2 ) NOT NULL DEFAULT '-1' ,
`auto_years_old_to` INT( 2 ) NOT NULL DEFAULT '-1' ,
`heading` VARCHAR(255)  NOT NULL  DEFAULT '',
`points` MEDIUMTEXT  NOT NULL,
PRIMARY  KEY ( `warranty_manager_id` ) 
) TYPE  =  MYISAM ;


CREATE TABLE IF NOT EXISTS `warranty_stats` (
  `warranty_stats_id` int(4) NOT NULL auto_increment,
  `ip_address` varchar(50) NOT NULL,
  `stat_date` date NOT NULL,
  `stat_time` time NOT NULL,
  `user` int(4) NOT NULL,
  `lead` int(4) NOT NULL,
  `message` int(4) NOT NULL,
  `vehicle` int(4) NOT NULL,
  `blast` INT( 4 ) NOT NULL,
  `stat_type` varchar(50) NOT NULL,
  PRIMARY KEY  (`warranty_stats_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=29 ;


CREATE TABLE `warranty_blasts` (
`warranty_blasts_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`sent_by` INT( 4 ) NOT NULL ,
`sent_date` DATE NOT NULL ,
`sent_time` TIME NOT NULL ,
`lead` INT( 4 ) NOT NULL ,
`message` INT( 4 ) NOT NULL ,
`vehicle` INT( 4 ) NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE `warranty_bounces` (
`warranty_bounces_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`user_id` INT( 4 ) NOT NULL ,
`blast_id` INT( 4 ) NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE IF NOT EXISTS `telephone_leads` (
  `telephone_leads_id` int(4) NOT NULL auto_increment,
  `source` varchar(100) NOT NULL,
  `add_date` date NOT NULL,
  `add_time` time NOT NULL,
  `vehicle_year` varchar(10) NOT NULL,
  `vehicle_make` varchar(50) NOT NULL,
  `vehicle_model` varchar(100) NOT NULL,
  `first_name` varchar(75) NOT NULL,
  `last_name` varchar(75) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `address` varchar(100) NOT NULL,
  `country` VARCHAR(50)  NOT NULL  DEFAULT '',
  `city` varchar(100) NOT NULL,
  `state` varchar(50) NOT NULL,
  `zip` varchar(25) NOT NULL,
  `is_text` INT(1)  NOT NULL  DEFAULT '0',
  `call_id` varchar(50) NOT NULL,
  `call_start` datetime NOT NULL,
  `call_end` datetime NOT NULL,
  `provider` varchar(50) NOT NULL,
  `dealer_id` varchar(50) NOT NULL,
  `toll_free_number` varchar(50) NOT NULL,
  `toll_free_label` varchar(50) NOT NULL,
  `destination_number` VARCHAR(50)  NOT NULL  DEFAULT '',
  `agent_number` varchar(50) NOT NULL,
  `rep_code` varchar(50) NOT NULL,
  `duration` varchar(50) NOT NULL,
  `recording_url` mediumtext NOT NULL,
  `text_message` MEDIUMTEXT  NOT NULL,
  `vendor_name` varchar(100) NOT NULL,
  `service` varchar(100) NOT NULL,
  `dealer` int(4) NOT NULL default '0',
  `new` mediumtext NOT NULL,
  `answered` INT(1)  NOT NULL  DEFAULT '0',
  PRIMARY KEY  (`telephone_leads_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;


CREATE TABLE `three60` (
  `three60_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `three60_type` varchar(20) NOT NULL DEFAULT '',
  `vehicle_manager_id` int(11) NOT NULL DEFAULT '0',
  `three60_filename` varchar(30) NOT NULL DEFAULT '',
  `three60_image_prefix` varchar(30) NOT NULL DEFAULT '',
  `three60_duration` float(6,2) NOT NULL DEFAULT '0.00',
  `three60_frames` int(2) NOT NULL DEFAULT '0',
  `three60_w` int(4) NOT NULL DEFAULT '0',
  `three60_h` int(4) NOT NULL DEFAULT '0',
  `three60_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `three60_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`three60_id`),
  KEY `vehicle_manager_id` (`vehicle_manager_id`),
  KEY `three60_id` (`three60_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `three60_frames` (
  `three60_frames_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `three60_id` int(11) NOT NULL DEFAULT '0',
  `three60_frame_filename` varchar(30) NOT NULL DEFAULT '',
  `three60_frame_order` int(3) NOT NULL DEFAULT '0',
  `three60_view_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`three60_frames_id`),
  KEY `three60_id` (`three60_id`),
  KEY `three60_view_id` (`three60_view_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `three60_views` (
  `three60_views_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `three60_view_type` varchar(30) NOT NULL DEFAULT '',
  `three60_view_order` int(2) NOT NULL DEFAULT '0',
  `display_order` INT(2)  NOT NULL  DEFAULT '0',
  `template_image_car` varchar(60) NOT NULL DEFAULT '',
  `template_image_truck` varchar(60) NOT NULL DEFAULT '',
  `template_image_suv` varchar(60) NOT NULL DEFAULT '',
  `template_image_crossover` varchar(60) NOT NULL DEFAULT '',
  `template_image_minivan` varchar(60) NOT NULL DEFAULT '',
  `product_type` int(2) NOT NULL DEFAULT '0',
  `product_condition` VARCHAR(10)  NOT NULL  DEFAULT '01234',
  `extract_from_360` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`three60_views_id`),
  KEY `three60_views_id` (`three60_views_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `vehicle_photos` (
  `vehicle_photos_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `vehicle_vin` varchar(25) NOT NULL DEFAULT '',
  `three60_view_id` int(11) NOT NULL DEFAULT '0',
  `photo_order` int(2) NOT NULL DEFAULT '0',
  `vehicle_manager_picture` VARCHAR(30)  NOT NULL  DEFAULT '',
  `photo_last_uploaded` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `photo_last_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`vehicle_photos_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE  TABLE `vehicle_submission_tracker`  (
`vehicle_submission_tracker_id` INT( 4  )  NOT  NULL  AUTO_INCREMENT ,
`submission_service` INT( 4  ) DEFAULT '0' ,
`vehicle` INT( 4  ) DEFAULT '0' ,
`submission_datetime` DATETIME,
PRIMARY  KEY ( `vehicle_submission_tracker_id`   ) 
) TYPE  =  MYISAM ;


CREATE TABLE  `leads_manager` (
 `leads_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `add_time` DATETIME,
 `customer` INT( 4 ) DEFAULT  '0',
 `up_type` VARCHAR( 50 ) ,
 `third_party_lead` VARCHAR( 30 ) ,
 `referral` VARCHAR( 80 ) ,
 `email` VARCHAR( 80 ) ,
 `contact_preference` VARCHAR( 15 ) ,
 `best_time_to_call` VARCHAR( 50 ) ,
 `purchase_time_table` VARCHAR( 20 ) ,
 `specific_vehicle` INT( 4 ) DEFAULT  '0',
 `vehicle_preference` VARCHAR( 200 ) ,
 `notes` MEDIUMTEXT,
 `probability_to_close` VARCHAR( 20 ) ,
 `lead_assigned_to` INT( 4 ) DEFAULT '0',
 `sales_stage` INT( 4 ) DEFAULT '0',
 `current_sales_stage` INT( 4 ) DEFAULT '0',
 `dealer` INT( 4 ) NOT NULL,
 `last_modified` DATETIME ,
 `services_needed` MEDIUMTEXT NOT NULL ,
 `service_appointment` DATETIME NOT NULL ,
 `vehicle_year` VARCHAR( 4 ) NOT NULL ,
 `vehicle_make` VARCHAR( 50 ) NOT NULL ,
 `vehicle_model` VARCHAR( 50 ) NOT NULL ,
 `vehicle_vin` VARCHAR( 20 ) NOT NULL ,
 `vehicle_miles` VARCHAR( 20 ) NOT NULL ,
PRIMARY KEY (  `leads_manager_id` )
) TYPE = MYISAM ;


CREATE TABLE  `leads_stages` (
 `leads_stages_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `color` VARCHAR( 15 ) ,
 `lead_order` INT( 2 ) ,
 `description` VARCHAR( 25 ) ,
PRIMARY KEY (  `leads_stages_id` )
) TYPE = MYISAM ;

INSERT INTO leads_stages( color, lead_order, description ) VALUES ('red', '1', 'Assigned, no contact made');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('orange', '2', 'Made contact');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('yellow', '3', 'Scheduled appointment');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('blue', '4', 'Completed appointment');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('green', '5', 'Sold');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('brown', '6', 'Service');
INSERT INTO leads_stages( color, lead_order, description ) VALUES ('gray', '7', 'Inactive');


CREATE TABLE  `leads_edits` (
 `leads_edits_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `applies_to_lead` INT( 4 ) DEFAULT  '0',
 `lead_assigned_to` INT( 4 ) DEFAULT '0',
 `probability_to_close` VARCHAR( 20 ) ,
 `specific_vehicle` INT( 4 ) DEFAULT  '0',
 `vehicle_preference` VARCHAR( 200 ) ,
 `additional_notes` MEDIUMTEXT,
 `edit_time` DATETIME,
 `sales_stage` INT( 2 ) ,
PRIMARY KEY (  `leads_edits_id` )
) TYPE = MYISAM ;


CREATE TABLE  `leads_folders` (
 `sales` INT( 4 ),
 `service` INT( 4 ),
 `admin` INT( 4 ),
 `leads` INT( 4 ),
 `application_path` VARCHAR( 255 ) NOT NULL,
 `assign_to` INT(4)  NOT NULL  DEFAULT '0',
 `assign_by_rooftop_to` VARCHAR(255)  NOT NULL  DEFAULT '',
 `assign_evenly` BOOL  NOT NULL  DEFAULT '0',
 `purchase_time_table` VARCHAR(50)  NOT NULL  DEFAULT '',
 `probability_to_close` VARCHAR(50)  NOT NULL  DEFAULT ''
) TYPE = MYISAM ;

insert into leads_folders (sales, service, admin, leads) values (0,0,0,0);


CREATE TABLE  `leads_signatures` (
 `leads_signatures_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `signature_name` VARCHAR( 200 ) ,
 `show_name` SMALLINT( 1 ) DEFAULT  '1',
 `show_job_title` SMALLINT( 1 ) DEFAULT  '1',
 `show_mobile` SMALLINT( 1 ) DEFAULT  '1',
 `show_phone` SMALLINT( 1 ) DEFAULT  '1',
 `show_email` SMALLINT( 1 ) DEFAULT  '1',
 `show_website` SMALLINT( 1 ) DEFAULT  '1',
 `show_fax` SMALLINT( 1 ) DEFAULT  '1',
 `show_image` INT( 4 ) DEFAULT  '0',
 `salutation` VARCHAR( 255 ) ,
PRIMARY KEY (  `leads_signatures_id` )
) TYPE = MYISAM ;


CREATE TABLE  `leads_followup` (
 `leads_followup_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `sales_stage` INT( 4 ) ,
 `minutes_after` INT( 4 ) DEFAULT  '0',
 `hours_after` INT( 4 ) DEFAULT  '0',
 `days_after` INT( 4 ) DEFAULT  '0',
 `weeks_after` INT( 4 ) DEFAULT  '0',
 `months_after` INT( 4 ) DEFAULT  '0',
 `years_after` INT( 4 ) DEFAULT  '0',
 `use_signature` INT( 4 ) DEFAULT  '0',
 `use_message` INT( 4 ) DEFAULT  '0',
 `send_to_lead` SMALLINT( 1 ) NOT NULL DEFAULT '1',
 `send_to_sales` SMALLINT( 1 ) NOT NULL DEFAULT '0',
 `dealer_ids` VARCHAR( 255 ) NOT NULL ,
 `form` VARCHAR( 255 ) NOT NULL DEFAULT '0',
 `email_override` MEDIUMTEXT NOT NULL ,
PRIMARY KEY (  `leads_followup_id` )
) TYPE = MYISAM ;


CREATE TABLE `leads_messages` (
  `leads_messages_id` int(4) NOT NULL auto_increment,
  `message_name` varchar(200) default NULL,
  `greeting_intro` mediumtext,
  `greeting_target` varchar(50) default NULL,
  `greeting_outro` varchar(255) default NULL,
  `body_text_1` mediumtext,
  `body_var_1` varchar(50) default NULL,
  `body_text_2` mediumtext,
  `body_var_2` varchar(50) default NULL,
  `body_text_3` mediumtext,
  `body_var_3` varchar(50) default NULL,
  `body_text_4` mediumtext,
  `body_var_4` varchar(50) default NULL,
  `body_text_5` mediumtext,
  `body_var_5` varchar(50) default NULL,
  `body_text_6` mediumtext,
  `body_var_6` varchar(50) default NULL,
  `body_text_7` mediumtext,
  `body_var_7` varchar(50) default NULL,
  `body_text_8` mediumtext,
  `body_var_8` varchar(50) default NULL,
  `body_text_9` mediumtext,
  `body_var_9` varchar(50) default NULL,
  `body_text_10` mediumtext,
  `body_var_10` varchar(50) default NULL,
  PRIMARY KEY  (`leads_messages_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;


CREATE TABLE  `leads_worksheets` (
 `leads_worksheets_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
 `vsp` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `dp` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `tra` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `aitiye` YEAR NOT NULL ,
 `aitima` VARCHAR( 100 ) NOT NULL ,
 `aitimo` VARCHAR( 100 ) NOT NULL ,
 `aititr` VARCHAR( 100 ) NOT NULL ,
 `aitivi` VARCHAR( 100 ) NOT NULL ,
 `aia` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `md1` VARCHAR( 255 ) NOT NULL ,
 `md1a` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `md2` VARCHAR( 255 ) NOT NULL DEFAULT  '0',
 `md2a` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `taxes` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `tags` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `documents` DECIMAL( 8, 2 ) NOT NULL DEFAULT  '0',
 `fo1t` INT( 2 ) NOT NULL DEFAULT  '0',
 `fo1i` DECIMAL( 2, 2 ) NOT NULL DEFAULT  '0',
 `fo2t` INT( 2 ) NOT NULL DEFAULT  '0',
 `fo2i` DECIMAL( 2, 2 ) NOT NULL DEFAULT  '0',
 `lead` INT( 4 ) NOT NULL DEFAULT  '0',
 `insured_with` VARCHAR( 200 ) NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE `email_filters` (
`email_filters_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`search_subject` TINYINT( 1 ) NOT NULL ,
`search_from` TINYINT( 1 ) NOT NULL ,
`search_body` TINYINT( 1 ) NOT NULL ,
`search_criteria` MEDIUMTEXT NOT NULL ,
`move_to_folder` INT( 4 ) NOT NULL ,
`user_id` INT( 4 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM ;


CREATE TABLE IF NOT EXISTS `email_folders` (
  `email_folder_id` int(4) NOT NULL AUTO_INCREMENT,
  `folder_name` varchar(100) NOT NULL,
  `folder_type` varchar(10) NOT NULL,
  `user_id` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`email_folder_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


CREATE TABLE `email_messages` (
`email_message_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`folder` INT( 1 ) NOT NULL ,
`from_email` VARCHAR( 255 ) NOT NULL ,
`to_email` VARCHAR( 255 ) NOT NULL ,
`cc_email` VARCHAR( 255 ) NOT NULL ,
`bcc_email` VARCHAR( 255 ) NOT NULL ,
`subject` VARCHAR( 255 ) NOT NULL ,
`date_sent` DATETIME NOT NULL ,
`message` MEDIUMTEXT NOT NULL ,
`user_id` INT( 4 ) NOT NULL DEFAULT '0'
) ENGINE = MYISAM ;


CREATE TABLE `banners_manager` (
  `banners_manager_id` int(4) NOT NULL AUTO_INCREMENT,
  `banner_name` varchar(200) DEFAULT NULL,
  `banner_width` int(3) DEFAULT NULL,
  `banner_height` int(3) DEFAULT NULL,
  `picture` int(4) NOT NULL DEFAULT '0',
  `google_adsense` mediumtext NOT NULL,
  `text_banner` mediumtext,
  `text_position` varchar(15) DEFAULT NULL,
  `text_font` varchar(25) DEFAULT NULL,
  `text_size` int(3) DEFAULT NULL,
  `text_color` varchar(6) DEFAULT NULL,
  `text_background_color` varchar(6) DEFAULT NULL,
  `text_background_image` int(4) DEFAULT '0',
  `add_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `links_to_url` varchar(255) DEFAULT NULL,
  `links_to_page` int(4) NOT NULL DEFAULT '0',
  `links_to_email` varchar(255) DEFAULT NULL,
  `links_to_picture` int(4) NOT NULL DEFAULT '0',
  `start_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `page` int(4) NOT NULL DEFAULT '0',
  `page_location` int(1) DEFAULT '0',
  `page_position` int(2) DEFAULT '0',
  `form_include` INT(4)  NOT NULL  DEFAULT '0',
  `form_location` INT(2)  NOT NULL  DEFAULT '0',
  `form_activate` INT(1)  NOT NULL  DEFAULT '0',
  `show_in_popup` smallint(1) NOT NULL DEFAULT '0',
  `ranking` int(4) NOT NULL DEFAULT '5',
  `grouping` int(4) NOT NULL DEFAULT '0',
  `created_by` int(4) NOT NULL DEFAULT '0',
  `dealer` int(4) NOT NULL DEFAULT '0',
  `impressions` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`banners_manager_id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;


CREATE TABLE  `banners_click_manager` (
 `banners_click_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `applies_to_banner` INT( 4 ) NOT NULL ,
 `click_date` DATE NOT NULL ,
 `click_time` TIME NOT NULL ,
 `ip_address` VARCHAR( 25 ) NOT NULL ,
PRIMARY KEY (  `banners_click_manager_id` )
) TYPE = MYISAM ;

CREATE TABLE `banners_view_manager`(  
  `banners_view_manager` INT(4) NOT NULL AUTO_INCREMENT,
  `applies_to_banner` INT(4) NOT NULL,
  `view_date` DATE NOT NULL,
  `view_time` TIME NOT NULL,
  `ip_address` VARCHAR(25) NOT NULL,
  PRIMARY KEY (`banners_view_manager`)
) TYPE = MYISAM;


CREATE TABLE  `banners_pages_manager` (
 `banners_pages_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT ,
 `applies_to_banner` INT( 4 ) DEFAULT  '0' NOT NULL ,
 `show_on_page` INT( 4 ) DEFAULT  '0' NOT NULL ,
 `show_on_page_specific` VARCHAR( 255 ) NOT NULL ,
 `show_on_market_specific` INT(11)  NOT NULL  DEFAULT '0' ,
 `banner_rank` INT( 4 ) NOT NULL DEFAULT '5',
 `banner_group` INT( 4 ) NOT NULL DEFAULT '0',
 `pinch_index` INT(1)  NOT NULL  DEFAULT '0',
PRIMARY KEY (  `banners_pages_manager_id` )
) TYPE = MYISAM ;


CREATE TABLE IF NOT EXISTS `banners_options` (
  `view_time` int(2) NOT NULL DEFAULT '3',
  `fade_time` int(2) NOT NULL DEFAULT '1',
  `transition` VARCHAR(20)  NOT NULL  DEFAULT 'fade',
  `display_order` varchar(75) NOT NULL DEFAULT 'order by ranking asc',
  `nav_buttons` tinyint(1) NOT NULL DEFAULT '0',
  `resize` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

INSERT INTO `banners_options` (`view_time`, `fade_time`, `display_order`, `nav_buttons`, `resize`) VALUES
(3, 1, 'order by ranking asc', 0, 0);


CREATE TABLE `staff_manager` (
  `staff_manager_id` int(4) NOT NULL AUTO_INCREMENT ,
  `user_id` int(4) NOT NULL default '0',
  `placement` int(2) NOT NULL default '0',
  `add_text` VARCHAR( 255 ) ,
  `show_email` tinyint(1) NOT NULL default '0',
  `show_phone` tinyint(1) NOT NULL default '0',
  `show_workphone` tinyint(1) NOT NULL default '0',
  `show_fax` tinyint(1) NOT NULL default '0',
  `show_workfax` tinyint(1) NOT NULL default '0',
  `show_mobile` tinyint(1) NOT NULL default '0',
  `show_workmobile` tinyint(1) NOT NULL default '0',
  `show_address` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`staff_manager_id`)
) TYPE = MYISAM ;

INSERT INTO `staff_manager` (`staff_manager_id`, `user_id`, `placement`, `show_email`, `show_phone`, `show_workphone`, `show_fax`, `show_workfax`, `show_mobile`, `show_workmobile`, `show_address`) VALUES 
(0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0);


CREATE TABLE `form_requests` (
`form_request_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`date_submitted` DATETIME NOT NULL ,
`dealership` VARCHAR( 40 ) NOT NULL ,
`requested_by` VARCHAR( 40 ) NOT NULL ,
`form_requested` VARCHAR( 100 ) NOT NULL ,
`quantity_requested` INT( 3 ) NOT NULL ,
`priority` INT( 1 ) NOT NULL ,
`dealer` VARCHAR( 150 ) NOT NULL ,
`attention` VARCHAR( 200 ) NOT NULL ,
`address` VARCHAR( 200 ) NOT NULL ,
`city` VARCHAR( 100 ) NOT NULL ,
`state` VARCHAR( 50 ) NOT NULL ,
`zip_code` VARCHAR( 15 ) NOT NULL ,
`contact_phone` VARCHAR( 40 ) NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE `chat_logs` (
`chat_logs_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`chat_identifier` VARCHAR( 40 ) NOT NULL ,
`initiator_id` INT( 4 ) NOT NULL ,
`responder_id` INT( 4 ) NOT NULL ,
`message_from_id` INT( 4 ) NOT NULL ,
`message` MEDIUMTEXT NOT NULL ,
`message_sent` DATETIME NOT NULL ,
`item_type` VARCHAR(50)  NOT NULL  DEFAULT '' ,
`item_id` INT(4)  NOT NULL  DEFAULT '0' ,
`archived` INT(4)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;


CREATE TABLE `chat_manager` (
  `chat_manager_id` int(4) NOT NULL auto_increment,
  `responder` int(4) NOT NULL default '0',
  `email_override` varchar(150) NOT NULL default '',
  `job_title_override` varchar(150) NOT NULL default '',
  `responder_away_date` DATE NOT NULL ,
  `responder_away_time` TIME NOT NULL ,
  `responder_here_date` DATE NOT NULL ,
  `responder_here_time` TIME NOT NULL ,
  `vehicle_inventory` TINYINT( 1 ) NOT NULL DEFAULT '0',
  `shopping_center` TINYINT( 1 ) NOT NULL DEFAULT '0',
  `equipment_inventory` TINYINT( 1 ) NOT NULL DEFAULT '0',
  `ebait` TINYINT( 1 ) NOT NULL DEFAULT '0',
  `all_pages` TINYINT( 1 ) NOT NULL DEFAULT '1',
  PRIMARY KEY  (`chat_manager_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;


CREATE TABLE `chat_options` (
  `chat_options_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `opening_chat_line_intro` varchar(200) NOT NULL DEFAULT '',
  `opening_chat_line_outro` varchar(200) NOT NULL DEFAULT '',
  `chat_bar_greeting_intro` varchar(200) NOT NULL DEFAULT '',
  `chat_bar_greeting_outro` varchar(200) NOT NULL DEFAULT '',
  `new_chat_sound` int(4) NOT NULL DEFAULT '0',
  `new_message_sound` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`chat_options_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


INSERT INTO `chat_options` (`chat_options_id`, `opening_chat_line_intro`, `opening_chat_line_outro`, `chat_bar_greeting_intro`, `chat_bar_greeting_outro`, `new_chat_sound`, `new_message_sound`)
VALUES
	(1,'Hello, ','! How can I help you?','',' is available to CHAT NOW!',0,0);



CREATE TABLE IF NOT EXISTS `chat_logs_public` (
  `chat_logs_public_id` int(4) NOT NULL AUTO_INCREMENT,
  `log_timestamp` datetime NOT NULL,
  `user_id` int(4) NOT NULL,
  `message` mediumtext NOT NULL,
  `ip_address` varchar(40) NOT NULL,
  `flagged_by` INT( 4 ) NOT NULL,
  PRIMARY KEY (`chat_logs_public_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;




 CREATE TABLE `craigslist_ads` (
`craigslist_ads_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`vehicle_id` INT( 4 ) NOT NULL ,
`vehicle_vin` VARCHAR( 25 ) NOT NULL ,
`craigslist_url` VARCHAR( 200 ) NOT NULL ,
`craigslist_price` INT( 6 ) NOT NULL ,
`craigslist_dealer_name` VARCHAR( 255 ) NOT NULL ,
`craigslist_proxy` INT( 4 ) NOT NULL DEFAULT '0' ,
`renew_count` INT( 4 ) NOT NULL DEFAULT '0' ,
`specific_location` VARCHAR( 200 ) NOT NULL ,
`created_time` TIME NOT NULL ,
`created_date` DATE NOT NULL ,
`renew_time` TIME NOT NULL ,
`renew_date` DATE NOT NULL ,
`market` VARCHAR( 200 ) NOT NULL ,
`market_abbreviation` VARCHAR( 25 ) NOT NULL ,
`posting_title` VARCHAR( 255 ) NOT NULL ,
`max_photos` INT( 2 ) NOT NULL ,
`listing_header` INT( 4 ) NOT NULL ,
`layout` INT( 1 ) NOT NULL ,
`listing_salesperson` VARCHAR( 200 ) NOT NULL ,
`listing_contact_number` VARCHAR( 20 ) NOT NULL ,
`listing_comments` MEDIUMTEXT NOT NULL ,
`listed_by` INT( 4 ) NOT NULL ,
`last_action` VARCHAR( 25 ) NOT NULL ,
`proxy_email` VARCHAR(50),
`cl_market` VARCHAR(3) NULL,
`cl_submarket` INT(3) NULL
) ENGINE = MYISAM ;



 CREATE TABLE `craigslist_stats` (
`craigslist_stats_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`craigslist_ads_id` INT( 4 ) NOT NULL ,
`hit_time` TIME NOT NULL ,
`hit_date` DATE NOT NULL ,
`ip_address` VARCHAR( 50 ) NOT NULL ,
`referrer` VARCHAR( 255 ) NOT NULL ,
`referrer_host` VARCHAR( 255 ) NOT NULL
) ENGINE = MYISAM ;





 CREATE TABLE `craigslist_equip_ads` (
`craigslist_equip_ads_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`equipment_header` INT( 4 ) NOT NULL ,
`serial` VARCHAR( 200 ) NOT NULL ,
`craigslist_url` VARCHAR( 200 ) NOT NULL ,
`craigslist_price` INT( 6 ) NOT NULL ,
`craigslist_dealer_name` VARCHAR( 255 ) NOT NULL ,
`specific_location` VARCHAR( 200 ) NOT NULL ,
`created_time` TIME NOT NULL ,
`created_date` DATE NOT NULL ,
`market` VARCHAR( 200 ) NOT NULL ,
`market_abbreviation` VARCHAR( 25 ) NOT NULL ,
`posting_title` VARCHAR( 255 ) NOT NULL ,
`max_photos` INT( 2 ) NOT NULL ,
`listing_header` INT( 4 ) NOT NULL ,
`layout` INT( 1 ) NOT NULL ,
`listing_salesperson` VARCHAR( 200 ) NOT NULL ,
`listing_contact_number` VARCHAR( 20 ) NOT NULL ,
`listing_comments` MEDIUMTEXT NOT NULL ,
`listed_by` INT( 4 ) NOT NULL ,
`last_action` VARCHAR( 25 ) NOT NULL
) ENGINE = MYISAM ;



 CREATE TABLE `craigslist_equip_stats` (
`craigslist_equip_stats_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`craigslist_equip_ads_id` INT( 4 ) NOT NULL ,
`hit_time` TIME NOT NULL ,
`hit_date` DATE NOT NULL ,
`ip_address` VARCHAR( 50 ) NOT NULL ,
`referrer` VARCHAR( 255 ) NOT NULL ,
`referrer_host` VARCHAR( 255 ) NOT NULL
) ENGINE = MYISAM ;



CREATE TABLE `zero_pricing_restore` (
`vin_identifier` VARCHAR( 20 ) NOT NULL ,
`price_restore` INT( 6 ) NOT NULL ,
PRIMARY KEY ( `vin_identifier` )
) ENGINE = MYISAM ;



CREATE TABLE `form_manager` (
  `form_manager_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `form_name` varchar(100) NOT NULL DEFAULT '',
  `field_location` INT(1)  NOT NULL  DEFAULT '0',
  `disclaimer` mediumtext NOT NULL,
  `contact_user` int(4) NOT NULL DEFAULT '0',
  `email_alternate` varchar(150) NOT NULL DEFAULT '',
  `adf_alternate` VARCHAR(250)  NOT NULL  DEFAULT '',
  `submit_button` varchar(75) NOT NULL DEFAULT 'Submit',
  `confirm_subject` VARCHAR(150)  NOT NULL  DEFAULT '',
  `confirm_message` MEDIUMTEXT  NOT NULL,
  `confirm_image` INT(4)  NOT NULL  DEFAULT '0',
  `confirm_body` MEDIUMTEXT  NOT NULL,
  PRIMARY KEY (`form_manager_id`)
) ENGINE=MyISAM ;


INSERT INTO `form_manager` (`form_manager_id`, `form_name`, `disclaimer`, `contact_user`, `email_alternate`) VALUES 
(1, 'Credit Application', 'By clicking &quot;Next&quot; you submit and certify that all of the information provided by you in this application is about you, is true and correct and made for the purpose of obtaining credit for you. You also certify that you have read the Privacy Policy and Legal Notices and therefore authorize us to use your information in processing your credit application.\\r\\n\\r\\nNotice to New Hampshire Residents: If you are applying for a balloon payment contract, you are entitled, if you ask, to receive a written estimate of the monthly payment amount for refinancing the balloon payment in accord with the creditor\'s existing refinancing programs. You would be entitled to receive the estimate before you enter into a balloon payment contract. A balloon contract is an installment sale contract with a final scheduled payment that is at least twice the amount of one of the earlier scheduled equal periodic installment payments. Notice to New York Residents: Consumer reports may be requested in connection with this application. Upon request, you will be informed whether or not a consumer report was requested and, if it was, of the name and address of the consumer-reporting agency that furnished the report. Additional consumer reports may be requested with respect to any extension or renewal of this obligation.\\r\\n\\r\\nNotice to Ohio Residents: The Ohio laws against discrimination require that all creditors make credit equally available to all credit worthy customers, and that credit reporting agencies maintain separate credit histories on each individual upon request.  The Ohio civil rights commission administers compliance with this law. Notice to Rhode Island Residents: Consumer reports may be requested in connection with this application.', 1, '');



CREATE TABLE `form_pages` (
  `form_pages_id` int(4) NOT NULL auto_increment,
  `use_form_fields` MEDIUMTEXT NOT NULL,
  `form_size` MEDIUMTEXT  NOT NULL,
  `required_fields` varchar(255) NOT NULL default '',
  `include_next_line` VARCHAR(255)  NOT NULL  DEFAULT '',
  `page_number` int(2) NOT NULL default '0',
  `use_file_id` int(4) NOT NULL default '0',
  `use_text` mediumtext NOT NULL,
  `apply_to_form` int(4) NOT NULL default '0',
  PRIMARY KEY  (`form_pages_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;


INSERT INTO `form_pages` (`form_pages_id`, `use_form_fields`, `required_fields`, `page_number`, `use_file_id`, `use_text`, `apply_to_form`) VALUES 
(1, '1|2|3|4|5|6', '', 1, 1001, '', 1),
(2, '7|8|9|10|11|12|13', '', 2, 1002, '', 1),
(3, '14|15|16|17|18', '', 3, 1003, '', 1),
(4, '19|20|21|22', '', 4, 1004, '', 1);



CREATE TABLE `form_fields` (
  `form_fields_id` int(4) NOT NULL auto_increment,
  `field_name` varchar(100) NOT NULL default '',
  `field_text` varchar(255) NOT NULL default '',
  `field_html` mediumtext NOT NULL,
  `field_options` mediumtext NOT NULL,
  `field_order` int(2) NOT NULL default '0',
  PRIMARY KEY  (`form_fields_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ;


INSERT INTO `form_fields` (`form_fields_id`, `field_name`, `field_text`, `field_html`, `field_options`, `field_order`) VALUES
(1, 'first_name', 'First name', '<input type="text" name="first_name" style="width:100px;font-size:14px;">', '', 1),
(2, 'last_name', 'Last Name', '<input type="text" name="last_name" style="width:100px;font-size:14px;">', '', 2),
(3, 'phone', 'Home Phone Number', '<input type="text" name="phone" style="width:200px;font-size:14px;">', '', 3),
(4, 'email', 'E-mail Address', '<input type="text" name="email" style="width:200px;font-size:14px;">', '', 4),
(5, 'birth_date', 'Date of Birth', '<input type="text" name="birth_date" style="width:150px;font-size:14px;">', '', 5),
(6, 'nuseso', 'Social Security #', '<input type="text" name="nuseso" style="width:150px;font-size:14px;">', '', 6),
(7, 'address', 'Address', '<input type="text" name="address" style="width:200px;font-size:14px;">', '', 7),
(8, 'city', 'City', '<input type="text" name="city" style="width:100px;font-size:14px;">', '', 8),
(9, 'state', 'State', '<input type="text" name="state" style="width:100px;font-size:14px;">', '', 9),
(10, 'zip_code', 'Zip Code', '<input type="text" name="zip_code" style="width:75px;font-size:14px;">', '', 10),
(11, 'housing_status', 'Housing Status', '<select name="housing_status" style="width:150px;font-size:14px;"></select>', 'Rent|Rent|Own|Own|Living with Relatives|Living with Relatives|Other.  Explain...|Other.  Explain...', 11),
(12, 'residence_time', 'Time at Residence', '<input type="text" name="residence_time" style="width:100px;font-size:14px;">', '', 12),
(13, 'previous_residence_time', 'Time at Previous Residence<br><span class=warning style=', '<input type="text" name="previous_residence_time" style="width:100px;font-size:14px;">', '', 13),
(14, 'current_employer', 'Current Employer', '<input type="text" name="current_employer" style="width:200px;font-size:14px;">', '', 14),
(15, 'job_time', 'Current Job Time', '<input type="text" name="job_time" style="width:100px;font-size:14px;">', '', 15),
(16, 'gross_income', 'Gross Income', '<input type="text" name="gross_income" style="width:125px;font-size:14px;">', '', 16),
(17, 'rate', 'Pay Rate', '<select name="rate" style="width:125px;font-size:14px;"></select>', 'Hourly|Hourly|Daily|Daily|Weekly|Weekly|Bi-Weekly|Bi-Weekly|Semi-Monthly|Semi-Monthly|Monthly|Monthly|Yearly|Yearly', 17),
(18, 'down_payment', 'Down Payment', '<select name="down_payment" style="width:125px;font-size:14px;"></select>', '0|NO|$1 - $250|$1 - $250|$251 - $500|$251 - $500|$501 - $750|$501 - $750|$751 - $1,000|$751 - $1,000|$1,001 - $1,500|$1,001 - $1,500|$1,501 - $2,000|$1,501 - $2,000|$2,001 - $2,500|$2,001 - $2,500|$2,501 - $3,000|$2,501 - $3,000|$3,001 or more|$3,001 or more', 18),
(19, 'trade_in', 'Trade-in Vehicle', '<select name="trade_in" style="font-size:14px;"></select>', '0|NO|1|YES', 19),
(20, 'co_applicant', 'Co-applicant Possible', '<select name="co_applicant" style="font-size:14px;"></select>', '1|YES|0|NO', 20),
(21, 'recent_bankruptcy', 'Recent Bankruptcy', '<select name="recent_bankruptcy" style="font-size:14px;"></select>', '0|NO|1|YES', 21),
(22, 'bankruptcy_discharged', 'Bankruptcy Discharged', '<select name="bankruptcy_discharged" style="font-size:14px;"></select>', '0|NO|1|YES', 22),
(27, 'day_phone', 'Work Phone', '<input type="text" name="day_phone" style="width:200px;font-size:14px;">', '', 27),
(28, 'evening_phone', 'Evening Phone', '<input type="text" name="evening_phone" style="width:200px;font-size:14px;">', '', 28),
(29, 'cell_phone', 'Cell Phone', '<input type="text" name="cell_phone" style="width:200px;font-size:14px;">', '', 29),
(30, 'current_employer', 'Company', '<input type="text" name="current_employer" style="width:200px;font-size:14px;">', '', 30),
(25, 'contact_via', 'Contact Me Via', '<select name="contact_via" style="width:200px;font-size:14px;"></select>', 'E-mail|E-mail|Daytime Phone|Daytime Phone|Evening Phone|Evening Phone|Cell Phone|Cell Phone', 28),
(26, 'vehicle_year', 'Vehicle Year', '<input type="text" name="vehicle_year" style="width:50px;font-size:14px;">', '', 23),
(23, 'vehicle_make', 'Vehicle Make', '<input type="text" name="vehicle_make" style="width:200px;font-size:14px;">', '', 23),
(24, 'vehicle_model', 'Vehicle Model', '<input type="text" name="vehicle_model" style="width:200px;font-size:14px;">', '', 24),
(31, 'vehicle_vin', 'Vehicle VIN', '<input type="text" name="vehicle_vin" style="width:200px;font-size:14px;">', '', 31),
(32, 'comments', 'Description of Parts', '<textarea rows=8 name="comments" style="width:200px;font-size:14px;"></textarea>', '', 32),
(33, 'previous_address', 'Previous Address', '<input type="text" name="previous_address" style="width:200px;font-size:14px;">', '', 33),
(34, 'previous_city', 'Previous City', '<input type="text" name="previous_city" style="width:100px;font-size:14px;">', '', 34),
(35, 'previous_state', 'Previous State', '<input type="text" name="previous_state" style="width:100px;font-size:14px;">', '', 35),
(36, 'previous_zip_code', 'Previous Zip', '<input type="text" name="previous_zip_code" style="width:75px;font-size:14px;">', '', 36),
(37, 'previous_employer', 'Previous Employer', '<input type="text" name="previous_employer" style="width:200px;font-size:14px;">', '', 37),
(38, 'vehicle_of_interest', 'Vehicle of Interest', '<input type="text" name="vehicle_of_interest" style="width:200px;font-size:14px;">', '', 38),
(39, 'custom1', 'What is your emergency?', '<textarea rows=8 name="custom1" style="width:200px;font-size:14px;"></textarea>', '', 39),
(40, 'custom2', 'Contact Number', '<input type="text" name="custom2" style="width:200px;font-size:14px;">', '', 40),
(103, 'custom3', 'Previous Address<br><span class=warning style=', '<input type="text" name="custom3" style="width:200px;font-size:14px;">', '', 103),
(104, 'custom4', 'Previous City / State / Zip<br><span class=warning style=', '<input type="text" name="custom4" style="width:200px;font-size:14px;">', '', 104),
(105, 'custom5', 'Previous Employer<br><span class=warning style=', '<input type="text" name="custom5" style="width:200px;font-size:14px;">', '', 105),
(106, 'custom6', 'Time at Previous Employer<br><span class=warning style=', '<input type="text" name="custom6" style="width:200px;font-size:14px;">', '', 106),
(107, 'custom7', 'Preivous Employer Phone<br><span class=warning style=', '<input type="text" name="custom7" style="width:200px;font-size:14px;">', '', 107),
(108, 'custom8', 'Landlord / Mortgage Holder', '<input type="text" name="custom8" style="width:200px;font-size:14px;">', '', 108),
(109, 'custom9', 'Holder Address', '<input type="text" name="custom9" style="width:200px;font-size:14px;">', '', 109),
(110, 'custom10', 'Holder City / State / Zip', '<input type="text" name="custom10" style="width:200px;font-size:14px;">', '', 110),
(111, 'custom11', 'Custom Field 11', '<input type="text" name="custom11" style="width:200px;font-size:14px;">', '', 111),
(112, 'custom12', 'Custom Field 12', '<input type="text" name="custom12" style="width:200px;font-size:14px;">', '', 112),
(113, 'custom13', 'Custom Field 13', '<input type="text" name="custom13" style="width:200px;font-size:14px;">', '', 113),
(114, 'custom14', 'Custom Field 14', '<input type="text" name="custom14" style="width:200px;font-size:14px;">', '', 114),
(115, 'custom15', 'Custom Field 15', '<input type="text" name="custom15" style="width:200px;font-size:14px;">', '', 115),
(116, 'custom16', 'Custom Field 16', '<input type="text" name="custom16" style="width:200px;font-size:14px;">', '', 116),
(117, 'custom17', 'Custom Field 17', '<input type="text" name="custom17" style="width:200px;font-size:14px;">', '', 117),
(118, 'custom18', 'Custom Field 18', '<input type="text" name="custom18" style="width:200px;font-size:14px;">', '', 118),
(119, 'custom19', 'Custom Field 19', '<input type="text" name="custom19" style="width:200px;font-size:14px;">', '', 119),
(120, 'custom20', 'Custom Field 20', '<input type="text" name="custom20" style="width:200px;font-size:14px;">', '', 120),
(121, 'custom21', 'Custom Field 21', '<input type="text" name="custom21" style="width:200px;font-size:14px;">', '', 121),
(122, 'custom22', 'Custom Field 22', '<input type="text" name="custom22" style="width:200px;font-size:14px;">', '', 122),
(123, 'custom23', 'Custom Field 23', '<input type="text" name="custom23" style="width:200px;font-size:14px;">', '', 123),
(124, 'custom24', 'Custom Field 24', '<input type="text" name="custom24" style="width:200px;font-size:14px;">', '', 124),
(125, 'custom25', 'Custom Field 25', '<input type="text" name="custom25" style="width:200px;font-size:14px;">', '', 125),
(126, 'custom26', 'Custom Field 26', '<input type="text" name="custom26" style="width:200px;font-size:14px;">', '', 126),
(127, 'custom27', 'Custom Field 27', '<input type="text" name="custom27" style="width:200px;font-size:14px;">', '', 127),
(128, 'custom28', 'Custom Field 28', '<input type="text" name="custom28" style="width:200px;font-size:14px;">', '', 128),
(129, 'custom29', 'Custom Field 29', '<input type="text" name="custom29" style="width:200px;font-size:14px;">', '', 129),
(130, 'custom30', 'Custom Field 30', '<input type="text" name="custom30" style="width:200px;font-size:14px;">', '', 130),
(131, 'custom31', 'Custom Field 31', '<input type="text" name="custom31" style="width:200px;font-size:14px;">', '', 131),
(132, 'custom32', 'Custom Field 32', '<input type="text" name="custom32" style="width:200px;font-size:14px;">', '', 132),
(133, 'custom33', 'Custom Field 33', '<input type="text" name="custom33" style="width:200px;font-size:14px;">', '', 133),
(134, 'custom34', 'Custom Field 34', '<input type="text" name="custom34" style="width:200px;font-size:14px;">', '', 134),
(135, 'custom35', 'Custom Field 35', '<input type="text" name="custom35" style="width:200px;font-size:14px;">', '', 135),
(136, 'custom36', 'Custom Field 36', '<input type="text" name="custom36" style="width:200px;font-size:14px;">', '', 136),
(137, 'custom37', 'Custom Field 37', '<input type="text" name="custom37" style="width:200px;font-size:14px;">', '', 137),
(138, 'custom38', 'Custom Field 38', '<input type="text" name="custom38" style="width:200px;font-size:14px;">', '', 138),
(139, 'custom39', 'Custom Field 39', '<input type="text" name="custom39" style="width:200px;font-size:14px;">', '', 139),
(140, 'custom40', 'Custom Field 40', '<input type="text" name="custom40" style="width:200px;font-size:14px;">', '', 140),
(141, 'custom41', 'Custom Field 41', '<input type="text" name="custom41" style="width:200px;font-size:14px;">', '', 141),
(142, 'custom42', 'Custom Field 42', '<input type="text" name="custom42" style="width:200px;font-size:14px;">', '', 142),
(143, 'custom43', 'Custom Field 43', '<input type="text" name="custom43" style="width:200px;font-size:14px;">', '', 143),
(144, 'custom44', 'Custom Field 44', '<input type="text" name="custom44" style="width:200px;font-size:14px;">', '', 144),
(145, 'custom45', 'Custom Field 45', '<input type="text" name="custom45" style="width:200px;font-size:14px;">', '', 145),
(146, 'custom46', 'Custom Field 46', '<input type="text" name="custom46" style="width:200px;font-size:14px;">', '', 146),
(147, 'custom47', 'Custom Field 47', '<input type="text" name="custom47" style="width:200px;font-size:14px;">', '', 147),
(148, 'custom48', 'Custom Field 48', '<input type="text" name="custom48" style="width:200px;font-size:14px;">', '', 148),
(149, 'custom49', 'Custom Field 49', '<input type="text" name="custom49" style="width:200px;font-size:14px;">', '', 149),
(150, 'custom50', 'Custom Field 50', '<input type="text" name="custom50" style="width:200px;font-size:14px;">', '', 150),
(151, 'custom51', 'Custom Field 51', '<input type="text" name="custom51" style="width:200px;font-size:14px;">', '', 151),
(152, 'custom52', 'Custom Field 52', '<input type="text" name="custom52" style="width:200px;font-size:14px;">', '', 152),
(153, 'custom53', 'Custom Field 53', '<input type="text" name="custom53" style="width:200px;font-size:14px;">', '', 153),
(154, 'custom54', 'Custom Field 54', '<input type="text" name="custom54" style="width:200px;font-size:14px;">', '', 154),
(155, 'custom55', 'Custom Field 55', '<input type="text" name="custom55" style="width:200px;font-size:14px;">', '', 155),
(156, 'custom56', 'Custom Field 56', '<input type="text" name="custom56" style="width:200px;font-size:14px;">', '', 156),
(157, 'custom57', 'Custom Field 57', '<input type="text" name="custom57" style="width:200px;font-size:14px;">', '', 157),
(158, 'custom58', 'Custom Field 58', '<input type="text" name="custom58" style="width:200px;font-size:14px;">', '', 158),
(159, 'custom59', 'Custom Field 59', '<input type="text" name="custom59" style="width:200px;font-size:14px;">', '', 159),
(160, 'custom60', 'Custom Field 60', '<input type="text" name="custom60" style="width:200px;font-size:14px;">', '', 160),
(161, 'custom61', 'Custom Field 61', '<input type="text" name="custom61" style="width:200px;font-size:14px;">', '', 161),
(162, 'custom62', 'Custom Field 62', '<input type="text" name="custom62" style="width:200px;font-size:14px;">', '', 162),
(163, 'custom63', 'Custom Field 63', '<input type="text" name="custom63" style="width:200px;font-size:14px;">', '', 163),
(164, 'custom64', 'Custom Field 64', '<input type="text" name="custom64" style="width:200px;font-size:14px;">', '', 164),
(165, 'custom65', 'Custom Field 65', '<input type="text" name="custom65" style="width:200px;font-size:14px;">', '', 165),
(166, 'custom66', 'Custom Field 66', '<input type="text" name="custom66" style="width:200px;font-size:14px;">', '', 166),
(167, 'custom67', 'Custom Field 67', '<input type="text" name="custom67" style="width:200px;font-size:14px;">', '', 167),
(168, 'custom68', 'Custom Field 68', '<input type="text" name="custom68" style="width:200px;font-size:14px;">', '', 168),
(169, 'custom69', 'Custom Field 69', '<input type="text" name="custom69" style="width:200px;font-size:14px;">', '', 169),
(170, 'custom70', 'Custom Field 70', '<input type="text" name="custom70" style="width:200px;font-size:14px;">', '', 170),
(171, 'custom71', 'Custom Field 71', '<input type="text" name="custom71" style="width:200px;font-size:14px;">', '', 171),
(172, 'custom72', 'Custom Field 72', '<input type="text" name="custom72" style="width:200px;font-size:14px;">', '', 172),
(173, 'custom73', 'Custom Field 73', '<input type="text" name="custom73" style="width:200px;font-size:14px;">', '', 173),
(174, 'custom74', 'Custom Field 74', '<input type="text" name="custom74" style="width:200px;font-size:14px;">', '', 174),
(175, 'custom75', 'Custom Field 75', '<input type="text" name="custom75" style="width:200px;font-size:14px;">', '', 175),
(176, 'custom76', 'Custom Field 76', '<input type="text" name="custom76" style="width:200px;font-size:14px;">', '', 176),
(177, 'custom77', 'Custom Field 77', '<input type="text" name="custom77" style="width:200px;font-size:14px;">', '', 177),
(178, 'custom78', 'Custom Field 78', '<input type="text" name="custom78" style="width:200px;font-size:14px;">', '', 178),
(179, 'custom79', 'Custom Field 79', '<input type="text" name="custom79" style="width:200px;font-size:14px;">', '', 179),
(180, 'custom80', 'Custom Field 80', '<input type="text" name="custom80" style="width:200px;font-size:14px;">', '', 180),
(181, 'custom81', 'Custom Field 81', '<input type="text" name="custom81" style="width:200px;font-size:14px;">', '', 181),
(182, 'custom82', 'Custom Field 82', '<input type="text" name="custom82" style="width:200px;font-size:14px;">', '', 182),
(183, 'custom83', 'Custom Field 83', '<input type="text" name="custom83" style="width:200px;font-size:14px;">', '', 183),
(184, 'custom84', 'Custom Field 84', '<input type="text" name="custom84" style="width:200px;font-size:14px;">', '', 184),
(185, 'custom85', 'Custom Field 85', '<input type="text" name="custom85" style="width:200px;font-size:14px;">', '', 185),
(186, 'custom86', 'Custom Field 86', '<input type="text" name="custom86" style="width:200px;font-size:14px;">', '', 186),
(187, 'custom87', 'Custom Field 87', '<input type="text" name="custom87" style="width:200px;font-size:14px;">', '', 187),
(188, 'custom88', 'Custom Field 88', '<input type="text" name="custom88" style="width:200px;font-size:14px;">', '', 188),
(189, 'custom89', 'Custom Field 89', '<input type="text" name="custom89" style="width:200px;font-size:14px;">', '', 189),
(190, 'custom90', 'Custom Field 90', '<input type="text" name="custom90" style="width:200px;font-size:14px;">', '', 190),
(191, 'custom91', 'Custom Field 91', '<input type="text" name="custom91" style="width:200px;font-size:14px;">', '', 191),
(192, 'custom92', 'Custom Field 92', '<input type="text" name="custom92" style="width:200px;font-size:14px;">', '', 192),
(193, 'custom93', 'Custom Field 93', '<input type="text" name="custom93" style="width:200px;font-size:14px;">', '', 193),
(194, 'custom94', 'Custom Field 94', '<input type="text" name="custom94" style="width:200px;font-size:14px;">', '', 194),
(195, 'custom95', 'Custom Field 95', '<input type="text" name="custom95" style="width:200px;font-size:14px;">', '', 195),
(196, 'custom96', 'Custom Field 96', '<input type="text" name="custom96" style="width:200px;font-size:14px;">', '', 196),
(197, 'custom97', 'Custom Field 97', '<input type="text" name="custom97" style="width:200px;font-size:14px;">', '', 197),
(198, 'custom98', 'Custom Field 98', '<input type="text" name="custom98" style="width:200px;font-size:14px;">', '', 198),
(199, 'custom99', 'Custom Field 99', '<input type="text" name="custom99" style="width:200px;font-size:14px;">', '', 199),
(200, 'custom100', 'Custom Field 100', '<input type="text" name="custom100" style="width:200px;font-size:14px;">', '', 200);




CREATE TABLE `form_submissions` (
`form_submissions_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`form_sent_from` VARCHAR( 100 ) NOT NULL ,
`form_sent_to` VARCHAR( 255 ) NOT NULL ,
`form_subject` VARCHAR( 255 ) NOT NULL ,
`form_contents` MEDIUMTEXT NOT NULL ,
`submission_time` DATETIME NOT NULL ,
`landing_page_manager_id` INT  NOT NULL  DEFAULT '0',
`page_manager_id` INT(11)  NOT NULL  DEFAULT '0'
) ENGINE = MYISAM ;



CREATE TABLE `service_appointment` (
`service_appointment_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`vehicle_year` INT( 4 ) NOT NULL ,
`vehicle_make` VARCHAR( 40 ) NOT NULL ,
`vehicle_model` VARCHAR( 80 ) NOT NULL ,
`vehicle_miles` VARCHAR( 20 ) NOT NULL ,
`vehicle_vin` VARCHAR( 20 ) NOT NULL ,
`services_needed` VARCHAR( 2100 ) NOT NULL ,
`additional_comments` MEDIUMTEXT NOT NULL ,
`preferred_day` VARCHAR( 40 ) NOT NULL ,
`preferred_time` VARCHAR( 30 ) NOT NULL ,
`alternate_day` VARCHAR( 40 ) NOT NULL ,
`alternate_time` VARCHAR( 30 ) NOT NULL ,
`user_id` INT( 4 ) NOT NULL ,
`preferred_contact` VARCHAR( 30 ) NOT NULL,
`dealer` INT( 4 ) NOT NULL ,
`submit_date` DATE NOT NULL ,
`submit_time` TIME NOT NULL ,
`source` varchar(50) NOT NULL default 'desktop'
) ENGINE = MYISAM ;


CREATE TABLE `services_available` (
`services_available_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`service` VARCHAR( 75 ) NOT NULL
) ENGINE = MYISAM ;


INSERT INTO `services_available` (`services_available_id`, `service`) VALUES 
(1, 'Scheduled Maintenance Checklist'),
(2, 'Oil & Filter Change'),
(3, 'Tire Rotation'),
(4, 'Alignment'),
(5, 'Timing Belt Replacement'),
(6, 'Cooling System Service'),
(7, 'Transmission Service'),
(8, '"Service Engine" Light Is On');


CREATE TABLE `video_manager` (
`video_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`video_url` VARCHAR( 200 ) NOT NULL ,
`video_fpm` INT( 4 ) NOT NULL DEFAULT '0',
`video_url_2` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_2` INT(4)  NOT NULL  DEFAULT '0',
`video_url_3` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_3` INT(4)  NOT NULL  DEFAULT '0',
`video_url_4` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_4` INT(4)  NOT NULL  DEFAULT '0',
`video_url_5` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_5` INT(4)  NOT NULL  DEFAULT '0',
`video_url_6` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_6` INT(4)  NOT NULL  DEFAULT '0',
`video_url_7` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_7` INT(4)  NOT NULL  DEFAULT '0',
`video_url_8` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_8` INT(4)  NOT NULL  DEFAULT '0',
`video_url_9` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_9` INT(4)  NOT NULL  DEFAULT '0',
`video_url_10` VARCHAR(200)  NOT NULL  DEFAULT '',
`video_fpm_10` INT(4)  NOT NULL  DEFAULT '0',
`video_date` DATETIME  NULL  DEFAULT '0000-00-00 00:00:00',
`title` VARCHAR( 200 ) NOT NULL ,
`description` MEDIUMTEXT NOT NULL ,
`keywords` MEDIUMTEXT NOT NULL ,
`preview_fpm` INT( 4 ) NOT NULL ,
`preview_url` VARCHAR( 200 ) NOT NULL ,
`vehicle` INT( 4 ) NOT NULL ,
`category` INT( 4 ) NOT NULL ,
`rank` INT(2)  NOT NULL  DEFAULT '10',
`active_from` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`active_until` DATETIME  NOT NULL  DEFAULT '0000-00-00 00:00:00',
`number_views` INT( 4 ) NOT NULL ,
`related_videos` VARCHAR( 50 ) NOT NULL ,
`youtube_url` VARCHAR( 200 ) NOT NULL ,
`yahoo_url` VARCHAR( 200 ) NOT NULL ,
`flickr_url` VARCHAR( 200 ) NOT NULL ,
`revver_url` VARCHAR( 200 ) NOT NULL ,
`blip_url` VARCHAR( 200 ) NOT NULL ,
`metacafe_url` VARCHAR( 200 ) NOT NULL ,
`vehicle_attach_dealer` INT(4)  NOT NULL  DEFAULT '0',
`vehicle_attach_type` VARCHAR( 10 ) NOT NULL,
`vehicle_attach_year` VARCHAR( 10 ) NOT NULL,
`vehicle_attach_make` VARCHAR( 80 ) NOT NULL,
`vehicle_attach_model` VARCHAR( 80 ) NOT NULL,
`vehicle_attach_trim` VARCHAR( 80 ) NOT NULL
) ENGINE = MYISAM;



CREATE TABLE `vehicle_cutouts` (
  `vehicle_cutouts_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `cutout_vin` varchar(30) NOT NULL DEFAULT '',
  `photo_number` int(2) NOT NULL DEFAULT '0',
  `file_name` varchar(150) NOT NULL DEFAULT '',
  `cutout_background` varchar(150) NOT NULL DEFAULT '',
  `dealer_id` varchar(40) NOT NULL DEFAULT '',
  `cutout_status` varchar(20) NOT NULL DEFAULT '',
  `cutout_queued` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `cutout_applied` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`vehicle_cutouts_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



CREATE TABLE `video_categories` (
`video_categories_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`category_name` VARCHAR( 50 ) NOT NULL ,
`smart_category` VARCHAR( 250 ) NOT NULL ,
`readonly` BOOL NOT NULL DEFAULT '0' ,
`videotype` VARCHAR( 100 ) NOT NULL DEFAULT 'vehicle'
) ENGINE = MYISAM;


insert into video_categories (category_name, readonly, videotype) values ('New Car Specials', '1', 'vehicle');
insert into video_categories (category_name, readonly, videotype) values ('Pre-owned Specials', '1', 'vehicle');
insert into video_categories (category_name, readonly, videotype) values ('Certified Specials', '1', 'vehicle');
insert into video_categories (category_name, readonly, videotype) values ('Vehicle Walk-arounds', '1', 'vehicle');
insert into video_categories (category_name, readonly, videotype) values ('About Our Dealership', '1', 'dealership');
insert into video_categories (category_name, readonly, videotype) values ('About Our Financing', '1', 'dealership');
insert into video_categories (category_name, readonly, videotype) values ('Credit Challenged Options', '1', 'dealership');
insert into video_categories (category_name, readonly, videotype) values ('Service Department Specials', '1', 'dealership');
insert into video_categories (category_name, readonly, videotype) values ('Parts Department Specials', '1', 'dealership');
insert into video_categories (category_name, readonly, videotype) values ('Body Shop Specials', '1', 'dealership');



CREATE TABLE `video_options` (
`default_description` MEDIUMTEXT NOT NULL ,
`default_keywords` MEDIUMTEXT NOT NULL ,
`default_video` INT( 4 ) NOT NULL DEFAULT '0' ,
`default_category` INT(4)  NOT NULL  DEFAULT '0',
`default_template` INT(4)  NOT NULL  DEFAULT '1'
) ENGINE = MYISAM ;



CREATE TABLE IF NOT EXISTS `warranty_import_options` (
  `has_header` tinyint(1) NOT NULL default '1',
  `delimiter` varchar(5) NOT NULL default ',',
  `fields` mediumtext NOT NULL,
  `append` tinyint(1) NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


INSERT INTO `warranty_import_options` (`has_header`, `delimiter`, `fields`, `append`) VALUES
(1, ',', ',first_name,last_name,vehicle_year,make,model,vin,mileage,purchased,zip_code,email,,,,,,,,,', 0);



CREATE TABLE IF NOT EXISTS `warranty_messages` (
  `warranty_messages_id` int(4) NOT NULL auto_increment,
  `message_name` varchar(200) default NULL,
  `email_from` VARCHAR( 200 ) NOT NULL,
  `email_reply_to` VARCHAR( 200 ) NOT NULL,
  `email_subject` VARCHAR( 200 ) NOT NULL,
  `header_image` int(4) NOT NULL default '0',
  `greeting_intro` mediumtext,
  `greeting_target` varchar(50) default NULL,
  `greeting_outro` varchar(255) default NULL,
  `body_text_1` mediumtext,
  `body_var_1` varchar(50) default NULL,
  `body_text_2` mediumtext,
  `body_var_2` varchar(50) default NULL,
  `body_text_3` mediumtext,
  `body_var_3` varchar(50) default NULL,
  `body_text_4` mediumtext,
  `body_var_4` varchar(50) default NULL,
  `body_text_5` mediumtext,
  `body_var_5` varchar(50) default NULL,
  `body_text_6` mediumtext,
  `body_var_6` varchar(50) default NULL,
  `body_text_7` mediumtext,
  `body_var_7` varchar(50) default NULL,
  `body_text_8` mediumtext,
  `body_var_8` varchar(50) default NULL,
  `body_text_9` mediumtext,
  `body_var_9` varchar(50) default NULL,
  `body_text_10` mediumtext,
  `body_var_10` varchar(50) default NULL,
  `disclaimer_1` varchar(255) NOT NULL default 'Extended Protector Service Contract rates outlined above are based on our records of your vehicle\'s odometer mileage of',
  `disclaimer_2` varchar(255) NOT NULL default 'recorded during last in-store service inspection.',
  `button_image` int(4) NOT NULL default '0',
  `mileage_from` int(5) NOT NULL default '-1',
  `mileage_to` int(5) NOT NULL default '-1',
  `months_purchased_from` int(3) NOT NULL default '-1',
  `months_purchased_to` int(3) NOT NULL default '-1',
  `months_serviced_from` int(3) NOT NULL default '-1',
  `months_serviced_to` int(3) NOT NULL default '-1',
  `service_cost_from` FLOAT( 8, 2 ) NOT NULL DEFAULT '-1',
  `service_cost_to` FLOAT( 8, 2 ) NOT NULL DEFAULT '-1',
  PRIMARY KEY  (`warranty_messages_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;



CREATE TABLE IF NOT EXISTS `warranty_eligible_vehicles` (
  `warranty_eligible_vehicles_id` int(4) NOT NULL auto_increment,
  `make` varchar(100) NOT NULL,
  `model` varchar(100) NOT NULL,
  `trim_keywords` VARCHAR( 255 ) NOT NULL,
  `classification` varchar(20) NOT NULL,
  PRIMARY KEY  (`warranty_eligible_vehicles_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=133 ;


INSERT INTO `warranty_eligible_vehicles` (`warranty_eligible_vehicles_id`, `make`, `model`, `classification`) VALUES
(1, 'Acura', '', 'C'),
(2, 'Audi', '', 'C'),
(3, 'BMW', '', 'C'),
(4, 'Buick', '', 'B'),
(5, 'Buick', 'Century', 'C'),
(6, 'Buick', 'Lucerne', 'C'),
(7, 'Buick', 'Park Avenue', 'C'),
(8, 'Buick', 'Regal', 'C'),
(9, 'Buick', 'Rendezvous', 'B'),
(10, 'Buick', 'Rainier', 'B'),
(11, 'Cadillac', '', 'C'),
(12, 'Chevrolet', '', 'B'),
(13, 'Chevrolet', 'Aveo', 'A'),
(14, 'Chevrolet', 'C/K', 'C'),
(15, 'Chevrolet', 'Camaro', 'C'),
(16, 'Chevrolet', 'Cobalt', 'A'),
(17, 'Chevrolet', 'Colorado', 'A'),
(18, 'Chevrolet', 'Corvette', 'C'),
(19, 'Chevrolet', 'Express', 'C'),
(20, 'Chevrolet', 'G', 'C'),
(21, 'Chevrolet', 'HHR', 'B'),
(22, 'Chevrolet', 'S-10', 'A'),
(23, 'Chevrolet', 'Silverado', 'C'),
(24, 'Chevrolet', 'SSR', 'C'),
(25, 'Chevrolet', 'Suburban', 'C'),
(26, 'Chevrolet', 'Tahoe', 'C'),
(27, 'Chevrolet', 'Tracker', 'A'),
(28, 'Chevrolet', 'Yukon', 'C'),
(29, 'Chrysler', '', 'B'),
(30, 'Chrysler', 'Aspen', 'C'),
(31, 'Chrysler', 'LHS', 'C'),
(32, 'Dodge', '', 'B'),
(33, 'Dodge', 'B/D', 'C'),
(34, 'Dodge', 'Charger', 'C'),
(35, 'Dodge', 'Durango', 'C'),
(36, 'Dodge', 'Magnum', 'C'),
(37, 'Dodge', 'Neon', 'A'),
(38, 'Dodge', 'Ram 2500', 'C'),
(39, 'Dodge', 'Ram 3500', 'C'),
(40, 'Dodge', 'Ramcharger', 'C'),
(41, 'Ford', '', 'B'),
(42, 'Ford', 'Escort', 'A'),
(43, 'Ford', 'Ranger', 'A'),
(44, 'Ford', 'Focus', 'A'),
(45, 'Ford', 'Thunderbird', 'C'),
(46, 'Ford', 'E', 'C'),
(47, 'Ford', 'F-250', 'C'),
(48, 'Ford', 'F-350', 'C'),
(49, 'Ford', 'Expedition', 'C'),
(50, 'Ford', 'Excursion', 'C'),
(51, 'GMC', '', 'B'),
(52, 'GMC', 'C/K', 'C'),
(53, 'GMC', 'Canyon', 'A'),
(54, 'GMC', 'Denali', 'C'),
(55, 'GMC', 'Envoy', 'C'),
(56, 'GMC', 'G', 'C'),
(57, 'GMC', 'Savana', 'C'),
(58, 'GMC', 'Sierra', 'C'),
(59, 'Honda', '', 'B'),
(60, 'Honda', 'Civic', 'A'),
(61, 'Hyundai', '', 'B'),
(62, 'Infiniti', '', 'C'),
(63, 'Isuzu', '', 'B'),
(64, 'Jaguar', '', 'C'),
(65, 'Jeep', '', 'B'),
(66, 'Jeep', 'Grand Cherokoo', 'C'),
(67, 'Jeep', 'Wrangler', 'C'),
(68, 'Kia', '', 'B'),
(69, 'Land Rover', '', 'C'),
(70, 'Lexus', '', 'C'),
(71, 'Lincoln', '', 'C'),
(72, 'Mazda', '', 'B'),
(73, 'Mazda', 'Mazda3', 'A'),
(74, 'Mazda', 'Protege', 'A'),
(75, 'Mercury', '', 'B'),
(76, 'Mini', '', 'C'),
(77, 'Mitsubishi', '', 'B'),
(78, 'Mitsubishi', 'Diamante', 'C'),
(79, 'Mitsubishi', 'Eclipse', 'C'),
(80, 'Mitsubishi', 'Galant', 'C'),
(81, 'Mitsubishi', 'Lancer Revolution', 'C'),
(82, 'Nissan', '', 'B'),
(83, 'Nissan', 'Armada', 'C'),
(84, 'Nissan', 'Maxima', 'C'),
(85, 'Nissan', 'Sentra', 'A'),
(86, 'Nissan', 'Versa', 'A'),
(87, 'Nissan', 'Z', 'C'),
(88, 'Oldsmobile', '', 'B'),
(89, 'Oldsmobile', 'Aurora', 'C'),
(90, 'Plymouth', '', 'B'),
(91, 'Plymouth', 'Neon', 'A'),
(92, 'Pontiac', '', 'B'),
(93, 'Pontiac', 'Firebird', 'C'),
(94, 'Pontiac', 'Grand Prix', 'C'),
(95, 'Pontiac', 'GTO', 'C'),
(96, 'Saab', '', 'C'),
(97, 'Saturn', '', 'B'),
(98, 'Scion', '', 'A'),
(99, 'Subaru', '', 'B'),
(100, 'Suzuki', '', 'B'),
(101, 'Suzuki', 'Reno', 'A'),
(102, 'Suzuki', 'Forenza', 'A'),
(103, 'Toyota', '', 'B'),
(104, 'Toyota', 'Corolla', 'A'),
(105, 'Toyota', 'Echo', 'A'),
(106, 'Toyota', 'Land Cruiser', 'C'),
(107, 'Toyota', 'T-100', 'C'),
(108, 'Toyota', 'Yaris', 'A'),
(109, 'Volkswagen', '', 'B'),
(110, 'Volkswagen', 'Eurovan', 'C'),
(111, 'Volkswagen', 'Passat', 'C'),
(112, 'Volkswagen', 'Touareg', 'C'),
(113, 'Volvo', '', 'C'),
(114, 'Acura', 'NSX', 'I'),
(115, 'Audi', 'V8', 'I'),
(116, 'BMW', 'Z8', 'I'),
(117, 'BMW', '7', 'I'),
(118, 'BMW', '8', 'I'),
(119, 'Cadillac', 'CTS', 'I'),
(120, 'Cadillac', '4.1', 'I'),
(121, 'Cadillac', 'XLR', 'I'),
(122, 'Dodge', 'Stealth', 'I'),
(123, 'Dodge', 'Viper', 'I'),
(124, 'Ford', 'GT', 'I'),
(125, 'Ford', 'Mustang Cobra', 'I'),
(126, 'Jaguar', 'XJ6', 'I'),
(127, 'Jaguar', 'XJ8', 'I'),
(128, 'Jaguar', 'XK8', 'I'),
(129, 'Jaguar', 'XKR', 'I'),
(130, 'Mitsubishi', '3000GT', 'I'),
(131, 'Plymouth', 'Prowler', 'I'),
(132, 'Volkswagen', 'Phaeton', 'I');

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

--
-- Table structure for table `warranty_phrases`
--

CREATE TABLE IF NOT EXISTS `warranty_phrases` (
  `warranty_phrases_id` int(4) NOT NULL auto_increment,
  `phrase` varchar(255) NOT NULL,
  `text` mediumtext NOT NULL,
  `page` VARCHAR( 20 ) NOT NULL,
  PRIMARY KEY  (`warranty_phrases_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=39 ;


INSERT INTO `warranty_phrases` (`warranty_phrases_id`, `phrase`, `text`, `page`) VALUES
(1, 'left_box_label', 'Map My Vehicle''s Manufacturer Warranty Coverage', '1'),
(2, 'left_box_label_color', 'D00000', '1'),
(3, 'left_box_background_color', 'E4E4E4', '1'),
(4, 'left_box_text_color', '000000', '1'),
(6, 'miles', 'Miles', '1'),
(7, 'zip_code', 'Zip Code', '1'),
(8, 'next', 'Next', '1'),
(9, 'left_box_bottom_text', 'After reviewing your current manufacturer''s warranty My Warranty Map will provide a Quick Quote of available Protector extended service contracts. *NO phone solicitor will contact you!', '1'),
(10, 'right_box_label', 'Just complete the information to the left and My Warranty Map will provide you with an overview of your manufacturer''s Warranty Coverage along with options for an extended Protector vehicle service contract.', '1'),
(11, 'right_box_label_color', '000000', '1'),
(12, 'right_box_background_color', 'DCE5FF', '1'),
(13, 'right_box_image_id', '0', '1'),
(14, 'right_box_image_url', 'http://mywarrantymap.com/extra_images/family.jpg', '1'),
(15, 'left_box_label_color', 'D00000', '2'),
(16, 'left_box_text_color', '000000', '2'),
(17, 'left_box_background_color', 'E4E4E4', '2'),
(18, 'left_box_text', 'Manufacturer''s Warranty', '2'),
(19, 'see_plans', 'See Protector Extended Service Plan Options', '2'),
(20, 'right_box_text', '<b>Basic Warranty:</b><br>This is the specific terms established by each manufacturer to repair vehicles for a specified mileage and/or time period. All factory installed parts are covered against defects and workmanship. This "bumper-to-bumper" warranty is always the most comprehensive.<br><br><b>Powertrain Warranty:</b><br>The portion that begins after the basic warranty expires. Typically, this covers only the engine and transmission. Many powertrain warranties are not transferable to new owners. Check your manufacturer warranty booklet for further details.', '2'),
(21, 'right_box_text_color', '000000', '2'),
(22, 'right_box_background_color', 'DCE5FF', '2'),
(23, 'above_left_box_label_color', '000000', '3'),
(24, 'above_left_box_label', 'Congratulations on your new purchase!', '3'),
(25, 'left_box_label_color', 'D00000', '3'),
(26, 'left_box_background_color', 'E4E4E4', '3'),
(27, 'left_box_text', 'Manufacturer''s Warranty', '3'),
(28, 'left_box_text_color', '000000', '3'),
(29, 'right_box_text', 'We''re glad to see you are still concerned with protecting your investment with a vehicle service contract.<br><br>The good news is that the same quality coverage recently offered by the dealership is still available today!<br><br>It''s quick & easy.<br><br>Below is our most popular service contact with the same coverage you read about in your digital brochure.<br><br>By purchasing today you can also take advantage of no interest financing and you cannot be turned down.', '3'),
(30, 'right_box_text_color', '000000', '3'),
(31, 'retail_price', 'Total Price', '3'),
(32, 'term_or_mileage', 'Term or Mileage', '3'),
(33, 'monthly_financing', 'Monthly Financing', '3'),
(34, 'choice', 'Choice', '3'),
(35, 'buy_now', 'Buy Now', '3'),
(176, 'to_proceed_enter_vin', 'To proceed with a plan, please enter your vehicle identification number:', '3'),
(175, 'proceed', 'Proceed', '3'),
(41, 'i_know_the_vin', 'If you know the VIN, type it here:', '1'),
(39, 'no_warranty_available', 'Sorry, there is no extended Protector vehicle service contract available for this vehicle at this time.', '3'),
(40, 'dealer', '1', '0'),
(42, 'i_dont_know_the_vin', 'If you don''t, no problem! Just type in the following:', '1'),
(43, 'year', 'Year', '1'),
(44, 'make', 'Make', '1'),
(45, 'model', 'Model', '1'),
(46, 'also_provide_this_info', 'Please also give us the mileage on your vehicle, your zip code, and check if your car has the below options.', '1'),
(47, '4wd_awd', '4WD / AWD', '1'),
(48, 'turbo_supercharged', 'Turbo / Supercharged', '1'),
(49, 'diesel', 'Diesel', '1'),
(51, 'lienholder', 'USWC Premium Finance Company', '4'),
(52, 'dealer_code', 'D34L3RC0D3', '4'),
(174, 'error_no_zip_code', 'Please type in your zip code.', '1'),
(173, 'error_no_vehicle_mileage', 'Please type in the mileage of the vehicle.', '1'),
(172, 'error_no_vehicle_model', 'Please type in the model of the vehicle.', '1'),
(171, 'error_no_vehicle_make', 'Please type in the make of the vehicle.', '1'),
(66, 'index', 'Throughout this agreement, "YOU" and "YOUR" mean the customer named as a service agreement holder in the Declarations. "WE", "US" and "OUR" refer to Protector Warranty Corp. ("PWC"). In the event of a mechanical breakdown of a covered part, WE agree to pay or reimburse YOU for the reasonable costs to repair or replace the hereinafter described parts of the covered vehicle, for the amount of such costs in excess of the deductible, subject to the terms and conditions, and limitations herein.\r\n\r\nPLAN COVERAGE: The plan coverage that applies to YOUR vehicle is determined by which box is selected in the Declarations. The Auto Master Maintenance Plan is not regulated by the Florida Office of Insurance Regulation and can ONLY be purchased in conjunction with the motor vehicle service agreement. The Road Hazard Plan can be purchased alone or in conjunction with another plan.\r\n\r\nWRAPAROUND/CERTIFIED VEHICLES: If YOU purchased a Wraparound or Certified Vehicle plan, the coverage will "wrap" around the manufacturer''s original powertrain factory warranty or factory issued certified warranty. The components covered under the manufacturer''s original powertrain factory warranty or factory issued certified warranty are not covered.\r\n\r\nSERVICE AGREEMENT PERIOD: New Vehicle, Wraparound, and Certified Vehicle Plans begin on the purchase date and effective mileage and provide coverage up to the earlier of the number of months or miles purchased until the expiration date or expiration mileage, which is calculated from the "original in- service-date" or "zero (0) miles", whichever occurs first, regardless of the mileage at the time of purchase.\r\n\r\nPre-Owned Vehicle with Factory Warranty remaining, Pre-Owned Vehicle, Road Hazard, and Auto Master Maintenance coverage Plans begin on the purchase date and effective mileage and provide coverage up to the earlier of the number of months or miles purchased until the expiration date or expiration mileage, which is calculated from the "date of purchase" or "effective mileage", whichever occurs first.\r\n\r\nDEFINITIONS:<ol><li>ÒCovered VehicleÓ means the vehicle described in the Declarations.<li>ÒMechanical Breakdown or FailureÓ means the inability of any covered part to perform the function(s) for which it was designed due to an inherent material failure. Damage shall not be taken to constitute mechanical breakdown or failure.<li>ÒOdometer MilesÓ means the actual miles traveled as measured by an operative odometer.<li>ÒCostÓ means the usual and reasonable charges for parts and labor to replace the components covered.<li>ÒExpiration DateÓ means the date the vehicle is no longer eligible for coverage.<li>ÒExpiration MileageÓ means that when the continuously operational odometer registers this mileage, the vehicle is no longer eligible for coverage.<li>ÒDeductibleÓ means the amount that shall be deducted from the cost of the covered repair for each repair visit.<li>"Original In-Service-Date" means the date the vehicle was first titled.<li>"Wraparound/Certified Coverage" means this contract is secondary to any outstanding warranty/insurance coverage or program from the manufacturer or distributor.</ol>\r\n\r\nCOVERAGE SECTIONS:Section 1: Mechanical Breakdown Coverage - New Vehicles, Pre-owned Vehicles with Factory Warranty Remaining, Wraparound, and Certified VehiclesSection 2: Mechanical Breakdown Coverage - Pre-owned Vehicles without Factory Warranty Remaining and Certified VehiclesSection 3: Optional Coverage - Auto Master Maintenance PlanSection 4: Road Hazard CoverageSection 5: Rental Car AllowanceSection 6: Towing AllowanceSection 7: Claims ProceduresSection 8: Exclusions and ConditionsSection 9: General', 'contract'),
(67, 'section_1', 'SECTION 1\r\nMECHANICAL BREAKDOWN COVERAGE\r\nNEW VEHICLES, PRE-OWNED VEHICLES WITH FACTORY\r\nWARRANTY REMAINING, WRAPAROUND, AND CERTIFIED VEHICLES\r\n\r\nPROTECTOR\r\nENGINE All internal lubricated parts, Ignition Coil, Cylinder block (excluding freeze plugs), Cylinder heads, Diesel injectors and lines, Diesel injector pump, Diesel lift pump, Engine mounts, Flywheel, Flywheel ring gear, Fuel tank and lines, Gas fuel injectors and lines, Harmonic balancer, Manifold; exhaust, Manifold; intake, Oil pump, Radiator and Radiator fan clutch or motor, Seals and gaskets, Thermostat, Thermostat housing, Timing chain cover, Timing chain, Timing gears, Timing belt, Turbocharger/Supercharger unit (factory installed only), Valve covers, Water pump.\r\n\r\nTRANSMISSION All internal parts, Governor assembly, Heat shield modulator, Kickdown linkage, Release hubs and bearings, Seals and gaskets, Torque converter, Transfer case, Transmission case, Transmission linkage, External transmission module, Transmission mounts, Vacuum module.\r\n\r\nFRONT-WHEEL DRIVE Axle shafts, Front-wheel bearings, Rear-wheel bearings, Constant velocity and universal joints, Driving gear, Final drive housing and all internal parts, Automatic front-locking hubs (four-wheel-drive), Seals and gaskets\r\n\r\nREAR-WHEEL DRIVE Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings, Drive axle housing and all internal parts, Drive shaft, Seals and gaskets, Universal and Constant velocity joints.\r\n\r\nSTEERING COLUMN lock, Cooler and lines, Control valve, Cylinder, Idler arm, Linkage and couplings, Power steering pump, Power steering pump pulley assembly, Seals and gaskets, Steering gear housing, manual and power (includes all internal parts).\r\n\r\nAIR CONDITIONING AND HEATING - FACTORY INSTALLED A/C Clutch, A/C Clutch bearings, A/C Compressor, A/C Control head, A/C Compressor seals, A/C Compressor/clutch switch, Automatic temperature control, Condenser, Evaporator core, Field coil, Heater blower motor, Heater core assembly, A/C clutch assembly pulley.\r\n\r\nSUSPENSION Ball joints, Control arms, Control arms shafts and bushings, King pins and bushings, Linkage and bushings, Load leveler suspension system, Spindle and spindle supports, Springs (front and rear), Stabilizer bar, McPherson struts (front and rear), Tie rods.\r\n\r\nBRAKES Backing plates, Power brake booster, Calipers, Combination valve, Lines and fittings, Master cylinder, Parking brake linkage and cables, Retainers and clips, Self- adjustor, Brake pedal shaft, Springs, Wheel cylinders.\r\n\r\nELECTRICAL Alternator, Distributor assembly, Distributor cap and rotor, Distributor housing and shaft, Fuel pump, Ignition module, Radiator fan relay, Starter motor, Starter motor solenoid, Manually operated electrical switches, Voltage regulator, Wiper motors, Wiring harnesses (excluding spark plug wires).\r\n\r\nHIGH-TECH Electronic air suspension, Anti-lock brake module, ABS sensor, Anti- theft alarm - factory installed, Compass and thermometer readout displays, Instrument cluster (excluding dash pad, clock, radio & graphic equalizer), Keyless entry system (excluding door handles), Power antenna, Power door locks and retainer clips (excluding door handles), Power seat motors, Power window motor/regulators, Cruise control.\r\n\r\nPROTECTOR PLUS\r\nENGINE - All internal lubricated parts, Ignition coil, Cylinder block (excluding freeze plugs), Cylinder heads, Diesel injectors and lines, Diesel injector pump, Diesel lift pump, Engine mounts, Flywheel, Flywheel ring gear, Fuel tank and lines, Gas fuel injectors and lines, Harmonic balancer, Manifold; exhaust, Manifold; intake, Oil pump, Radiator and radiator fan, Radiator fan clutch or motor, Seals and gaskets, Thermostat, Thermostat housing, Timing chain cover, Timing chain, Timing gears, Timing belt, Turbocharger/supercharger unit - factory installed, Valve covers, Water pump. \r\n\r\nTRANSMISSION - All internal parts, Governor assembly, Heat shield modulator, Kickdown linkage, Release hubs and bearings, Seals and gaskets, Torque converter, Transfer case, Transmission case, Transmission linkage, External transmission module, Transmission mounts, Vacuum module.\r\n\r\nFRONT-WHEEL DRIVE - Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings, Constant velocity and universal joints, Driving gear, Final drive housing and internal parts, Automatic front-locking hubs (four-wheel-drive), Locking rings (four-wheel-drive), Seals and gaskets.\r\n\r\nREAR-WHEEL DRIVE -Axle shafts, Front-wheel bearings, Rear-wheel bearings and Axle hub bearings, Drive axle housing and all internal parts, Drive shaft, Drivetrain retainers, Seals and gaskets, Universal and Constant velocity joints.\r\n\r\nSTEERING - Column lock, Cooler and lines, Control valve, Cylinder, Idler Arm, Linkages and couplings, Power steering pump, Power steering pump assembly, Seals and gaskets, Steering gear housing; manual and power (includes all internal parts).\r\n\r\nAIR, CONDITIONING AND HEATING - FACTORY INSTALLED - A/C accumulator, A/C clutch, A/C clutch bearings, A/C compressor, A/C control head, A/C compressor seals, A/C compressor/clutch switch, Automatic temperature control, Condenser, Evaporator core, Field coil, Heater blower motor, Heater control cables, Heater core assembly, Instrument panel registers, Instrument panel air ducts, A/C clutch assembly pulley.\r\n\r\nSUSPENSION - Ball joints, Control arms, Control arms shafts and bushings, King pins and bushings, Linkage and bushings, Load leveler suspension system, Spindle and spindle supports, Springs (front and rear) Stabilizer bar; McPherson struts (front and rear), Tie rods.\r\n\r\nBRAKES - Backing plates, Power brake booster, Calipers, Combination valve, Lines and fittings, Master cylinder, Parking brake and linkage and cables, Retainers and clips, Self adjustor, Brake pedal shaft, Springs, Wheel cylinders.\r\n\r\nELECTRICAL - Alternator, Distributor assembly, Distributor cap and rotor, Distributor housing and shaft, Fuel pump, Ignition module, Radiator fan relay, Manually operated electrical switches, Starter motor, Starter solenoid, Voltage regulator, Wiper motors, Wiring harnesses (excluding spark plug wires).\r\n\r\nHIGH-TECH - Electronic air suspension, Anti-lock brake module, ABS sensor, Anti,theft alarm (factory installed only), Compass and therometer readout displays, Instrument cluster (excluding dash pad, clock, radio & graphic equalizer), Power antenna, Power door locks and retainer clips (excluding door handles), Power seat motors, Power window motor/regulator, Cruise control, Keyless entry system (excluding door handles).\r\n\r\nSAFETY - Airbag diagnostic module assembly, Airbag sensors, Airbag wiring assembly, Bezel guides, Door lock cylinder, Door lock lever assembly, Headrest retainers, Headrest sleeves, Lock lever retainer; clips and brackets, Passive restraint module, Seat belt brackets, Seat belt buckles, Seat belt restraint carrier, Seat belt supports, Seat belt track assembly, Shoulder strap brackets, Shoulder strap supports, Shoulder strap track assembly, Tailgate lock lever assembly.\r\n\r\nEMISSIONS - AIR control valve, AIR idle vacuum valve, AIR supply valve, hose and tube, AIR check valve assembly, Barometric pressure sensor, ECC relay assembly, EGR control valve, EGR pressure sensor, EGR regulator assembly, EGR valve adapter, EVAP vapor storage canister, Idler air control valve, Knock sensor, PCV house assembly, PCV valve, PCV vapor filter, Engine coolant temperature sensor, Vacuum resistor, VAF sensor.', 'contract'),
(68, 'section_2', 'SECTION 2\r\nMECHANICAL BREAKDOWN COVERAGE\r\nPRE-OWNED VEHICLES WITH NO FACTORY WARRANTY REMAINING\r\nAND CERTIFIED VEHICLES\r\n\r\nPOWERTRAIN\r\nENGINE - All internal lubricated parts, Cylinder block (excluding freeze plugs), Cylinder heads, Flywheel, Manifold; exhaust, Manifold; intake, Oil pan, Oil pump, Seals and gaskets, Thermostat, Thermostat housing, Timing chain cover, Timing chain, Timing gears, Timing belt, Turbocharger/Supercharger unit (factory installed only), Valve covers, Water pump.\r\n\r\nTRANSMISSION - All internal parts, Seals and gaskets, Torque converter, Transfer case, Transmission case.\r\n\r\nFRONT-WHEEL DRIVE - Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings, Constant velocity and Universal joints, Final drive housing and all internal parts, Automatic front-locking hubs (four-wheel-drive), Locking rings (four- wheel-drive), Seals and gaskets.\r\n\r\nREAR-WHEEL DRIVE -Axle shafts, Front-wheel bearings, Rear-wheel bearings and Axle hub bearings, Drive axle housing and all internal parts, Drive shaft, Drivetrain retainers, Seals and gaskets, Universal and Constant velocity joints.\r\n\r\nBASE\r\nENGINE - All internal lubricated parts, Cylinder block (excluding freeze plugs), Cylinder heads, Diesel injector pump, Flywheel, Gas fuel injectors and lines, Harmonic balancer, Manifold; exhaust, Manifold; intake, Oil pan, Oil pump, Seals and gaskets, Thermostat, Thermostat housing, Timing chain, Timing Chain Cover, Timing gears, Timing belt, Turbocharger/Supercharger unit - factory installed, Valve covers, Water pump.\r\n\r\nTRANSMISSION - All internal parts, Governor assembly, Heat shield modulator, Seals and gaskets, Torque converter, Transfer case, Transmission case.\r\n\r\nFRONT-WHEEL DRIVE - Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings, Constant velocity and Universal joints, Final drive housing and all internal parts, Automatic front-locking hubs (four-wheel-drive), Locking rings (four- wheel-drive), Seals and gaskets.\r\n\r\nREAR-WHEEL DRIVE - Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings, Drive axle housing and all internal parts, Drive shaft, Drivetrain retainers, Seals and gaskets, Universal and Constant velocity joints.\r\n\r\nSTEERING - Column lock, Cooler and lines, Control valve, Cylinder, Idler arm, Linkages and couplings, Power steering pump, Power steering pump pulley assembly, Seals and gaskets, Steering gear housing; manual and power (includes all internal parts).\r\n\r\nAIR CONDITIONING AND HEATING - FACTORY INSTALLED - A/C clutch, A/C clutch bearings, A/C compressor, A/C control head, A/C compressor seals, A/C compressor/clutch switch, Condenser, Evaporator core, Field Coil, A/C clutch assembly pulley.\r\n\r\nSUSPENSION - Ball joints, Control arms, control arms shafts and bushings, King pins and bushings, Linkage and bushings, Spindle and spindle supports, Springs (front and rear), Stabilizer bar, McPherson struts (front and rear), Tie rods.\r\n\r\nBRAKES - Backing plates, Power brake booster, Calipers, Combination valve, Lines and fittings, Master cylinder, Parking brake linkage and cables, Retainers and clips, Self-adjustors, Brake pedal shaft, Springs, Wheel cylinders.\r\n\r\nELECTRICAL - Alternator, Fuel pump, Radiator fan relay, Starter motor, Starter motor solenoid, Manually operated electrical switches, Voltage regulator, Wiper motors, Wiring harnesses (excluding spark plug wires).\r\n\r\nDELUXE\r\nENGINE - All internal lubricated parts, Cylinder block (excluding freeze plugs), Cylinder heads, Diesel injectors and lines, Diesel injector pump, Diesel lift pump, Engine mounts, Flywheel, Flywheel ring gear, Fuel tank and lines, Gas Fuel injectors and lines, Harmonic balancer, Manifold; exhaust, Manifold; intake, Oil pan, Oil pump, Radiator and Radiator fan, Radiator fan clutch or motor, Seals and gaskets, Thermostat, Thermostat housing, Timing chain cover, Timing chain, Timing gears, Timing belt, Turbocharger/Supercharger unit (factory installed only), Valve covers, Water pump.\r\n\r\nTRANSMISSION - All internal parts, Governor assembly, Heat shield modulator, Seals and gaskets, Torque converter, Transfer case, Transmission case, External transmission module, Transmission mounts, Vacuum module.\r\n\r\nFRONT-WHEEL DRIVE - Axle shafts, Front-wheel bearings, Rear-wheel bearings, Axle hub bearings; Constant velocity and universal joints, Final drive housing and all internal parts, Automatic front locking hubs (four-wheel drive), Locking rings (four- wheel drive), Seals and gaskets.\r\n\r\nREAR-WHEEL DRIVE - Axle shafts, Front-Wheel bearings, Rear-wheel bearings, Axle hub bearings, Drive axle housing and all internal parts, Drive shaft, Drivetrain retainers, Seals and gaskets, Universal and Constant velocity joints.\r\n\r\nSTEERING -Column lock, Cooler and lines, Control valve, Cylinder, Idler arm, Linkages and couplings, Power steering pump, Power steering pump pulley assembly, Seals and gaskets, Steering gear housing; manual and power (includes all internal parts).\r\n\r\nAIR CONDITIONING AND HEATING - FACTORY INSTALLED - A/C clutch, A/C clutch bearings, A/C compressor, A/C control head, A/C compressor seals, A/C compressor/clutch switch, Automatic temperature control, Condenser, Evaporator core, Field coil, Heater core assembly, A/C clutch assembly pulley.\r\n\r\nSUSPENSION -Ball joints, Control arms, Control arm shafts and bushings, King pins and bushings, Linkage and bushings, Spindle and spindle supports, Stabilizer bar, McPherson struts (front and rear), Tie rods.\r\n\r\nBRAKES -Anti-lock brake module and ABS sensor, Backing plates, Power brake booster, Calipers, Combination valve, Lines and fittings, Master cylinder, Parking brake linkage and cables, Retainers and clips, Self-adjustors, Brake shaft pedal, Springs, Wheel cylinders.\r\n\r\nELECTRICAL - Alternator, Distributor assembly, Distributor cap and rotor, Distributor housing and shaft, Ignition module, Radiator fan relay, Starter motor, Starter motor solenoid, Manually operated electrical switches, Voltage regulator, Wiper motors, Wiring harnesses (excluding spark plug wires).\r\n\r\nHIGH-TECH - Electronic air suspension, Compass and thermometer readout displays, Instrument cluster (excluding dash pad, clock, radio and graphic equalizer), Keyless entry system (excluding door handles), Power antenna, Power door locks and retainer clips (excluding door handles), power seat motors, Power window motor/regulators, cruise control.', 'contract'),
(69, 'section_3', 'SECTION 3\r\nOPTIONAL COVERAGE\r\nAUTO MASTER MAINTENANCE PLAN\r\n\r\nTHE AUTO MASTER MAINTENANCE PLAN IS NOT REGULATED BY THE FLORIDA OFFICE OF INSURANCE REGULATION AND CAN ONLY BE PURCHASED IN CONJUNCTION WITH THE MOTOR VEHICLE SERVICE AGREEMENT.\r\nTHIS PLAN WILL PAY FOR THE NORMAL AND REGULAR USE OF ANY 5 QUART NON-SYNTHETIC OIL. THIS PLAN WILL NOT PAY FOR ANY ADDITIONAL USAGE OVER 5 QUARTS OF OIL. THIS PLAN WILL NOT PAY FOR ANY ADDITIONAL CHARGES INCURRED FOR THE USE OF SYNTHETIC OIL.\r\n\r\nAUTO MASTER MAINTENANCE PLAN:\r\nINTERVAL 1:<ul><li>Lube, Oil and Filter changes every 3 months or 3,000 miles <li>Tire Rotation every 6 months or 6,000 miles <li>Fifteen Point Inspection* every 3 months or 3,000 miles</ul>\r\nINTERVAL 2:<ul><li>Lube, Oil and Filter changes every 5 months or 5,000 miles <li>Tire Rotation every 5 months or 5,000 miles <li>Fifteen Point Inspection* every 5 months or 5,000 miles</ul>\r\n\r\n<i>*The fifteen point inspection includes: inspect operation of a/c system, horn, wiper blades, brake lights, emergency brake, taillights, turn signals and headlights; inspect condition of visible belts, exhaust system, air filter, hoses and tires; check and correct tire pressure and top off fluid levels.</i>\r\n\r\nAUTO MASTER MAINTENANCE PLUS PLAN:\r\nIn addition to the items covered in the Auto Master Maintenance Plan, if YOU purchased the Auto Master Maintenance Plus Plan YOU will also receive the services listed below:\r\n<ul><li>Air Filter Replacement every 15,000 miles <li>Fuel Filter Replacement every 30,000 miles <li>Front Brake Pads One time replacement (on terms of 36 months and greater) <li>Front Wiper Blade Replacement every 12,000 miles</ul>', 'contract'),
(70, 'section_4', 'SECTION 4\r\nROAD HAZARD COVERAGE\r\nTHESE CAN BE PURCHASED ALONE OR IN CONJUNCTION WITH ANOTHER PLAN.\r\n\r\nTIRE PLAN:\r\nThis Plan covers a single replacement of each auto tire on YOUR vehicle, at the time of purchase, for the usable tread life of the tire which becomes unserviceable as a result of a road hazard. Replacement will be limited to the same type of tire, or its equivalent, as YOUR vehicle''s original manufacturer or distributor installed tire. ROAD HAZARD is defined as debris on the road surface or road surface conditions, such as potholes, cracks and breaks. Coverage applies only when the tire coverage box on the front of the contract is checked and is not to exceed three (3) years from the purchase date of this agreement. Repairable punctures will be repaired free of charge.\r\n\r\nIf a tire covered by this service agreement becomes unserviceable because of a road hazard during the usable tread life of the tire, it will be replaced with a comparable new tire. When the tread is worn down to 2/32Ó (to the tread wear indicator), the tire is considered worn out and the service agreement ends regardless of the age of the tire. Mounting and balancing (if required) will be performed at no charge.\r\n\r\nA ÒcomparableÓ new tire may be either the same line of tire that was originally installed by the manufacturer or distributor or, in the event of the disabled tire is out of production, the same basic construction and quality which may feature a different sidewall or tread configuration. If a higher price tire is accepted as a replacement, the difference in the price will be additional and will be YOUR responsibility.\r\n\r\nProper tire care is necessary to obtain the maximum mileage and wear from a tire. It is YOUR obligation to see that YOUR tire/wheel assemblies are kept in balance and that YOUR tires are operated at the proper inflation pressures. Check the pressure of each tire, including the spare, at least monthly when the tires are cool.\r\n\r\nTire damage of any kind which is caused by fire, theft, vandalism, abuse, off road use, mechanical defects of the vehicle, the use of tire chains, or any other non-road hazard source is not covered. Collision with a curb or another vehicle, or off-road damage due to driver error and/or evasive maneuvering is not covered. Tires that are undersized, oversized or otherwise not recommended by the vehicle manufacturer are not covered. This plan does not apply to Commercial Vehicles.\r\n\r\nTIRE & WHEEL PLAN:\r\nIf YOU purchase this plan, in addition to the Tire Plan above, should the wheel on which the covered damaged tire was mounted not hold air after the tire is repaired or replaced, then the cost of that wheelÕs repair or, if necessary, replacement with the same wheel that was originally installed by the manufacturer/distributor or in the case where the same wheel is not available, a wheel that is equal, will be reimbursed to the Service Agreement Holder listed in the Declarations.', 'contract'),
(71, 'section_5', 'SECTION 5\r\nRENTAL CAR ALLOWANCE\r\n\r\nTHIS ADDITIONAL ALLOWANCE IS INCLUDED WITH THE PURCHASE OF ANY MECHANICAL BREAKDOWN COVERAGE EXCEPT POWERTRAIN COVERAGE.\r\n\r\nIf YOU purchased the PROTECTOR or PROTECTOR PLUS coverage, YOU will be reimbursed up to $30 per day for a maximum of five (5) days for same day rental (immediately effective when YOUR vehicle is accepted for a covered repair).\r\n\r\nIf YOU purchased the BASE COVERAGE, YOU will be reimbursed up to $25 per day for a maximum of three (3) days when YOUR vehicle is inoperative and must remain overnight for a covered repair.\r\n\r\nIf YOU purchased the DELUXE COVERAGE, YOU will be reimbursed up to $25 per day for a maximum of five (5) days when YOUR vehicle is inoperative and must remain overnight for a covered repair.\r\n\r\nAll rental reimbursements are for base rental charges incurred from a licensed rental car agency or authorized dealer. Mileage fees, taxes, extension for parts delays, additional days or rental due to holidays, inspections, and insurance fees are not included.', 'contract'),
(72, 'section_6', 'SECTION 6\r\nTOWING ALLOWANCE\r\n\r\nTHIS ADDITIONAL ALLOWANCE IS INCLUDED WITH THE PURCHASE OF ANY MECHANICAL BREAKDOWN COVERAGE.\r\n\r\nIf YOU purchased the PROTECTOR or PROTECTOR PLUS coverage, YOU will be reimbursed up to $50 per repair visit for towing involving a covered mechanical repair.\r\n\r\nIf YOU purchased the POWERTRAIN, BASE, or DELUXE coverage, YOU will be reimbursed up to $40 per repair visit for towing involving a covered mechanical repair.', 'contract'),
(73, 'section_7', 'SECTION 7\r\nCLAIMS PROCEDURES\r\n\r\nWhen repairs are necessary, return YOUR vehicle, if possible, to the selling dealer. If YOU cannot return to the selling dealer, YOU must telephone PWC at 1-800-432-4566 during normal business hours to report the condition of YOUR vehicle. The repair facility MUST obtain authorization from PWC prior to any repair. In order to file aclaim, please observe the following provisions:\r\n<ol><li>YOU must have YOUR vehicle serviced according to the factory recommended maintenance intervals as outlined in YOUR vehicleÕs OwnerÕs Manual. YOU may be asked to provide receipts documenting such maintenance in the event of a mechanical failure of YOUR vehicle. Failure to produce such documentation may result in the denial of YOUR claim.<li>YOU must use all reasonable means to protect YOUR vehicle from further damage. PWC is not liable for damage caused by the continued operation of YOUR vehicle following an initial failure.<li>YOU must provide "teardown authorization" as requested in order to allow for an accurate diagnosis of YOUR vehicle''s mechanical condition. PWC is not liable for teardown charges in the event of a denied claim.<li>WE reserve the right to a second opinion; to inspect any vehicle and/or request relocation to a service facility of OUR choice before authorization of any repairs.<li>Emergency repairs are defined as those failures which occur and are repaired outside of normal business hours. In these instances only, YOU may submit the unauthorized paid receipt/repair order for review and reimbursement according to the terms of YOUR policy. These receipts must reflect the date of the repair as well as the mileage at the time of the failure.<li>In the event of an unauthorized emergency repair, YOU must submit any claim for reimbursement to this office with all documentation required for processing YOUR claim within thirty (30) days of authorization and/or repair.</ol>\r\nFailure to observe the procedures outlined above, shall result in the denial of YOUR claim.', 'contract'),
(74, 'section_8', 'SECTION 8\r\nEXCLUSIONS AND CONDITIONS\r\n\r\nEXCLUSIONS FROM COVERAGE\r\nTHIS SERVICE AGREEMENT DOES NOT COVER NOR APPLY TO:\r\n<ol><li>REPAIRS TO AND/OR REPLACEMENT OF PARTS NOT AUTHORIZED BY US. THIS INCLUDES REIMBURSEMENT FOR THE REPAIR OR REPLACEMENT OF OTHERWISE COVERED PARTS WHEN SAID REPAIR OR REPLACEMENT IS PERFORMED AND/OR AUTHORIZED BY YOU, THE SERVICE AGREEMENT HOLDER.<li>REPAIR OR REPLACEMENT OF ANY PARTS NOT SPECIFIED UNDER THE COVERAGE PROVIDED.<li>ANY LOSS RESULTING FROM THE TOWING OF YOUR VEHICLE.<li>THE IMPROPER INSTALLATION OF COVERED PARTS. IN THE EVENT OF A REPAIR AND/OR REPLACEMENT CAUSED BY SUCH AN INSTALLATION,YOU MUST LOOK TO THE ORIGINAL REPAIR FACILITY FOR RECOVERY.<li>ANY LOSS TO AN OTHERWISE COVERED PART WHILE UNDER THE MANUFACTURERÕS OR REPAIRERÕS RECALL, PROGRAM, CAMPAIGN, WARRANTY AND/OR GUARANTEE OR IF THE MANUFACTURER OR REPAIRER DENIES COVERAGE FOR ANY REASON WHILE UNDER ITS RECALL, PROGRAM, CAMPAIGN, WARRANTY AND/OR GUARANTEE.<li>ANY MAINTENANCE PERFORMED ON YOUR VEHICLE UNLESS SPECIFIED IN YOUR CONTRACT. ANY LOSS CAUSED BY THE FAILURE TO REPLACE A MAINTENANCE PART AT THE TIME OF THE FACTORY RECOMMENDED INTERVAL (SEE YOUR OWNERÕS MANUAL). THIS INCLUDES BUT IS NOT LIMITED TO THE RECOMMENDED REPLACEMENT OF SUCH PARTS AS TIMING BELTS, GASKETS AND HOSES.<li>ANY FAILURE OF A NON-COVERED PART EVEN IF CAUSED DIRECTLY OR INDIRECTLY BY THE FAILURE OF A COVERED PART.<li>THE REPAIR OR REPLACEMENT OF AN OTHERWISE COVERED PART, DAMAGED BY THE FAILURE OF A NON-COVERED PART.<li>ANY LOSS CAUSED BY ACCIDENT, COLLISION OR UPSET, DAMAGE, FALLING OBJECTS, THEFT, LARCENY, EXPLOSION, LIGHTNING, EARTHQUAKES, FIRE, WINDSTORMS, HAIL, WATER, FLOODS, SUBFREEZING TEMPERATURE, MALICIOUS MISCHIEF, VANDALISM, CIVIL COMMOTION, RIOTS OR WAR.<li>ANY LOSS WHICH OCCURS WHEN AN ODOMETER IS INOPERATIVE WHETHER FROM FAILURE, DISCONNECTION OR ALTERATION; OR WHEN AN EXACT DETERMINATION OF LAPSED MILEAGE IS UNAVAILABLE.<li>ANY LOSS CAUSED BY NEGLIGENCE, MISUSE, ALTERATIONS, RUST AND/OR RUST DAMAGE, CORROSION, ELECTROLYSIS, LACK OF PROPER AND NECESSARY AMOUNTS OF COOLANT OR LUBRICANTS OR LACK OF PROPER MAINTENANCE AS RECOMMENDED BY THE MANUFACTURER.<li>THE FAILURE OF ANY PART AFFECTED BY ALTERATIONS NOT RECOMMENDED BY THE MANUFACTURER. THIS INCLUDES BUT IS NOT LIMITED TO THE INSTALLATION OF OVERSIZED TIRES, SUSPENSION LIFT KITS, HEADERS OR OTHER MODIFICATIONS TO ENHANCE PERFORMANCE.<li>ANY LOSS RESULTING FROM AN OVERHEAT CAUSED BY A NON- COVERED PART; ANY LOSS RESULTING FROM THE CONTINUED OPERATION OF AN OVERHEATING VEHICLE REGARDLESS OF THE INITIAL CAUSE OF OVERHEAT. ANY LOSS RESULTING FROM AN OVERHEAT CAUSED BY IMPROPER TOWING.<li>ANY VEHICLE USED FOR COMPETITIVE RACING, OFF-ROAD DRIVING, COMMERCIAL USE, DELIVERY, RENTAL PURPOSES, CARRIAGE OF PASSENGERS FOR HIRE, FARMING, POLICE OR OTHER EMERGENCY USE.<li>ANY FAILURE CAUSED BY CONTAMINATION, SLUDGE, CARBONIZATION, OIL STARVATION, BATTERY ACID OR OTHER MAINTENANCE RELATED CONDITIONS OR THE CONDITION OF WATER INTRUSION COMMONLY KNOWN AS HYDROLOCK.<li>ANY SECONDARY DAMAGE OR COST INCURRED BY THE FAILURE OF A COVERED PART. THIS INCLUDES BUT IS NOT LIMITED TO MEALS, LODGING, LOSS OF INCOME, DAMAGE TO PROPERTY, INJURY TO OR DEATH OF ANY PERSON.<li>HAZARDOUS WASTE DISPOSAL CHARGES, SHOP SUPPLIES, STORAGE CHARGES, CORE CHARGES, FREIGHT CHARGES, ALIGNMENTS OR ADJUSTMENTS.<li>THE RESEATING OF VALVES (VALVE GRIND), REPAIR AND/OR REPLACEMENT OF BURNED VALVES (VALVE JOB) AND/OR RINGS WHEN SUCH RESEATING, REPAIR OR REPLACEMENT IS TO CORRECT LOW COMPRESSION, HIGH OIL CONSUMPTION OR OTHER RESULT OF TIME- RELATED REDUCTION IN ENGINE EFFICIENCY.<li>ANY RENTAL INCURRED BEYOND THE PARAMETERS OF YOUR SERVICE AGREEMENT REGARDLESS OF CAUSE OF DELAY.<li>ANY FAILURE THAT EXISTED PRIOR TO THE CONTRACT PURCHASE DATE OR IF INFORMATION PROVIDED BY YOU OR A REPAIR FACILITY CANNOT BE VERIFIED AS ACCURATE OR IS FOUND TO BE DECEPTIVELY INACCURATE.<li>ANY VEHICLE WHOSE MANUFACTURERÕS WARRANTY HAS BEEN VOIDED OR IF THE VEHICLE HAS BEEN TOTALED OR ITS TITLE BRANDED OR SALVAGED.<li>ANY REPAIR AND/OR REPLACEMENT PERFORMED BY ANYONE OTHER THAN AN ASE-CERTIFIED TECHNICIAN EMPLOYED AT A LICENSED REPAIR FACILITY.</ol>\r\n\r\nCONDITIONS\r\n<ol><li>POLICY PERIOD, MILEAGE, TERRITORY: This service agreement applies only toa mechanical breakdown which occurs during the time period or within the mileage period as shown in the Declarations and while the vehicle is within the United States, its territories or possessions and Canada.<li>TRANSFER AGREEMENT: This service agreement may be transferred by the original holder to a subsequent private purchaser (licensed dealers excluded). This agreement applies only with respect to the vehicle described in the Declarations and it is not transferable to another vehicle. To transfer this agreement, the following must be submitted to US within thirty (30) days from the date of sale:<ol><li>a letter containing the name and address of the new owner and YOUR authorization to transfer;<li>a copy of the bill of sale or other evidence showing proof of transfer;<li>a check for $40 payable to PWC for the transfer fee<li>receipts evidencing completion of manufacturerÕs prescribed maintenance; and<li>proof, if necessary, that any remaining manufacturer''s warranty has been transferred to the purchaser of YOUR vehicle.</ol><li>CANCELLATION: To cancel this service agreement YOU must surrender YOUR copy of the agreement, a current certified odometer statement and written notice to the selling dealer or directly to US.During the first thirty (30) days from the effective date, YOU will be refunded 100% of the total premium paid, less any claims. From 31-60 days from the effective date, YOU will be refunded 100% of the total premium paid, less a fee of $50 or 5% of the total premium, whichever fee is less. After the first sixty (60) days, YOU will be refunded 100% of the unearned premium paid, less a fee of 10% of the refund amount or $50, whichever fee is less. The unearned premium will be prorated based on the lesser of months or mileage remaining, relative to the original agreement.During the first sixty (60) days, from the effective date, WE may cancel this contract for any reason. The full purchase price of this contract will be refunded. After sixty (60) days, WE cannot cancel this contract except:<ol><li>If there has been a material misrepresentation or fraud at the time of sale of the service agreement;<li>If the agreement holder failed to maintain the motor vehicle as prescribed by the manufacturer;<li>If the odometer had been tampered with or disabled and the agreement holder failed to replace the odometer or;<li>For non-payment of premium by the agreement holder, in which case WE shall provide the agreement holder notice of cancellation by certified mail.</ol>The refund will be based upon the lesser of months or mileage remaining relative to the original agreement and figured on a 100% prorata basis.The lienholder will be named on the refund check when financing has been provided for the service agreement premium. In the event of repossession or total loss, lienholder may request cancellation of this service agreement and shall be the sole named payee.</ol>', 'contract'),
(75, 'section_9', 'SECTION 9\r\nGENERAL\r\n<ol><li>THE TERMS AND CONDITIONS OUTLINED ABOVE ARE THE FULL AND COMPLETE AGREEMENT BETWEEN THE PARTIES. NO ORAL REPRESENTATIONS OR STATEMENTS SHOULD BE RELIED UPON BY THE PURCHASER.<li>If it is not clear which term/mileage or coverage plan has been purchased, YOU should contact PWC or YOUR Selling Dealer.<li>WE reserve the right to request the use of, or supply remanufactured parts and/or parts of like, kind and quality when replacing failed parts covered under this service agreement. In no event will OUR liability exceed the actual cash value as determined by National Automotive Dealers Association most current guidelines of the vehicle described herein at the instant prior to the most recent loss.<li>YOUR selling dealer will warranty any covered repair for a minimum of twelve (12) months or 12,000 miles, whichever comes first. If YOU elect to bring your vehicle to another facility, we reserve the right to require an equivalent warranty.<li>This contract will be governed by the laws of the state in which it is sold.<li>No amendment, supplement, or waiver of any provision of this contract will be binding against US unless it is in writing and signed by one of the authorized representatives at OUR office.<li>WE may delegate the performance of OUR duties and obligations and assign OUR rights and benefits.<li>OUR rights to recover payment: If WE make any payment under this contract and YOU have a right to recover against another party, YOUR rights shall become OUR rights and YOU shall do whatever is necessary to enable US to enforce these rights. OUR subrogation rights become effective after YOU are made whole.<li>ARBITRATION: Any controversy or claim arising out of or relating to this Contract, or breach thereof, will be settled by arbitration in accordance with the Commercial Arbitration Rules of the American Arbitration Association. A judgment upon the award rendered by the arbitrator(s) may be entered in any court having jurisdiction thereof. Arbitration will take place in a court of the county in which the holder resides. Arbitration is non-binding in Florida.</ol>', 'contract'),
(137, 'left_box_2', '<b>Auto Debit to Credit Card or Debit Card</b>\r\nI authorize USWC Premium Finance Company to make the /Debit Card applicable number of consecutive monthly charges to my credit card or debit card, in the amounts and at the times disclosed on the premium finance agreement.\r\n\r\nThis authority remains in effect until USWC Premium Finance Company has received written notification of termination from customer in time to allow reasonable opportunity to act on it or until the final installment payment has been paid.', 'authorize_credit'),
(135, 'left_box_1', '<b>Notice:</b> Using a credit card or debit card where the card expires before all payments have been made could result in the termination of your Extended Service Contract coverage.\r\n\r\nPlease either select a credit or debit card where the card expiration date exceeds the number of consecutive monthly payments or notify us immediately once your credit or debit card is renewed so that we can update your card information and keep your policy in force. Please call us at 1-866-860-5470', 'authorize_credit'),
(244, 'enter_mileage', 'Please enter the mileage on your vehicle.', 'update_mileage'),
(245, 'mileage_label', 'Mileage:', 'update_mileage'),
(246, 'submit_button', 'See Protector Extended Service Plan Options', 'update_mileage'),
(247, 'error_no_miles', 'Please type in the mileage on the vehicle.', 'update_mileage'),
(248, 'error_miles_too_low', 'The mileage that you type in cannot be lower than the mileage on the vehicle when you purchased it.', 'update_mileage'),
(132, 'page_title', 'MyWarrantyMap.com, LLC', 'authorize_credit'),
(243, 'sub_title_pay_in_full', 'Authorization Agreement For Direct Payments', 'authorize_bank'),
(242, 'submit_button', 'Process Order', 'authorize_bank'),
(241, 'disclaimer', 'This authorization is to remain in full force and effect until COMPANY has received written notification from me (or either of us) of its termination in such tim and in such manner as to afford COMPANY and DEPOSITORY a reasonable opportunity to act on it.', 'authorize_bank'),
(240, 'deduction_date', 'Deduction Date:', 'authorize_bank'),
(239, 'monthly_deduction_amount', 'Monthly Deduction Amount:', 'authorize_bank'),
(238, 'deduction_information', 'DEDUCTION INFORMATION', 'authorize_bank'),
(237, 'email_address', 'E-mail Address:', 'authorize_bank'),
(236, 'account_number', 'Account Number:', 'authorize_bank'),
(235, 'routing_number', 'Routing Number:', 'authorize_bank'),
(231, 'depository_information', 'DEPOSITORY INFORMATION', 'authorize_bank'),
(232, 'name_on_account', 'Name on Account:', 'authorize_bank'),
(233, 'type_of_account', 'Type of Account:', 'authorize_bank'),
(234, 'account_entity', 'Account Entity:', 'authorize_bank'),
(229, 'sub_title', 'Authorization Agreement For Monthly Direct Payments', 'authorize_bank'),
(230, 'agreement', 'I (we) hereby authorize MyWarrantyMap.com, LLC, hereinafter called COMPANY, to initiate debit entries to my (our) Checking account indicated below at the depository financial institution named below, hereinafter called DEPOSITORY, and to debit the same to such account.', 'authorize_bank'),
(228, 'page_title', 'MyWarrantyMap.com, LLC', 'authorize_bank'),
(133, 'sub_title', 'Premium Finance Plan Method of Payment Authorization Form', 'authorize_credit'),
(139, 'summary', 'Monthly Payment Summary', 'authorize_credit'),
(140, 'line_1', '1. Total Premium', 'authorize_credit'),
(141, 'line_2', '2. Sales Tax', 'authorize_credit'),
(142, 'line_3', '3. Subtotal (Add line 1 and line 2)', 'authorize_credit'),
(143, 'line_4', '4. Down Payment (10% Required)', 'authorize_credit'),
(144, 'line_5', '5. Total (subtract line 4 from line 3)', 'authorize_credit'),
(145, 'line_6', '6. Doc Stamps ($.35 / $100 of line 5)', 'authorize_credit'),
(146, 'line_7', '7. Amount Financed (Add line 5 and line 6)', 'authorize_credit'),
(147, 'line_8', '8. Term', 'authorize_credit'),
(148, 'line_9', '<b>Monthly Payment (divide line 7 by line 8)', 'authorize_credit'),
(149, 'credit_card_info', 'Credit Card Information', 'authorize_credit'),
(150, 'credit_card_1', 'Visa', 'authorize_credit'),
(151, 'credit_card_2', 'Mastercard', 'authorize_credit'),
(152, 'card_number', 'Card Number', 'authorize_credit'),
(153, 'card_expiration', 'Expiration (month / year)', 'authorize_credit'),
(154, 'card_name', 'Name on credit card', 'authorize_credit'),
(155, 'card_ccv', 'Credit Card CCV', 'authorize_credit'),
(214, 'card_email_address', 'E-mail Address', 'authorize_credit'),
(213, 'card_billing_zip_code', 'Billing Zip Code', 'authorize_credit'),
(170, 'error_no_vehicle_vin', 'Please type in the vehicle identification number (VIN) of the vehicle.  It is 17 digits long and is usually located inside the drivers-side door of your vehicle.  If you dont know what it is, you may also type in the year, make, and model of the vehicle.', '1'),
(161, 'window_name', 'Total Price', 'explanation total pr'),
(162, 'page_title', 'Total Price', 'explanation total pr'),
(163, 'explanation', 'Total Price includes all applicable FL Sales Taxes and Doc.', 'explanation total pr'),
(164, 'window_name', 'Term or Mileage', 'explanation term or '),
(165, 'page_title', 'Term or Mileage', 'explanation term or '),
(166, 'explanation', 'Stamps Term means the number of years the policy will provide coverage from the effective date of the vehicle service contract. Mileage means the number of miles added to the existing odometer mileage on the effective date of the vehicle service contract. The policy coverage will terminate when either of these occurs first.', 'explanation term or '),
(167, 'window_name', 'Monthly Financing', 'explanation monthly '),
(168, 'page_title', 'Monthly Financing', 'explanation monthly '),
(169, 'explanation', 'Monthly Financing is available at zero interest and with only 10% down payment. Your down payment and monthly payments can be via credit card, debit card or your checking account (ACH).', 'explanation monthly '),
(177, 'prices_slightly_higher', 'The price of these extended warranties may be slightly higher than before due to the following reasons:', '3'),
(178, 'price_adjusted_for_diesel_engine', 'This vehicle has a diesel engine.', '3'),
(179, 'price_adjusted_for_turbo', 'This vehicle has a turbo / supercharged engine.', '3'),
(180, 'price_adjusted_for_4wd', 'This vehicle is all / four wheel drive.', '3'),
(181, 'protector_service_agreement', 'Protector Service Agreement Application', '4'),
(182, 'error_no_vin', 'Please type in the vehicle identification number (VIN) of the vehicle.  It is 17 digits long and is usually located inside the drivers-side door of your vehicle.', '4'),
(183, 'error_no_first_name', 'Please type in your first name.', '4'),
(184, 'error_no_last_name', 'Please type in your last name or company name.', '4'),
(185, 'error_no_street_address', 'Please type in your street address.', '4'),
(186, 'error_no_city', 'Please type in the city where you live.', '4'),
(187, 'error_no_state', 'Plesae type in the state where you live.', '4'),
(188, 'error_no_zip_code', 'Please type in your zip code.', '4'),
(189, 'error_no_contact_number', 'Please type in your telephone (or contact) number.', '4'),
(190, 'error_no_payment_option', 'Please select a payment option.', '4'),
(191, 'error_no_payment_method', 'Please select a payment method.', '4'),
(192, 'dealer_lienholder_information', 'Dealer / Lien-holder Information', '4'),
(193, 'lienholder_street_address', '1200 West 49th Street', '4'),
(194, 'lienholder_city', 'Hialeah', '4'),
(195, 'lienholder_state', 'FL', '4'),
(196, 'lienholder_zip', '33012', '4'),
(197, 'vehicle_information', 'Vehicle Information', '4'),
(198, 'turbo_supercharger', 'Turbo / Supercharger', '4'),
(199, 'diesel', 'Diesel', '4'),
(200, '4wd_awd', '4WD / AWD', '4'),
(201, 'plan_information', 'Plan Information', '4'),
(202, 'total_includes_all_taxes', 'Total (includes all taxes)', '4'),
(203, 'payment_information', 'Payment Information', '4'),
(204, 'payment_options', 'Payment Options:', '4'),
(205, 'submit_button', 'Submit', '4'),
(206, 'payment_method', 'Payment Method:', '4'),
(207, 'no_interest_finance_plan', 'No Interest Finance Plan', '4'),
(208, 'credit_or_debit_card', 'Credit or Debit Card', '4'),
(209, 'bank_account', 'Bank Account', '4'),
(210, 'card_billing_address', 'Billing Address', 'authorize_credit'),
(212, 'card_billing_state', 'Billing State', 'authorize_credit'),
(211, 'card_billing_city', 'Billing City', 'authorize_credit'),
(215, 'card_deduct_payment', 'Deduct payment on the', 'authorize_credit'),
(216, 'submit_button', 'Process Order', 'authorize_credit'),
(217, 'thank_you', 'Thank you for your purchase!', 'transactions'),
(218, 'signing_information', 'You will soon be receiving an e-mail containing a link to sign the documents necessary to complete this transaction.  Once you have signed and submitted them, your extended warranty is active!', 'transactions'),
(219, 'return_to', 'Return to', 'transactions'),
(220, 'website_url', 'http://www.mywarrantymap.com', 'transactions'),
(221, 'website_display', 'MyWarrantyMap.com', 'transactions'),
(222, 'badcard', 'Your transaction failed. Please verify the info below and try again.', 'transactions'),
(223, 'fraud', 'Transaction info entered was fraudulent. Please verify the info below and try again.', 'transactions'),
(224, 'problem', 'There was a problem running your transaction.  Please verify the info below and try again.  If it''s correct, your card may not have a high enough limit.', 'transactions'),
(225, 'error', 'There was an error processing your transaction. Please verify the info below and try again.', 'transactions'),
(226, 'sub_title_pay_in_full', 'Method of Payment Authorization Form', 'authorize_credit'),
(227, 'summary_pay_in_full', 'Amount Summary', 'authorize_credit');

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

--
-- Table structure for table `warranty_remaining`
--

CREATE TABLE IF NOT EXISTS `warranty_remaining` (
  `warranty_remaining_id` int(4) NOT NULL auto_increment,
  `warranty_plan_months` int(2) NOT NULL,
  `warranty_plan_miles` int(4) NOT NULL,
  `covers_mileage_from` int(4) NOT NULL,
  `covers_mileage_to` int(4) NOT NULL,
  `covers_years_old_from` int(2) NOT NULL,
  `covers_years_old_to` int(2) NOT NULL,
  `warranty_plan_name` varchar(100) NOT NULL,
  `coverage_price` float(6,2) NOT NULL,
  PRIMARY KEY  (`warranty_remaining_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=73 ;


INSERT INTO `warranty_remaining` (`warranty_remaining_id`, `warranty_plan_months`, `warranty_plan_miles`, `covers_mileage_from`, `covers_mileage_to`, `covers_years_old_from`, `covers_years_old_to`, `warranty_plan_name`, `coverage_price`) VALUES
(1, 36, 50000, 0, 6000, 0, 0, 'Protector Plus', 851.00),
(2, 36, 50000, 6001, 12000, 0, 0, 'Protector Plus', 1020.00),
(3, 36, 50000, 12001, 18000, 0, 0, 'Protector Plus', 1210.00),
(4, 36, 50000, 18001, 24000, 0, 0, 'Protector Plus', 1409.00),
(5, 36, 50000, 24001, 30000, 0, 0, 'Protector Plus', 1625.00),
(6, 36, 50000, 30001, 36000, 0, 0, 'Protector Plus', 1858.00),
(7, 48, 60000, 0, 6000, 0, 0, 'Protector Plus', 1211.00),
(8, 48, 60000, 6001, 12000, 0, 0, 'Protector Plus', 1410.00),
(9, 48, 60000, 12001, 18000, 0, 0, 'Protector Plus', 1626.00),
(10, 48, 60000, 18001, 24000, 0, 0, 'Protector Plus', 1860.00),
(11, 48, 60000, 24001, 30000, 0, 0, 'Protector Plus', 2107.00),
(12, 48, 60000, 30001, 36000, 0, 0, 'Protector Plus', 2372.00),
(13, 24, 24000, 0, 40000, 0, 2, 'Category A', 835.00),
(14, 24, 24000, 0, 40000, 3, 4, 'Category A', 1085.00),
(15, 24, 24000, 0, 40000, 5, 6, 'Category A', 1230.00),
(16, 24, 24000, 0, 40000, 7, 8, 'Category A', 1330.00),
(17, 36, 36000, 0, 40000, 0, 2, 'Category A', 1070.00),
(18, 36, 36000, 0, 40000, 3, 4, 'Category A', 1320.00),
(19, 36, 36000, 0, 40000, 5, 6, 'Category A', 1430.00),
(20, 36, 36000, 0, 40000, 7, 8, 'Category A', 1535.00),
(21, 24, 24000, 40001, 60000, 0, 2, 'Category A', 950.00),
(22, 24, 24000, 40001, 60000, 3, 4, 'Category A', 1195.00),
(23, 24, 24000, 40001, 60000, 5, 6, 'Category A', 1410.00),
(24, 24, 24000, 40001, 60000, 7, 8, 'Category A', 1555.00),
(25, 36, 36000, 40001, 60000, 0, 2, 'Category A', 1375.00),
(26, 36, 36000, 40001, 60000, 3, 4, 'Category A', 1625.00),
(27, 36, 36000, 40001, 60000, 5, 6, 'Category A', 1870.00),
(28, 36, 36000, 40001, 60000, 7, 8, 'Category A', 2085.00),
(29, 24, 24000, 60001, 80000, 0, 2, 'Category A', 1735.00),
(30, 24, 24000, 60001, 80000, 3, 4, 'Category A', 1735.00),
(31, 24, 24000, 60001, 80000, 5, 6, 'Category A', 1880.00),
(32, 24, 24000, 60001, 80000, 7, 8, 'Category A', 2060.00),
(33, 24, 24000, 0, 40000, 0, 2, 'Category B', 1005.00),
(34, 24, 24000, 0, 40000, 3, 4, 'Category B', 1340.00),
(35, 24, 24000, 0, 40000, 5, 6, 'Category B', 1455.00),
(36, 24, 24000, 0, 40000, 7, 8, 'Category B', 1670.00),
(37, 36, 36000, 0, 40000, 0, 2, 'Category B', 1220.00),
(38, 36, 36000, 0, 40000, 3, 4, 'Category B', 1555.00),
(39, 36, 36000, 0, 40000, 5, 6, 'Category B', 1815.00),
(40, 36, 36000, 0, 40000, 7, 8, 'Category B', 2320.00),
(41, 24, 24000, 40001, 60000, 0, 2, 'Category B', 1275.00),
(42, 24, 24000, 40001, 60000, 3, 4, 'Category B', 1610.00),
(43, 24, 24000, 40001, 60000, 5, 6, 'Category B', 1880.00),
(44, 24, 24000, 40001, 60000, 7, 8, 'Category B', 2085.00),
(45, 36, 36000, 40001, 60000, 0, 2, 'Category B', 1735.00),
(46, 36, 36000, 40001, 60000, 3, 4, 'Category B', 2075.00),
(47, 36, 36000, 40001, 60000, 5, 6, 'Category B', 2310.00),
(48, 36, 36000, 40001, 60000, 7, 8, 'Category B', 2665.00),
(49, 24, 24000, 60001, 80000, 0, 2, 'Category B', 2075.00),
(50, 24, 24000, 60001, 80000, 3, 4, 'Category B', 2075.00),
(51, 24, 24000, 60001, 80000, 5, 6, 'Category B', 2335.00),
(52, 24, 24000, 60001, 80000, 7, 8, 'Category B', 2440.00),
(53, 24, 24000, 0, 40000, 0, 2, 'Category C', 1150.00),
(54, 24, 24000, 0, 40000, 3, 4, 'Category C', 1545.00),
(55, 24, 24000, 0, 40000, 5, 6, 'Category C', 1715.00),
(56, 24, 24000, 0, 40000, 7, 8, 'Category C', 2060.00),
(57, 36, 36000, 0, 40000, 0, 2, 'Category C', 1410.00),
(58, 36, 36000, 0, 40000, 3, 4, 'Category C', 1805.00),
(59, 36, 36000, 0, 40000, 5, 6, 'Category C', 2290.00),
(60, 36, 36000, 0, 40000, 7, 8, 'Category C', 2690.00),
(61, 24, 24000, 40001, 60000, 0, 2, 'Category C', 1625.00),
(62, 24, 24000, 40001, 60000, 3, 4, 'Category C', 2015.00),
(63, 24, 24000, 40001, 60000, 5, 6, 'Category C', 2285.00),
(64, 24, 24000, 40001, 60000, 7, 8, 'Category C', 2640.00),
(65, 36, 36000, 40001, 60000, 0, 2, 'Category C', 2015.00),
(66, 36, 36000, 40001, 60000, 3, 4, 'Category C', 2335.00),
(67, 36, 36000, 40001, 60000, 5, 6, 'Category C', 2630.00),
(68, 36, 36000, 40001, 60000, 7, 8, 'Category C', 3100.00),
(69, 24, 24000, 60001, 80000, 0, 2, 'Category C', 2440.00),
(70, 24, 24000, 60001, 80000, 3, 4, 'Category C', 2440.00),
(71, 24, 24000, 60001, 80000, 5, 6, 'Category C', 2570.00),
(72, 24, 24000, 60001, 80000, 7, 8, 'Category C', 2740.00);

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

--
-- Table structure for table `warranty_surcharges`
--

CREATE TABLE IF NOT EXISTS `warranty_surcharges` (
  `warranty_surcharges_id` int(4) NOT NULL auto_increment,
  `surcharge_months` int(2) NOT NULL,
  `surcharge_miles` int(6) NOT NULL,
  `covers_mileage_from` int(6) NOT NULL,
  `covers_mileage_to` int(6) NOT NULL,
  `surcharge_name` varchar(100) NOT NULL,
  `items` varchar(255) NOT NULL,
  `surcharge_price` float(6,2) NOT NULL,
  PRIMARY KEY  (`warranty_surcharges_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;


INSERT INTO `warranty_surcharges` (`warranty_surcharges_id`, `surcharge_months`, `surcharge_miles`, `covers_mileage_from`, `covers_mileage_to`, `surcharge_name`, `items`, `surcharge_price`) VALUES
(1, 12, 12000, 0, 40000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 80.00),
(2, 24, 24000, 0, 40000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 130.00),
(3, 36, 36000, 0, 40000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 180.00),
(4, 48, 48000, 0, 40000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 230.00),
(5, 12, 12000, 40001, 60000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 100.00),
(6, 24, 24000, 40001, 60000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 150.00),
(7, 36, 36000, 40001, 60000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 200.00),
(8, 48, 48000, 40001, 60000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 250.00),
(9, 12, 12000, 60001, 80000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 120.00),
(10, 24, 24000, 60001, 80000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 170.00),
(11, 12, 12000, 80001, 90000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 140.00),
(12, 12, 12000, 90001, 100000, 'Category A', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 160.00),
(13, 12, 12000, 0, 40000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 80.00),
(14, 24, 24000, 0, 40000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 130.00),
(15, 36, 36000, 0, 40000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 180.00),
(16, 48, 48000, 0, 40000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 230.00),
(17, 12, 12000, 40001, 60000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 100.00),
(18, 24, 24000, 40001, 60000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 150.00),
(19, 36, 36000, 40001, 60000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 200.00),
(20, 48, 48000, 40001, 60000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 250.00),
(21, 12, 12000, 60001, 80000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 120.00),
(22, 24, 24000, 60001, 80000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 170.00),
(23, 12, 12000, 80001, 90000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 140.00),
(24, 12, 12000, 90001, 100000, 'Category B', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 160.00),
(25, 12, 12000, 0, 40000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 80.00),
(26, 24, 24000, 0, 40000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 130.00),
(27, 36, 36000, 0, 40000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 180.00),
(28, 48, 48000, 0, 40000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 230.00),
(29, 12, 12000, 40001, 60000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 100.00),
(30, 24, 24000, 40001, 60000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 150.00),
(31, 36, 36000, 40001, 60000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 200.00),
(32, 48, 48000, 40001, 60000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 250.00),
(33, 12, 12000, 60001, 80000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 120.00),
(34, 24, 24000, 60001, 80000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 170.00),
(35, 12, 12000, 80001, 90000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 140.00),
(36, 12, 12000, 90001, 100000, 'Category C', '|Drivetrain-AWD||Drivetrain-4WD||Fuel System-Diesel||Engine-Supercharged||Engine-Turbocharged|', 160.00),
(37, 0, 0, 0, 0, 'Protector Plus', '|Engine-Supercharged||Engine-Turbocharged|', 180.00),
(38, 0, 0, 0, 0, 'Protector Plus', '|Fuel System-Diesel|', 240.00),
(39, 0, 0, 0, 0, 'Protector Plus', '|Drivetrain-AWD||Drivetrain-4WD|', 220.00);


CREATE TABLE IF NOT EXISTS `warranty_transactions` (
  `warranty_transactions_id` int(4) NOT NULL auto_increment,
  `transaction_date` date NOT NULL,
  `transaction_time` time NOT NULL,
  `transaction_status` tinyint(1) NOT NULL default '0',
  `vsc_number` VARCHAR( 50 ) NOT NULL,
  `authcode` varchar(50) NOT NULL,
  `transactionid` varchar(50) NOT NULL,
  `first_name` varchar(200) NOT NULL,
  `middle_initial` varchar(200) NOT NULL,
  `last_name` varchar(200) NOT NULL,
  `email` VARCHAR( 100 ) NOT NULL,
  `telephone_number` varchar(30) NOT NULL,
  `street_address` varchar(200) NOT NULL,
  `city` varchar(200) NOT NULL,
  `state` varchar(200) NOT NULL,
  `zip` varchar(30) NOT NULL,
  `selling_dealer` varchar(200) NOT NULL,
  `dealer_code` varchar(50) NOT NULL,
  `lienholder` varchar(200) NOT NULL,
  `lienholder_address` varchar(200) NOT NULL,
  `lienholder_city` varchar(50) NOT NULL,
  `lienholder_state` varchar(50) NOT NULL,
  `lienholder_zip` varchar(30) NOT NULL,
  `vehicle_year` int(4) NOT NULL,
  `vehicle_make` varchar(100) NOT NULL,
  `vehicle_model` varchar(100) NOT NULL,
  `vehicle_miles` varchar(20) NOT NULL,
  `vehicle_vin` varchar(20) NOT NULL,
  `payment_option` varchar(50) NOT NULL,
  `payment_method` varchar(50) NOT NULL,
  `extra_vi` varchar(200) NOT NULL,
  `price` float(8,2) NOT NULL,
  `tax` float(8,2) NOT NULL,
  `stamp` float(8,2) NOT NULL,
  `description` varchar(200) NOT NULL,
  `down_payment` float(8,2) NOT NULL,
  `financed` float(8,2) NOT NULL,
  `months` varchar(20) NOT NULL,
  PRIMARY KEY  (`warranty_transactions_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;



CREATE TABLE IF NOT EXISTS `warranty_users` (
  `warranty_users_id` int(4) NOT NULL auto_increment,
  `first_name` varchar(50) default NULL,
  `middle_initial` varchar(20) default NULL,
  `last_name` varchar(50) default NULL,
  `job_title` varchar(100) default NULL,
  `company_name` varchar(100) NOT NULL,
  `address` varchar(70) default NULL,
  `city` varchar(50) default NULL,
  `state` varchar(20) default NULL,
  `zip_code` varchar(10) default NULL,
  `country` varchar(50) default NULL,
  `email` varchar(50) default NULL,
  `phone` varchar(20) default NULL,
  `work_phone` varchar(40) default NULL,
  `mobile` varchar(40) default NULL,
  `work_mobile` varchar(40) default NULL,
  `vehicle` int(4) NOT NULL default '0',
  `user_added` datetime NOT NULL,
  `vehicle_year` int(4) NOT NULL,
  `make` varchar(100) NOT NULL,
  `model` varchar(100) NOT NULL,
  `trim` VARCHAR( 100 ) NOT NULL,
  `vin` varchar(25) NOT NULL,
  `mileage` int(5) NOT NULL,
  `purchased` date NOT NULL,
  `serviced` date NOT NULL,
  `service_cost` FLOAT( 8, 2 ) NOT NULL DEFAULT '-1',
  `extra_vi` varchar(100) NOT NULL,
  PRIMARY KEY  (`warranty_users_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=129 ;



CREATE TABLE `parts_order_form` (
`parts_order_form_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`first_name` VARCHAR( 80 ) NOT NULL ,
`last_name` VARCHAR( 80 ) NOT NULL ,
`address` VARCHAR( 80 ) NOT NULL ,
`city` VARCHAR( 80 ) NOT NULL ,
`state` VARCHAR( 80 ) NOT NULL ,
`zip` VARCHAR( 10 ) NOT NULL ,
`day_phone` VARCHAR( 40 ) NOT NULL ,
`evening_phone` VARCHAR( 40 ) NOT NULL ,
`email` VARCHAR( 80 ) NOT NULL ,
`preferred_contact` VARCHAR( 40 ) NOT NULL ,
`vehicle_year` VARCHAR( 4 ) NOT NULL ,
`vehicle_make` VARCHAR( 80 ) NOT NULL ,
`vehicle_model` VARCHAR( 80 ) NOT NULL ,
`vehicle_vin` VARCHAR( 40 ) NOT NULL ,
`vehicle_miles` VARCHAR( 40 ) NOT NULL ,
`additional_comments` MEDIUMTEXT NOT NULL ,
`dealer` INT( 4 ) NOT NULL ,
`submit_date` DATE NOT NULL ,
`submit_time` TIME NOT NULL ,
`source` varchar(50) NOT NULL default 'desktop'
) ENGINE = MYISAM ;



CREATE TABLE `project_manager` (
`project_manager_id` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`project_id` INT(4)  NOT NULL  DEFAULT '0' ,
`project_from` INT( 4 ) NOT NULL ,
`project_from_site` VARCHAR(255)  NOT NULL  DEFAULT '' ,
`project_alias` VARCHAR(255)  NOT NULL  DEFAULT '' ,
`project_cc` MEDIUMTEXT NOT NULL ,
`project_age` DATETIME NOT NULL ,
`project_for` VARCHAR( 255 ) NOT NULL ,
`group_project` BOOL  NOT NULL  DEFAULT '0' ,
`needed_text` INT( 4 ) NOT NULL ,
`needed_when` DATETIME NOT NULL ,
`document1` INT( 4 ) NOT NULL DEFAULT '0' ,
`document2` INT( 4 ) NOT NULL DEFAULT '0' ,
`document3` INT( 4 ) NOT NULL DEFAULT '0' ,
`document4` INT( 4 ) NOT NULL DEFAULT '0' ,
`document5` INT( 4 ) NOT NULL DEFAULT '0' ,
`status_text` INT( 4 ) NOT NULL ,
`status_by` INT( 4 ) NOT NULL ,
`status_when` DATETIME NOT NULL ,
`update_notes` MEDIUMTEXT NOT NULL ,
`update_when` MEDIUMTEXT NOT NULL ,
`update_from` MEDIUMTEXT NOT NULL
) ENGINE = MYISAM ;


CREATE TABLE `project_recipients` (
  `project_recipients_id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  `users_id` int(4) NOT NULL DEFAULT '0',
  `alias` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`project_recipients_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE `project_stages` (
  `project_stages_id` int(4) NOT NULL auto_increment,
  `stage_text` varchar(255) NOT NULL,
  `stage_type` varchar(50) NOT NULL,
  `stage_order` int(2) NOT NULL,
  `time_frame` varchar(20) NOT NULL,
  PRIMARY KEY  (`project_stages_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ;


insert into project_stages (stage_type, stage_order, stage_text, time_frame) values
('future status', '1', 'I will do this today', '0|0|0|18|0|0'),
('future status', '2', 'I will do this tomorrow', '0|0|1|18|0|0'),
('future status', '3', 'I will do this in the next couple days', '0|0|2|18|0|0'),
('future status', '4', 'I will do this in the next few days', '0|0|4|18|0|0'),
('future status', '5', 'I will do this in the next week', '0|0|7|18|0|0'),
('future status', '6', 'I will do this in the next two weeks', '0|0|14|18|0|0'),
('future status', '7', 'I will do this in the next month', '0|1|0|18|0|0'),

('present status', '1', 'I need more information about this', ''),
('present status', '2', 'I need help with this', ''),
('present status', '3', 'I need to put this on hold', ''),
('present status', '4', 'I am doing this right now', ''),
('present status', '5', 'I am almost done with this', ''),

('past status', '1', 'I am done with this', '0|0|0|0|0|0'),

('needed', '1', 'In the next hour', '0|0|0|1|0|0'),
('needed', '2', 'In the next couple hours', '0|0|0|2|0|0'),
('needed', '3', 'By the afternoon', '0|0|0|6|0|0'),
('needed', '4', 'By this evening', '0|0|0|9|0|0'),
('needed', '5', 'By tomorrow morning', '0|0|0|16|0|0'),
('needed', '6', 'By tomorrow afternoon', '0|0|1|6|0|0'),
('needed', '7', 'By tomorrow evening', '0|0|1|9|0|0'),
('needed', '8', 'In the next couple days', '0|0|2|3|0|0'),
('needed', '9', 'In the next few days', '0|0|4|3|0|0'),
('needed', '10', 'In the next week', '0|0|7|3|0|0'),
('needed', '11', 'In the next two weeks', '0|0|14|3|0|0'),
('needed', '12', 'In the next month', '0|1|0|3|0|0'),
('needed', '13', 'At your convenience', '');
ALTER TABLE `recon_items` ADD INDEX (`recon_vehicle_id`);
ALTER TABLE `vehicle_cutouts` ADD INDEX (`cutout_vin`);