<div class="post-content"> <h1 class="post-title"><a href="<?php echo $offer->link; ?> "><?php echo $offer->subject; ?> </a></h1> <span class="post-date" ><span itemprop="address"><?php echo JBusinessUtil::getLocationTextOffer($offer); ?> </span></span> <p class="offer-dates"> <?php echo JBusinessUtil::getDateGeneralShortFormat($offer->startDate) . " - " . JBusinessUtil::getDateGeneralShortFormat($offer->endDate); ?> </p> <?php if (!empty($offer->categoryIds)) { ?> <p class="company-clasificaiton"> <span class="post-category"> <?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