4.6
-- NetCat 4.6 Extra [0] component file, generated 2011-10-14 16:38:22
INSERT INTO `Class` SET `Class_Name` = 'Люди, работа: Вакансии компании', `Class_Group` = 'Люди, работа', `DaysToHold` = '0', `AllowTags` = '0', `FormPrefix` = '$f_AdminCommon\n
\n
".$cc_settings[\'TextBefore\']."
', `FormSuffix` = '".opt( !$totRows , "
".$cc_settings[\'TextNoVacancy\']."
" )."\n
".$cc_settings[\'TextAfter\']."
\n
', `RecordTemplate` = '\n$f_AdminButtons\n
".opt_case( !$cc_settings[\'ShowAll\'] && ($f_Obligation || $f_Demands || $f_Conditions) , "$f_Post" , $f_Post )."
\n".opt($f_City, "
($f_City)
" )."\n".opt($f_Pay, "
Зарплата: $f_Pay $pay
" )."\n".opt( $cc_settings[\'ShowAll\'] , \nopt( $f_Obligation , "
Обязанности: $f_Obligation
" ).\nopt( $f_Demands , "
Требования: $f_Demands
" ).\nopt( $f_Conditions , "
Условия: $f_Conditions
" )\n)."\n
', `RecordsPerPage` = '20', `SortBy` = '', `RecordTemplateFull` = '\n".\nopt($f_City, "
Город: $f_City
" ).\nopt($f_Pay, "
Зарплата: $f_Pay $pay
" ).\nopt( $f_Obligation , "
Обязанности: $f_Obligation
" ).\nopt( $f_Demands , "
Требования: $f_Demands
" ).\nopt( $f_Conditions , "
Условия: $f_Conditions
" )."\n
', `TitleTemplate` = '$f_Post', `TitleList` = '', `UseAltTitle` = '0', `AddTemplate` = '', `EditTemplate` = '', `AddActionTemplate` = '', `EditActionTemplate` = '', `SearchTemplate` = '', `FullSearchTemplate` = '', `SubscribeTemplate` = '', `System_Table_ID` = '0', `Settings` = '$pay = array(\'rur\'=>\'руб.\',\'usd\'=>\'$\',\'eu\'=>\'€\',\'no\'=>\'\',\'other\'=>$cc_settings[\'OtherPay\']);\n$pay = $pay[$cc_settings[\'Pay\']];', `AddCond` = '', `EditCond` = '', `SubscribeCond` = '', `DeleteCond` = '', `NL2BR` = '0', `UseCaptcha` = '0', `CheckActionTemplate` = '', `DeleteActionTemplate` = '', `CustomSettingsTemplate` = '$settings_array = array(\n \'Pay\' => array(\'type\' => \'select\',\n \'default_value\' => \'rur\',\n \'caption\' => \'Зарплата в\',\n \'values\' => array(\'rur\' => \'рубли\', \'usd\' => \'доллары\', \'eu\'=>\'евро\', \'no\'=>\'не выводить\', \'other\'=>\'другая валюта\' )\n ),\n \'OtherPay\' => array(\'type\' => \'string\',\n \'default_value\' => \'\',\n \'caption\' => \'Другая валюта\',\n \'size\' => \'21\'\n ),\n \'TextNoVacancy\' => array(\'type\' => \'textarea\',\n \'default_value\' => \'\',\n \'caption\' => \'Текст, если вакансий нет\',\n \'size\' => \'4\'\n ),\n \'TextBefore\' => array(\'type\' => \'textarea\',\n \'default_value\' => \'\',\n \'caption\' => \'Текст до списка вакансий\',\n \'size\' => \'4\'\n ),\n \'TextAfter\' => array(\'type\' => \'textarea\',\n \'default_value\' => \'\',\n \'caption\' => \'Текст после списка вакансий\',\n \'size\' => \'4\'\n ),\n \'ShowAll\' => array(\'type\' => \'checkbox\',\n \'default_value\' => \'\',\n \'caption\' => \'Выводить всю информацию в списке\'\n )\n \n);', `ClassDescription` = 'Компонент позволяет публиковать текущие вакансии компании. \nКомпонент может быть использован компаниями с самыми различными \nкадровыми политиками.\n\nПоля: должность или название вакансии, город, уровень зарплаты, \nобязанности, требования к кандидату, условия работы.', `DeleteTemplate` = '', `ClassTemplate` = '0', `Type` = 'useful', `CacheForUser` = '0';
INSERT INTO `Class` SET `Class_Name` = 'Для корзины удаленных объектов', `Class_Group` = 'Шаблоны компонентов', `DaysToHold` = '0', `AllowTags` = '0', `FormPrefix` = '', `FormSuffix` = '', `RecordTemplate` = '$f_AdminButtons $f_Post
\r\n', `RecordsPerPage` = '0', `SortBy` = '', `RecordTemplateFull` = '', `TitleTemplate` = '', `TitleList` = '', `UseAltTitle` = '0', `AddTemplate` = '', `EditTemplate` = '', `AddActionTemplate` = '', `EditActionTemplate` = '', `SearchTemplate` = '', `FullSearchTemplate` = '', `SubscribeTemplate` = '', `System_Table_ID` = '0', `Settings` = '', `AddCond` = '', `EditCond` = '', `SubscribeCond` = '', `DeleteCond` = '', `NL2BR` = '0', `UseCaptcha` = '0', `CheckActionTemplate` = '', `DeleteActionTemplate` = '', `CustomSettingsTemplate` = '', `ClassDescription` = '', `DeleteTemplate` = '', `ClassTemplate` = '%INSERT_ID%', `Type` = 'trash', `CacheForUser` = '0';
CREATE TABLE `Message%INSERT_ID%` ( `Message_ID` int(11) NOT NULL AUTO_INCREMENT, `User_ID` int(11) NOT NULL DEFAULT '0', `Subdivision_ID` int(11) NOT NULL DEFAULT '0', `Sub_Class_ID` int(11) NOT NULL DEFAULT '0', `Priority` int(11) NOT NULL DEFAULT '0', `Checked` tinyint(4) NOT NULL DEFAULT '1', `TimeToDelete` date DEFAULT NULL, `TimeToUncheck` date DEFAULT NULL, `IP` varchar(15) DEFAULT NULL, `UserAgent` varchar(255) DEFAULT NULL, `Parent_Message_ID` int(11) NOT NULL DEFAULT '0', `Created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `LastUpdated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `LastUser_ID` int(11) NOT NULL DEFAULT '0', `LastIP` varchar(15) DEFAULT NULL, `LastUserAgent` varchar(255) DEFAULT NULL, `Keyword` varchar(255) NOT NULL DEFAULT '', `ncTitle` varchar(255) DEFAULT NULL, `ncKeywords` varchar(255) DEFAULT NULL, `ncDescription` text, `Conditions` longtext, `Demands` longtext, `Obligation` longtext, `Pay` varchar(255) DEFAULT NULL, `City` int(11) DEFAULT NULL, `Post` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`Message_ID`), UNIQUE KEY `Sub_Class_ID_2` (`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%, 'Pay', 'Зарплата', 1, '', 0, 2, 0, '', 1);
INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'Post', 'Наименование/должность', 1, '', 1, 0, 0, '', 1);
INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'Conditions', 'Условия', 3, '4:60', 0, 5, 0, '', 1);
INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'Demands', 'Требования', 3, '4:60', 0, 4, 0, '', 1);
INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'Obligation', 'Обязанности', 3, '4:60', 0, 3, 0, '', 1);
INSERT INTO Field (`Class_ID`, `Field_Name`, `Description`, `TypeOfData_ID`, `Format`, `NotNull`, `Priority`, `DoSearch`, `DefaultState`, `TypeOfEdit_ID`) VALUES (%INSERT_ID%, 'City', 'Город', 4, 'Region', 0, 1, 0, '', 1);