PageRenderTime 131ms CodeModel.GetById 65ms app.highlight 4ms RepoModel.GetById 32ms app.codeStats 0ms

/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
 1<?php
 2/** $Id$ */
 3defined( '_JEXEC' ) or die( 'Restricted access' );
 4?>
 5<?php foreach($this->items as $item) : ?>
 6<tr class="sectiontableentry<?php echo $item->odd + 1; ?>">
 7	<td align="right" width="5">
 8		<?php echo $item->count +1; ?>
 9	</td>
10	<td height="20">
11		<a href="<?php echo $item->link; ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
12			<?php echo $item->name; ?></a>
13	</td>
14	<?php if ( $this->params->get( 'show_position' ) ) : ?>
15	<td>
16		<?php echo $this->escape($item->con_position); ?>
17	</td>
18	<?php endif; ?>
19	<?php if ( $this->params->get( 'show_email' ) ) : ?>
20	<td width="20%">
21		<?php echo $item->email_to; ?>
22	</td>
23	<?php endif; ?>
24	<?php if ( $this->params->get( 'show_telephone' ) ) : ?>
25	<td width="15%">
26		<?php echo $this->escape($item->telephone); ?>
27	</td>
28	<?php endif; ?>
29	<?php if ( $this->params->get( 'show_mobile' ) ) : ?>
30	<td width="15%">
31		<?php echo $this->escape($item->mobile); ?>
32	</td>
33	<?php endif; ?>
34	<?php if ( $this->params->get( 'show_fax' ) ) : ?>
35	<td width="15%">
36		<?php echo $this->escape($item->fax); ?>
37	</td>
38	<?php endif; ?>
39</tr>
40<?php endforeach; ?>