<div class="row" style="padding-left: 20px;"> <?php if ($this->member->con_position && $this->params->get('show_position')) { ?> <div class="span6"> <span class="span4 jicons-text"> <?php if ($this->member->con_position != '-1') { echo JText::_('COM_CHURCHDIRECTORY_POSITIONS') . ':'; } ?> </span> <span class="span8"> <?php echo $renderHelper->getPosition($this->member->con_position); ?> </span> </div> <?php } if (!empty($this->member->image) && $this->params->get('show_image')) { ?> <div class="span6"> <?php echo JHtml::_('image', $this->member->image, JText::_('COM_CHURCHDIRECTORY_IMAGE_DETAILS'), ['align' => 'right', 'class' => 'thumbnail', 'style' => 'max-width: 250px;']); ?> </div> <?php } echo "</div>"; echo '<div class="clearfix"></div>';
<tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="<?php echo ($i % 2) ? "odd" : "even"; ?>"> <td class="item-num"> <?php echo $i; ?> </td> <td class="item-title"> <a href="<?php echo JRoute::_(ChurchDirectoryHelperRoute::getMemberRoute($item->slug, $item->catid)); ?>"> <?php echo $item->name; ?></a> </td> <?php if ($this->params->get('show_position_headings')) : ?> <td class="item-position"> <?php echo $renderHelper->getPosition($item->con_position); ?> </td> <?php endif; ?> <?php if ($this->params->get('show_email_headings')) : ?> <td class="item-email"> <?php echo $item->email_to; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_telephone_headings')) : ?> <td class="item-phone"> <?php echo $item->telephone; ?> </td> <?php endif; ?>