2 defined( '_JEXEC' ) or die( 'Restricted access' );
\r\r
4 $cparams = JComponentHelper::getParams ('com_media');
\r\r
7 <div class="Post-tl"></div>
\r\r
8 <div class="Post-tr"><div></div></div>
\r\r
9 <div class="Post-bl"><div></div></div>
\r\r
10 <div class="Post-br"><div></div></div>
\r\r
11 <div class="Post-tc"><div></div></div>
\r\r
12 <div class="Post-bc"><div></div></div>
\r\r
13 <div class="Post-cl"><div></div></div>
\r\r
14 <div class="Post-cr"><div></div></div>
\r\r
15 <div class="Post-cc"></div>
\r\r
16 <div class="Post-body">
\r\r
17 <div class="Post-inner">
\r\r
19 <?php if ($this->params->get('show_page_title', 1) && !$this->contact->params->get( 'popup' ) && $this->params->get('page_title') != $this->contact->name ): ?>
\r\r
20 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <span class="PostHeader">
\r\r
21 <span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>
\r\r
26 <div class="PostContent">
\r\r
28 <div id="component-contact">
\r\r
29 <table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentpaneopen<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
\r\r
30 <?php if ( $this->params->get( 'show_contact_list' ) && count( $this->contacts ) > 1) : ?>
\r\r
32 <td colspan="2" align="center">
\r\r
34 <form action="<?php echo JRoute::_('index.php') ?>" method="post" name="selectForm" id="selectForm">
\r\r
35 <?php echo JText::_( 'Select Contact' ); ?>:
\r\r
37 <?php echo JHTML::_('select.genericlist', $this->contacts, 'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id);?>
\r\r
38 <option type="hidden" name="option" value="com_contact" />
\r\r
43 <?php if ( $this->contact->name && $this->contact->params->get( 'show_name' ) ) : ?>
\r\r
45 <td width="100%" class="contentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
\r\r
46 <?php echo $this->contact->name; ?>
\r\r
50 <?php if ( $this->contact->con_position && $this->contact->params->get( 'show_position' ) ) : ?>
\r\r
53 <?php echo $this->contact->con_position; ?>
\r\r
60 <table border="0" width="100%">
\r\r
63 <td rowspan="2" align="right" valign="top">
\r\r
64 <?php if ( $this->contact->image && $this->contact->params->get( 'show_image' ) ) : ?>
\r\r
65 <div style="float: right;">
\r\r
66 <?php echo JHTML::_('image', $cparams->get('image_path') . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>
\r\r
73 <?php echo $this->loadTemplate('address'); ?>
\r\r
80 <?php if ( $this->contact->params->get( 'allow_vcard' ) ) : ?>
\r\r
83 <?php echo JText::_( 'Download information as a' );?>
\r\r
84 <a href="<?php echo JURI::base(); ?>index.php?option=com_contact&task=vcard&contact_id=<?php echo $this->contact->id; ?>&format=raw&tmpl=component">
\r\r
85 <?php echo JText::_( 'VCard' );?></a>
\r\r
89 if ( $this->contact->params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id))
\r\r
90 echo $this->loadTemplate('form');
\r\r
96 <div class="cleared"></div>
\r\r