Появилась ошибка:
Код из heade.php
Код |
---|
[ParseError] syntax error, unexpected '}' (0) /home/bitrix/www/local/templates/miss_shop/header.php:447 #0: require /home/bitrix/www/bitrix/modules/main/include/prolog.php:11 #1: require_once(string) /home/bitrix/www/bitrix/header.php:1 #2: require(string) /home/bitrix/www/index.php:2 |
Код из heade.php
Код |
---|
<?if ($script_name == SITE_DIR."personal/order/make/index.php" || $script_name == SITE_DIR."personal/index.php" || $script_name == SITE_DIR."personal/profile/buyer/index.php"|| $script_name == SITE_DIR."personal/reviews/index.php" || $script_name == SITE_DIR."personal/comments/index.php" || $script_name == SITE_DIR."personal/questions/index.php" || $script_name == SITE_DIR."personal/profile/index.php" || $script_name == SITE_DIR."personal/profile/account/index.php" || $script_name == SITE_DIR."personal/subscribe/index.php" || $script_name == SITE_DIR."personal/order/index.php") {?> <div class="col-sm-24 sm-padding-no"> <?$APPLICATION->IncludeComponent("bitrix:breadcrumb", "ms_breadcrumb", array( "START_FROM" => "0", "PATH" => "", "SITE_ID" => SITE_ID, "SSB_CODE_BACKGROUND" => "#fff", "SSB_CODE_BORDER" => "#000" ), false, Array('HIDE_ICONS' => 'N') ); $APPLICATION->IncludeComponent( "coffeediz:breadcrumb", "coffeediz.schema.org", Array( "COMPONENT_TEMPLATE" => "coffeediz.schema.org", "PATH" => "", "SHOW" => "Y", "SITE_ID" => SITE_ID, "START_FROM" => "0", ) ); ?> </div> <?} if(defined("ERROR_404")) { ?> <div class="col-sm-24 center_wrap sm-padding-no"> <div class="row"> <div class="col-sm-12"> <?php } else { $APPLICATION->IncludeComponent( "bitrix:main.include", "", } |