SetTitle("Заказы"); if(defined('TECHNICAL_WORKS_SITE_ORDER') && TECHNICAL_WORKS_SITE_ORDER) { LocalRedirect('/news/tekhnicheskie-raboty/'); } if(defined('TECHNICAL_WORKS_SITE_LK') && TECHNICAL_WORKS_SITE_LK) { LocalRedirect('/tekhnicheskie-raboty/'); } else { global $USER; $arResult['CURRENT_USER'] = CUser::GetByID($USER->GetID())->Fetch(); //если телефон не подтвержден или его нет, то перенаправляем его на компонент подтверждения //if((!$arResult['CURRENT_USER']["UF_PHONE_APPROVE"] && !$arResult['CURRENT_USER']["PERSONAL_MOBILE"]) // || (!$arResult['CURRENT_USER']["UF_PHONE_APPROVE"] && $arResult['CURRENT_USER']["PERSONAL_MOBILE"])) { // LocalRedirect("/personal/full-access/"); //} ?> IncludeComponent("mkurulev:order_1115", "", array( "PATH_TO_BASKET" => "/personal/order/", ), false ); else: try { if (defined('TEST_ORDER_NEW_BACK_KEGELBUM') && TEST_ORDER_NEW_BACK_KEGELBUM) { $APPLICATION->IncludeComponent( "danilov:basket", "test_kk", ["PATH_TO_BASKET" => "/personal/order/"], false ); } elseif (defined('TEST_ORDER_DEL_PAY') && TEST_ORDER_DEL_PAY) { $APPLICATION->IncludeComponent( "mkurulev:order", "test_delivery", array( "PATH_TO_BASKET" => "/personal/order/", ), false ); } else { $APPLICATION->IncludeComponent( "mkurulev:order", "", array( "PATH_TO_BASKET" => "/personal/order/", ), false ); } } catch (Exception $ex) { echo '

Произошла ошибка. Повторите попытку позднее

'; } endif; ?> IncludeComponent("bitrix:sale.personal.order", "list", array( "PROP_1" => Array(0 => "5"), "SEF_MODE" => "Y", "SEF_FOLDER" => "/personal/order/", "ORDERS_PER_PAGE" => "10", "PATH_TO_PAYMENT" => "/personal/order/payment/", "PATH_TO_BASKET" => "/personal/cart/", "SET_TITLE" => "Y", "SAVE_IN_SESSION" => "N", "NAV_TEMPLATE" => "arrows", "SEF_URL_TEMPLATES" => array( "list" => "index.php", "detail" => "detail/#ID#/", "cancel" => "cancel/#ID#/", ) ), false );*/?>