Fetch(); $currentUser['UFOWNER_ID'] = $currentUser['UF_OWNER_ID']; $currentUser['UFCARDS'] = $currentUser['UF_CARDS']; if(\Myasnov\Models\MigrationUnited\Base::getActive()){ $currentUser['UFOWNER_ID'] = \Myasnov\Models\MigrationUnited\Base::getOwn(\CUser::GetId()); $currentUser['UFCARDS'] = \Myasnov\Models\MigrationUnited\Base::getCardsStr(\CUser::GetId()); } if(defined('IS_UNITED_MOD') && IS_UNITED_MOD) { $IsUnited = \Myasnov\Models\IsUnited::CheckAll($currentUser); } $APPLICATION->SetTitle('Мои карты'); if(defined('TECHNICAL_WORKS_SITE_CARDS') && TECHNICAL_WORKS_SITE_CARDS) { LocalRedirect('/news/tekhnicheskie-raboty/'); } if(defined('TECHNICAL_WORKS_SITE_LK') && TECHNICAL_WORKS_SITE_LK) { LocalRedirect('/tekhnicheskie-raboty/'); } else { ?>
IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR . "include/kglb_cards.php"), false); ?>
IncludeComponent( "danilov:card.balance" , "", Array( ) ); if (isset($_REQUEST['AJAX']) && $_REQUEST['AJAX'] == 'Y') { // echo ob_get_clean(); ob_end_flush(); die(); } ?>