4.6 -- NetCat 4.6 Corporate [0] component file, generated 2012-03-10 11:56:01 INSERT INTO `Class` SET `Class_Name` = 'PhPh NetCat DocsViewer by zoho.com', `Class_Group` = '!phph test', `DaysToHold` = '0', `AllowTags` = '1', `FormPrefix` = '$f_AdminCommon\n".(!$admin_mode ? "
\n\n
":NULL)."', `RecordTemplate` = '
$f_AdminButtons
\n
  • Посмотреть скачать в .doc
  • \n', `RecordsPerPage` = '20', `SortBy` = '', `RecordTemplateFull` = '
    вернуться к списку\n
    cкачать
    \n \n \n \n \n
    \n\n\n', `TitleTemplate` = '', `TitleList` = '', `UseAltTitle` = '0', `AddTemplate` = '', `EditTemplate` = '', `AddActionTemplate` = '', `EditActionTemplate` = '', `SearchTemplate` = '', `FullSearchTemplate` = '', `SubscribeTemplate` = '', `System_Table_ID` = '0', `Settings` = '', `AddCond` = '', `EditCond` = '', `SubscribeCond` = '', `DeleteCond` = '', `NL2BR` = '1', `UseCaptcha` = '0', `CheckActionTemplate` = '', `DeleteActionTemplate` = '', `CustomSettingsTemplate` = '$settings_array = array(\n \'cache\' => array(\n \'type\' => \'select\',\n \'subtype\' => \'static\',\n \'caption\' => \'Кэшировать документы\',\n \'default_value\' => \'false\',\n \'values\' => array(\n \'true\' => \'да\',\n \'false\' => \'нет\')),\n \'embed\' => array(\n \'type\' => \'select\',\n \'subtype\' => \'static\',\n \'caption\' => \'Показать панель инструментов для документа ?\',\n \'default_value\' => \'true\',\n \'values\' => array(\n \'true\' => \'нет\',\n \'false\' => \'да\')),\n \'pheigth\' => array(\n \'type\' => \'int\',\n \'subtype\' => \'\',\n \'caption\' => \'Высота одной страницы в px\',\n \'default_value\' => \'1350\',\n \'min\' => \'500\',\n \'max\' => \'4000\'));', `ClassDescription` = 'Расписание транслирует doc-файл на сайт', `DeleteTemplate` = '', `ClassTemplate` = '0', `Type` = 'useful', `CacheForUser` = '0'; CREATE TABLE `Message%INSERT_ID%` ( `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', `TimeToDelete` date DEFAULT NULL, `TimeToUncheck` date DEFAULT NULL, `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, `pages` int(11) NOT NULL DEFAULT '4', `file` 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; INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'pages', 'Число страниц в doc (4 по умолчанию)', 2, '', 1, 2, 0, '4', 1); INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'file', 'файл в формате doc, pdf, odt, xls', 6, 'fs2:inline', 0, 2, 0, '', 1);