以下のようなコードを実行しようとしています
しかし、 ulにエラーが表示 されます
構文エラー: 予想: exit、if、識別子、変数、エコー、do、while、for、foreach、endforeach、declare、switch、break、continue、function、return、try、throw、use、global、unset、isset、empty 、クラス、インターフェイス、配列、{、include、include_once、eval、require、require_once、print、';'、+、-、!、~、++、-、@、new、static、abstract、final、( 、$
私のコードは
<div class="footer">
<div class="footer_top">
<?php $helper = $this->helper('catalog/category') ?>
<?php $counts=$helper->getStoreCategories()->count(); ?>
<?php $cnt=0; $row=0; foreach ($helper->getStoreCategories() as $_category): ?>
<?php if(($i==0)&&($cnt<$count)) ?>
<?php $row++; ?>
<div class="footer_part">
<?php if($row==1):$no=4; ?>
<h2>Navigation</h2>
<?php else : $no=3; ?>
<h2></h2>
<?php endif ?>
<ul>
<?php endif; ?>
<li><a href="<?php echo Mage::getModel('catalog/category')->setData($_category->getData())->getUrl(); ?>" title="<?php echo $_category->getName() ?>"><?php echo $_category->getName() ?></a></li>
<?php $i++; if($i==$no):?>
<?php $i=0;?>
</ul>
</div>
<?php endif; ?>
<?php endforeach ?>
</div>
</div>
誰でも私を助けてください