语法错误 - 解析错误,期待''(''

时间:2016-09-09 19:28:27

标签: php syntax

我似乎无法在代码中看到错误。有人可以帮助识别我的错误。

    <?php if !(Mage::app()->getStore()->getCode() == 'mar_aa') { ?>

                <h1 class="product-header"><span><?php echo $this->__('Products') ?> (0)</span></h1>
                <p class="title-no-uppercase no-search-products">
                    <span><?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Sorry, but no results were found.') ?></span>
                    <span class="cant-find-first"><?php echo $this->getNoResultText() ? $this->getNoResultText() : $this->__('Can’t find what you’re looking for?') ?></span>
                    <span class="call-content-second"><?php echo $this->getNoResultText() ? $this->getNoResultText() : $this->__('Try calling customer service: 11111111111') ?></span>
                </p>

               <?php } ?>

                <?php if ($messages = $this->getNoteMessages()):?>
                <?php foreach ($messages as $message):?>
                <br /><?php echo $message?>
                <?php endforeach;?>
                <?php endif; ?>

0 个答案:

没有答案