} } if (!isset($str_CURRENCY) OR $str_CURRENCY == "") $str_CURRENCY = CSaleLang::GetLangCurrency($LID); if (isset($ID) && $ID > 0) $title = GetMessage("SOEN_TAB_ORDER_TITLE"); else $title = GetMessage("SOEN_TAB_ORDER_NEW_TITLE"); $aTabs = array( array("DIV" => "edit1", "TAB" => GetMessage("SOEN_TAB_ORDER"), "ICON" => "sale", "TITLE" => $title), ); $tabControl = new CAdminForm("order_edit_info", $aTabs, false, true); $tabControl->SetShowSettings(false); if (isset($ID) && $ID > 0) $APPLICATION->SetTitle(str_replace("#ID#", $ID, GetMessage("NEWO_TITLE_EDIT"))); elseif (isset($LID) && $LID != "") { $siteName = $LID; $dbSite = CSite::GetByID($LID); if($arSite = $dbSite->Fetch()) $siteName = $arSite["NAME"]." (".$LID.")"; $APPLICATION->SetTitle(str_replace("#LID#", $siteName, GetMessage("NEWO_TITLE_ADD"))); } else $APPLICATION->SetTitle(GetMessage("NEWO_TITLE_DEFAULT")); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");