--
-- Дамп данных таблицы `Module`
--

INSERT INTO `Module` (`Module_Name`, `Keyword`, `Description`, `Parameters`, `Example_URL`, `Help_URL`, `Installed`, `Number`, `Inside_Admin`, `Checked`) VALUES
('NETCAT_MODULE_TAGSCLOUD', 'tagscloud', 'NETCAT_MODULE_TAGSCLOUD_DESCRIPTION', 'MAX_FONT=250\r\nMIN_FONT=100\r\nQUANTITY=50\r\nTAGS_CLASS_ID=61\r\nTAGS_SUB_ID=62\r\n', '', '/settings/modules/tagscloud/', 1, '', 1, 1);

--
-- Дамп данных таблицы `Class`
--

INSERT INTO `Class` (`Class_ID`, `IsAuxiliary`, `Class_Name`, `Class_Group`, `DaysToHold`, `AllowTags`, `FormPrefix`, `FormSuffix`, `RecordTemplate`, `RecordsPerPage`, `SortBy`, `RecordTemplateFull`, `TitleTemplate`, `TitleList`, `UseAltTitle`, `AddTemplate`, `EditTemplate`, `AddActionTemplate`, `EditActionTemplate`, `SearchTemplate`, `FullSearchTemplate`, `SubscribeTemplate`, `System_Table_ID`, `Settings`, `AddCond`, `EditCond`, `SubscribeCond`, `DeleteCond`, `NL2BR`, `UseCaptcha`, `CheckActionTemplate`, `DeleteActionTemplate`, `CustomSettingsTemplate`, `ClassDescription`, `DeleteTemplate`, `ClassTemplate`, `Type`, `File_Mode`, `File_Path`, `File_Hash`) VALUES
(344, 1, 'Теги', 'Облако тегов', 0, 0, '', '', '', 20, '', '', '', NULL, 0, '', '', '', '', '', '', '', 0, '', '', '', '', '', 1, 0, '', '', NULL, NULL, '', 0, 'useful', 1, '/344/', 'c6a8727cb1152330cfc7132ef01f3812'),
(447, 1, 'Для титульной страницы', 'Шаблоны компонентов', 0, 0, '', '', '', 20, '', '', '', NULL, 0, '', '', '', '', '', '', '', 0, '', '', '', '', '', 1, 0, '', '', NULL, NULL, '', 344, 'title', 1, '/344/447/', 'c6a8727cb1152330cfc7132ef01f3812');

--
-- Структура таблицы `Message344`
--

CREATE TABLE IF NOT EXISTS `Message344` (
  `Message_ID` int(11) NOT NULL AUTO_INCREMENT,
  `User_ID` int(11) NOT NULL,
  `Subdivision_ID` int(11) NOT NULL,
  `Sub_Class_ID` int(11) NOT NULL,
  `Priority` int(11) NOT NULL DEFAULT '0',
  `Keyword` char(255) NOT NULL,
  `ncTitle` varchar(255) DEFAULT NULL,
  `ncKeywords` varchar(255) DEFAULT NULL,
  `ncDescription` text,
  `Checked` tinyint(4) NOT NULL DEFAULT '1',
  `IP` char(15) DEFAULT NULL,
  `UserAgent` char(255) DEFAULT NULL,
  `Parent_Message_ID` int(11) NOT NULL DEFAULT '0',
  `Created` datetime NOT NULL,
  `LastUpdated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `LastUser_ID` int(11) NOT NULL,
  `LastIP` char(15) DEFAULT NULL,
  `LastUserAgent` char(255) DEFAULT NULL,
  PRIMARY KEY (`Message_ID`),
  UNIQUE KEY `Sub_Class_ID` (`Sub_Class_ID`,`Message_ID`,`Keyword`),
  KEY `User_ID` (`User_ID`),
  KEY `LastUser_ID` (`LastUser_ID`),
  KEY `Subdivision_ID` (`Subdivision_ID`),
  KEY `Parent_Message_ID` (`Parent_Message_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- Структура таблицы `Tags_Data`
--

CREATE TABLE IF NOT EXISTS `Tags_Data` (
  `Tag_ID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `Tag_Text` text NOT NULL,
  PRIMARY KEY (`Tag_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Структура таблицы `Tags_Message`
--

CREATE TABLE IF NOT EXISTS `Tags_Message` (
  `Tag_ID` int(10) NOT NULL DEFAULT '0',
  `Sub_Class_ID` int(10) NOT NULL DEFAULT '0',
  `Message_ID` int(10) NOT NULL DEFAULT '0',
  `Class_ID` int(11) NOT NULL DEFAULT '0',
  KEY `Tag_ID` (`Tag_ID`),
  KEY `Sub_Class_ID` (`Sub_Class_ID`),
  KEY `Message_ID` (`Message_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Структура таблицы `Tags_Weight`
--

CREATE TABLE IF NOT EXISTS `Tags_Weight` (
  `Tag_ID` int(10) NOT NULL DEFAULT '0',
  `Sub_Class_ID` int(10) NOT NULL DEFAULT '0',
  `Tag_Weight` int(10) NOT NULL DEFAULT '0',
  `Class_ID` int(11) NOT NULL DEFAULT '0',
  KEY `Tag_ID` (`Tag_ID`),
  KEY `Sub_Class_ID` (`Sub_Class_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;