"create_contact"=> "crm.contact.add?fields[NAME]=Test&fields[LAST_NAME]=TEST",
"read_contact"=> "crm.contact.get?id=$result[create_contact][ID]",
"user_deal"=> "crm.deal.add?fields[CONTACT_ID]=$result[create_contact][ID]&fields[TITLE]=TEST"
<?$GLOBALS['arrFilter']=array("SECTION_ID" => 5);?>
<?$APPLICATION->IncludeComponent(
"bitrix:news",
"news",
array(
"ADD_ELEMENT_CHAIN" => "N",
"ADD_SECTIONS_CHAIN" => "N",
"AJAX_MODE" => "N",
"AJAX_OPTION_ADDITIONAL" => "",
"AJAX_OPTION_HISTORY" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"BROWSER_TITLE" => "-",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "Y",
"CACHE_TIME" => "36000000",
"CACHE_TYPE" => "A",
"CHECK_DATES" => "Y",
"COMPONENT_TEMPLATE" => "news",
"DETAIL_ACTIVE_DATE_FORMAT" => "j F Y",
"DETAIL_DISPLAY_BOTTOM_PAGER" => "N",
"DETAIL_DISPLAY_TOP_PAGER" => "N",
"DETAIL_FIELD_CODE" => array(
0 => "",
1 => "",
),
"DETAIL_PAGER_SHOW_ALL" => "N",
"DETAIL_PAGER_TEMPLATE" => "",
"DETAIL_PAGER_TITLE" => "Страница",
"DETAIL_PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"DETAIL_SET_CANONICAL_URL" => "N",
"DISPLAY_BOTTOM_PAGER" => "N",
"DISPLAY_DATE" => "Y",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "Y",
"DISPLAY_TOP_PAGER" => "N",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"IBLOCK_ID" => "2",
"IBLOCK_TYPE" => "content",
"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
"LIST_ACTIVE_DATE_FORMAT" => "j F Y",
"LIST_FIELD_CODE" => array(
0 => "",
1 => "",
),
"LIST_PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"MESSAGE_404" => "",
"META_DESCRIPTION" => "-",
"META_KEYWORDS" => "-",
"NEWS_COUNT" => "20",
"PAGER_BASE_LINK_ENABLE" => "N",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "N",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => ".default",
"PAGER_TITLE" => "Новости",
"PREVIEW_TRUNCATE_LEN" => "",
"SEF_FOLDER" => "",
"SEF_MODE" => "Y",
"SET_LAST_MODIFIED" => "N",
"SET_STATUS_404" => "N",
"SET_TITLE" => "N",
"SHOW_404" => "N",
"SORT_BY1" => "ACTIVE_FROM",
"SORT_BY2" => "SORT",
"SORT_ORDER1" => "DESC",
"SORT_ORDER2" => "ASC",
"STRICT_SECTION_CHECK" => "N",
"USE_CATEGORIES" => "N",
"USE_FILTER" => "Y",
"USE_PERMISSIONS" => "N",
"USE_RATING" => "N",
"USE_REVIEW" => "N",
"USE_RSS" => "N",
"USE_SEARCH" => "N",
"USE_SHARE" => "N",
"FILTER_NAME" => "arrFilter",
"FILTER_FIELD_CODE" => array(
0 => "",
1 => "",
),
"FILTER_PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"SEF_URL_TEMPLATES" => array(
"news" => "",
"section" => "",
"detail" => "#ELEMENT_CODE#/",
)
),
false
);?>
<?
require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
use Bitrix\Main\Localization\Loc;
use Bitrix\Main\HttpApplication;
use Bitrix\Main\Loader;
use Bitrix\Main\Config\Option;
Loc::loadMessages(__FILE__);
$request = HttpApplication::getInstance()->getContext()->getRequest();
$module_id = htmlspecialcharsbx($request["mid"] != "" ? $request["mid"] : $request["id"]);
Loader::includeModule($module_id);
$aTabs = array(
array(
"DIV" => "edit",
"TAB" => Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_NAME"),
"TITLE" => Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_NAME"),
"OPTIONS" => array(
Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_COMMON"),
array(
"switch_on",
Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_SWITCH_ON"),
"Y",
array("checkbox")
),
Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_APPEARANCE"),
array(
"phone_number",
Loc::getMessage("FALBAR_TOTOP_OPTIONS_TAB_WIDTH"),
"",
array("text", 20)
)
)
)
);
if($request->isPost() && check_bitrix_sessid()){
foreach($aTabs as $aTab){
foreach($aTab["OPTIONS"] as $arOption){
if(!is_array($arOption)){
continue;
}
if($arOption["note"]){
continue;
}
if($request["apply"]){
$optionValue = $request->getPost($arOption[0]);
if($arOption[0] == "switch_on"){
if($optionValue == ""){
$optionValue = "N";
}
}
Option::set($module_id, $arOption[0], is_array($optionValue) ? implode(",", $optionValue) : $optionValue);
}elseif($request["default"]){
Option::set($module_id, $arOption[0], $arOption[2]);
}
}
}
LocalRedirect($APPLICATION->GetCurPage()."?mid=".$module_id."&lang=".LANG);
}
$tabControl = new CAdminTabControl(
"tabControl",
$aTabs
);
$tabControl->Begin();
?>
<form action="<? echo($APPLICATION->GetCurPage()); ?>?mid=<? echo($module_id); ?>&lang=<? echo(LANG); ?>" method="post">
<?
foreach($aTabs as $aTab){
if($aTab["OPTIONS"]){
$tabControl->BeginNextTab();
__AdmSettingsDrawList($module_id, $aTab["OPTIONS"]);
}
}
$tabControl->Buttons();
?>
<input type="submit" name="apply" value="<? echo(Loc::GetMessage("FALBAR_TOTOP_OPTIONS_INPUT_APPLY")); ?>" class="adm-btn-save" />
<input type="submit" name="default" value="<? echo(Loc::GetMessage("FALBAR_TOTOP_OPTIONS_INPUT_DEFAULT")); ?>" />
<?
echo(bitrix_sessid_post());
?>
</form>
<?
$tabControl->End();
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php");
Спасибо что направили