[ParseError] 
syntax error, unexpected 'if' (T_IF) (0)
/home/sites/new.elema.by/www/bitrix/templates/elema/components/temas/catalog.detail/.default/template.php:471
#0: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/component_template.php:815
#1: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/component.php:735
#2: CBitrixComponent->showComponentTemplate()
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/component.php:683
#3: CBitrixComponent->includeComponentTemplate()
	/home/sites/new.elema.by/www/bitrix/components/temas/catalog.detail/component.php:204
#4: include(string)
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/component.php:594
#5: CBitrixComponent->__includeComponent()
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/component.php:653
#6: CBitrixComponent->includeComponent(string, array, boolean)
	/home/sites/new.elema.by/www/bitrix/modules/main/classes/general/main.php:1037
#7: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/sites/new.elema.by/www/catalog/detail.php:11
#8: include_once(string)
	/home/sites/new.elema.by/www/bitrix/modules/main/include/urlrewrite.php:159
#9: include_once(string)
	/home/sites/new.elema.by/www/bitrix/urlrewrite.php:2