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 ? "<div class=\'content timetable\'>\n\n<ul>":NULL)."', `FormSuffix` = '".(!$admin_mode ? "</ul></div>":NULL)."', `RecordTemplate` = '<div class=\'nc_row\'>$f_AdminButtons</div>\n<li><a href=\'$fullLink\'>Посмотреть</a> <a href=\'$f_file\' style=\'margin-left:10px;font-size:90%;\' title=\'скачать файлом\'>скачать в .doc<img src=\'/images/artkino/images/docx_16x16.gif\' align=\'top\'></a></li>\n', `RecordsPerPage` = '20', `SortBy` = '', `RecordTemplateFull` = '<div class=\'content timetable\' style=\'text-align: center;\'><a href=\'./\'>вернуться к списку</a>\n <a class=\'fr\' style=\'margin-top: 28px; font-size:90%; text-align: right;\' href=\'$f_file\' title=\'скачать файлом\'><img src=\'/images/artkino/images/docx_40x40.gif\'><br>cкачать</a>\n <!-- вывод документа в iframe -->\n <iframe\n src=\'https://viewer.zoho.com/api/urlview.do?url=http://www.".$current_catalogue[Domain]."$f_file&embed=$cc_settings[embed]&cache=$cc_settings[cache]\'\n style=\'width:100%; height:".($f_pages ? $f_pages*$cc_settings[pheigth] : null)."px;\'\n frameborder=\'0\'>\n </iframe>\n <!--end вывод документа в iframe -->\n</div>\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);