DROP TABLE IF EXISTS `site_plugin_topintro`;
CREATE TABLE IF NOT EXISTS `site_plugin_topintro` (
  `item_id` int(11) NOT NULL AUTO_INCREMENT,
  `item_status` int(1) NOT NULL,
  `item_default` int(1) NOT NULL,
  `item_modules` text NOT NULL,
  `item_modules_global` text NOT NULL,
  `item_type` int(1) NOT NULL,
  `item_image` int(11) NOT NULL,
  `item_video` int(11) NOT NULL,
  PRIMARY KEY (`item_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;


DROP TABLE IF EXISTS `site_plugin_topintro_lang`;
CREATE TABLE IF NOT EXISTS `site_plugin_topintro_lang` (
  `item_id` int(11) NOT NULL,
  `lang_id` int(11) NOT NULL,
  `item_title` TEXT NOT NULL,
  `item_text_1` text NOT NULL,
  `item_text_2` text NOT NULL,
  `item_video_file` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


ALTER TABLE `site_plugin_topintro`  
ADD `item_link_type` INT(1) NOT NULL,  
ADD `item_link_module` INT(11) NOT NULL,  
ADD `item_link_target` VARCHAR(20) NOT NULL;

ALTER TABLE `site_plugin_topintro_lang`  
ADD `item_link_text` VARCHAR(255) NOT NULL,  
ADD `item_link_link` TEXT NOT NULL;

ALTER TABLE  `site_plugin_topintro` ADD  `item_overlay` VARCHAR(50) NOT NULL;
ALTER TABLE  `site_plugin_topintro` ADD  `item_show_title` INT(1) NOT NULL;
