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