Beispiel #1
0
        ?>
					</p>
					
					<?php 
        if (!empty($offer->categoryIds)) {
            ?>
					<p class="company-clasificaiton">
						<span class="offer-categories">
							<?php 
            $categoryIds = explode(',', $offer->categoryIds);
            $categoryNames = explode('#', $offer->categoryNames);
            $categoryAliases = explode('#', $offer->categoryAliases);
            for ($i = 0; $i < count($categoryIds); $i++) {
                ?>
											 <a rel="nofollow" href="<?php 
                echo JBusinessUtil::getOfferCategoryLink($categoryIds[$i], $categoryAliases[$i]);
                ?>
"><?php 
                echo $categoryNames[$i];
                echo $i < count($categoryIds) - 1 ? ',&nbsp;' : '';
                ?>
 </a>
										<?php 
            }
            ?>
						</span> <br/>
					</p>
					<?php 
        }
        ?>
				</div>
Beispiel #2
0
                ?>
				<li>
					<?php 
                if (isset($this->category) && $filterCriteria[0][0]->id == $this->category->id) {
                    ?>
						<strong><?php 
                    echo $filterCriteria[0][0]->name;
                    ?>
&nbsp;</strong><?php 
                    echo '(' . $filterCriteria[1] . ')';
                    ?>
					<?php 
                } else {
                    ?>
					<a href="<?php 
                    echo JBusinessUtil::getOfferCategoryLink($filterCriteria[0][0]->id, $filterCriteria[0][0]->alias);
                    ?>
"><?php 
                    echo $filterCriteria[0][0]->name;
                    ?>
</a>
					<?php 
                    echo '(' . $filterCriteria[1] . ')';
                    ?>
					<?php 
                }
                ?>
				</li>
			<?php 
            }
        }