/templates/rhuk_milkyway/_html/com_contact/category/default_items.php
https://github.com/joebushi/joomla · PHP · 40 lines · 39 code · 0 blank · 1 comment · 5 complexity · c16c37c5b3a996c8491212b44de35e6b MD5 · raw file
- <?php
- /** $Id$ */
- defined( '_JEXEC' ) or die( 'Restricted access' );
- ?>
- <?php foreach($this->items as $item) : ?>
- <tr class="sectiontableentry<?php echo $item->odd + 1; ?>">
- <td align="right" width="5">
- <?php echo $item->count +1; ?>
- </td>
- <td height="20">
- <a href="<?php echo $item->link; ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
- <?php echo $item->name; ?></a>
- </td>
- <?php if ( $this->params->get( 'show_position' ) ) : ?>
- <td>
- <?php echo $this->escape($item->con_position); ?>
- </td>
- <?php endif; ?>
- <?php if ( $this->params->get( 'show_email' ) ) : ?>
- <td width="20%">
- <?php echo $item->email_to; ?>
- </td>
- <?php endif; ?>
- <?php if ( $this->params->get( 'show_telephone' ) ) : ?>
- <td width="15%">
- <?php echo $this->escape($item->telephone); ?>
- </td>
- <?php endif; ?>
- <?php if ( $this->params->get( 'show_mobile' ) ) : ?>
- <td width="15%">
- <?php echo $this->escape($item->mobile); ?>
- </td>
- <?php endif; ?>
- <?php if ( $this->params->get( 'show_fax' ) ) : ?>
- <td width="15%">
- <?php echo $this->escape($item->fax); ?>
- </td>
- <?php endif; ?>
- </tr>
- <?php endforeach; ?>