示例#1
0
<span><img src="<?php 
                    echo image($rowChild1->image, 'product_catLogoLeftMenu');
                    ?>
" alt="<?php 
                    echo $rowChild1->name;
                    ?>
"  /></span><?php 
                }
                ?>
						<span><?php 
                echo $rowChild1->name;
                ?>
</span>
					</a>
                    <?php 
                $childLv2 = getChildProduct($rowChild1->id, $this->productCatAll);
                ?>
                    <?php 
                if (count($childLv2) > 0) {
                    ?>
 
					<ul>
                        <?php 
                    foreach ($childLv2 as $rowChildLv2) {
                        if ($rowChildLv2->isHide != 1) {
                            ?>
					       	<li><a href="<?php 
                            echo $base_url;
                            echo $row->url;
                            ?>
/<?php 
示例#2
0
?>
	</div>
    <?php 
foreach ($this->productCat as $rowParentCat) {
    if ($rowParentCat->isHide != 1) {
        ?>
    <div class="clr"></div>
	<div class="pp_separate"></div>
	<div class="main_title">
		<h2 class=""><?php 
        echo $rowParentCat->name;
        ?>
</h2>
		<span class="didongviet">didongviet.vn</span>
        <?php 
        $subCategory = getChildProduct($rowParentCat->id, $this->productCatAll, 0, 'isShowInParentHot');
        ?>
        <?php 
        $i = 0;
        foreach ($subCategory as $row) {
            $i++;
            ?>
		<span><a href="<?php 
            echo $base_url;
            echo $row->buildUrl();
            ?>
" title="<?php 
            echo $row->name;
            ?>
" ><?php 
            echo $row->name;