Files
@ f43d1a4680a9
Branch filter:
Location: hot67beta/components/com_contact/views/contact/tmpl/default_address.php
f43d1a4680a9
4.1 KiB
text/x-php
menubar 0 to 10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | <?php
/** $Id: default_address.php 11328 2008-12-12 19:22:41Z kdevine $ */
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<?php if ( ( $this->contact->params->get( 'address_check' ) > 0 ) && ( $this->contact->address || $this->contact->suburb || $this->contact->state || $this->contact->country || $this->contact->postcode ) ) : ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<?php if ( $this->contact->params->get( 'address_check' ) > 0 ) : ?>
<tr>
<td rowspan="6" valign="top" width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
<?php echo $this->contact->params->get( 'marker_address' ); ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->address && $this->contact->params->get( 'show_street_address' ) ) : ?>
<tr>
<td valign="top">
<?php echo nl2br($this->contact->address); ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->suburb && $this->contact->params->get( 'show_suburb' ) ) : ?>
<tr>
<td valign="top">
<?php echo $this->contact->suburb; ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->state && $this->contact->params->get( 'show_state' ) ) : ?>
<tr>
<td valign="top">
<?php echo $this->contact->state; ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->postcode && $this->contact->params->get( 'show_postcode' ) ) : ?>
<tr>
<td valign="top">
<?php echo $this->contact->postcode; ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->country && $this->contact->params->get( 'show_country' ) ) : ?>
<tr>
<td valign="top">
<?php echo $this->contact->country; ?>
</td>
</tr>
<?php endif; ?>
</table>
<br />
<?php endif; ?>
<?php if ( ($this->contact->email_to && $this->contact->params->get( 'show_email' )) ||
($this->contact->telephone && $this->contact->params->get( 'show_telephone' )) ||
($this->contact->fax && $this->contact->params->get( 'show_fax' )) ||
($this->contact->mobile && $this->contact->params->get( 'show_mobile' )) ||
($this->contact->webpage && $this->contact->params->get( 'show_webpage' )) ) : ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<?php if ( $this->contact->email_to && $this->contact->params->get( 'show_email' ) ) : ?>
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
<?php echo $this->contact->params->get( 'marker_email' ); ?>
</td>
<td>
<?php echo $this->contact->email_to; ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->telephone && $this->contact->params->get( 'show_telephone' ) ) : ?>
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
<?php echo $this->contact->params->get( 'marker_telephone' ); ?>
</td>
<td>
<?php echo nl2br($this->contact->telephone); ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->fax && $this->contact->params->get( 'show_fax' ) ) : ?>
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
<?php echo $this->contact->params->get( 'marker_fax' ); ?>
</td>
<td>
<?php echo nl2br($this->contact->fax); ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->mobile && $this->contact->params->get( 'show_mobile' ) ) :?>
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
<?php echo $this->contact->params->get( 'marker_mobile' ); ?>
</td>
<td>
<?php echo nl2br($this->contact->mobile); ?>
</td>
</tr>
<?php endif; ?>
<?php if ( $this->contact->webpage && $this->contact->params->get( 'show_webpage' )) : ?>
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" >
</td>
<td>
<a href="<?php echo $this->contact->webpage; ?>" target="_blank">
<?php echo $this->contact->webpage; ?></a>
</td>
</tr>
<?php endif; ?>
</table>
<?php endif; ?>
<br />
<?php if ( $this->contact->misc && $this->contact->params->get( 'show_misc' ) ) : ?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="<?php echo $this->contact->params->get( 'column_width' ); ?>" valign="top" >
<?php echo $this->contact->params->get( 'marker_misc' ); ?>
</td>
<td>
<?php echo $this->contact->misc; ?>
</td>
</tr>
</table>
<br />
<?php endif; ?>
|