0% found this document useful (0 votes)
883 views

Database SQL

Uploaded by

thanhit8088
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
883 views

Database SQL

Uploaded by

thanhit8088
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 36

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

SET NAMES 'utf8';


DROP TABLE IF EXISTS configuration_groups;
CREATE TABLE `configuration_groups` (
`id` int(10) NOT NULL auto_increment,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`description` varchar(255) collate utf8_unicode_ci NOT NULL,
`group_icon` varchar(255) collate utf8_unicode_ci NOT NULL,
`visible` varchar(255) collate utf8_unicode_ci NOT NULL,
`sort_order` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `configuration_groups` (`id`, `key`, `name`, `description`, `group_i
con`, `visible`, `sort_order`) VALUES
(1, 'main', 'Main','','main.png','1','1'),
(2, 'cache', 'Caching','','cache.png','1','2'),
(3, 'email', 'Email Settings','','email.png','1','3');
DROP TABLE IF EXISTS configurations;
CREATE TABLE `configurations` (
`id` int(10) NOT NULL auto_increment,
`configuration_group_id` int(10) NOT NULL,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` varchar(255) collate utf8_unicode_ci NOT NULL,
`type` varchar(255) collate utf8_unicode_ci NOT NULL,
`options` varchar(255) collate utf8_unicode_ci NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`description` varchar(255) collate utf8_unicode_ci NOT NULL,
`sort_order` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `configurations` (`id`, `configuration_group_id`, `key`, `value`, `t
ype`, `options`, `name`, `description`, `sort_order`) VALUES
(1,'1','SITE_NAME', 'VamCart','text', '', 'Site Name','','1'),
(2,'1','METADATA', '<meta name="generator" content="Bluefish 2.2.2" />','textare
a', '', 'Metadata','','2'),
(3,'1','URL_EXTENSION', '.html','text', '', 'URL Extension','','3'),
(4,'1','GD_LIBRARY', '1','select', '0,1', 'GD Library Enabled','','4'),
(5,'1','THUMBNAIL_SIZE', '125','text', '', 'Image Thumbnail Size','','5'),
(6,'1','GOOGLE_ANALYTICS', '','text', '', 'Google Analytics ID','','6'),
(7,'1','YANDEX_METRIKA', '','text', '', 'Yandex.Metrika ID','','7'),
(8,'1','PRODUCTS_PER_PAGE', '10','text', '', 'Products Per Page','','8'),
(9,'2','CACHE_TIME', '3600','text', '', 'Cache Time in Seconds','','9'),
(10,'3','SEND_EXTRA_EMAIL', '[email protected]','text', '', 'Send extra order emails
to','','10'),
(11,'3','NEW_ORDER_FROM_EMAIL', '[email protected]','text', '', 'New Order: From','',
'11'),
(12,'3','NEW_ORDER_FROM_NAME', 'VamCart','text', '', 'New Order: From Name','','
12'),
(13,'3','NEW_ORDER_STATUS_FROM_EMAIL', '[email protected]','text', '', 'New Order Sta
tus: From','','13'),
(14,'3','NEW_ORDER_STATUS_FROM_NAME', 'VamCart','text', '', 'New Order Status: F
rom Name','','14'),
(15,'3','SEND_CONTACT_US_EMAIL', '[email protected]','text', '', 'Send contact us ema
ils to','','15'),
(16,'1','AJAX_ENABLE', '1', 'select', '0,1', 'Ajax Enable', '', '16');

DROP TABLE IF EXISTS contents;


CREATE TABLE `contents` (
`id` int(10) NOT NULL auto_increment,
`parent_id` int(10) NOT NULL,
`order` int(10) NOT NULL,
`hierarchy` int(10) NOT NULL,
`content_type_id` int(10) NOT NULL,
`template_id` int(10) NOT NULL,
`default` tinyint(4) NOT NULL,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`head_data` text collate utf8_unicode_ci NOT NULL,
`active` tinyint(4) NOT NULL,
`show_in_menu` tinyint(4) NOT NULL,
`yml_export` tinyint(4) NOT NULL,
`viewed` int(10) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `contents` (`id`, `parent_id`, `order`, `hierarchy`, `content_type_i
d`, `template_id`, `default`, `alias`, `head_data`, `active`, `show_in_menu`, `y
ml_export`, `viewed`, `created`, `modified`) VALUES
(35, 0, 1, 0, 3, 1, 1, 'home-page', '', 1, 1, 0, 0, '2009-07-28 21:11:18', '2009
-09-12 12:30:17'),
(36, 0, 3, 0, 1, 1, 0, 'horns', '', 1, 1, 0, 0, '2009-07-28 21:11:49', '2009-0801 14:56:05'),
(38, 36, 2, 0, 2, 1, 0, 'elk-horns', '', 1, 1, 0, 0, '2009-07-29 18:54:37', '200
9-09-11 11:20:29'),
(39, 0, 2, 0, 1, 1, 0, 'hoofs', '', 1, 1, 0, 0, '2009-07-29 22:02:10', '2009-0801 14:55:54'),
(44, 0, 4, 0, 1, 1, 0, 'information', '', 1, 0, 0, 0, '2009-07-30 15:34:48', '20
09-07-30 15:35:02'),
(45, 44, 1, 0, 3, 1, 0, 'shipping--returns', '', 1, 1, 0, 0, '2009-07-30 15:36:3
0', '2009-08-06 14:53:16'),
(46, 44, 1, 0, 3, 1, 0, 'privacy-policy', '', 1, 1, 0, 0, '2009-07-30 15:36:54',
'2009-07-30 15:37:09'),
(47, 44, 2, 0, 3, 1, 0, 'conditions-of-use', '', 1, 1, 0, 0, '2009-07-30 15:37:3
3', '2009-07-30 15:37:33'),
(48, 44, 3, 0, 3, 1, 0, 'contact-us', '', 1, 1, 0, 0, '2009-07-30 15:38:03', '20
09-07-30 15:38:03'),
(49, -1, 5, 0, 3, 1, 0, 'cart-contents', '', 1, 1, 0, 0, '2009-07-30 20:40:14',
'2009-08-09 16:23:47'),
(50, -1, 6, 0, 3, 1, 0, 'checkout', '', 1, 1, 0, 0, '2009-07-30 20:52:36', '2009
-08-01 16:54:56'),
(51, -1, 5, 0, 3, 1, 0, 'confirmation', '', 1, 1, 0, 0, '2009-08-07 11:16:28', '
2009-09-01 16:22:10'),
(53, -1, 5, 0, 3, 1, 0, 'success', '', 1, 1, 0, 0, '2009-08-07 11:58:21', '200908-15 16:00:40'),
(58, -1, 0, 0, 3, 1, 0, 'read-reviews', '', 1, 0, 0, 0, '2009-08-20 09:37:04', '
2009-08-20 09:37:04'),
(59, -1, 0, 0, 3, 1, 0, 'create-review', '', 1, 0, 0, 0, '2009-08-20 09:37:04',
'2009-08-20 09:37:04'),
(68, -1, 0, 0, 3, 1, 0, 'coupon-details', '', 1, 0, 0, 0, '2009-09-13 11:11:08',
'2009-09-13 11:11:08'),
(69, 0, 5, 0, 1, 1, 0, 'news', '', 1, 0, 0, 0, '2009-11-10 20:18:22', '2009-11-1
0 20:18:22'),
(70, 0, 6, 0, 1, 1, 0, 'articles', '', 1, 0, 0, 0, '2009-11-10 20:18:45', '200911-10 20:18:45'),

(71, 69, 1, 0, 5, 1, 0, 'sample-news', '', 1, 1, 0, 0, '2009-11-10 20:20:08', '2


009-11-10 20:20:08'),
(72, 70, 1, 0, 6, 1, 0, 'sample-article', '', 1, 1, 0, 0, '2009-11-10 20:20:51',
'2009-11-10 20:20:51'),
(73, -1, 6, 0, 3, 1, 0, 'search-result', '', 1, 0, 0, 0, '2009-11-10 20:20:51',
'2009-11-10 20:20:51');
INSERT INTO `contents` VALUES(87, -1, 7, 0, 3, 1, 0, 'register', '', 1, 0, 0, 10
6, '2012-08-19 00:00:00', '2012-08-19 21:18:34');
INSERT INTO `contents` VALUES(88, -1, 8, 0, 3, 1, 0, 'register-success', '', 1,
0, 0, 3, '2012-08-19 00:00:00', '2012-08-19 21:19:37');
DROP TABLE IF EXISTS content_categories;
CREATE TABLE `content_categories` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`extra` varchar(1) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_categories` (`id`, `content_id`, `extra`) VALUES
(8, 36, '1'),
(9, 39, '1'),
(12, 51, '1');
DROP TABLE IF EXISTS content_descriptions;
CREATE TABLE `content_descriptions` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`language_id` int(10) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`description` text collate utf8_unicode_ci NOT NULL,
`meta_title` varchar(255) collate utf8_unicode_ci NOT NULL,
`meta_description` varchar(255) collate utf8_unicode_ci NOT NULL,
`meta_keywords` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `content_descriptions` (`id`, `content_id`, `language_id`, `name`, `


description`, `meta_title`, `meta_description`, `meta_keywords`) VALUES
(179, 44, 1, 'Information', 'Information about our site can be found by visiting
the following links:','', '', ''),
(180, 44, 2, '', ' :','', '', '')
(185, 46, 1, 'Payment methods', '<p>Enter your payment methods on this page.</p>
','', '', ''),
(186, 46, 2, '', '<p> .</p
(187, 47, 1, 'About Us', '<p>About us page.</p>','', '', ''),
(188, 47, 2, ' ', '<p> .</p>','', '', ''),
(189, 48, 1, 'Contact Us', '<p>Enter your contact information on this page.</p>\
r\n{contact_us}','', '', ''),
(190, 48, 2, '', '<p> .</p>\r\n{contact_us}','', '', ''),
(225, 39, 1, 'Hoofs', 'Description','', '', ''),
(226, 39, 2, '', ' !','', '', ''),
(227, 36, 1, 'Horns', 'Description','', '', ''),
(228, 36, 2, '', ' , !','', '', ''),
(241, 50, 1, 'Checkout', '{checkout template=\'checkout\'}','', '', ''),
(242, 50, 2, '', '{checkout template=\'checkout\'}','', '', ''),
(245, 45, 1, 'Shipping and Returns', '<p>Enter your Shipping & Return informatio
n on this page.</p>','', '', ''),
(246, 45, 2, '', '<p>

(269, 49, 1, 'Cart Contents', '{shopping_cart}','', '', ''),


(270, 49, 2, '', '{shopping_cart}','', '', ''),
(313, 53, 1, 'Thank You', 'Thanks for shopping!','', '', ''),
(314, 53, 2, '', ' !','', '', ''),
(323, 58, 1, 'Read Reviews', '{module alias=''reviews'' action=''display''}','',
'', ''),
(324, 58, 2, ' ', '{module alias=''reviews'' action=''display''}','', '', ''),
(325, 59, 1, 'Write Review', '{module alias=''reviews'' action=''create''}','',
'', ''),
(326, 59, 2, ' ', '{module alias=''reviews'' action=''create''}','', '', ''),
(359, 51, 1, 'Confirmation', '{payment}\r\n{shipping}\r\n\r\n<h2>{lang}Cart Cont
ents{/lang}</h2>\r\n{shopping_cart template=''payment-view-cart''}','', '', ''),
(360, 51, 2, ' ', '{payment}\r\n{shipping}\r\n\r\n<h2>{lang}Cart Contents{
cart template=''payment-view-cart''}','', '', ''),
(385, 38, 1, 'Elk Horns', 'Product description.','', '', ''),
(386, 38, 2, ' ', ' , .','', '', ''),
(391, 35, 1, 'Home', '<p>Welcome to your new online catalog!</p>\r\n<p><a href="
admin/">Click here to go to the admin area.</a><br />\r\nLogin credentials: admi
n/password</p>','', '', ''),
(392, 35, 2, ' ', '<p> !</p>\r\n<p><a href="admin/">
(393, 68, 1, 'Voucher Details', '{module alias=''coupons'' action=''show_info''}
','', '', ''),
(394, 68, 2, ' ', '{module alias=''coupons'' action=''show_info''}','', '',
(395, 69, 1, 'News', '', '', '', ''),
(396, 69, 2, '', '', '', '', ''),
(397, 70, 1, 'Articles', '', '', '', ''),
(398, 70, 2, '', '', '', '', ''),
(399, 71, 1, 'News heading', 'News content','', '', ''),
(400, 71, 2, ' ', ' ','', '', ''),
(401, 72, 1, 'Article', 'Description','', '', ''),
(402, 72, 2, '', ' ','', '', ''),
(403, 73, 1, 'Search results', '{search_result}','', '', ''),
(404, 73, 2, ' ', '{search_result}','', '', '');
INSERT INTO `content_descriptions` VALUES(515, 87, 1, 'Register', '{registration
_form}', '', '', '');
INSERT INTO `content_descriptions` VALUES(516, 87, 2, '', '{registration_form}', '
);
INSERT INTO `content_descriptions` VALUES(517, 88, 1, 'Register success', 'Thak
you for registration', '', '', '');
INSERT INTO `content_descriptions` VALUES(518, 88, 2, ' ', '
DROP TABLE IF EXISTS content_images;
CREATE TABLE `content_images` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`order` int(10) NOT NULL,
`image` varchar(255) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_images` VALUES (1,
05 16:26:47', '2010-02-05 16:26:47');
INSERT INTO `content_images` VALUES (2,
5 16:27:21', '2010-02-05 16:27:21');
INSERT INTO `content_images` VALUES (3,
:28:39', '2010-02-05 16:28:39');
INSERT INTO `content_images` VALUES (4,
', '2010-02-05 16:29:21');

45, 1, 'shipping-methods.png', '2010-0246, 1, 'payment-methods.png', '2010-02-0


47, 1, 'information.png', '2010-02-05 16
48, 1, 'email.png', '2010-02-05 16:29:21

DROP TABLE IF EXISTS content_links;


CREATE TABLE `content_links` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`url` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS content_pages;
CREATE TABLE `content_pages` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`extra` varchar(1) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_pages` (`id`, `content_id`, `extra`) VALUES
(23, 35, '1'),
(24, 36, '1'),
(25, 44, '1'),
(26, 45, '1'),
(27, 46, '1'),
(28, 47, '1'),
(29, 48, '1'),
(30, 49, '1'),
(31, 50, '1'),
(32, 51, '1'),
(33, 53, '1'),
(34, 73, '1');
INSERT INTO `content_pages` VALUES(35, 87, '1');
INSERT INTO `content_pages` VALUES(36, 88, '1');
DROP TABLE IF EXISTS content_products;
CREATE TABLE `content_products` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`stock` int(10) NOT NULL,
`model` varchar(50) collate utf8_unicode_ci NOT NULL,
`price` double NOT NULL,
`tax_id` int(10) NOT NULL,
`weight` double NOT NULL,
`mo ` int(8) NOT NULL DEFAULT '1' COMMENT 'Minimum order uantity',
`pf` int(8) NOT NULL DEFAULT '1' COMMENT 'Price For',
`ordered` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_products` (`id`, `content_id`, `stock`, `model`, `price`, `
tax_id`, `weight`, `mo `, `pf`, `ordered`) VALUES
(16, 37, 12, '123456', 10.99, 2, 0, 1, 1, 0),
(17, 38, 22, 'sample', 4.95, 2, 3, 1, 1, 0);
DROP TABLE IF EXISTS content_product_prices;
CREATE TABLE IF NOT EXISTS `content_product_prices` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`content_product_id` int(10) NOT NULL,
` uantity` int(10) NOT NULL,
`price` double NOT NULL,
PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


INSERT INTO `content_product_prices` (`id`, `content_product_id`, ` uantity`, `p
rice`) VALUES
(1, 16, 5, 10.50);
DROP TABLE IF EXISTS content_news;
CREATE TABLE `content_news` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(1) NOT NULL,
`extra` varchar(1) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_news` (`id`, `content_id`, `extra`) VALUES
(1, 69, '1'),
(2, 71, '1');
DROP TABLE IF EXISTS content_articles;
CREATE TABLE `content_articles` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(1) NOT NULL,
`extra` varchar(1) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `content_articles` (`id`, `content_id`, `extra`) VALUES
(1, 70, '1'),
(2, 72, '1');
DROP TABLE IF EXISTS content_types;
CREATE TABLE `content_types` (
`id` int(10) NOT NULL auto_increment,
`template_type_id` tinyint(4) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`type` varchar(50) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT
(1, 4,
(2, 3,
(3, 2,
(4, 0,
(5, 5,
(6, 6,

INTO `content_types` (`id`, `template_type_id`, `name`, `type`) VALUES


'category', 'ContentCategory'),
'product', 'ContentProduct'),
'page', 'ContentPage'),
'link', 'ContentLink'),
'news', 'ContentNews'),
'article', 'ContentArticle');

DROP TABLE IF EXISTS countries;


CREATE TABLE IF NOT EXISTS `countries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`iso_code_2` char(2) COLLATE utf8_unicode_ci NOT NULL,
`iso_code_3` char(3) COLLATE utf8_unicode_ci NOT NULL,
`address_format` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`eu` int(2) NOT NULL DEFAULT '0',
`private` int(2) NOT NULL DEFAULT '0',
`firm` int(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `IDX_NAME` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `countries` (`id`, `name`, `iso_code_2`, `iso_code_3`, `address_form


at`, `eu`, `private`, `firm`) VALUES
(1, 'Afghanistan', 'AF', 'AFG', '', 0, 0, 0),
(2, 'Albania', 'AL', 'ALB', '', 0, 0, 0),
(3, 'Algeria', 'DZ', 'DZA', '', 0, 0, 0),
(4, 'American Samoa', 'AS', 'ASM', '', 0, 0, 0),
(5, 'Andorra', 'AD', 'AND', '', 0, 0, 0),
(6, 'Angola', 'AO', 'AGO', '', 0, 0, 0),
(7, 'Anguilla', 'AI', 'AIA', '', 0, 0, 0),
(8, 'Antarctica', 'AQ', 'ATA', '', 0, 0, 0),
(9, 'Antigua and Barbuda', 'AG', 'ATG', '', 0, 0, 0),
(10, 'Argentina', 'AR', 'ARG', ':name\n:street_address\n:postcode :city\n:countr
y', 0, 0, 0),
(11, 'Armenia', 'AM', 'ARM', '', 0, 0, 0),
(12, 'Aruba', 'AW', 'ABW', '', 0, 0, 0),
(13, 'Australia', 'AU', 'AUS', ':name\n:street_address\n:suburb :state_code :pos
tcode\n:country', 0, 0, 0),
(14, 'Austria', 'AT', 'AUT', ':name\n:street_address\nA-:postcode :city\n:countr
y', 1, 1, 0),
(15, 'Azerbaijan', 'AZ', 'AZE', '', 0, 0, 0),
(16, 'Bahamas', 'BS', 'BHS', '', 0, 0, 0),
(17, 'Bahrain', 'BH', 'BHR', '', 0, 0, 0),
(18, 'Bangladesh', 'BD', 'BGD', '', 0, 0, 0),
(19, 'Barbados', 'BB', 'BRB', '', 0, 0, 0),
(20, 'Belarus', 'BY', 'BLR', '', 0, 0, 0),
(21, 'Belgium', 'BE', 'BEL', ':name\n:street_address\nB-:postcode :city\n:countr
y', 1, 1, 0),
(22, 'Belize', 'BZ', 'BLZ', '', 0, 0, 0),
(23, 'Benin', 'BJ', 'BEN', '', 0, 0, 0),
(24, 'Bermuda', 'BM', 'BMU', '', 0, 0, 0),
(25, 'Bhutan', 'BT', 'BTN', '', 0, 0, 0),
(26, 'Bolivia', 'BO', 'BOL', '', 0, 0, 0),
(27, 'Bosnia and Herzegowina', 'BA', 'BIH', '', 0, 0, 0),
(28, 'Botswana', 'BW', 'BWA', '', 0, 0, 0),
(29, 'Bouvet Island', 'BV', 'BVT', '', 0, 0, 0),
(30, 'Brazil', 'BR', 'BRA', ':name\n:street_address\n:state\n:postcode\n:country
', 0, 0, 0),
(31, 'British Indian Ocean Territory', 'IO', 'IOT', '', 0, 0, 0),
(32, 'Brunei Darussalam', 'BN', 'BRN', '', 0, 0, 0),
(33, 'Bulgaria', 'BG', 'BGR', '', 1, 1, 0),
(34, 'Burkina Faso', 'BF', 'BFA', '', 0, 0, 0),
(35, 'Burundi', 'BI', 'BDI', '', 0, 0, 0),
(36, 'Cambodia', 'KH', 'KHM', '', 0, 0, 0),
(37, 'Cameroon', 'CM', 'CMR', '', 0, 0, 0),
(38, 'Canada', 'CA', 'CAN', ':name\n:street_address\n:city :state_code :postcode
\n:country', 0, 0, 0),
(39, 'Cape Verde', 'CV', 'CPV', '', 0, 0, 0),
(40, 'Cayman Islands', 'KY', 'CYM', '', 0, 0, 0),
(41, 'Central African Republic', 'CF', 'CAF', '', 0, 0, 0),
(42, 'Chad', 'TD', 'TCD', '', 0, 0, 0),
(43, 'Chile', 'CL', 'CHL', ':name\n:street_address\n:city\n:country', 0, 0, 0),
(44, 'China', 'CN', 'CHN', ':name\n:street_address\n:postcode :city\n:country',
0, 0, 0),
(45, 'Christmas Island', 'CX', 'CXR', '', 0, 0, 0),
(46, 'Cocos (Keeling) Islands', 'CC', 'CCK', '', 0, 0, 0),
(47, 'Colombia', 'CO', 'COL', '', 0, 0, 0),
(48, 'Comoros', 'KM', 'COM', '', 0, 0, 0),
(49, 'Congo', 'CG', 'COG', '', 0, 0, 0),
(50, 'Cook Islands', 'CK', 'COK', '', 0, 0, 0),

(51, 'Costa Rica', 'CR', 'CRI', '', 0, 0, 0),


(52, 'Cote D''Ivoire', 'CI', 'CIV', '', 0, 0, 0),
(53, 'Croatia', 'HR', 'HRV', '', 0, 0, 0),
(54, 'Cuba', 'CU', 'CUB', '', 0, 0, 0),
(55, 'Cyprus', 'CY', 'CYP', '', 1, 1, 0),
(56, 'Czech Republic', 'CZ', 'CZE', '', 1, 1, 0),
(57, 'Denmark', 'DK', 'DNK', ':name\n:street_address\nDK-:postcode :city\n:count
ry', 1, 1, 0),
(58, 'Djibouti', 'DJ', 'DJI', '', 0, 0, 0),
(59, 'Dominica', 'DM', 'DMA', '', 0, 0, 0),
(60, 'Dominican Republic', 'DO', 'DOM', '', 0, 0, 0),
(61, 'East Timor', 'TP', 'TMP', '', 0, 0, 0),
(62, 'Ecuador', 'EC', 'ECU', '', 0, 0, 0),
(63, 'Egypt', 'EG', 'EGY', '', 0, 0, 0),
(64, 'El Salvador', 'SV', 'SLV', '', 0, 0, 0),
(65, 'E uatorial Guinea', 'GQ', 'GNQ', '', 0, 0, 0),
(66, 'Eritrea', 'ER', 'ERI', '', 0, 0, 0),
(67, 'Estonia', 'EE', 'EST', '', 1, 1, 0),
(68, 'Ethiopia', 'ET', 'ETH', '', 0, 0, 0),
(69, 'Falkland Islands (Malvinas)', 'FK', 'FLK', '', 0, 0, 0),
(70, 'Faroe Islands', 'FO', 'FRO', '', 0, 0, 0),
(71, 'Fiji', 'FJ', 'FJI', '', 0, 0, 0),
(72, 'Finland', 'FI', 'FIN', ':name\n:street_address\nFIN-:postcode :city\n:coun
try', 1, 1, 0),
(73, 'France', 'FR', 'FRA', ':name\n:street_address\n:postcode :city\n:country',
1, 1, 0),
(74, 'France, Metropolitan', 'FX', 'FXX', ':name\n:street_address\n:postcode :ci
ty\n:country', 0, 0, 0),
(75, 'French Guiana', 'GF', 'GUF', ':name\n:street_address\n:postcode :city\n:co
untry', 0, 0, 0),
(76, 'French Polynesia', 'PF', 'PYF', ':name\n:street_address\n:postcode :city\n
:country', 0, 0, 0),
(77, 'French Southern Territories', 'TF', 'ATF', ':name\n:street_address\n:postc
ode :city\n:country', 0, 0, 0),
(78, 'Gabon', 'GA', 'GAB', '', 0, 0, 0),
(79, 'Gambia', 'GM', 'GMB', '', 0, 0, 0),
(80, 'Georgia', 'GE', 'GEO', '', 0, 0, 0),
(81, 'Germany', 'DE', 'DEU', ':name\n:street_address\nD-:postcode :city\n:countr
y', 1, 1, 0),
(82, 'Ghana', 'GH', 'GHA', '', 0, 0, 0),
(83, 'Gibraltar', 'GI', 'GIB', '', 0, 0, 0),
(84, 'Greece', 'GR', 'GRC', '', 1, 1, 0),
(85, 'Greenland', 'GL', 'GRL', ':name\n:street_address\nDK-:postcode :city\n:cou
ntry', 0, 0, 0),
(86, 'Grenada', 'GD', 'GRD', '', 0, 0, 0),
(87, 'Guadeloupe', 'GP', 'GLP', '', 0, 0, 0),
(88, 'Guam', 'GU', 'GUM', '', 0, 0, 0),
(89, 'Guatemala', 'GT', 'GTM', '', 0, 0, 0),
(90, 'Guinea', 'GN', 'GIN', '', 0, 0, 0),
(91, 'Guinea-Bissau', 'GW', 'GNB', '', 0, 0, 0),
(92, 'Guyana', 'GY', 'GUY', '', 0, 0, 0),
(93, 'Haiti', 'HT', 'HTI', '', 0, 0, 0),
(94, 'Heard and McDonald Islands', 'HM', 'HMD', '', 0, 0, 0),
(95, 'Honduras', 'HN', 'HND', '', 0, 0, 0),
(96, 'Hong Kong', 'HK', 'HKG', ':name\n:street_address\n:city\n:country', 0, 0,
0),
(97, 'Hungary', 'HU', 'HUN', '', 1, 1, 0),
(98, 'Iceland', 'IS', 'ISL', ':name\n:street_address\nIS:postcode :city\n:countr
y', 0, 0, 0),
(99, 'India', 'IN', 'IND', ':name\n:street_address\n:city-:postcode\n:country',

0, 0, 0),
(100, 'Indonesia', 'ID', 'IDN', ':name\n:street_address\n:city :postcode\n:count
ry', 0, 0, 0),
(101, 'Iran', 'IR', 'IRN', '', 0, 0, 0),
(102, 'Ira ', 'IQ', 'IRQ', '', 0, 0, 0),
(103, 'Ireland', 'IE', 'IRL', ':name\n:street_address\nIE-:city\n:country', 1, 1
, 0),
(104, 'Israel', 'IL', 'ISR', ':name\n:street_address\n:postcode :city\n:country'
, 0, 0, 0),
(105, 'Italy', 'IT', 'ITA', ':name\n:street_address\n:postcode-:city :state_code
\n:country', 1, 1, 0),
(106, 'Jamaica', 'JM', 'JAM', '', 0, 0, 0),
(107, 'Japan', 'JP', 'JPN', ':name\n:street_address, :suburb\n:city :postcode\n:
country', 0, 0, 0),
(108, 'Jordan', 'JO', 'JOR', '', 0, 0, 0),
(109, 'Kazakhstan', 'KZ', 'KAZ', '', 0, 0, 0),
(110, 'Kenya', 'KE', 'KEN', '', 0, 0, 0),
(111, 'Kiribati', 'KI', 'KIR', '', 0, 0, 0),
(112, 'Korea, North', 'KP', 'PRK', '', 0, 0, 0),
(113, 'Korea, South', 'KR', 'KOR', '', 0, 0, 0),
(114, 'Kuwait', 'KW', 'KWT', '', 0, 0, 0),
(115, 'Kyrgyzstan', 'KG', 'KGZ', '', 0, 0, 0),
(116, 'Laos', 'LA', 'LAO', '', 0, 0, 0),
(117, 'Latvia', 'LV', 'LVA', '', 1, 1, 0),
(118, 'Lebanon', 'LB', 'LBN', '', 0, 0, 0),
(119, 'Lesotho', 'LS', 'LSO', '', 0, 0, 0),
(120, 'Liberia', 'LR', 'LBR', '', 0, 0, 0),
(121, 'Libyan Arab Jamahiriya', 'LY', 'LBY', '', 0, 0, 0),
(122, 'Liechtenstein', 'LI', 'LIE', '', 0, 0, 0),
(123, 'Lithuania', 'LT', 'LTU', '', 1, 1, 0),
(124, 'Luxembourg', 'LU', 'LUX', ':name\n:street_address\nL-:postcode :city\n:co
untry', 1, 1, 0),
(125, 'Macau', 'MO', 'MAC', '', 0, 0, 0),
(126, 'Macedonia', 'MK', 'MKD', '', 0, 0, 0),
(127, 'Madagascar', 'MG', 'MDG', '', 0, 0, 0),
(128, 'Malawi', 'MW', 'MWI', '', 0, 0, 0),
(129, 'Malaysia', 'MY', 'MYS', '', 0, 0, 0),
(130, 'Maldives', 'MV', 'MDV', '', 0, 0, 0),
(131, 'Mali', 'ML', 'MLI', '', 0, 0, 0),
(132, 'Malta', 'MT', 'MLT', '', 1, 1, 0),
(133, 'Marshall Islands', 'MH', 'MHL', '', 0, 0, 0),
(134, 'Martini ue', 'MQ', 'MTQ', '', 0, 0, 0),
(135, 'Mauritania', 'MR', 'MRT', '', 0, 0, 0),
(136, 'Mauritius', 'MU', 'MUS', '', 0, 0, 0),
(137, 'Mayotte', 'YT', 'MYT', '', 0, 0, 0),
(138, 'Mexico', 'MX', 'MEX', ':name\n:street_address\n:postcode :city, :state_co
de\n:country', 0, 0, 0),
(139, 'Micronesia', 'FM', 'FSM', '', 0, 0, 0),
(140, 'Moldova', 'MD', 'MDA', '', 0, 0, 0),
(141, 'Monaco', 'MC', 'MCO', '', 0, 0, 0),
(142, 'Mongolia', 'MN', 'MNG', '', 0, 0, 0),
(143, 'Montserrat', 'MS', 'MSR', '', 0, 0, 0),
(144, 'Morocco', 'MA', 'MAR', '', 0, 0, 0),
(145, 'Mozambi ue', 'MZ', 'MOZ', '', 0, 0, 0),
(146, 'Myanmar', 'MM', 'MMR', '', 0, 0, 0),
(147, 'Namibia', 'NA', 'NAM', '', 0, 0, 0),
(148, 'Nauru', 'NR', 'NRU', '', 0, 0, 0),
(149, 'Nepal', 'NP', 'NPL', '', 0, 0, 0),
(150, 'Netherlands', 'NL', 'NLD', ':name\n:street_address\n:postcode :city\n:cou
ntry', 1, 1, 0),

(151, 'Netherlands Antilles', 'AN', 'ANT', ':name\n:street_address\n:postcode :c


ity\n:country', 0, 0, 0),
(152, 'New Caledonia', 'NC', 'NCL', '', 0, 0, 0),
(153, 'New Zealand', 'NZ', 'NZL', ':name\n:street_address\n:suburb\n:city :postc
ode\n:country', 0, 0, 0),
(154, 'Nicaragua', 'NI', 'NIC', '', 0, 0, 0),
(155, 'Niger', 'NE', 'NER', '', 0, 0, 0),
(156, 'Nigeria', 'NG', 'NGA', '', 0, 0, 0),
(157, 'Niue', 'NU', 'NIU', '', 0, 0, 0),
(158, 'Norfolk Island', 'NF', 'NFK', '', 0, 0, 0),
(159, 'Northern Mariana Islands', 'MP', 'MNP', '', 0, 0, 0),
(160, 'Norway', 'NO', 'NOR', ':name\n:street_address\nNO-:postcode :city\n:count
ry', 0, 0, 0),
(161, 'Oman', 'OM', 'OMN', '', 0, 0, 0),
(162, 'Pakistan', 'PK', 'PAK', '', 0, 0, 0),
(163, 'Palau', 'PW', 'PLW', '', 0, 0, 0),
(164, 'Panama', 'PA', 'PAN', '', 0, 0, 0),
(165, 'Papua New Guinea', 'PG', 'PNG', '', 0, 0, 0),
(166, 'Paraguay', 'PY', 'PRY', '', 0, 0, 0),
(167, 'Peru', 'PE', 'PER', '', 0, 0, 0),
(168, 'Philippines', 'PH', 'PHL', '', 0, 0, 0),
(169, 'Pitcairn', 'PN', 'PCN', '', 0, 0, 0),
(170, 'Poland', 'PL', 'POL', ':name\n:street_address\n:postcode :city\n:country'
, 1, 1, 0),
(171, 'Portugal', 'PT', 'PRT', ':name\n:street_address\n:postcode :city\n:countr
y', 1, 1, 0),
(172, 'Puerto Rico', 'PR', 'PRI', '', 0, 0, 0),
(173, 'Qatar', 'QA', 'QAT', '', 0, 0, 0),
(174, 'Reunion', 'RE', 'REU', '', 0, 0, 0),
(175, 'Romania', 'RO', 'ROM', '', 1, 1, 0),
(176, 'Russia', 'RU', 'RUS', ':name\n:street_address\n:postcode :city\n:country'
, 0, 0, 0),
(177, 'Rwanda', 'RW', 'RWA', '', 0, 0, 0),
(178, 'Saint Kitts and Nevis', 'KN', 'KNA', '', 0, 0, 0),
(179, 'Saint Lucia', 'LC', 'LCA', '', 0, 0, 0),
(180, 'Saint Vincent and the Grenadines', 'VC', 'VCT', '', 0, 0, 0),
(181, 'Samoa', 'WS', 'WSM', '', 0, 0, 0),
(182, 'San Marino', 'SM', 'SMR', '', 0, 0, 0),
(183, 'Sao Tome and Principe', 'ST', 'STP', '', 0, 0, 0),
(184, 'Saudi Arabia', 'SA', 'SAU', '', 0, 0, 0),
(185, 'Senegal', 'SN', 'SEN', '', 0, 0, 0),
(186, 'Seychelles', 'SC', 'SYC', '', 0, 0, 0),
(187, 'Sierra Leone', 'SL', 'SLE', '', 0, 0, 0),
(188, 'Singapore', 'SG', 'SGP', ':name\n:street_address\n:city :postcode\n:count
ry', 0, 0, 0),
(189, 'Slovakia', 'SK', 'SVK', '', 1, 1, 0),
(190, 'Slovenia', 'SI', 'SVN', '', 1, 1, 1),
(191, 'Solomon Islands', 'SB', 'SLB', '', 0, 0, 0),
(192, 'Somalia', 'SO', 'SOM', '', 0, 0, 0),
(193, 'South Africa', 'ZA', 'ZAF', ':name\n:street_address\n:suburb\n:city\n:pos
tcode :country', 0, 0, 0),
(194, 'South Georgia and the South Sandwich Islands', 'GS', 'SGS', '', 0, 0, 0),
(195, 'Spain', 'ES', 'ESP', ':name\n:street_address\n:postcode :city\n:country',
1, 1, 0),
(196, 'Sri Lanka', 'LK', 'LKA', '', 0, 0, 0),
(197, 'St. Helena', 'SH', 'SHN', '', 0, 0, 0),
(198, 'St. Pierre and Mi uelon', 'PM', 'SPM', '', 0, 0, 0),
(199, 'Sudan', 'SD', 'SDN', '', 0, 0, 0),
(200, 'Suriname', 'SR', 'SUR', '', 0, 0, 0),
(201, 'Svalbard and Jan Mayen Islands', 'SJ', 'SJM', '', 0, 0, 0),

(202, 'Swaziland', 'SZ', 'SWZ', '', 0, 0, 0),


(203, 'Sweden', 'SE', 'SWE', ':name\n:street_address\n:postcode :city\n:country'
, 1, 1, 0),
(204, 'Switzerland', 'CH', 'CHE', ':name\n:street_address\n:postcode :city\n:cou
ntry', 0, 0, 0),
(205, 'Syrian Arab Republic', 'SY', 'SYR', '', 0, 0, 0),
(206, 'Taiwan', 'TW', 'TWN', ':name\n:street_address\n:city :postcode\n:country'
, 0, 0, 0),
(207, 'Tajikistan', 'TJ', 'TJK', '', 0, 0, 0),
(208, 'Tanzania', 'TZ', 'TZA', '', 0, 0, 0),
(209, 'Thailand', 'TH', 'THA', '', 0, 0, 0),
(210, 'Togo', 'TG', 'TGO', '', 0, 0, 0),
(211, 'Tokelau', 'TK', 'TKL', '', 0, 0, 0),
(212, 'Tonga', 'TO', 'TON', '', 0, 0, 0),
(213, 'Trinidad and Tobago', 'TT', 'TTO', '', 0, 0, 0),
(214, 'Tunisia', 'TN', 'TUN', '', 0, 0, 0),
(215, 'Turkey', 'TR', 'TUR', '', 0, 0, 0),
(216, 'Turkmenistan', 'TM', 'TKM', '', 0, 0, 0),
(217, 'Turks and Caicos Islands', 'TC', 'TCA', '', 0, 0, 0),
(218, 'Tuvalu', 'TV', 'TUV', '', 0, 0, 0),
(219, 'Uganda', 'UG', 'UGA', '', 0, 0, 0),
(220, 'Ukraine', 'UA', 'UKR', '', 0, 0, 0),
(221, 'United Arab Emirates', 'AE', 'ARE', '', 0, 0, 0),
(222, 'United Kingdom', 'GB', 'GBR', ':name\n:street_address\n:city\n:postcode\n
:country', 0, 0, 0),
(223, 'United States of America', 'US', 'USA', ':name\n:street_address\n:city :s
tate_code :postcode\n:country', 0, 0, 0),
(224, 'United States Minor Outlying Islands', 'UM', 'UMI', '', 0, 0, 0),
(225, 'Uruguay', 'UY', 'URY', '', 0, 0, 0),
(226, 'Uzbekistan', 'UZ', 'UZB', '', 0, 0, 0),
(227, 'Vanuatu', 'VU', 'VUT', '', 0, 0, 0),
(228, 'Vatican City State (Holy See)', 'VA', 'VAT', '', 0, 0, 0),
(229, 'Venezuela', 'VE', 'VEN', '', 0, 0, 0),
(230, 'Vietnam', 'VN', 'VNM', '', 0, 0, 0),
(231, 'Virgin Islands (British)', 'VG', 'VGB', '', 0, 0, 0),
(232, 'Virgin Islands (U.S.)', 'VI', 'VIR', '', 0, 0, 0),
(233, 'Wallis and Futuna Islands', 'WF', 'WLF', '', 0, 0, 0),
(234, 'Western Sahara', 'EH', 'ESH', '', 0, 0, 0),
(235, 'Yemen', 'YE', 'YEM', '', 0, 0, 0),
(236, 'Yugoslavia', 'YU', 'YUG', '', 0, 0, 0),
(237, 'Zaire', 'ZR', 'ZAR', '', 0, 0, 0),
(238, 'Zambia', 'ZM', 'ZMB', '', 0, 0, 0),
(239, 'Zimbabwe', 'ZW', 'ZWE', '', 0, 0, 0);
DROP TABLE IF EXISTS country_zones;
CREATE TABLE `country_zones` (
`id` int(10) NOT NULL auto_increment,
`country_id` int(10) NOT NULL,
`geo_zone_id` int(11) NOT NULL,
`code` varchar(32) collate utf8_unicode_ci NOT NULL,
`name` varchar(64) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO
VALUES
(1, 223, 0,
(2, 223, 0,
(3, 223, 0,
(4, 223, 0,

`country_zones` (`id`, `country_id`, `geo_zone_id`, `code`, `name`)


'AK',
'AL',
'AS',
'AR',

'Alaska'),
'Alabama'),
'American Samoa'),
'Arkansas'),

(5, 223, 0, 'AZ', 'Arizona'),


(6, 223, 0, 'CA', 'California'),
(7, 223, 0, 'CO', 'Colorado'),
(8, 223, 0, 'CT', 'Connecticut'),
(9, 223, 0, 'DC', 'District of Columbia'),
(10, 223, 0, 'DE', 'Delaware'),
(11, 223, 0, 'FL', 'Florida'),
(12, 223, 0, 'GA', 'Georgia'),
(13, 223, 0, 'GU', 'Guam'),
(14, 223, 0, 'HI', 'Hawaii'),
(15, 223, 0, 'IA', 'Iowa'),
(16, 223, 0, 'ID', 'Idaho'),
(17, 223, 0, 'IL', 'Illinois'),
(18, 223, 0, 'IN', 'Indiana'),
(19, 223, 0, 'KS', 'Kansas'),
(20, 223, 0, 'KY', 'Kentucky'),
(21, 223, 0, 'LA', 'Louisiana'),
(22, 223, 0, 'MA', 'Massachusetts'),
(23, 223, 0, 'MD', 'Maryland'),
(24, 223, 0, 'ME', 'Maine'),
(25, 223, 0, 'MI', 'Michigan'),
(26, 223, 0, 'MN', 'Minnesota'),
(27, 223, 0, 'MO', 'Missouri'),
(28, 223, 0, 'MS', 'Mississippi'),
(29, 223, 0, 'MT', 'Montana'),
(30, 223, 0, 'NC', 'North Carolina'),
(31, 223, 0, 'ND', 'North Dakota'),
(32, 223, 0, 'NE', 'Nebraska'),
(33, 223, 0, 'NH', 'New Hampshire'),
(34, 223, 0, 'NJ', 'New Jersey'),
(35, 223, 0, 'NM', 'New Mexico'),
(36, 223, 0, 'NV', 'Nevada'),
(37, 223, 0, 'NY', 'New York'),
(38, 223, 0, 'MP', 'Northern Mariana Islands'),
(39, 223, 0, 'OH', 'Ohio'),
(40, 223, 0, 'OK', 'Oklahoma'),
(41, 223, 0, 'OR', 'Oregon'),
(42, 223, 0, 'PA', 'Pennsylvania'),
(43, 223, 0, 'PR', 'Puerto Rico'),
(44, 223, 0, 'RI', 'Rhode Island'),
(45, 223, 0, 'SC', 'South Carolina'),
(46, 223, 0, 'SD', 'South Dakota'),
(47, 223, 0, 'TN', 'Tennessee'),
(48, 223, 0, 'TX', 'Texas'),
(49, 223, 0, 'UM', 'U.S. Minor Outlying Islands'),
(50, 223, 0, 'UT', 'Utah'),
(51, 223, 0, 'VA', 'Virginia'),
(52, 223, 0, 'VI', 'Virgin Islands of the U.S.'),
(53, 223, 0, 'VT', 'Vermont'),
(54, 223, 0, 'WA', 'Washington'),
(55, 223, 0, 'WI', 'Wisconsin'),
(56, 223, 0, 'WV', 'West Virginia'),
(57, 223, 0, 'WY', 'Wyoming');
DROP TABLE IF EXISTS currencies;
CREATE TABLE `currencies` (
`id` int(10) NOT NULL auto_increment,
`active` tinyint(4) NOT NULL default '1',
`default` tinyint(4) NOT NULL default '0',
`name` varchar(50) collate utf8_unicode_ci NOT NULL,

`code` varchar(3) collate utf8_unicode_ci NOT NULL,


`symbol_left` varchar(24) collate utf8_unicode_ci NOT NULL,
`symbol_right` varchar(24) collate utf8_unicode_ci NOT NULL,
`decimal_point` char(1) collate utf8_unicode_ci NOT NULL,
`thousands_point` char(1) collate utf8_unicode_ci NOT NULL,
`decimal_places` char(1) collate utf8_unicode_ci NOT NULL,
`value` float NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `currencies` (`id`, `active`, `default`, `name`, `code`, `symbol_lef


t`, `symbol_right`, `decimal_point`, `thousands_point`, `decimal_places`, `value
`, `created`, `modified`) VALUES
(1, 1, 1, 'US Dollar', 'USD', '', '', '.', ',', '2', 1, '2009-07-15 11:39:15',
'2009-07-15 13:08:23'),
(2, 1, 0, '', 'RUR', '', '.', '.', ',', '0.0312', 1, '2009-07-15 11:39:15', '2009-0713:08:23'),
(3, 1, 0, 'Euro', 'EUR', '&euro;', '', '.', ',', '2', 0.7811, '2009-07-15 13:09:
23', '2009-07-15 13:09:23');
DROP TABLE IF EXISTS defined_languages;
CREATE TABLE `defined_languages` (
`id` int(10) NOT NULL auto_increment,
`language_id` int(10) NOT NULL,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` text collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `defined_languages` (`id`, `language_id`, `key`, `value`, `created`,


`modified`) VALUES
(1, 1, 'Cart Contents', 'Cart Contents', '2009-09-12 20:08:49', '2009-09-12 20:0
8:49'),
(2, 2, 'Cart Contents', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(3, 1, 'Categories', 'Categories', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(4, 2, 'Categories', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(5, 1, 'Product', 'Product', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(6, 2, 'Product', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(7, 1, 'Price Ea.', 'Price Ea.', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(8, 2, 'Price Ea.', ' / .', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(9, 1, 'Qty', 'Qty', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(10, 2, 'Qty', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(11, 1, 'Total', 'Total', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(12, 2, 'Total', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(13, 1, 'No Cart Items', 'No Cart Items', '2009-09-12 20:08:49', '2009-09-12 20:
08:49'),
(14, 2, 'No Cart Items', ' .', '2009-09-12 20:08:49', '2009-09-12 20:08:49
(15, 1, 'Checkout', 'Checkout', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(16, 2, 'Checkout', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(17, 1, 'Currency', 'Currency', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(18, 2, 'Currency', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(19, 1, 'Go', 'Go', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(20, 2, 'Go', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(21, 1, 'Shopping Cart', 'Shopping Cart', '2009-09-12 20:08:49', '2009-09-12 20:
08:49'),

(22, 2, 'Shopping Cart', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),


(23, 1, 'Shipping', 'Shipping', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(24, 2, 'Shipping', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(25, 1, 'Language', 'Language', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(26, 2, 'Language', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(27, 1, 'Sub Categories', 'Sub Categories', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(28, 2, 'Sub Categories', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(29, 1, 'Products in this Category', 'Products in this Category', '2009-09-12 20
:08:49', '2009-09-12 20:08:49'),
(30, 2, 'Products in this Category', ' ', '2009-09-12 20:08:49', '200
(31, 1, 'Coupon Code', 'Coupon Code', '2009-09-12 20:08:49', '2009-09-12 20:08:4
9'),
(32, 2, 'Coupon Code', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(33, 1, 'Read Reviews', 'Read Reviews', '2009-09-12 20:08:49', '2009-09-12 20:08
:49'),
(34, 2, 'Read Reviews', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(35, 1, 'Write a Review', 'Write a Review', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(36, 2, 'Write a Review', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(37, 1, 'No reviews were found for this product.', 'No reviews were found for th
is product.', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(38, 2, 'No reviews were found for this product.', ' .', '2009-0
(39, 1, 'Confirm Order', 'Confirm Order', '2009-09-12 20:08:49', '2009-09-12 20:
08:49'),
(40, 2, 'Confirm Order', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(41, 1, 'Billing Information', 'Billing Information', '2009-09-12 20:08:49', '20
09-09-12 20:08:49'),
(42, 2, 'Billing Information', ' ', '2009-09-12 20:08:49', '2009-09-12
(43, 1, 'Name', 'Name', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(44, 2, 'Name', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(45, 1, 'Address Line 1', 'Address Line 1', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(46, 2, 'Address Line 1', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(47, 1, 'Address Line 2', 'Address Line 2', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(48, 2, 'Address Line 2', '. ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(49, 1, 'City', 'City', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(50, 2, 'City', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(51, 1, 'State', 'State', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(52, 2, 'State', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(53, 1, 'Zipcode', 'Zipcode', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(54, 2, 'Zipcode', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(55, 1, 'Shipping Information', 'Shipping Information', '2009-09-12 20:08:49', '
2009-09-12 20:08:49'),
(56, 2, 'Shipping Information', ' ', '2009-09-12 20:08:49', '2009-09-12 2
(57, 1, 'Contact Information', 'Contact Information', '2009-09-12 20:08:49', '20
09-09-12 20:08:49'),
(58, 2, 'Contact Information', ' ', '2009-09-12 20:08:49', '2009-09-12 20
(59, 1, 'Email', 'Email', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(60, 2, 'Email', 'Email', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(61, 1, 'Phone', 'Phone', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(62, 2, 'Phone', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(63, 1, 'Shipping Method', 'Shipping Method', '2009-09-12 20:08:49', '2009-09-12
20:08:49'),
(64, 2, 'Shipping Method', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(65, 1, 'Payment Method', 'Payment Method', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(66, 2, 'Payment Method', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(67, 1, 'Continue', 'Continue', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),

(68, 2, 'Continue', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),


(69, 1, 'No Items Found', 'No Items Found', '2009-09-12 20:08:49', '2009-09-12 2
0:08:49'),
(70, 2, 'No Items Found', ' .', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
(71, 1, 'No Image', 'No Image', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(72, 2, 'No Image', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(73, 1, 'Review', 'Review', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(74, 2, 'Review', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(75, 1, 'Submit', 'Submit', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(76, 2, 'Submit', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(77, 1, 'News', 'News', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(78, 2, 'News', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(79, 1, 'Articles', 'Articles', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(80, 2, 'Articles', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(81, 1, 'PHP Shopping Cart', 'PHP Shopping Cart', '2009-09-12 20:08:49', '2009-0
9-12 20:08:49'),
(82, 2, 'PHP Shopping Cart', ' -', '2009-09-12 20:08:49', '2009-09-12
(83, 1, 'Credit Card Number', 'Credit Card Number', '2009-09-12 20:08:49', '2009
-09-12 20:08:49'),
(84, 2, 'Credit Card Number', ' ', '2009-09-12 20:08:49', '2009-09-12
(85, 1, 'Credit Card Expiration', 'Credit Card Expiration', '2009-09-12 20:08:49
', '2009-09-12 20:08:49'),
(86, 2, 'Credit Card Expiration', ' ', '2009-09-12 20:08:49', '2009-09-12 20:0
(87, 1, 'Contact Us', 'Contact Us', '2009-09-12 20:08:49', '2009-09-12 20:08:49'
),
(88, 2, 'Contact Us', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(89, 1, 'Your Name', 'Your Name', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(90, 2, 'Your Name', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(91, 1, 'Your Email', 'Your Email', '2009-09-12 20:08:49', '2009-09-12 20:08:49'
),
(92, 2, 'Your Email', ' email', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(93, 1, 'Message', 'Message', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(94, 2, 'Message', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(95, 1, 'Send', 'Send', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(96, 2, 'Send', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(97, 1, 'Different from billing address', 'Different from billing address', '200
9-09-12 20:08:49', '2009-09-12 20:08:49'),
(98, 2, 'Different from billing address', ',
(99, 1, 'Home', 'Home', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(100, 2, 'Home', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(101, 1, 'Process to Payment', 'Process to Payment', '2009-09-12 20:08:49', '200
9-09-12 20:08:49'),
(102, 2, 'Process to Payment', ' ', '2009-09-12 20:08:49', '2009-09-12
(103, 1, 'Free Shipping', 'Free Shipping', '2009-09-12 20:08:49', '2009-09-12 20
:08:49'),
(104, 2, 'Free Shipping', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'
(105, 1, 'Flat Rate', 'Flat Rate', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(106, 2, 'Flat Rate', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(107, 1, 'Per Item', 'Per Item', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(108, 2, 'Per Item', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(109, 1, 'Table Based', 'Table Based', '2009-09-12 20:08:49', '2009-09-12 20:08:
49'),
(110, 2, 'Table Based', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(111, 1, 'In-store Pickup', 'In-store Pickup', '2009-09-12 20:08:49', '2009-09-1
2 20:08:49'),
(112, 2, 'In-store Pickup', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(113, 1, 'Credit Card', 'Credit Card', '2009-09-12 20:08:49', '2009-09-12 20:08:
49'),
(114, 2, 'Credit Card', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),

(115, 1, 'Money Order Check', 'Money Order Check', '2009-09-12 20:08:49', '200909-12 20:08:49'),
(116, 2, 'Money Order Check', ' ', '2009-09-12 20:08:49', '2009-09-12
(117, 1, 'Kvitancia', 'Kvitancia', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(118, 2, 'Kvitancia', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:4
(119, 1, 'Invoice', 'Invoice', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(120, 2, 'Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(121, 1, 'Country', 'Country', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(122, 2, 'Country', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(123, 1, 'Print Order', 'Print Order', '2009-09-12 20:08:49', '2009-09-12 20:08:
49'),
(124, 2, 'Print Order', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'
(125, 1, 'Company', 'Company', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(126, 2, 'Company', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(127, 1, 'Invoice', 'Invoice', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(128, 2, 'Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(129, 1, 'Print Invoice', 'Print Invoice', '2009-09-12 20:08:49', '2009-09-12 20
:08:49'),
(130, 2, 'Print Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(131, 1, 'Example', 'Example', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(132, 2, 'Example', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(133, 1, 'Phone', 'Phone', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(134, 2, 'Phone', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(135, 1, 'Please agree to our policy.', 'Please agree to our policy.', '2009-0912 20:08:49', '2009-09-12 20:08:49'),
(136, 2, 'Please agree to our policy.', ' "",
(137, 1, 'Terms & Conditions.', 'Terms & Conditions.', '2009-09-12 20:08:49', '2
009-09-12 20:08:49'),
(138, 2, 'Terms & Conditions.', ' .', '2009-09-12 20
(139, 1, 'All', 'All', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(140, 2, 'All', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(141, 1, 'Pages', 'Pages', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(142, 2, 'Pages', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(143, 1, 'Update', 'Update', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(144, 2, 'Update', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(145, 1, 'Login', 'Login', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(146, 2, 'Login', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(147, 1, 'Search', 'Search', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(148, 2, 'Search', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(149, 1, 'E-mail', 'E-mail', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(150, 2, 'E-mail', 'E-mail', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(151, 1, 'Password', 'Password', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(152, 2, 'Password', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(153, 1, 'Registration', 'Registration', '2009-09-12 20:08:49', '2009-09-12 20:0
8:49'),
(154, 2, 'Registration', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(155, 1, 'Firstname', 'Firstname', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(156, 2, 'Firstname', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(157, 1, 'Lastname', 'Lastname', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(158, 2, 'Lastname', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(159, 1, 'Retype Password', 'Retype Password', '2009-09-12 20:08:49', '2009-09-1
2 20:08:49'),
(160, 2, 'Retype Password', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
(161, 1, 'Register', 'Register', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(162, 2, 'Register', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49');
DROP TABLE IF EXISTS email_templates;
CREATE TABLE `email_templates` (

`id` int(10) NOT NULL auto_increment,


`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`default` int(4) NOT NULL,
`order` int(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `email_templates` VALUES (1, 'new-order', 1, 1);
INSERT INTO `email_templates` VALUES (2, 'new-order-status', 1, 2);
INSERT INTO `email_templates` VALUES (3, 'new-customer', 1, 3);
DROP TABLE IF EXISTS email_template_descriptions;
CREATE TABLE `email_template_descriptions` (
`id` int(10) NOT NULL auto_increment,
`email_template_id` int(10) NOT NULL,
`language_id` int(10) NOT NULL,
`subject` varchar(50) collate utf8_unicode_ci NOT NULL,
`content` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `email_template_descriptions` VALUES (1, 1, 1, 'Your order {order_


number}', 'Dear {name}!\r\n\r\nYour order confirmed!\r\nOrder number: {order_n
umber}\r\n\r\nProducts:\r\n{products}\r\n\r\nThank you!\r\n\r\n');
INSERT INTO `email_template_descriptions` VALUES (2, 1, 2, ' {order_number}', '
n :\r\n{products}\r\n\r\n!');
INSERT INTO `email_template_descriptions` VALUES (3, 2, 1, 'Order {order_numbe
r}: Status Changed', 'Dear {name}!\r\n\r\nThank you!\r\n\r\nOrder number: {ord
er_number}\r\n\r\nNew Order Status: {order_status}\r\n\r\n{comments}');
INSERT INTO `email_template_descriptions` VALUES (4, 2, 2, ' {o
}');
INSERT INTO `email_template_descriptions` VALUES (5, 3, 1, 'Registration', 'Than
k you for registration!');
INSERT INTO `email_template_descriptions` VALUES (6, 3, 2, '', '

DROP TABLE IF EXISTS events;


CREATE TABLE `events` (
`id` int(10) NOT NULL auto_increment,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`originator` varchar(50) collate utf8_unicode_ci NOT NULL,
`description` varchar(200) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `events` (`id`, `alias`, `originator`, `description`, `created`, `mo
dified`) VALUES
(1, 'UpdateOrderTotalsBeforeSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-0
0 00:00:00'),
(2, 'UpdateOrderTotalsAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00
00:00:00'),
(3, 'PlaceOrderBeforeSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00
:00'),
(4, 'PlaceOrderAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:
00'),
(5, 'AddToCartBeforeSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:

00'),
(6, 'AddToCartAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:0
0'),
(7, 'RemoveFromCartBeforeSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 0
0:00:00'),
(8, 'RemoveFromCartAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00
:00:00'),
(9, 'UpdateCustomerDetailsBeforeSave', 'Core', '', '0000-00-00 00:00:00', '000000-00 00:00:00'),
(10, 'UpdateCustomerDetailsAfterSave', 'Core', '', '0000-00-00 00:00:00', '000000-00 00:00:00'),
(11, 'SwitchLanguage', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00')
,
(12, 'SwitchCurrency', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00')
;
DROP TABLE IF EXISTS event_handlers;
CREATE TABLE `event_handlers` (
`id` int(10) NOT NULL auto_increment,
`event_id` int(10) NOT NULL,
`originator` varchar(50) collate utf8_unicode_ci NOT NULL,
`action` varchar(200) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `event_handlers` (`id`, `event_id`, `originator`, `action`, `created
`, `modified`) VALUES
(1, 2, 'CouponsModule', '/module_coupons/event/utilize_coupon/', '2009-09-13 11:
11:08', '2009-09-13 11:11:08');
DROP TABLE IF EXISTS `geo_zones`;
CREATE TABLE IF NOT EXISTS `geo_zones` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL,
`description` text NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `IDX_NAME` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS global_content_blocks;
CREATE TABLE `global_content_blocks` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`content` text collate utf8_unicode_ci NOT NULL,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`active` tinyint(4) NOT NULL default '1',
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `global_content_blocks` (`id`, `name`, `content`, `alias`, `active`,
`created`, `modified`) VALUES
(1, 'Footer', '<a href="http://vamcart.com/">{lang}PHP Shopping Cart{/lang}</a>
<a href="http://vamcart.com/">VamCart</a>', 'footer', 1, '2009-07-17 10:00:06',
'2009-09-12 17:05:49');

DROP TABLE IF EXISTS languages;


CREATE TABLE `languages` (
`id` int(10) NOT NULL auto_increment,
`default` tinyint(4) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`code` varchar(5) collate utf8_unicode_ci NOT NULL,
`iso_code_2` varchar(2) collate utf8_unicode_ci NOT NULL,
`active` tinyint(4) NOT NULL default '1',
`sort_order` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `languages` (`id`, `default`, `name`, `code`, `iso_code_2`, `active`
, `sort_order`) VALUES
(1, 1, 'English', 'eng', 'en', 1, 1),
(2, 0, '', 'rus', 'ru', 1, 0);
DROP TABLE IF EXISTS micro_templates;
CREATE TABLE `micro_templates` (
`id` int(10) NOT NULL auto_increment,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`template` text collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`tag_name` varchar(20) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `micro_templates` VALUES (1, 'vertical-menu', '<!-- Categories box ->\r\n<div class="box">\r\n<h5><img src="{base_path}/img/icons/menu/categories.p
ng" alt="" />&nbsp;{lang}Categories{/lang}</h5>\r\n<div class="boxContent">\r\n<
ul id="CatNavi">\r\n{foreach from=content_list item=node}\r\n<li{if node.alias
== content_alias} class="active"{/if}><a href="{node.url}">{node.name}</a></
li>\r\n{/foreach}\r\n</ul>\r\n</div>\r\n</div>\r\n<!-- /Categories box -->', '20
09-07-28 17:08:06', '2010-02-05 19:15:05', 'content_listing');
INSERT INTO `micro_templates` VALUES (3, 'information-links', '<li{if content_a
lias == \'home-page\'} class="current"{/if}><a href="{base_path}/">&nbsp;<img sr
c="{base_path}/img/icons/page/home.png" border="0" alt="" /><span>{lang}Home{/la
ng}</span></a></li>\r\n{foreach from=content_list item=node}\r\n<li{if node.al
ias == content_alias} class="current"{/if}><a href="{node.url}">{if node.icon
}&nbsp;<img src="{node.icon}" border="0" alt="" />{/if}<span>{node.name}</span
></a></li>\r\n{/foreach}\r\n', '2009-07-30 15:42:21', '2009-07-12 15:41:54', 'co
ntent_listing');
INSERT INTO `micro_templates` VALUES (5, 'shopping-cart', '<div class="cart">\r\
n
<table>\r\n
<tr>
\r\n
<th> </th>\r\n
<th>{lang}Product{/lang}</th>\r\n
<th>{lang}Price Ea.{/lan
g}</th>\r\n
<th>{lang}Qty{/lang}</th>\r\n
<th>{lang}Total{/lang}</th>\r\n
</tr>\r\n
\r\n
{foreach from=order_items item=product}
\r\n
<tr>\r\n
<td><a href="{ba
se_path}/cart/remove_product/{product.id}" class="remove">x</a></td>\r\n
<td><a href="{product.link}">{product.name}</a></td>\r\n
<td>{product.price}</td>\r\n
<td>{product. ty}</td>\
r\n
<td>{product.line_total}</td>\r\n
</tr>
\r\n
{foreachelse} \r\n
<tr>\r\n
<td colspan="5">{lang}No Cart Items{/lan
g}</td>\r\n
</tr>\r\n
{/foreach}
\r\n
\r\n
<tr class="cart_total">\r\n
<td colspan="5">{lang}Total{/lang} {order_total}</td>\r\n
</tr>\r\

n
</table>\r\n
<a class="checkout" href="{checkout_link}">{lang}Checko
ut{/lang}</a>\r\n</div>', '2009-07-31 14:56:59', '2009-09-02 22:26:49', 'shoppin
g_cart');
INSERT INTO `micro_templates` VALUES (6, 'currency-box', '<!-- Box -->\r\n<div c
lass="box">\r\n<h5><img src="{base_path}/img/icons/menu/payment-methods.png" alt
="" />&nbsp;{lang}Currency{/lang}</h5>\r\n<div class="boxContent">\r\n\r\n<form
action="{base_path}/currencies/pick_currency/" method="post">\r\n<select name="c
urrency_picker">\r\n{foreach from=currencies item=currency}\r\n<option value="{
currency.id}" {if currency.id == smarty.session.Customer.currency_id}selected
="selected"{/if}>{currency.name}</option>\r\n{/foreach}\r\n</select>\r\n<span c
lass="button"><button type="submit" value="{lang}Go{/lang}"><img src="{base_path
}/img/icons/buttons/submit.png" width="12" height="12" alt="" />&nbsp;{lang}Go{/
lang}</button></span>\r\n</form>\r\n
\r\n</p>\r\n</div>\r\n</div>\r\n
<!-- /Box -->', '2009-08-01 14:42:02', '2010-02-05 19:19:50', 'currency_box');
INSERT INTO `micro_templates` VALUES (8, 'cart-content-box', '<!-- Box -->\r\n<d
iv id="shopping-cart-box">\r\n<div class="box">\r\n<h5><img src="{base_path}/img
/icons/menu/orders.png" alt="" />&nbsp;<a href="{cart_link}" class="shopping_ca
rt_link">{lang}Shopping Cart{/lang}</a></h5>\r\n<div class="boxContent">\r\n\r\n
<ul class="cart_contents">\r\n
{foreach from=order_items item=product}
\r\n
<li>{product. ty} x <a href="{product.url}">{product.
name}</a></li>\r\n
{/foreach}\r\n </ul>\r\n
<ul class="cart_
total">\r\n
<li>{lang}Total{/lang}: {order_total}</li>\r\n </ul>\r\
n
<a class="checkout" href="{checkout_link}">{lang}Checkout{/lang}</a>\r\
n
\r\n</p>\r\n</div>\r\n</div>\r\n</div>\r\n<!-- /Box -->', '200908-09 16:27:09', '2010-02-05 19:18:16', 'shopping_cart');
INSERT INTO `micro_templates` VALUES (9, 'payment-view-cart', '<div class="cart"
>\r\n <table>\r\n
<tr>
\r\n
<th> </th>\r\n
<th>{lang}Product{/lang}</th>\r\n
<th>{lang}Price Ea.{/lan
g}</th>\r\n
<th>{lang}Qty{/lang}</th>\r\n
<th>{lang}Total{/lang}</th>\r\n
</tr>\r\n
\r\n
{foreach from=order_items item=product}
\r\n
<tr>\r\n
<td><a href="{ba
se_path}/cart/remove_product/{product.id}" class="remove">x</a></td>\r\n
<td><a href="{product.link}">{product.name}</a></td>\r\n
<td>{product.price}</td>\r\n
<td>{product. ty}</td>\
r\n
<td>{product.line_total}</td>\r\n
</tr>
\r\n
{foreachelse} \r\n
<tr>\r\n
<td colspan="5">{lang}No Cart Items{/lan
g}</td>\r\n
</tr>\r\n
{/foreach}
\r\n
\r\n
<tr class="cart_total">\r\n
<td colspan="5">\r\n
{lang}Shipping{/lang}: {shippin
g_total}<br />\r\n
<strong>{lang}Total{/lang}:</str
ong> {order_total}\r\n
</td>\r\n
</tr>\r\n
</table>\r\n</div>', '2009-08-10 13:09:25', '2009-09-02 22:25:57', 'shopping_car
t');
INSERT INTO `micro_templates` VALUES (10, 'language-box', '<!-- Box -->\r\n<div
class="box">\r\n<h5><img src="{base_path}/img/icons/menu/locale.png" alt="" />&n
bsp;{lang}Language{/lang}</h5>\r\n<div class="boxContent">\r\n\r\n{foreach from=
languages item=language}\r\n<a href="{language.url}"><img src="{language.imag
e}" alt="{language.name}" title="{language.name}"/></a>\r\n{/foreach}\r\n\r\n<
/div>\r\n</div>\r\n<!-- /Box -->', '2009-07-12 18:52:23', '2010-02-05 19:15:57',
'language_box');
INSERT INTO `micro_templates` VALUES (11, 'subcategory-listing', '<div>\r\n<ul c
lass="listing">\r\n{foreach from=content_list item=node}\r\n <li\r\n {if nod
e.alias == content_alias}\r\n
class="active"\r\n
{/if}\r\n
>\r\n <div><a href="{node.url}"><img src="{node.image}" alt="{node.name}" \
r\n
{if isset(thumbnail_width)}\r\n
width="{thumbnail_width}"\r\n
{/if}\r\n
/></a></div>\r\n
<div><a href="{node.url}">{node.name}<
/a></div></li>\r\n{foreachelse}\r\n
<li class="no_items">{lang}No Items Foun
d{/lang}</li>\r\n{/foreach}\r\n</ul>\r\n<div class="clear"></div>\r\n</div>\r\n'

, '2009-07-12 18:52:23', '2009-07-12 18:57:08', 'content_listing');


INSERT INTO `micro_templates` VALUES (12, 'product-listing', '<div>\r\n {if pag
es_number > 1 || page=="all"}\r\n
<div class="paginator">\r\n
<ul>\
r\n
<li>{lang}Pages{/lang}:</li>\r\n
{for pg=1 to pages_
number}\r\n
<li><a href="{base_path}/category/{content_alias->value}
{ext}/page/{pg}" {if pg == page}class="current"{/if}>{pg}</a></li>\r\n
{/for}\r\n
<li><a href="{base_path}/category/{content_alias->
value}{ext}/page/all" {if "all" == page}class="current"{/if}>{lang}All{/lang}<
/a></li>\r\n
</ul>\r\n
</div>\r\n {/if} \r\n<ul class="listing">\r
\n{foreach from=content_list item=node}\r\n
<li\r\n {if node.alias == cont
ent_alias}\r\n
class="active"\r\n
{/if}\r\n
>\r\n <div><a
href="{node.url}"><img src="{node.image}" alt="{node.name}" \r\n
{if isse
t(thumbnail_width)}\r\n
width="{thumbnail_width}"\r\n {/if}\r\n
/></a></div>\r\n
<div><a href="{node.url}">{node.name}</a></div></li>\r
\n{foreachelse}\r\n
<li class="no_items">{lang}No Items Found{/lang}</li>\r\
n{/foreach}\r\n</ul>\r\n<div class="clear"></div> \r\n\r\n {if pages_number >
1 || page=="all"}\r\n
<div class="paginator">\r\n
<ul>\r\n
<li>{lang}Pages{/lang}:</li>\r\n
{for pg=1 to pages_number}\r\n
<li><a href="{base_path}/category/{content_alias->value}{ext}/page/
{pg}" {if pg == page}class="current"{/if}>{pg}</a></li>\r\n
{/for
}\r\n
<li><a href="{base_path}/category/{content_alias->value}{ext}
/page/all" {if "all" == page}class="current"{/if}>{lang}All{/lang}</a></li>\r\n
</ul>\r\n
</div>\r\n {/if} \r\n \r\n</div>\r\n', '2009-07-12 18:
52:23', '2009-07-12 18:57:08', 'content_listing');
INSERT INTO `micro_templates` VALUES (13, 'checkout', '<script type="text/javasc
ript" src="{base_path}/js/j uery/j uery.min.js"></script>\r\n<script type="text/
javascript" src="{base_path}/js/modified.js"></script>\r\n<script type="text/jav
ascript" src="{base_path}/js/focus-first-input.js"></script>\r\n<script type="te
xt/javascript" src="{base_path}/js/j uery/plugins/validate/j uery.validate.pack.
js"></script>\r\n \r\n<script type="text/javascript">\r\n(document).ready(func
tion() {\r\n // validate checkout form\r\n ("contentform").validate({\r\n
rules: {\r\n
bill_name: {\r\n
re uired: true,\r\n
minlength:
2
\r\n
},\r\n
agree: {\r\n
re uired: true\r\n
},\r\n
},\r\n
messages: {\r\n
bill_name: {\r\n
re uired: "Re uired fie
ld",\r\n
minlength: "Re uired field. Min length: 2"\r\n
},\r\n
agree: {\r\n
re uired: "Re uired field"\r\n
}\r\n
}\r\n });\r\n}
);\r\n</script>\r\n<script type="text/javascript">\r\n (document).ready(functi
on() {\r\n
("divship_information").hide();\r\n
("divdiff_shipping").
click(function (){\r\n
("divship_information").show();\r\n
("di
vdiff_shipping").hide();\r\n
});\r\n });\r\n</script>\r\n\r\n<div id="che
ckout">\r\n<form action="{checkout_form_action}" method="post" id="contentform"
>\r\n <div id="shipping_method">\r\n
<div>\r\n
<h3>{lang}Shipping Metho
d{/lang}</h3>\r\n
</div> \r\n
{foreach from=ship_methods item=ship_metho
d}\r\n
<div>\r\n
<input type="radio" name="shipping_method_id" value
="{ship_method.id}" id="ship_{ship_method.id}" \r\n
{if ship_method.id
== order.shipping_method_id}\r\n
checked="checked"\r\n
{/if}\
r\n
/>\r\n
<label for="ship_{ship_method.id}">\r\n
{if 
ship_method.icon}<img src="{base_path}/img/icons/shipping/{ship_method.icon}" a
lt="{ship_method.name}" title="{ship_method.name}" />&nbsp;{/if}\r\n
{lang}{ship_method.name}{/lang}\r\n
</label>\r\n
</div>\r\n
{/
foreach}\r\n </div>\r\n <div id="payment_method">\r\n
<div>\r\n
<h3>{l
ang}Payment Method{/lang}</h3>\r\n
</div>
\r\n
{foreach from=payment_m
ethods item=payment_method}\r\n
<div>\r\n
<input type="radio" name="
payment_method_id" value="{payment_method.id}" id="payment_{payment_method.id}
" \r\n
{if payment_method.id == order.payment_method_id}\r\n
c
hecked="checked"\r\n
{/if}
\r\n
/>\r\n
<label for="
payment_{payment_method.id}">\r\n{if payment_method.icon}<img src="{base_path}
/img/icons/payment/{payment_method.icon}" alt="{payment_method.name}" title="{
payment_method.name}" />&nbsp;{/if}\r\n{lang}{payment_method.name}{/lang}\r\n<
/label>\r\n
</div>\r\n
{/foreach}
\r\n </div>\r\n <div id="bill_inf

ormation">\r\n
<div>\r\n
<h3>{lang}Billing Information{/lang}</h3>\r\n
</div>\r\n
<div> \r\n
<label for="bill_name">{lang}Name{/lang}</label
>\r\n
<input type="text" name="bill_name" id="bill_name" value="{order.bil
l_name}"/>\r\n
</div>\r\n
<div> \r\n
<label for="bill_line_1">{lang}
Address Line 1{/lang}</label>\r\n
<input type="text" name="bill_line_1" id=
"bill_line_1" value="{order.bill_line_1}" />\r\n
</div>
\r\n
<div> \r
\n
<label for="bill_line_2">{lang}Address Line 2{/lang}</label>\r\n
<i
nput type="text" name="bill_line_2" id="bill_line_2" value="{order.bill_line_2}
" />\r\n
</div>
\r\n
<div> \r\n
<label for="bill_city">{lang}City
{/lang}</label>\r\n
<input type="text" name="bill_city" id="bill_city" valu
e="{order.bill_city}" />\r\n
</div>
\r\n
<div> \r\n
<label for="
bill_country">{lang}Country{/lang}</label>\r\n
<select name="bill_country"
id="bill_country">{country_list selected=order.bill_country}</select>\r\n
</
div>
\r\n
<div> \r\n
<label for="bill_state">{lang}State{/lang}</lab
el>\r\n
<input type="text" name="bill_state" id="bill_state" value="{order
.bill_state}" />\r\n
</div>
\r\n
<div> \r\n
<label for="bill_zip"
>{lang}Zipcode{/lang}</label>\r\n
<input type="text" name="bill_zip" id="bi
ll_zip" value="{order.bill_zip}" />\r\n
</div> \r\n </div>
\r\n <div i
d="diff_shipping">\r\n
<div>\r\n
<h3>{lang}Shipping Information{/lang}</
h3>\r\n
</div>\r\n
<div>\r\n
<label for="diff_shipping"><input type="
checkbox" name="diff_shipping" id="diff_shipping" value="1" /> {lang}Different f
rom billing address{/lang}</label>\r\n
</div>\r\n </div>\r\n <div id="ship_
information">\r\n
<div>\r\n
<h3>{lang}Shipping Information{/lang}</h3>\r
\n
</div>\r\n
<div> \r\n
<label for="ship_name">{lang}Name{/lang}</l
abel>\r\n
<input type="text" name="ship_name" id="ship_name" value="{order
.ship_name}" />\r\n
</div>\r\n
<div> \r\n
<label for="ship_line_1">{
lang}Address Line 1{/lang}</label>\r\n
<input type="text" name="ship_line_1
" id="ship_line_1" value="{order.ship_line_1}" />\r\n
</div>
\r\n
<div
> \r\n
<label for="ship_line_2">{lang}Address Line 1{/lang}</label>\r\n
<input type="text" name="ship_line_2" id="ship_line_2" value="{order.ship_li
ne_2}" />\r\n
</div>
\r\n
<div> \r\n
<label for="ship_city">{lang
}City{/lang}</label>\r\n
<input type="text" name="ship_city" id="ship_city"
value="{order.ship_city}" />\r\n
</div>
\r\n
<div> \r\n
<label
for="ship_country">{lang}Country{/lang}</label>\r\n
<select name="ship_coun
try" id="ship_country">{country_list selected=order.ship_country}</select>\r\n
</div>
\r\n
<div> \r\n
<label for="ship_state">{lang}State{/lang}
</label>\r\n
<input type="text" name="ship_state" id="ship_state" value="{
order.ship_state}" />\r\n
</div>
\r\n
<div> \r\n
<label for="ship
_zip">{lang}Zipcode{/lang}</label>\r\n
<input type="text" name="ship_zip" i
d="ship_zip" value="{order.ship_zip}" />\r\n
</div>
\r\n </d
iv>\r\n <div id="contact_information">\r\n
<div>\r\n
<h3>{lang}Contact
Information{/lang}</h3>\r\n
</div>\r\n
<div> \r\n
<label for="email"
>{lang}Email{/lang}</label>\r\n
<input type="text" name="email" id="email"
value="{order.email}" />\r\n
</div>\r\n
<div> \r\n
<label for="phon
e">{lang}Phone{/lang}</label>\r\n
<input type="text" name="phone" id="phone
" value="{order.phone}" />\r\n
</div>
\r\n
<div> \r\n
<label for
="company_name">{lang}Company{/lang}</label>\r\n
<input type="text" name="c
ompany_name" id="company_name" value="{order.company_name}" />\r\n
</div>
\r\n
<div> \r\n
<label for="company_vat">{lang}VAT number{/lang}</labe
l>\r\n
<input type="text" name="company_vat" id="company_vat" value="{orde
r.company_vat}" />\r\n
</div>
\r\n
<div> \r\n
<label for="agree">
{lang}Please agree to our policy.{/lang} <a href="{base_path}/page/conditions-of
-use.html">{lang}Terms & Conditions.{/lang}</a></label>\r\n
<input type="ch
eckbox" class="checkbox" id="agree" name="agree" />\r\n
</div>
\r\n </div
>\r\n <div>\r\n {module alias="coupons" action="checkout_box"}\r\n </div>\r\n
<span class="button"><button type="submit" value="{lang}Continue{/lang}"><img
src="{base_path}/img/icons/buttons/submit.png" width="12" height="12" alt="" />&
nbsp;{lang}Continue{/lang}</button></span>\r\n</form>\r\n</div>\r\n', '2009-07-1
2 18:52:23', '2011-06-05 20:25:38', 'checkout');
INSERT INTO `micro_templates` VALUES (14, 'news-box', '<!-- News box -->\r\n<div

class="box">\r\n<h5><img src="{base_path}/img/icons/menu/pages.png" alt="" />&n


bsp;{lang}News{/lang}</h5>\r\n<div class="boxContent">\r\n<ul>\r\n{foreach from=
content_list item=node}\r\n<li{if node.alias == content_alias} class="active"
{/if}><a href="{node.url}">{node.name}</a></li>\r\n{/foreach}\r\n</ul>\r\n</di
v>\r\n</div>\r\n<!-- /News box -->', '2009-07-12 18:52:23', '2010-02-05 19:17:42
', 'content_listing');
INSERT INTO `micro_templates` VALUES (15, 'articles-box', '<!-- Articles box -->
\r\n<div class="box">\r\n<h5><img src="{base_path}/img/icons/menu/blocks.png" al
t="" />&nbsp;{lang}Articles{/lang}</h5>\r\n<div class="boxContent">\r\n<ul>\r\n{
foreach from=content_list item=node}\r\n<li{if node.alias == content_alias} c
lass="active"{/if}><a href="{node.url}">{node.name}</a></li>\r\n{/foreach}\r\n
</ul>\r\n</div>\r\n</div>\r\n<!-- /Articles box -->', '2009-07-12 18:52:23', '20
10-02-05 19:17:51', 'content_listing');
INSERT INTO `micro_templates` VALUES (16, 'cart-content-box-ajax', '<div class="
box">\r\n<h5><img src="{base_path}/img/icons/menu/orders.png" alt="" />&nbsp;<a
href="{cart_link}" class="shopping_cart_link">{lang}Shopping Cart{/lang}</a></h
5>\r\n<div class="boxContent">\r\n
<ul class="cart_contents">\r\n
{foreach from=order_items item=product}\r\n
<li>{product. ty} x
<a href="{product.url}">{product.name}</a></li>\r\n
{/foreach}\r\n
</ul>\r\n
<ul class="cart_total">\r\n
<li>{lang}Total{/lang}:
{order_total}</li>\r\n
</ul>\r\n
<a class="checkout" href="{chec
kout_link}">{lang}Checkout{/lang}</a>\r\n</div>\r\n</div>\r\n', '2012-07-06 12:2
6:25', '2012-07-06 12:31:32', 'shopping_cart');
INSERT INTO `micro_templates` VALUES (17, 'search-box', '<!-- Search box -->\r\n
<div class="box">\r\n<h5><img src="{base_path}/img/icons/menu/categories.png" al
t="" />&nbsp;{lang}Search{/lang}</h5>\r\n<div class="boxContent">\r\n\r\n<form a
ction="{base_path}/page/search-result.html" method="post">\r\n<input type="text"
name="keyword" />\r\n<br />\r\n<span class="button"><button type="submit" value
="{lang}Go{/lang}"><img src="{base_path}/img/icons/buttons/submit.png" width="12
" height="12" alt="" />&nbsp;{lang}Search{/lang}</button></span>\r\n</form>\r\n\
r\n</div>\r\n</div>\r\n<!-- /Search box -->', '2012-07-30 00:00:00', '2012-07-30
15:58:32', 'content_listing');
INSERT INTO `micro_templates` VALUES (18, 'login-box', '<!-- Login box -->\r\n<d
iv class="box">\r\n<h5>&nbsp;{lang}Login{/lang}</h5>\r\n<div class="boxContent">
\r\n\r\n<form action="{base_path}/page/search-result.html" method="post">\r\n<la
bel>{lang}E-mail{/lang}</label>\r\n<input type="text" name="email" />\r\n<br />\
r\n<label>{lang}Password{/lang}</label>\r\n<input type="password" name="password
" />\r\n<br />\r\n<span class="button"><button type="submit" value="{lang}Login{
/lang}"><img src="{base_path}/img/icons/buttons/submit.png" width="12" height="1
2" alt="" />&nbsp;{lang}Login{/lang}</button></span>\r\n</form>\r\n<br />\r\n <
a href="/customer/register.html">{lang}Registration{/lang}</a>\r\n</div>\r\n</di
v>\r\n<!-- /Login box -->', '2012-08-19 13:56:58', '2012-08-19 20:33:42', 'login
_box');
DROP TABLE IF EXISTS modules;
CREATE TABLE `modules` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`version` varchar(10) collate utf8_unicode_ci NOT NULL,
`nav_level` int(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `modules` (`id`, `name`, `alias`, `version`, `nav_level`) VALUES
(1, 'Reviews', 'reviews', '1.0', 3),
(2, 'Coupons', 'coupons', '2', 3);
DROP TABLE IF EXISTS module_coupons;

CREATE TABLE `module_coupons` (


`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`code` varchar(50) collate utf8_unicode_ci NOT NULL,
`free_shipping` varchar(10) collate utf8_unicode_ci NOT NULL,
`percent_off_total` double NOT NULL,
`amount_off_total` double NOT NULL,
`max_uses` int(10) NOT NULL,
`min_product_count` int(10) NOT NULL,
`max_product_count` int(10) NOT NULL,
`min_order_total` int(10) NOT NULL,
`max_order_total` int(10) NOT NULL,
`start_date` datetime NOT NULL,
`expiration_date` datetime NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS module_reviews;
CREATE TABLE `module_reviews` (
`id` int(10) NOT NULL auto_increment,
`content_id` int(10) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`content` text collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS orders;
CREATE TABLE `orders` (
`id` int(10) NOT NULL auto_increment,
`order_status_id` int(10) NOT NULL,
`shipping_method_id` int(10) NOT NULL,
`payment_method_id` int(10) NOT NULL,
`shipping` double NOT NULL,
`tax` double NOT NULL,
`total` double NOT NULL,
`bill_name` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_line_1` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_line_2` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_city` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_state` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_country` varchar(255) collate utf8_unicode_ci NOT NULL,
`bill_zip` varchar(20) collate utf8_unicode_ci NOT NULL,
`ship_name` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_line_1` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_line_2` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_city` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_state` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_country` varchar(255) collate utf8_unicode_ci NOT NULL,
`ship_zip` varchar(20) collate utf8_unicode_ci NOT NULL,
`email` varchar(255) collate utf8_unicode_ci NOT NULL,
`phone` varchar(15) collate utf8_unicode_ci NOT NULL,
`cc_number` int(20) NOT NULL,
`cc_expiration_month` int(2) NOT NULL,
`cc_expiration_year` int(4) NOT NULL,
`company_name` varchar(255) collate utf8_unicode_ci NOT NULL,
`company_info` varchar(255) collate utf8_unicode_ci NOT NULL,

`company_vat` varchar(20) collate utf8_unicode_ci DEFAULT NULL,


`created` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `orders` (`id`, `order_status_id`, `shipping_method_id`, `payment_me
thod_id`, `shipping`, `tax`, `total`, `bill_name`, `bill_line_1`, `bill_line_2`,
`bill_city`, `bill_state`, `bill_country`, `bill_zip`, `ship_name`, `ship_line_
1`, `ship_line_2`, `ship_city`, `ship_state`, `ship_country`, `ship_zip`, `email
`, `phone`, `cc_number`, `cc_expiration_month`, `cc_expiration_year`, `company_n
ame`, `company_info`, `created`) VALUES
(1, 1, 2, 2, 0, 0, 25.79, 'Test Order', 'asdfasf', 'asdfasdf', '', '', '', '', '
', '', '', '', '', '', '', '[email protected]', '', 0, 0, 0, '', '', '2009-08-28 11:0
6:18');
DROP TABLE IF EXISTS order_comments;
CREATE TABLE `order_comments` (
`id` int(10) NOT NULL auto_increment,
`user_id` int(10) NOT NULL,
`order_id` int(10) NOT NULL,
`sent_to_customer` tinyint(4) NOT NULL,
`comment` varchar(255) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `order_comments` (`id`, `user_id`, `order_id`, `sent_to_customer`, `
comment`, `created`, `modified`) VALUES
(1, 1, 1, 0, 'asdf', '2009-08-28 11:06:18', '2009-08-28 11:06:18');
DROP TABLE IF EXISTS order_products;
CREATE TABLE `order_products` (
`id` int(10) NOT NULL auto_increment,
`order_id` int(10) NOT NULL,
`content_id` int(10) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`model` varchar(255) collate utf8_unicode_ci NOT NULL,
` uantity` int(10) NOT NULL,
`price` double NOT NULL,
`weight` varchar(10) collate utf8_unicode_ci NOT NULL,
`tax` double NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `order_products` (`id`, `order_id`, `content_id`, `name`, `model`, `
uantity`, `price`, `weight`, `tax`) VALUES
(1, 1, 38, 'Mozilla Firefox', '', 3, 4.95, '', 0),
(2, 1, 37, 'Internet Explorer', '', 2, 10.99, '', 0);
DROP TABLE IF EXISTS order_statuses;
CREATE TABLE `order_statuses` (
`id` int(10) NOT NULL auto_increment,
`default` tinyint(4) NOT NULL,
`order` int(4) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `order_statuses` (`id`, `default`, `order`) VALUES
(1, 1, 1),

(2, 0, 2),
(3, 0, 3),
(4, 0, 4);
DROP TABLE IF EXISTS order_status_descriptions;
CREATE TABLE `order_status_descriptions` (
`id` int(10) NOT NULL auto_increment,
`order_status_id` int(10) NOT NULL,
`language_id` int(10) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`description` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `order_status_descriptions` (`id`, `order_status_id`, `language_id`,
`name`, `description`) VALUES
(1, 1, 1, 'Pending', ''),
(2, 1, 2, ' ', ''),
(3, 2, 1, 'Processing', ''),
(4, 2, 2, '', ''),
(5, 3, 1, 'Delivering', ''),
(6, 3, 2, '', ''),
(7, 4, 1, 'Delivered', ''),
(8, 4, 2, '', '');
DROP TABLE IF EXISTS payment_methods;
CREATE TABLE `payment_methods` (
`id` int(10) NOT NULL auto_increment,
`active` tinyint(4) NOT NULL,
`default` tinyint(4) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`icon` varchar(255) collate utf8_unicode_ci NOT NULL,
`alias` varchar(255) collate utf8_unicode_ci NOT NULL,
`order` int(10) NOT NULL,
`order_status_id` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `payment_methods` (`id`, `active`, `default`, `name`, `icon`, `alias
`, `order`, `order_status_id`) VALUES
(1, 1, 0, 'In-store Pickup', '', 'store_pickup', 0, 0),
(2, 1, 1, 'Money Order Check', '', 'money_order_check', 0, 0),
(3, 1, 0, 'Paypal', 'paypal.png', 'paypal', 0, 0),
(4, 1, 0, 'Credit Card', '', 'credit_card', 0, 0),
(5, 1, 0, 'Authorize.Net', '', 'authorize', 0, 0),
(6, 1, 0, 'Google Checkout', '', 'google_html', 0, 0);
DROP TABLE IF EXISTS payment_method_values;
CREATE TABLE `payment_method_values` (
`id` int(10) NOT NULL auto_increment,
`payment_method_id` int(10) NOT NULL,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `payment_method_values` (`id`, `payment_method_id`, `key`, `value`)
VALUES
(1, 3, 'paypal_email', '[email protected]'),
(2, 5, 'authorize_login', '123456'),

(3, 6, 'google_html_merchant_id', '1234567890');


DROP TABLE IF EXISTS search_tables;
CREATE TABLE `search_tables` (
`id` int(10) NOT NULL auto_increment,
`model` varchar(50) collate utf8_unicode_ci NOT NULL,
`field` varchar(50) collate utf8_unicode_ci NOT NULL,
`url` varchar(50) collate utf8_unicode_ci NOT NULL,
`edit_field` varchar(50) collate utf8_unicode_ci NOT NULL,
`alternate_anchor` varchar(50) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `search_tables` (`id`, `model`, `field`, `url`, `edit_field`, `alter
nate_anchor`) VALUES
(1, 'Content', 'alias', '/contents/admin_edit/', 'id', ''),
(2, 'Content', 'head_data', '/contents/admin_edit/', 'content_id', ''),
(3, 'ContentDescription', 'name', '/contents/admin_edit/', 'content_id', ''),
(4, 'ContentDescription', 'description', '/contents/admin_edit/', 'content_id',
'name'),
(5, 'ContentLink', 'url', '/contents/admin_edit/', 'content_id', ''),
(6, 'Language', 'name', '/languages/admin_edit/', 'id', ''),
(7, 'DefinedLanguage', 'key', '/defined_languages/admin_edit/', 'key', ''),
(8, 'DefinedLanguage', 'value', '/defined_languages/admin_edit/', 'key', ''),
(9, 'Template', 'name', '/templates/admin_edit_microplate/', 'id', ''),
(10, 'Template', 'template', '/templates/admin_edit_microplate/', 'id', 'name'),
(11, 'Stylesheet', 'name', '/stylesheets/admin_edit/', 'id', ''),
(12, 'Stylesheet', 'stylesheet', '/stylesheets/admin_edit/', 'id', 'name');
DROP TABLE IF EXISTS shipping_methods;
CREATE TABLE `shipping_methods` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`icon` varchar(255) collate utf8_unicode_ci NOT NULL,
`code` varchar(255) collate utf8_unicode_ci NOT NULL,
`default` tinyint(4) NOT NULL default '0',
`active` tinyint(4) NOT NULL,
`order` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `shipping_methods` (`id`, `name`, `icon`, `code`, `default`, `active
`, `order`) VALUES
(1, 'Free Shipping', '', 'free_shipping', 0, 1, 0),
(2, 'Flat Rate', '', 'flat_rate', 1, 1, 0),
(3, 'Per Item', '', 'per_item', 0, 1, 0),
(4, 'Table Based', '', 'table_based', 0, 1, 0);
DROP TABLE IF EXISTS shipping_method_values;
CREATE TABLE `shipping_method_values` (
`id` int(10) NOT NULL auto_increment,
`shipping_method_id` int(10) NOT NULL,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `shipping_method_values` (`id`, `shipping_method_id`, `key`, `value`
) VALUES
(1, 2, 'rate', '0'),

(2,
(3,
(4,
(5,
),
(6,

3,
3,
4,
4,

'per_item_amount', '1'),
'per_item_handling', '5.00'),
'table_based_type', 'weight'),
'table_based_rates', '0:0.50,\r\n1:1.50,\r\n2:2.25,\r\n3:3.00,\r\n4:5.75'

2, 'cost', '0');

DROP TABLE IF EXISTS stylesheets;


CREATE TABLE `stylesheets` (
`id` int(10) NOT NULL auto_increment,
`active` tinyint(4) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`alias` varchar(255) collate utf8_unicode_ci NOT NULL,
`stylesheet` text collate utf8_unicode_ci NOT NULL,
`stylesheet_media_type_id` int(10) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `stylesheets` VALUES (1, 1, 'VamCart', 'vamcart', '/ ----------------------------------------------------------------------------------------\r\n
VamCart - http://vamcart.com\r\n ----------------------------------------------------------------------------------------\r\n Copyright (c) 2011 VamSoft
Ltd.\r\n License - http://vamcart.com/license.html\r\n --------------------------------------------------------------------------------------/\r\n\r\nhtml
,body\r\n {\r\n
margin: 0;\r\n
padding: 0;\r\n
background-color: fff;
\r\n
background-image: url(../../img/bg.png);\r\n
background-position: 0 221px;\r\n
background-repeat: repeat-x;\r\n }\r\n\r\nbody\r\n {\r\n
font
-family: ''Trebuchet MS'', ''Lucida Grande'', Verdana, Arial, Sans-Serif;\r\n
font-size: 11pt;\r\n }\r\n\r\nimg\r\n {\r\n
border: 0;\r\n }\r\n\r\nul, l
i\r\n {\r\n
list-style: none;\r\n
margin: 0;\r\n
padding: 0 0 .5em .5e
m;\r\n }\r\n\r\n/ Links color /\r\na\r\n {\r\n
color: 000;\r\n
text-d
ecoration: underline;\r\n }\r\n\r\na:hover\r\n {\r\n
color: 990000;\r\n
text-decoration: none;\r\n }\r\n/ /Links color /\r\n\r\n/ Content /\r\ndiv
float: left;\r\n
width: 100;\r\n }\r\n\r\ndivconten
wrapper\r\n {\r\n
t\r\n {\r\n
margin: 0 19;\r\n }\r\n\r\n/ /Content /\r\n\r\n/ Left colum
n /\r\ndivleft\r\n {\r\n
float: left;\r\n
width: 18;\r\n
margin-lef
t: -100;\r\n
background: transparent;\r\n }\r\n/ /Left column /\r\n\r\n/
Right column /\r\ndivright\r\n {\r\n
float: left;\r\n
overflow: auto;\
r\n
width: 18;\r\n
margin-left: -18;\r\n
background: transparent;\r\n
}\r\n/ /Right column /\r\n\r\n/ Header /\r\n\r\nheader\r\n {\r\n
back
ground-color: fff;\r\n
background-image: url(../../img/bg.png);\r\n
backg
round-position: 0 0;\r\n
background-repeat: repeat-x;\r\n
height: 100px;\r
\n }\r\n\r\n\r\nheader div.header-left\r\n {\r\n
float: left;\r\n
margi
n: 0;\r\n
padding: 0;\r\n }\r\n\r\n\r\nheader div.header-right\r\n {\r\n
float: right;\r\n
margin: 0;\r\n
padding: .3em;\r\n }\r\n\r\n/ /Header
/\r\n\r\n/ Footer /\r\ndivfooter\r\n {\r\n
clear: left;\r\n
height:
50px;\r\n
width: 100;\r\n
background: transparent;\r\n
border-top: 0px
solid 67748B;\r\n
text-align: center;\r\n
color: 000;\r\n }\r\n \r\n
divfooter p\r\n {\r\n
margin: 0;\r\n
padding: 5px 10px;\r\n }\r\n \r\
n/ /Footer /\r\n\r\n/ Navigation /\r\n/ /Navigation /\r\n \r\n/ Page he
ader /\r\n\r\ncontent h1,\r\ncontent h2,\r\ncontent h3\r\n {\r\n
color:
font-weight: bold;\r\n
font-size: 12pt;\r\n }\r\n\r\n/ /Pag
ff7b08;\r\n
e header /\r\n\r\n/ Page content /\r\n\r\ndiv.page\r\n {\r\n
margin: 0;\r
\n
padding: 0;\r\n }\r\n\r\ndiv.page h2\r\n {\r\n
margin: 0;\r\n
padd
ing: 7px 0 7px 10px;\r\n
background-color: f4f4f4;\r\n
background-image:
url(../../img/bg.png);\r\n
background-position: 0 -135px;\r\n
background-r
epeat: repeat-x;\r\n
border-top: 1px solid c0c1c2;\r\n
border-left: 1px s
olid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bottom: 1px

solid c0c1c2;\r\n
border-top-left-radius: 8px;\r\n
border-top-right-radiu
s: 8px;\r\n
-moz-border-radius-topleft: 8px;\r\n
-webkit-border-top-left-r
adius: 8px;\r\n
-moz-border-radius-topright: 8px;\r\n
-webkit-border-top-r
ight-radius: 8px;\r\n
vertical-align: middle;\r\n }\r\n \r\ndiv.pageContent
\r\n {\r\n
margin: 0;\r\n
padding: .5em;\r\n
background-color: fff;\r
\n
background-image: url(../../img/bg.png);\r\n
background-position: 0 -60
2px;\r\n
background-repeat: repeat-x;\r\n
border-top: 0px;\r\n
border-l
eft: 1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bo
ttom: 1px solid c0c1c2;\r\n
border-bottom-left-radius: 8px;\r\n
border-bo
ttom-right-radius: 8px;\r\n
-moz-border-radius-bottomleft: 8px;\r\n
-webki
t-border-bottom-left-radius: 8px;\r\n
-moz-border-radius-bottomright: 8px;\r\
n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\n\r\n/ /Page content /\
r\n\r\n/- Menu /\r\n\r\ndivmenu\r\n {\r\n
border-top: 3px solid ff7b08;\
r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r
\n
background-position: 0 -100px;\r\n
background-repeat: repeat-x;\r\n
padding: 0;\r\n
margin: 0 auto;\r\n }\r\n\r\nmenu ul, menu ul li\r\n {\r\
n
list-style: none;\r\n
margin: 0;\r\n
padding: 0;\r\n }\r\n\r\nmenu
ul\r\n {\r\n
padding: 3px 0 3px;\r\n
text-align: center;\r\n }\r\n\r\nm
enu ul li\r\n {\r\n
display: inline;\r\n
margin-right: .3em;\r\n }\r\n\r
\nmenu ul li.current a\r\n {\r\n
display: inline;\r\n
color: fff;\r\n
background: ff7b08;\r\n
margin-right: .3em;\r\n }\r\n\r\nmenu ul li a\r\
n {\r\n
color: 000;\r\n
padding: 5px 0;\r\n
text-decoration: none;\r\
n }\r\n\r\nmenu ul li a span\r\n {\r\n
padding: 5px .5em;\r\n }\r\n\r\nm
enu ul li a:hover span\r\n {\r\n
color: fff;\r\n
text-decoration: none;\
r\n }\r\n\r\nmenu ul li a:hover\r\n {\r\n
color: 69C;\r\n
background:
text-decoration: none;\r\n }\r\n\r\n/\\///\r\nmenu ul li a\
ff7b08;\r\n
r\n {\r\n
display: inline-block;\r\n
white-space: nowrap;\r\n
width: 1
px;\r\n }\r\n\r\nmenu ul\r\n {\r\n
padding-bottom: 0;\r\n
margin-bottom
: -1px;\r\n }\r\n//\r\n\r\n/\\/\r\n html menu ul li a\r\n {\r\n
paddi
ng: 0;\r\n }\r\n//\r\n
\r\n/- /Menu /\r\n\r\n/- Boxes /\r\n\r\n/- Box
/\r\n.box\r\n {\r\n
margin: 0 .5em .5em .5em;\r\n
padding: 0;\r\n }\r\
n\r\n/- Box Header /\r\n.box h5\r\n {\r\n
color: ff7b08;\r\n
font-weig
ht: bold;\r\n
font-size: 12pt;\r\n
margin: 0;\r\n
padding: 7px 0 7px 10
px;\r\n
background-color: f4f4f4;\r\n
background-image: url(../../img/bg.
png);\r\n
background-position: 0 -135px;\r\n
background-repeat: repeat-x;\
r\n
border-top: 1px solid c0c1c2;\r\n
border-left: 1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bottom: 1px solid c0c1c2;\r\
n
border-top-left-radius: 8px;\r\n
border-top-right-radius: 8px;\r\n
-m
oz-border-radius-topleft: 8px;\r\n
-webkit-border-top-left-radius: 8px;\r\n
-moz-border-radius-topright: 8px;\r\n
-webkit-border-top-right-radius: 8px;
\r\n
vertical-align: middle;\r\n }\r\n\r\n.box h5 a\r\n {\r\n
color: ff
7b08;\r\n
font-weight: bold;\r\n
font-size: 12pt;\r\n
text-decoration:
none;\r\n }\r\n/- /Box Header /\r\n\r\n/- Box Content /\r\n.boxContent\r\n
{\r\n
margin: 0;\r\n
padding: .5em;\r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r\n
background-position: 0 -602px;\
r\n
background-repeat: repeat-x;\r\n
border-top: 0px;\r\n
border-left:
1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bottom:
1px solid c0c1c2;\r\n
border-bottom-left-radius: 8px;\r\n
border-bottomright-radius: 8px;\r\n
-moz-border-radius-bottomleft: 8px;\r\n
-webkit-bor
der-bottom-left-radius: 8px;\r\n
-moz-border-radius-bottomright: 8px;\r\n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\n\r\n.boxContent.center\r\n {
\r\n
margin: 0 auto;\r\n
text-align: center;\r\n
padding: .5em;\r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r\n
b
ackground-position: 0 -602px;\r\n
background-repeat: repeat-x;\r\n
bordertop: 0px;\r\n
border-left: 1px solid c0c1c2;\r\n
border-right: 1px solid
border-bottom: 1px solid c0c1c2;\r\n
border-bottom-left-radi
c0c1c2;\r\n
us: 8px;\r\n
border-bottom-right-radius: 8px;\r\n
-moz-border-radius-botto
mleft: 8px;\r\n
-webkit-border-bottom-left-radius: 8px;\r\n
-moz-border-ra
dius-bottomright: 8px;\r\n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\
n \r\nboxContent p\r\n {\r\n
margin: 0;\r\n
padding: 0;\r\n }\r\n\r\n/

- /Box Content /\r\n\r\n/- /Box /\r\n\r\n/- /Boxes /\r\n\r\n/ Buttons /\


r\n\r\na.button,\r\nspan.button,\r\ndel.button\r\n {\r\n
display: -moz-inlin
e-box;\r\n
display: inline-block;\r\n
cursor: pointer;\r\n
border: none
;\r\n
font-size: 0;\r\n
line-height: 0;\r\n
\r\n /\r\n for Safari, r
ead this first\r\n http://creativebits.org/webdev/safari_background_repeat_bug_
fix\r\n /\r\n \r\n
background-position: 0 0;\r\n
background-repeat: norepeat;\r\n
height: 30px;\r\n
text-decoration: none;\r\n
color: 2e523b
;\r\n
font-style: normal;\r\n
margin: 0 6px 0px 0;\r\n
padding: 0 10px
0 0; \r\n
vertical-align: middle; \r\n
padding-top: -2px;\r\n
_positi
on: relative;\r\n
_width: 10px; \r\n
_overflow-y: hidden;\r\n }\r\n\r\na
.button,\r\nspan.button,\r\ndel.button,\r\na.button span,\r\nspan.button button,
\r\nspan.button input,\r\ndel.button span\r\n {\r\n
background-image: url(..
/../img/buttons/form_buttons.png);\r\n
_background-image: url(../../img/butto
ns/form_buttons.gif);\r\n }\r\n\r\na.button span,\r\nspan.button button,\r\nspa
n.button input,\r\ndel.button span\r\n {\r\n
white-space: nowrap;\r\n
cur
sor: pointer;\r\n
color: 222;\r\n
display: -moz-inline-box;\r\n
displa
y: inline-block;\r\n
line-height: 1;\r\n
letter-spacing: 0 !important;\r\n
font-family: "Arial" !important;\r\n
font-size: 13px !important;\r\n
f
ont-style: normal;
\r\n
background-color: transparent;\r\n
background-p
osition: 100 0;\r\n
background-repeat: no-repeat;\r\n
height: 30px;\r\n
padding: 8px 20px 0 10px;\r\n
margin: 0 -16px 0 10px;\r\n
border: none;\
r\n
vertical-align: text-top;\r\n
zoom: 1;\r\n
_position: relative;\r\n
_padding-left: 0px;\r\n
_padding-right: 13px;\r\n
_margin-right: -10px
; \r\n
_display: block;\r\n
_top: 0;\r\n
_right: -5px;\r\n }\r\n\r\ns
pan.button button\r\n {\r\n
line-height: 2.5; /Opera need this/\r\n }\r\n
\r\nhtml.safari a.button span,\r\nhtml.safari del.button span\r\n {\r\n
line
-height: 1.3;\r\n }\r\n\r\nhtml.safari span.button button\r\n {\r\n
line-he
ight: 2.6;\r\n }\r\n\r\nhtml.safari a.button:focus,\r\nhtml.safari span.button
button:focus\r\n {\r\n
outline: none;\r\n }\r\n\r\ndel.button\r\n {\r\n
/ cursor:not-allowed; /\r\n
background-position: 0 -120px;\r\n }\r\n\r\n
del.button span\r\n {\r\n
cursor: default;\r\n
color: aaa !important;\r\
n
background-position: 100 -120px;\r\n }\r\n\r\nspan.button button,\r\nspan
.button input\r\n {\r\n
padding-top: 0px;\r\n
line-height: 2.5; /Opera n
eed this/\r\n }\r\n\r\n/ optional /\r\n/\r\na.button:visited\r\n {\r\n
color: aaa;\r\n }\r\n/\r\n\r\n/Hover Style/\r\n\r\na.button:hover,\r\na.b
utton:focus,\r\na.dom-button-focus,\r\nspan.button-behavior-hover\r\n {\r\n
background-position: 0 -60px;\r\n
color: 222;\r\n
text-decoration: none;\
r\n }\r\n\r\na.button:hover span,\r\na.button:focus span,\r\nspan.button-behavi
or-hover button,\r\nspan.button-behavior-hover input\r\n {\r\n
background-po
sition: 100 -60px;\r\n }\r\n\r\na.button:active,\r\na.button:focus span\r\n {
\r\n
color: 444;\r\n }\r\n\r\ndel.button-behavior-hover,\r\ndel.button:hove
r\r\n {\r\n
background-position: 0 -180px;\r\n
/ cursor:not-allowed; /\
r\n }\r\n\r\ndel.button-behavior-hover span,\r\ndel.button:hover span\r\n {\r\
n
background-position: 100 -180px;\r\n
/ cursor:not-allowed; /\r\n }\r
\n\r\n/ /Buttons /\r\n\r\n/ Forms /\r\n\r\nform\r\n {\r\n
padding: 0;\r\
n
margin: 0;\r\n }\r\n\r\nfieldset\r\n {\r\n
border: 0px;\r\n }\r\n\r\n
legend\r\n {\r\n
font-size: 12pt;\r\n
font-weight: bold;\r\n
color: f
f9c0f;\r\n
margin-bottom: .5em;\r\n
padding: 0;\r\n }\r\n\r\nlabel\r\n {
\r\n
color: 545452;\r\n
text-align: right;\r\n
padding: 0 10px 0 10px;
\r\n
margin-bottom: 0;\r\n }\r\n\r\n \r\ninput\r\n {\r\n
border: 1px so
lid;\r\n
border-color: 666 ccc ccc 666;\r\n
padding: .2em;\r\n
marg
in: .2em;\r\n
border-top-left-radius: 4px;\r\n
border-top-right-radius: 4p
x;\r\n
border-bottom-left-radius: 4px;\r\n
border-bottom-right-radius: 4px
;\r\n
-moz-border-radius-topleft: 4px;\r\n
-webkit-border-top-left-radius:
4px;\r\n
-moz-border-radius-topright: 4px;\r\n
-webkit-border-top-right-r
adius: 4px;\r\n
-moz-border-radius-bottomleft: 4px;\r\n
-webkit-border-bot
tom-left-radius: 4px;\r\n
-moz-border-radius-bottomright: 4px;\r\n
-webkit
-border-bottom-right-radius: 4px;\r\n }\r\n\r\n\r\nselect\r\n {\r\n
marginleft: .5em;\r\n
border-top-left-radius: 4px;\r\n
border-top-right-radius:
4px;\r\n
border-bottom-left-radius: 4px;\r\n
border-bottom-right-radius: 4

px;\r\n
-moz-border-radius-topleft: 4px;\r\n
-webkit-border-top-left-radiu
s: 4px;\r\n
-moz-border-radius-topright: 4px;\r\n
-webkit-border-top-right
-radius: 4px;\r\n
-moz-border-radius-bottomleft: 4px;\r\n
-webkit-border-b
ottom-left-radius: 4px;\r\n
-moz-border-radius-bottomright: 4px;\r\n
-webk
it-border-bottom-right-radius: 4px;\r\n }\r\n\r\ntextarea\r\n {\r\n
overflo
w: auto;\r\n
width: 80;\r\n
height: 25em;\r\n
border: 1px solid;\r\n
border-color: 666 ccc ccc 666;\r\n
padding: .3em;\r\n
border-top-lef
t-radius: 4px;\r\n
border-top-right-radius: 4px;\r\n
border-bottom-left-ra
dius: 4px;\r\n
border-bottom-right-radius: 4px;\r\n
-moz-border-radius-top
left: 4px;\r\n
-webkit-border-top-left-radius: 4px;\r\n
-moz-border-radius
-topright: 4px;\r\n
-webkit-border-top-right-radius: 4px;\r\n
-moz-borderradius-bottomleft: 4px;\r\n
-webkit-border-bottom-left-radius: 4px;\r\n
-m
oz-border-radius-bottomright: 4px;\r\n
-webkit-border-bottom-right-radius: 4p
x;\r\n }\r\n\r\ntextarea:focus, input:focus, .sffocus, .sffocus\r\n {\r\n
b
ackground-color: ffc;\r\n }\r\n\r\nlabel.error \r\n {\r\n
margin-left: 10p
x;\r\n
width: auto;\r\n
display: inline;\r\n
color: red;\r\n
font-we
ight: normal;\r\n
background: transparent;\r\n}\r\n\r\n.error\r\n {\r\n
background: fcc;\r\n }\r\n
\r\n/ /Forms /\r\n\r\n\r\n/ Pagination /\r
\n.paginator ul\r\n {\r\n
list-style:none;\r\n }\r\n\r\n.paginator ul li\r\
n {\r\n
display:inline;\r\n }\r\n\r\n.paginator ul li a.current\r\n {\r\n
font-weight:bold;\r\n }\r\n/ /Pagination /\r\n.back { float: right;\r\n}\
r\n\r\ninput.button {\r\n margin: 0 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.tot
al-value {\r\n float: right;\r\n}\r\n\r\nlogin-form .label {\r\n float: left;
\r\n width: 200px;\r\n}', 0, '2009-07-14 18:44:00', '2011-05-03 16:22:21');
DROP TABLE IF EXISTS stylesheet_media_types;
CREATE TABLE `stylesheet_media_types` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`type` varchar(50) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `stylesheet_media_types` (`id`, `name`, `type`) VALUES
(1, 'all : Suitable for all devices.', 'all'),
(2, 'aural : Intended for speech synthesizers.', 'aural'),
(3, 'braille : Intended for braille tactile feedback de', 'braille'),
(4, 'embossed : Intended for paged braille printers.', 'embossed'),
(5, 'handheld : Intended for handheld devices', 'handheld'),
(6, 'print : Intended for paged, opa ue material and fo', 'print'),
(7, 'projection : Intended for projected presentations,', 'projection'),
(8, 'screen : Intended primarily for color computer scr', 'screen'),
(9, 'tty : Intended for media using a fixed-pitch chara', 'tty'),
(10, 'tv : Intended for television-type devices.', 'tv'),
(11, 'iPhone specific', 'only screen and (max-device-width: 480px)');
DROP TABLE IF EXISTS taxes;
CREATE TABLE `taxes` (
`id` int(10) NOT NULL auto_increment,
`default` tinyint(4) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `taxes` (`id`, `default`, `name`, `created`, `modified`) VALUES
(1, 1, 'Non-Taxable', '2009-08-03 20:39:02', '2009-08-06 10:03:37'),
(2, 0, 'United States - VA Sales Tax', '2009-08-05 20:18:46', '2009-08-06 10:03:
52');

DROP TABLE IF EXISTS tax_country_zone_rates;


CREATE TABLE `tax_country_zone_rates` (
`id` int(10) NOT NULL auto_increment,
`tax_id` int(10) NOT NULL,
`country_zone_id` int(10) NOT NULL,
`rate` double NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `tax_country_zone_rates` (`id`, `tax_id`, `country_zone_id`, `rate`)
VALUES
(1, 2, 51, 5);
DROP TABLE IF EXISTS templates;
CREATE TABLE `templates` (
`id` int(10) NOT NULL auto_increment,
`parent_id` int(10) NOT NULL,
`template_type_id` int(10) NOT NULL,
`default` tinyint(4) NOT NULL default '0',
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`template` text collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `templates` (`id`, `parent_id`, `template_type_id`, `default`, `name
`, `template`, `created`, `modified`) VALUES
(1, 0, 0, 1, 'Default Theme', '', '2009-07-26 16:02:41', '2009-09-12 17:46:19'),
(2, 1, 1, 0, 'Main Layout', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict
//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<html xmlns="http:
//www.w3.org/1999/xhtml">\r\n<head>\r\n<meta http-e uiv="Content-Type" content="
text/html; charset=utf-8" />\r\n<meta http-e uiv="Content-Style-Type" content="t
ext/css" />\r\n<meta name="robots" content="index,follow" />\r\n{stylesheet}\r\n
{metadata}\r\n{headdata}\r\n{meta_description}\r\n{meta_keywords}\r\n<title>\r\n
{site_name} - {page_name}\r\n</title>\r\n</head>\r\n<body>\r\n{google_analytics}
\r\n{yandex_metrika}\r\n<!-- Container -->\r\n<div id="container">\r\n\r\n
<!-- Header -->\r\n
<div id="header">\r\n
<div class="header-left"
>\r\n
<a href="{base_path}/"><img src="{base_path}/img/logo.pn
g" alt="{site_name}" /><br /></a>\r\n
</div>\r\n
<div cla
ss="header-right">\r\n
</div>\r\n
<div class="clear"></div
>\r\n </div>\r\n
<!-- /Header -->\r\n\r\n
<!--Menu -->\r\n
<div id="menu">\r\n
<ul>\r\n
{content_listing
template=\'information-links\' parent=\'44\'}\r\n
{admin_a
rea_link}\r\n
</ul>\r\n
</div>\r\n
<!--/Menu -->\r\n\r\n
<!-- Navigation -->\r\n <div id="navigation">\r\n
&nbsp;\r\n
</div>\r\n
<!-- /Navigation -->\r\n\r\n
<!-- Main Content -->\r\n
<div id="wrapper">\r\n
<div id="content">\r\n
<div cla
ss="page">\r\n
<h2>{page_name}</h2>\r\n
<div class="pageContent">\r\n
{admin_edit_link}\r\n
{content}\r\n
</div>\r\n
</div>\r\n
</div>\r\n
</div>\r\n
<!-- /Main Content -->\r\n\r\n <!-- Left Column
-->\r\n
<div id="left">\r\n
{content_listing template=\'sear
ch-box\'}\r\n
{content_listing template=\'vertical-menu\' parent=\'0\'
type=\'product,category\'}\r\n
{content_listing template=\'news-box\' p
arent=\'69\' type=\'news\'}\r\n
{content_listing template=\'articles-box
\' parent=\'70\' type=\'article\'}\r\n </div>\r\n
<!-- /Left Column -->\r\
n\r\n <!-- Right Column -->\r\n
<div id="right">\r\n
{login_b
ox template=\'login-box\'}\r\n
{shopping_cart template=\'cart-content-b

ox\'}\r\n
{language_box template=\'language-box\'}\r\n
{currency_box template=\'currency-box\'}\r\n
</div>\r\n
<!-- /Right Colu
mn -->\r\n\r\n <!-- Footer -->\r\n
<div id="footer">\r\n
<p>{glob
al_content alias=\'footer\'}</p>\r\n
</div>\r\n
<!-- /Footer -->\r\n\r\n
</div>\r\n<!-- /Container -->\r\n\r\n</body>\r\n</html>', '2009-07-26 16:02:41',
'2010-02-04 18:16:16'),
(3, 1, 2, 0, 'Content Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-0
7-29 21:37:54'),
(4, 1, 3, 0, 'Product Info', '<script type="text/javascript" src="{base_path}/js
/j uery/j uery.min.js"></script>\r\n<link rel="stylesheet" type="text/css" href=
"{base_path}/css/j uery.fancybox-1.2.5.css" media="screen" />\r\n<script type="t
ext/javascript" src="{base_path}/js/j uery/plugins/fancybox/j uery.fancybox-1.2.
5.pack.js"></script>\r\n\r\n<script type="text/javascript">\r\n (document).rea
dy(function() {\r\n
"zoomOpacity"
: true,\
("a.zoom").fancybox({\r\n
r\n
"overlayShow"
: false,\r\n
"zoomSpeedIn"
: 250,\r\n
"zoom
SpeedOut"
: 250\r\n });\r\n });\r\n\r\n function onProductFormSubmit() {
\r\n
var str = ("product-form").serialize();\r\n\r\n
.post("/cart/purch
ase_product", str, function(data) {\r\n
("shopping-cart-box").html(data);
\r\n
});\r\n\r\n }\r\n</script>\r\n\r\n\r\n<div id="product_details_left">\r
\n {description}\r\n</div>\r\n<div id="product_details_right">\r\n <div class=
"product_images">{content_images}</div>\r\n <div class="pricing">\r\n
<h3>Pr
icing</h3>\r\n
{product_prices}\r\n
<div style="clear: both"></div>\r\n
<div style="clear: both"></div>\r\n
{if ''1'' == ajax_enable}\r\n
{pro
duct_form_ajax}\r\n
<div class="product_price">{product_ uantity} {purch
ase_button id=content_id}</div>\r\n
{/product_form_ajax}\r\n
{else}\r
\n
{product_form}\r\n
<div class="product_price">{product_ uantity
} {purchase_button id=content_id}</div>\r\n
{/product_form}\r\n
{/if}
\r\n
{module alias=''reviews'' action=''link''}\r\n </div>\r\n</div>\r\n<div
style="clear:both;"></div>', '2009-07-26 16:02:41', '2012-07-06 15:13:50'),
(5, 1, 4, 0, 'Category Info', '{description}\r\n\r\n{if sub_count->value.catego
ries > 0}\r\n <h3>{lang}Sub Categories{/lang}</h3>\r\n
<div class="cont
ent_listing">\r\n
{content_listing template=\'subcategory-listing\
' parent={content_id} type=''category''}\r\n </div>\r\n{/if}\r\n\r\n{if sub_
count->value.products > 0}\r\n <h3>{lang}Products in this Category{/lang}</h3>\
r\n
<div class="content_listing">\r\n
{content_listing templat
e=\'product-listing\' parent={content_id} page={page} type=''product''}\r\n
</div>\r\n{/if}', '2009-07-26 16:02:41', '2009-08-30 14:49:18'),
(6, 1, 5, 0, 'News Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-07-2
9 21:37:54'),
(7, 1, 6, 0, 'Article Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-0
7-29 21:37:54');
DROP TABLE IF EXISTS templates_stylesheets;
CREATE TABLE `templates_stylesheets` (
`template_id` int(10) unsigned NOT NULL default '0',
`stylesheet_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`template_id`,`stylesheet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `templates_stylesheets` (`template_id`, `stylesheet_id`) VALUES
(1, 1);
DROP TABLE IF EXISTS template_types;
CREATE TABLE `template_types` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`default_template` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `template_types` (`id`, `name`, `default_template`) VALUES


(1, 'Main Layout', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "ht
tp://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<html xmlns="http://www.w3.
org/1999/xhtml">\r\n<head>\r\n<meta http-e uiv="Content-Type" content="text/html
; charset=utf-8" />\r\n<meta http-e uiv="Content-Style-Type" content="text/css"
/>\r\n<meta name="robots" content="index,follow" />\r\n{stylesheet}\r\n{metadata
}\r\n{headdata}\r\n{meta_description}\r\n{meta_keywords}\r\n<title>\r\n{site_nam
e} - {page_name}\r\n</title>\r\n</head>\r\n<body>\r\n{google_analytics}\r\n{yand
ex_metrika}\r\n<!-- Container -->\r\n<div id="container">\r\n\r\n
<!-- Hea
der -->\r\n
<div id="header">\r\n
<div class="header-left">\r\n
<a href="{base_path}/"><img src="{base_path}/img/logo.png" alt="{site_name}" /><
br /></a>\r\n
</div>\r\n
<div class="header-right">\r\n
</div>\r\n
<div class="clear"></div>\r\n </div>\r\n
<!-- /He
ader -->\r\n\r\n
<!--Menu -->\r\n
<div id="menu">\r\n
<ul>\r\n
{content_listing template=\'information-links\'
parent=\'44\'}\r\n
{admin_area_link}\r\n
</ul>\r\
n
</div>\r\n
<!--/Menu -->\r\n\r\n <!-- Navigation -->\r\n <div id=
"navigation">\r\n
&nbsp;\r\n
</div>\r\n
<!-- /Navigation
-->\r\n\r\n
<!-- Main Content -->\r\n
<div id="wrapper">\r\n
<div id="content">\r\n
<div class="page">\r\n
<h2>{page_name}</h2>\r\n
<div class="pageContent">\r\n
{admin_edit_link}\r\n
{content}\r\n
</div>\r\n
</div>\r\n
</div>\r\n
</div>\r
\n
<!-- /Main Content -->\r\n\r\n <!-- Left Column -->\r\n
<div id=
"left">\r\n
{content_listing template=\'vertical-menu\' parent=\'0\'
type=\'product,category\'}\r\n
{content_listing template=\'news-box\' p
arent=\'69\' type=\'news\'}\r\n
{content_listing template=\'articles-box
\' parent=\'70\' type=\'article\'}\r\n </div>\r\n
<!-- /Left Column -->\r\
n\r\n <!-- Right Column -->\r\n
<div id="right">\r\n
{shoppin
g_cart template=\'cart-content-box\'}\r\n
{language_box template=\
'language-box\'}\r\n
{currency_box template=\'currency-box\'}\r\n
</div>\r\n
<!-- /Right Column -->\r\n\r\n <!-- Footer -->\r\n
<div id=
"footer">\r\n
<p>{global_content alias=\'footer\'}</p>\r\n
</div>\r
\n
<!-- /Footer -->\r\n\r\n</div>\r\n<!-- /Container -->\r\n\r\n</body>\r\n
</html>'),
(2, 'Content Page', '{description}'),
(3, 'Product Info', '<script type="text/javascript" src="{base_path}/js/j uery/j
uery.min.js"></script>\r\n<link rel="stylesheet" type="text/css" href="{base_pa
th}/css/j uery.fancybox-1.2.5.css" media="screen" />\r\n<script type="text/javas
cript" src="{base_path}/js/j uery/plugins/fancybox/j uery.fancybox-1.2.5.pack.js
"></script>\r\n\r\n<script type="text/javascript">\r\n (document).ready(functi
on() {\r\n
"zoomOpacity"
("a.zoom").fancybox({\r\n
: true,\r\n
"zoomSpeedIn"
: 500,\r\n
"zoomSpeedOut"
: 500\r\n
});\r\n });\r\n</script>\r\n\r\n
\r\n<div id="product_details_left">\r\n {description}\r\n</div>\r\n<div id="prod
uct_details_right">\r\n <div class="product_images">{content_images}</div>\r\n
{product_form}\r\n
<div class="product_price">{product_ uantity} @
{product_price}</div>\r\n
<div class="add_to_cart">{purchase_butto
n id=content_id}</div>\r\n
{/product_form}\r\n
{module alias=''reviews'
' action=''link''}\r\n</div>\r\n<div style="clear:both;"></div>'),
(4, 'Category Info', '{description}'),
(5, 'News Page', '{description}'),
(6, 'Article Page', '{description}');
DROP TABLE IF EXISTS users;
CREATE TABLE `users` (
`id` int(10) NOT NULL auto_increment,
`username` varchar(50) collate utf8_unicode_ci NOT NULL,
`email` varchar(50) collate utf8_unicode_ci NOT NULL,
`password` varchar(255) collate utf8_unicode_ci NOT NULL,

`created` datetime NOT NULL,


`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `users` (`id`, `username`, `email`, `password`, `created`, `modified
`) VALUES
(1, 'admin', '[email protected]', '5f4dcc3b5aa765d61d8327deb882cf99', '0000-00-00 00:
00:00', '2009-07-23 15:34:53');
DROP TABLE IF EXISTS user_prefs;
CREATE TABLE `user_prefs` (
`id` int(10) NOT NULL auto_increment,
`user_id` int(10) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT
(1, 1,
(2, 1,
(3, 1,

INTO `user_prefs` (`id`, `user_id`, `name`, `value`) VALUES


'content_collapse', ''),
'template_collpase', ''),
'language', 'eng');

DROP TABLE IF EXISTS user_tags;


CREATE TABLE `user_tags` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`content` text collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `user_tags` (`id`, `name`, `alias`, `content`, `created`, `modified`
) VALUES
(1, 'User Agent', 'user-agent', 'echo _SERVER''HTTP_USER_AGENT'';', '2009-0725 09:50:24', '2009-07-27 18:08:55');
DROP TABLE IF EXISTS licenses;
CREATE TABLE IF NOT EXISTS `licenses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`licenseKey` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `licenses` (`id`, `licenseKey`) VALUES
(1, 'NTc5MmEyMjdlMG5 ZGxhf3BbXAMAeGdWWLa7jYXx');
DROP TABLE IF EXISTS updates;
CREATE TABLE IF NOT EXISTS `updates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS customers;
CREATE TABLE IF NOT EXISTS `customers` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`firstname` varchar(32) NOT NULL,

`lastname` varchar(32) NOT NULL,


`email` varchar(96) NOT NULL,
`password` varchar(40) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;;

You might also like