4.1 -- NetCat 4.1 Extra [0] component file, generated 2010-10-04 12:26:19 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

$f_Post

\n".opt($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` = '', `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', `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, `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, `Pay` char(255) NULL, `Post` char(255) NOT NULL, `Conditions` text NULL, `Demands` text NULL, `Obligation` text NULL, `City` int 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`) ) TYPE=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);