$ORDER_ID = intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]); if (!is_array($arOrder)) $arOrder = CSaleOrder::GetByID($ORDER_ID); ?>