<div class="offer-subject"> <a title="<?php echo $offer->subject; ?> " href="<?php echo $offer->link; ?> "><?php echo $offer->subject; ?> </a> </div> <div class="offer-location"> <span itemprop="address"><i class="dir-icon-map-marker dir-icon-large"></i> <?php echo JBusinessUtil::getLocationTextOffer($offer); ?> </span> </div> <div class="offer-dates"> <i class="dir-icon-calendar"></i> <?php echo JBusinessUtil::getDateGeneralFormat($offer->startDate) . " - " . JBusinessUtil::getDateGeneralFormat($offer->endDate); ?> </div> <div class="offer-categories"> <?php $categoryIds = explode(',', $offer->categoryIds); $categoryNames = explode('#', $offer->categoryNames); $categoryAliases = explode('#', $offer->categoryAliases);