[ParseError] syntax error, unexpected 'endif' (T_ENDIF) (0) /home/primermed/primermed.ru/docs/bitrix/templates/stom_grey_PM/components/bitrix/menu/top_menu/template.php:102 #0: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component_template.php:806 #1: CBitrixComponentTemplate->IncludeTemplate(array) /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component.php:681 #2: CBitrixComponent->showComponentTemplate() /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component.php:629 #3: CBitrixComponent->includeComponentTemplate() /home/primermed/primermed.ru/docs/bitrix/components/bitrix/menu/component.php:385 #4: include(string) /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component.php:548 #5: CBitrixComponent->__includeComponent() /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component.php:94 #6: CBitrixComponent->executeComponent() /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/component.php:585 #7: CBitrixComponent->includeComponent(string, array, boolean) /home/primermed/primermed.ru/docs/bitrix/modules/main/classes/general/main.php:1035 #8: CAllMain->IncludeComponent(string, string, array, boolean) /home/primermed/primermed.ru/docs/bitrix/templates/stom_grey_PM/header.php:82 #9: include_once(string) /home/primermed/primermed.ru/docs/bitrix/modules/main/include/prolog_after.php:96 #10: require(string) /home/primermed/primermed.ru/docs/bitrix/modules/main/include/prolog.php:11 #11: require_once(string) /home/primermed/primermed.ru/docs/bitrix/header.php:1 #12: require(string) /home/primermed/primermed.ru/docs/patient/promotions/detail.php:2 #13: include_once(string) /home/primermed/primermed.ru/docs/bitrix/modules/main/include/urlrewrite.php:159 #14: include_once(string) /home/primermed/primermed.ru/docs/bitrix/urlrewrite.php:2