Beispiel #1
0
    function createHtml($categoryGroup)
    {
        $brandIndex = new BrandIndexLinkAddon();
        echo '<div id="a-to-z">';
        echo $brandIndex->AToZLink();
        echo '</div>';
        foreach ($categoryGroup as $productFile => $items) {
            $key = key($items);
            $catName = $items[$key]['category'];
            ?>
			<div class="home-category-title">
				<h2><a href="<?php 
            echo $this->_getCategoryLink($catName);
            ?>
"><?php 
            echo strtoupper($catName);
            ?>
</a></h2>
			</div>
			<div class="home-category-items"><?php 
            $this->displayItems($items);
            ?>
</div>	

	<?php 
        }
    }
Beispiel #2
0
    function createHtml($data)
    {
        $brandIndex = new BrandIndexLinkAddon();
        ?>
		<footer id="footer-container">
			<div id="brand-index-footer"><?php 
        echo $brandIndex->AToZLink();
        ?>
</div>
			<div id="top-footer">
				<ul id="footer-page">
					<li><a href="<?php 
        echo HOME_URL;
        ?>
privacy-policy<?php 
        echo FORMAT;
        ?>
">Privacy Policy</a></li>
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
about-us<?php 
        echo FORMAT;
        ?>
">About us</a></li>
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
contact-us<?php 
        echo FORMAT;
        ?>
">Contact us</a></li>
	        	</ul>
	        	<ul id="footer-category">
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
shop">Shop</a></li>
	            	<li><a href="<?php 
        echo $this->getBlogLink(1);
        ?>
">Blog</a></li>
	            	<?php 
        $this->linkout($data);
        ?>
	            	
	        	</ul>
			</div>
			<hr id="hr-footer">
			<div id="bottom-footer">
				<?php 
        echo $this->copyright();
        ?>
			</div>
		</footer>

	<?php 
    }
Beispiel #3
0
    function createHtml($data)
    {
        $brandIndex = new BrandIndexLinkAddon();
        ?>
		<div id="a-to-z"><?php 
        echo $brandIndex->AToZLink();
        ?>
</div>
		<div id="brand-index-content">
			<h2><?php 
        echo strtoupper($data['alpha']);
        ?>
</h2>
			<?php 
        $this->displayItems($data['brands']);
        ?>
		</div>
	<?php 
    }
Beispiel #4
0
    function createHtml($data)
    {
        $brandIndex = new BrandIndexLinkAddon();
        ?>
 
		<div id="a-to-z"><?php 
        echo $brandIndex->AToZLink();
        ?>
</div>
		<h2><?php 
        echo $data['brandname'];
        ?>
</h2>
		<div id="cat-by-brand-content">
			<?php 
        $this->displayItems($data);
        ?>
		</div>
	<?php 
    }
Beispiel #5
0
    function createHtml($data)
    {
        $brandIndex = new BrandIndexLinkAddon();
        ?>
		<div id="a-to-z"><?php 
        echo $brandIndex->AToZLink();
        ?>
</div>
		<div id="brand-index-content">
			<h2><?php 
        echo strtoupper($data['alpha']);
        ?>
</h2>
			<?php 
        if (!empty($data['brands'])) {
            $this->displayItems($data['brands']);
        } else {
            echo '<div class="brand-index-item">Brand Not Found</div>';
        }
        ?>
		</div>
	<?php 
    }
Beispiel #6
0
    function createHtml($data)
    {
        $brandIndex = new BrandIndexLinkAddon();
        $sub = new SubdomainLinkListAddon();
        $subdomain = $sub->linkList();
        ?>
		<footer id="footer-container">
			<div id="brand-index-footer"><?php 
        echo $brandIndex->AToZLink();
        ?>
</div>
			<div id="top-footer">
				<ul id="footer-page">
					<li><a href="<?php 
        echo HOME_URL;
        ?>
privacy-policy<?php 
        echo FORMAT;
        ?>
">Privacy Policy</a></li>
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
about-us<?php 
        echo FORMAT;
        ?>
">About us</a></li>
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
contact-us<?php 
        echo FORMAT;
        ?>
">Contact us</a></li>
	        	</ul>
	        	<ul id="footer-category">
	            	<li><a href="<?php 
        echo HOME_URL;
        ?>
shop">Shop</a></li>
	            	<li><a href="<?php 
        echo HOME_LINK;
        ?>
">Home</a></li>
	        	</ul>
			</div>

			<?php 
        if ($subdomain) {
            echo '<hr id="hr-footer">';
            echo '<div id="related-site">';
            foreach ($subdomain as $sub) {
                $subLink = 'http://' . $sub;
                echo '<a href="' . $subLink . '">' . $sub . '</a>, ';
            }
            echo '</div>';
        }
        ?>

			<hr id="hr-footer">
			<div id="bottom-footer">
				<?php 
        echo $this->copyright();
        ?>
			</div>
		</footer>

	<?php 
    }