289 lines
12 KiB
PHP
Executable File
289 lines
12 KiB
PHP
Executable File
<?php
|
|
$query = "
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block` (
|
|
`id_loffc_block` int(11) NOT NULL AUTO_INCREMENT,
|
|
`width` varchar(255) NOT NULL,
|
|
`show_title` tinyint(1) NOT NULL,
|
|
`id_position` tinyint(2) NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=64 ;
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block` (`id_loffc_block`, `width`, `show_title`, `id_position`) VALUES
|
|
(60, 17.00, 1, 2),
|
|
(61, 17.00, 1, 2),
|
|
(62, 17.00, 1, 2),
|
|
(63, 17.00, 1, 2),
|
|
(64, 20.00, 1, 1),
|
|
(65, 23.00, 1, 2);
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block_item`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block_item` (
|
|
`id_loffc_block_item` int(11) NOT NULL AUTO_INCREMENT,
|
|
`id_loffc_block` int(11) NOT NULL,
|
|
`type` varchar(25) NOT NULL,
|
|
`link` varchar(2000) NOT NULL,
|
|
`linktype` varchar(25) NOT NULL,
|
|
`link_content` varchar(2000) NOT NULL,
|
|
`module_name` varchar(100) NOT NULL,
|
|
`hook_name` varchar(100) NOT NULL,
|
|
`latitude` varchar(25) NOT NULL,
|
|
`longitude` varchar(25) NOT NULL,
|
|
`addthis` tinyint(1) NOT NULL,
|
|
`show_title` tinyint(1) NOT NULL DEFAULT '1',
|
|
`target` varchar(20) NOT NULL DEFAULT '_self',
|
|
`position` int(11) NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block_item`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=103 ;
|
|
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block_item` (`id_loffc_block_item`, `id_loffc_block`, `type`, `link`, `linktype`, `link_content`, `module_name`, `hook_name`, `latitude`, `longitude`, `addthis`, `show_title`, `target`, `position`) VALUES
|
|
(99, 60, 'custom_html', '', '', '', '', '', '', '', 0, 0, '', 0),
|
|
(100, 63, 'link', '', 'cms', '3', '', '', '', '', 0, 1, '', 0),
|
|
(101, 62, 'link', '', 'category', '4', '', '', '', '', 0, 1, '', 0),
|
|
(102, 61, 'link', '', 'category', '1', '', '', '', '', 0, 1, '', 0),
|
|
(103, 60, 'module', '', '', '', 'blocknewsletter', 'displayfooter', '', '', 0, 0, '', 1),
|
|
(104, 61, 'link', '', 'category', '4', '', '', '', '', 0, 1, '_self', 1),
|
|
(105, 61, 'link', '', 'cms', '3', '', '', '', '', 0, 1, '_self', 2),
|
|
(106, 61, 'link', '', 'cms', '5', '', '', '', '', 0, 1, '_self', 3),
|
|
(107, 61, 'link', '', 'category', '4', '', '', '', '', 0, 1, '_self', 4),
|
|
(108, 62, 'link', '', 'category', '5', '', '', '', '', 0, 1, '_self', 1),
|
|
(109, 62, 'link', '', 'cms', '3', '', '', '', '', 0, 1, '_self', 2),
|
|
(110, 62, 'link', '', 'cms', '5', '', '', '', '', 0, 1, '_self', 3),
|
|
(111, 62, 'link', '', 'category', '4', '', '', '', '', 0, 1, '_self', 4),
|
|
(114, 65, 'custom_html', '', '', '', '', '', '', '', 0, 0, '', 0),
|
|
(115, 63, 'link', '', 'cms', '5', '', '', '', '', 0, 1, '_self', 1),
|
|
(116, 63, 'link', '', 'category', '4', '', '', '', '', 0, 1, '_self', 2),
|
|
(117, 63, 'link', '', 'category', '5', '', '', '', '', 0, 1, '_self', 3),
|
|
(118, 63, 'link', '', 'category', '5', '', '', '', '', 0, 1, '_self', 4),
|
|
(119, 63, 'link', '', 'category', '4', '', '', '', '', 0, 1, '_self', 5);
|
|
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block_item_lang`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block_item_lang` (
|
|
`id_loffc_block_item` int(11) NOT NULL,
|
|
`id_lang` int(11) NOT NULL,
|
|
`title` varchar(255) NOT NULL,
|
|
`text` text NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block_item`,`id_lang`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block_item_lang` (`id_loffc_block_item`, `id_lang`, `title`, `text`) VALUES
|
|
(0, 1, 'item 1', ''),
|
|
(0, 2, 'item 1', ''),
|
|
(0, 3, 'item 1', ''),
|
|
(0, 4, 'item 1', ''),
|
|
(0, 5, 'item 1', ''),
|
|
(0, 6, 'item 1', ''),
|
|
(99, 1, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(99, 2, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(99, 3, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(99, 4, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(99, 5, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(99, 6, 'About us', '<p>Sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt.</p>'),
|
|
(100, 1, 'Black Tea', ''),
|
|
(100, 2, 'Contact Us', ''),
|
|
(100, 3, 'Contact Us', ''),
|
|
(100, 4, 'Contact Us', ''),
|
|
(100, 5, 'Contact Us', ''),
|
|
(100, 6, 'Contact Us', ''),
|
|
(101, 1, 'Flavoured Black Tea', ''),
|
|
(101, 2, 'Flick Gllery', ''),
|
|
(101, 3, 'Flick Gllery', ''),
|
|
(101, 4, 'Flick Gllery', ''),
|
|
(101, 5, 'Flick Gllery', ''),
|
|
(101, 6, 'Flick Gllery', ''),
|
|
(102, 1, 'Black Tea', ''),
|
|
(102, 2, 'Twitte Feed', ''),
|
|
(102, 3, 'Twitte Feed', ''),
|
|
(102, 4, 'Twitte Feed', ''),
|
|
(102, 5, 'Twitte Feed', ''),
|
|
(102, 6, 'Twitte Feed', ''),
|
|
(103, 1, 'Newsletter', ''),
|
|
(103, 2, 'Newsletter', ''),
|
|
(103, 3, 'Newsletter', ''),
|
|
(103, 4, 'Newsletter', ''),
|
|
(103, 5, 'Newsletter', ''),
|
|
(103, 6, 'Newsletter', ''),
|
|
(104, 1, 'OoLong Tea', ''),
|
|
(104, 2, 'OoLong Tea', ''),
|
|
(104, 3, 'OoLong Tea', ''),
|
|
(104, 4, 'OoLong Tea', ''),
|
|
(104, 5, 'OoLong Tea', ''),
|
|
(104, 6, 'OoLong Tea', ''),
|
|
(105, 1, 'Flavoured Black Tea', ''),
|
|
(105, 2, 'Flavoured Black Tea', ''),
|
|
(105, 3, 'Flavoured Black Tea', ''),
|
|
(105, 4, 'Flavoured Black Tea', ''),
|
|
(105, 5, 'Flavoured Black Tea', ''),
|
|
(105, 6, 'Flavoured Black Tea', ''),
|
|
(106, 1, 'Green Tea', ''),
|
|
(106, 2, 'Green Tea', ''),
|
|
(106, 3, 'Green Tea', ''),
|
|
(106, 4, 'Green Tea', ''),
|
|
(106, 5, 'Green Tea', ''),
|
|
(106, 6, 'Green Tea', ''),
|
|
(107, 1, 'Flavoured Black Tea', ''),
|
|
(107, 2, 'Flavoured Black Tea', ''),
|
|
(107, 3, 'Flavoured Black Tea', ''),
|
|
(107, 4, 'Flavoured Black Tea', ''),
|
|
(107, 5, 'Flavoured Black Tea', ''),
|
|
(107, 6, 'Flavoured Black Tea', ''),
|
|
(108, 1, 'Flavoured Green Tea', ''),
|
|
(108, 2, 'Flavoured Green Tea', ''),
|
|
(108, 3, 'Flavoured Green Tea', ''),
|
|
(108, 4, 'Flavoured Green Tea', ''),
|
|
(108, 5, 'Flavoured Green Tea', ''),
|
|
(108, 6, 'Flavoured Green Tea', ''),
|
|
(109, 1, 'White Tea', ''),
|
|
(109, 2, 'White Tea', ''),
|
|
(109, 3, 'White Tea', ''),
|
|
(109, 4, 'White Tea', ''),
|
|
(109, 5, 'White Tea', ''),
|
|
(109, 6, 'White Tea', ''),
|
|
(110, 1, 'Single Estate Teas', ''),
|
|
(110, 2, 'Single Estate Teas', ''),
|
|
(110, 3, 'Single Estate Teas', ''),
|
|
(110, 4, 'Single Estate Teas', ''),
|
|
(110, 5, 'Single Estate Teas', ''),
|
|
(110, 6, 'Single Estate Teas', ''),
|
|
(111, 1, 'Single Estate Teas', ''),
|
|
(111, 2, 'Single Estate Teas', ''),
|
|
(111, 3, 'Single Estate Teas', ''),
|
|
(111, 4, 'Single Estate Teas', ''),
|
|
(111, 5, 'Single Estate Teas', ''),
|
|
(111, 6, 'Single Estate Teas', ''),
|
|
(114, 1, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(114, 2, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(114, 3, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(114, 4, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(114, 5, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(114, 6, 'Contact us', '<p class=\"leo-telephone\"><span>+ 123 456 789 /</span><br /> <span>+ 123 456 780</span> <br /> Support 24/24</p>\r\n<p class=\"leo-shipping\">12345 Street name, Las Vegas, United State of American <a href=\"mailto:support@leotea.com\">support@leotea.com</a></p>\r\n<p class=\"leo-address\"><a class=\"facebook\" href=\"#\">facebook</a> <a class=\"youtube\" href=\"#\">Youtube</a> <a class=\"twitter\" href=\"#\">Twitter</a> <a class=\"skype\" href=\"#\">skype</a></p>'),
|
|
(115, 1, 'Flavoured Green Tea', ''),
|
|
(115, 2, 'Flavoured Green Tea', ''),
|
|
(115, 3, 'Flavoured Green Tea', ''),
|
|
(115, 4, 'Flavoured Green Tea', ''),
|
|
(115, 5, 'Flavoured Green Tea', ''),
|
|
(115, 6, 'Flavoured Green Tea', ''),
|
|
(116, 1, 'Single Estate Teas', ''),
|
|
(116, 2, 'Single Estate Teas', ''),
|
|
(116, 3, 'Single Estate Teas', ''),
|
|
(116, 4, 'Single Estate Teas', ''),
|
|
(116, 5, 'Single Estate Teas', ''),
|
|
(116, 6, 'Single Estate Teas', ''),
|
|
(117, 1, 'Flavoured Black Tea', ''),
|
|
(117, 2, 'Flavoured Black Tea', ''),
|
|
(117, 3, 'Flavoured Black Tea', ''),
|
|
(117, 4, 'Flavoured Black Tea', ''),
|
|
(117, 5, 'Flavoured Black Tea', ''),
|
|
(117, 6, 'Flavoured Black Tea', ''),
|
|
(118, 1, 'Green Tea', ''),
|
|
(118, 2, 'Green Tea', ''),
|
|
(118, 3, 'Green Tea', ''),
|
|
(118, 4, 'Green Tea', ''),
|
|
(118, 5, 'Green Tea', ''),
|
|
(118, 6, 'Green Tea', ''),
|
|
(119, 1, 'Flavoured Black Tea', ''),
|
|
(119, 2, 'Flavoured Black Tea', ''),
|
|
(119, 3, 'Flavoured Black Tea', ''),
|
|
(119, 4, 'Flavoured Black Tea', ''),
|
|
(119, 5, 'Flavoured Black Tea', ''),
|
|
(119, 6, 'Flavoured Black Tea', '');
|
|
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block_item_shop`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block_item_shop` (
|
|
`id_loffc_block_item` int(11) NOT NULL,
|
|
`id_shop` int(11) NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block_item`,`id_shop`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block_item_shop` (`id_loffc_block_item`, `id_shop`) VALUES
|
|
(99, 1),
|
|
(100, 1),
|
|
(101, 1),
|
|
(102, 1),
|
|
(103, 1),
|
|
(104, 1),
|
|
(105, 1),
|
|
(106, 1),
|
|
(107, 1),
|
|
(108, 1),
|
|
(109, 1),
|
|
(110, 1),
|
|
(111, 1),
|
|
(114, 1),
|
|
(115, 1),
|
|
(116, 1),
|
|
(117, 1),
|
|
(118, 1),
|
|
(119, 1);
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block_lang`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block_lang` (
|
|
`id_loffc_block` int(11) NOT NULL,
|
|
`id_lang` int(11) NOT NULL,
|
|
`title` varchar(255) NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block`,`id_lang`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block_lang` (`id_loffc_block`, `id_lang`, `title`) VALUES
|
|
(60, 1, 'newsletter'),
|
|
(60, 2, 'Newsletter'),
|
|
(60, 3, 'Newsletter'),
|
|
(60, 4, 'Newsletter'),
|
|
(60, 5, 'Newsletter'),
|
|
(60, 6, 'Newsletter'),
|
|
(61, 1, 'Twitte Feed'),
|
|
(61, 2, 'Our offer'),
|
|
(61, 3, 'Our offer'),
|
|
(61, 4, 'Our offer'),
|
|
(61, 5, 'Our offer'),
|
|
(61, 6, 'Our offer'),
|
|
(62, 1, 'Flick Gllery'),
|
|
(62, 2, 'Flick Gllery'),
|
|
(62, 3, 'Flick Gllery'),
|
|
(62, 4, 'Flick Gllery'),
|
|
(62, 5, 'Flick Gllery'),
|
|
(62, 6, 'Flick Gllery'),
|
|
(63, 1, 'Your account'),
|
|
(63, 2, 'Contact Us'),
|
|
(63, 3, 'Contact Us'),
|
|
(63, 4, 'Contact Us'),
|
|
(63, 5, 'Contact Us'),
|
|
(63, 6, 'Contact Us'),
|
|
(64, 1, 'Contact Us'),
|
|
(64, 2, 'ht'),
|
|
(64, 3, 'ht'),
|
|
(64, 4, 'ht'),
|
|
(64, 5, 'ht'),
|
|
(64, 6, 'ht'),
|
|
(65, 1, 'Contact Us'),
|
|
(65, 2, 'Contact Us'),
|
|
(65, 3, 'Contact Us'),
|
|
(65, 4, 'Contact Us'),
|
|
(65, 5, 'Contact Us'),
|
|
(65, 6, 'Contact Us');
|
|
|
|
|
|
DROP TABLE IF EXISTS `_DB_PREFIX_loffc_block_shop`;
|
|
CREATE TABLE IF NOT EXISTS `_DB_PREFIX_loffc_block_shop` (
|
|
`id_loffc_block` int(11) NOT NULL,
|
|
`id_shop` int(11) NOT NULL,
|
|
PRIMARY KEY (`id_loffc_block`,`id_shop`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
|
|
|
INSERT INTO `_DB_PREFIX_loffc_block_shop` (`id_loffc_block`, `id_shop`) VALUES
|
|
(60, 1),
|
|
(61, 1),
|
|
(62, 1),
|
|
(63, 1),
|
|
(64, 1),
|
|
(65, 1);
|
|
|
|
";
|
|
?>
|