Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/contact.zip

PK�x�[`"����contact.phpnu�[���<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Editors-xtd.contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Editor Contact button
 *
 * @since  3.7.0
 */
class PlgButtonContact extends JPlugin
{
	/**
	 * Load the language file on instantiation.
	 *
	 * @var    boolean
	 * @since  3.7.0
	 */
	protected $autoloadLanguage = true;

	/**
	 * Display the button
	 *
	 * @param   string  $name  The name of the button to add
	 *
	 * @return  JObject  The button options as JObject
	 *
	 * @since   3.7.0
	 */
	public function onDisplay($name)
	{
		$user  = JFactory::getUser();

		if ($user->authorise('core.create', 'com_contact')
			|| $user->authorise('core.edit', 'com_contact')
			|| $user->authorise('core.edit.own',
'com_contact'))
		{
			// The URL for the contacts list
			$link =
'index.php?option=com_contact&amp;view=contacts&amp;layout=modal&amp;tmpl=component&amp;'
				. JSession::getFormToken() . '=1&amp;editor=' . $name;

			$button          = new JObject;
			$button->modal   = true;
			$button->class   = 'btn';
			$button->link    = $link;
			$button->text    =
JText::_('PLG_EDITORS-XTD_CONTACT_BUTTON_CONTACT');
			$button->name    = 'address';
			$button->options = "{handler: 'iframe', size: {x: 800,
y: 500}}";

			return $button;
		}
	}
}
PK�x�[�ͪEEcontact.xmlnu�[���<?xml
version="1.0" encoding="utf-8"?>
<extension version="3.7" type="plugin"
group="editors-xtd" method="upgrade">
	<name>plg_editors-xtd_contact</name>
	<author>Joomla! Project</author>
	<creationDate>October 2016</creationDate>
	<copyright>Copyright (C) 2005 - 2020 Open Source Matters. All rights
reserved.</copyright>
	<license>GNU General Public License version 2 or later; see
LICENSE.txt</license>
	<authorEmail>admin@joomla.org</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<version>3.7.0</version>
	<description>PLG_EDITORS-XTD_CONTACT_XML_DESCRIPTION</description>
	<files>
		<filename plugin="contact">contact.php</filename>
	</files>
	<languages>
		<language
tag="en-GB">en-GB.plg_editors-xtd_contact.ini</language>
		<language
tag="en-GB">en-GB.plg_editors-xtd_contact.sys.ini</language>
	</languages>
</extension>
PKM�[�l�		default.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

$cparams = JComponentHelper::getParams('com_media');
?>

<div class="contact<?php echo
$this->pageclass_sfx?>">
	<?php if ($this->params->get('show_page_heading')) :
?>
		<h1>
			<?php echo
$this->escape($this->params->get('page_heading')); ?>
		</h1>
	<?php endif; ?>
	<?php if ($this->contact->name &&
$this->params->get('show_name')) : ?>
		<div class="page-header">
			<h2>
				<span class="contact-name"><?php echo
$this->contact->name; ?></span>
			</h2>
		</div>
	<?php endif;  ?>
	<?php if ($this->params->get('show_contact_category')
=== 'show_no_link') : ?>
		<h3>
			<span class="contact-category"><?php echo
$this->contact->category_title; ?></span>
		</h3>
	<?php endif; ?>
	<?php if ($this->params->get('show_contact_category')
=== 'show_with_link') : ?>
		<?php $contactLink =
ContactHelperRoute::getCategoryRoute($this->contact->catid);?>
		<h3>
			<span class="contact-category"><a href="<?php
echo $contactLink; ?>">
				<?php echo $this->escape($this->contact->category_title);
?></a>
			</span>
		</h3>
	<?php endif; ?>

	<?php echo $this->item->event->afterDisplayTitle; ?>

	<?php if ($this->params->get('show_contact_list')
&& count($this->contacts) > 1) : ?>
		<form action="#" method="get"
name="selectForm" id="selectForm">
			<label for="select_contact"><?php echo
JText::_('COM_CONTACT_SELECT_CONTACT'); ?></label>
			<?php echo JHtml::_('select.genericlist',
$this->contacts, 'select_contact',
'class="inputbox" onchange="document.location.href =
this.value"', 'link', 'name',
$this->contact->link); ?>
		</form>
	<?php endif; ?>

	<?php if (!empty($this->item->tags->itemTags) &&
$this->params->get('show_tags', 1)) : ?>
		<?php $this->item->tagLayout = new
JLayoutFile('joomla.content.tags'); ?>
		<?php echo
$this->item->tagLayout->render($this->item->tags->itemTags);
?>
	<?php endif; ?>

	<?php echo $this->item->event->beforeDisplayContent; ?>

	<?php  if ($this->params->get('presentation_style') ===
'sliders') : ?>
		<?php echo JHtml::_('sliders.start',
'panel-sliders', array('useCookie' =>
'1')); ?>
		<?php echo JHtml::_('sliders.panel',
JText::_('COM_CONTACT_DETAILS'), 'basic-details');
?>
	<?php endif; ?>
	<?php  if ($this->params->get('presentation_style') ===
'tabs') : ?>
		<?php echo JHtml::_('tabs.start', 'tabs',
array('useCookie' => '1')); ?>
		<?php echo JHtml::_('tabs.panel',
JText::_('COM_CONTACT_DETAILS'), 'basic-details');
?>

	<?php endif; ?>
	<?php if ($this->params->get('presentation_style') ===
'plain'):?>
		<?php  echo '<h3>' .
JText::_('COM_CONTACT_DETAILS') . '</h3>';  ?>
	<?php endif; ?>

	<?php if ($this->contact->image &&
$this->params->get('show_image')) : ?>
		<div class="thumbnail pull-right">
			<?php echo JHtml::_('image', $this->contact->image,
htmlspecialchars($this->contact->name,  ENT_QUOTES,
'UTF-8'), array('style' => 'vertical-align:
middle;')); ?>
		</div>
	<?php endif; ?>

	<?php if ($this->contact->con_position &&
$this->params->get('show_position')) : ?>
		<dl class="contact-position dl-horizontal">
		<dt><?php echo JText::_('COM_CONTACT_POSITION');
?>:</dt>
			<dd>
				<?php echo $this->contact->con_position; ?>
			</dd>
		</dl>
	<?php endif; ?>

	<?php echo $this->loadTemplate('address'); ?>

	<?php if ($this->params->get('allow_vcard')) :	?>
		<?php echo
JText::_('COM_CONTACT_DOWNLOAD_INFORMATION_AS');?>
			<a href="<?php echo
JRoute::_('index.php?option=com_contact&amp;view=contact&amp;id='.$this->contact->id
. '&amp;format=vcf'); ?>">
			<?php echo JText::_('COM_CONTACT_VCARD');?></a>
	<?php endif; ?>

	<?php if (($this->contact->email_to ||
$this->contact->user_id) &&
$this->params->get('show_email_form')) : ?>

		<?php if ($this->params->get('presentation_style') ===
'sliders') : ?>
			<?php echo JHtml::_('sliders.panel',
JText::_('COM_CONTACT_EMAIL_FORM'), 'display-form');
?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
			<?php echo JHtml::_('tabs.panel',
JText::_('COM_CONTACT_EMAIL_FORM'), 'display-form');
?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'plain'):?>
			<?php  echo '<h3>'.
JText::_('COM_CONTACT_EMAIL_FORM').'</h3>'; 
?>
		<?php endif; ?>
		<?php  echo $this->loadTemplate('form');  ?>

	<?php endif; ?>

	<?php if ($this->params->get('show_links')) : ?>
		<?php echo $this->loadTemplate('links'); ?>
	<?php endif; ?>

	<?php if ($this->contact->user_id &&
$this->contact->articles &&
$this->params->get('show_articles')) : ?>

		<?php if ($this->params->get('presentation_style') ===
'sliders') :
			echo JHtml::_('sliders.panel',
JText::_('JGLOBAL_ARTICLES'), 'display-articles');
?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
			<?php echo JHtml::_('tabs.panel',
JText::_('JGLOBAL_ARTICLES'), 'display-articles');
?>
		<?php endif; ?>
		<?php if  ($this->params->get('presentation_style')
=== 'plain'):?>
			<?php echo '<h3>'.
JText::_('JGLOBAL_ARTICLES').'</h3>'; ?>
		<?php endif; ?>

		<?php echo $this->loadTemplate('articles'); ?>

	<?php endif; ?>

	<?php if ($this->contact->user_id &&
$this->params->get('show_profile') &&
JPluginHelper::isEnabled('user', 'profile')) : ?>

		<?php if ($this->params->get('presentation_style') ===
'sliders') :
			echo JHtml::_('sliders.panel',
JText::_('COM_CONTACT_PROFILE'), 'display-profile');
?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
			<?php echo JHtml::_('tabs.panel',
JText::_('COM_CONTACT_PROFILE'), 'display-profile');
?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'plain'):?>
			<?php echo '<h3>'.
JText::_('COM_CONTACT_PROFILE').'</h3>'; ?>
		<?php endif; ?>

		<?php echo $this->loadTemplate('profile'); ?>

	<?php endif; ?>

	<?php if ($this->contactUser &&
$this->params->get('show_user_custom_fields')) : ?>
		<?php echo $this->loadTemplate('user_custom_fields');
?>
	<?php endif; ?>

	<?php if ($this->contact->misc &&
$this->params->get('show_misc')) : ?>

		<?php if ($this->params->get('presentation_style') ===
'sliders') :
			echo JHtml::_('sliders.panel',
JText::_('COM_CONTACT_OTHER_INFORMATION'),
'display-misc'); ?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
			<?php echo JHtml::_('tabs.panel',
JText::_('COM_CONTACT_OTHER_INFORMATION'),
'display-misc'); ?>
		<?php endif; ?>
		<?php if ($this->params->get('presentation_style') ===
'plain'):?>
			<?php echo '<h3>'.
JText::_('COM_CONTACT_OTHER_INFORMATION').'</h3>';
?>
		<?php endif; ?>

		<div class="contact-miscinfo">
			<dl class="dl-horizontal">
				<dt>
					<span class="<?php echo
$this->params->get('marker_class'); ?>">
						<?php echo $this->params->get('marker_misc');
?>
					</span>
				</dt>
				<dd>
					<span class="contact-misc">
						<?php echo $this->contact->misc; ?>
					</span>
				</dd>
			</dl>
		</div>
	<?php endif; ?>

	<?php if ($this->params->get('presentation_style') ===
'sliders') : ?>
		<?php echo JHtml::_('sliders.end'); ?>
	<?php elseif ($this->params->get('presentation_style')
=== 'tabs') : ?>
		<?php echo JHtml::_('tabs.end'); ?>
	<?php endif; ?>

	<?php echo $this->item->event->afterDisplayContent; ?>
</div>
PKM�[Z�A""default_address.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

/* marker_class: Class based on the selection of text, none, or icons
 * jicon-text, jicon-none, jicon-icon
 */
?>
<dl class="contact-address dl-horizontal">
<?php if (($this->contact->address || $this->contact->suburb
 || $this->contact->state || $this->contact->country ||
$this->contact->postcode) && ($addressCheck =
$this->params->get('address_check') > 0)) : ?>
	<?php if ($addressCheck === true) : ?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
			<?php echo $this->params->get('marker_address');
?>
		</span>
	</dt>
	<dd>
	<address>
	<?php endif; ?>
	<?php if ($this->contact->address &&
$this->params->get('show_street_address')) : ?>
		<span class="contact-street">
			<?php echo nl2br($this->contact->address); ?>
		</span>
	<?php endif; ?>
	<?php if ($this->contact->suburb &&
$this->params->get('show_suburb')) : ?>
		<span class="contact-suburb">
			<?php echo $this->contact->suburb; ?>
		</span>
	<?php endif; ?>
	<?php if ($this->contact->state &&
$this->params->get('show_state')) : ?>
		<span class="contact-state">
			<?php echo $this->contact->state; ?>
		</span>
	<?php endif; ?>
	<?php if ($this->contact->postcode &&
$this->params->get('show_postcode')) : ?>
		<span class="contact-postcode">
			<?php echo $this->contact->postcode; ?>
		</span>
	<?php endif; ?>
	<?php if ($this->contact->country &&
$this->params->get('show_country')) : ?>
		<span class="contact-country">
			<?php echo $this->contact->country; ?>
		</span>
	<?php endif; ?>
<?php endif; ?>
<?php if ($this->params->get('address_check') > 0) :
?>
	</address>
	</dd>
<?php endif; ?>

<?php if ($this->contact->email_to &&
$this->params->get('show_email')) : ?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
			<?php echo $this->params->get('marker_email'); ?>
		</span>
	</dt>
	<dd>
		<span class="contact-emailto">
			<?php echo $this->contact->email_to; ?>
		</span>
	</dd>
<?php endif; ?>

<?php if ($this->contact->telephone &&
$this->params->get('show_telephone')) : ?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
			<?php echo $this->params->get('marker_telephone');
?>
		</span>
	</dt>
	<dd>
		<span class="contact-telephone">
			<?php echo nl2br($this->contact->telephone); ?>
		</span>
	</dd>
<?php endif; ?>
<?php if ($this->contact->fax &&
$this->params->get('show_fax')) : ?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
			<?php echo $this->params->get('marker_fax'); ?>
		</span>
	</dt>
	<dd>
		<span class="contact-fax">
		<?php echo nl2br($this->contact->fax); ?>
		</span>
	</dd>
<?php endif; ?>
<?php if ($this->contact->mobile &&
$this->params->get('show_mobile')) :?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
			<?php echo $this->params->get('marker_mobile'); ?>
		</span>
	</dt>
	<dd>
		<span class="contact-mobile">
			<?php echo nl2br($this->contact->mobile); ?>
		</span>
	</dd>
<?php endif; ?>
<?php if ($this->contact->webpage &&
$this->params->get('show_webpage')) : ?>
	<dt>
		<span class="<?php echo
$this->params->get('marker_class'); ?>" >
		</span>
	</dt>
	<dd>
		<span class="contact-webpage">
			<a href="<?php echo $this->contact->webpage;
?>" target="_blank" rel="noopener
noreferrer">
			<?php echo $this->contact->webpage; ?></a>
		</span>
	</dd>
<?php endif; ?>
</dl>
PKM�[<�$default_articles.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

JLoader::register('ContentHelperRoute', JPATH_SITE .
'/components/com_content/helpers/route.php');

?>
<?php if ($this->params->get('show_articles')) : ?>
<div class="contact-articles">

	<ol>
		<?php foreach ($this->item->articles as $article) :	?>
			<li>
				<?php echo JHtml::_('link',
JRoute::_(ContentHelperRoute::getArticleRoute($article->slug,
$article->catid, $article->language)),
htmlspecialchars($article->title, ENT_COMPAT, 'UTF-8')); ?>
			</li>
		<?php endforeach; ?>
	</ol>
</div>
<?php endif; ?>
PKM�[c���

default_form.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');

if (isset($this->error)) : ?>
	<div class="contact-error">
		<?php echo $this->error; ?>
	</div>
<?php endif; ?>

<div class="contact-form">
	<form id="contact-form" action="<?php echo
JRoute::_('index.php'); ?>" method="post"
class="form-validate form-horizontal">
		<fieldset>
			<legend><?php echo
JText::_('COM_CONTACT_FORM_LABEL'); ?></legend>
			<div class="control-group">
				<div class="control-label"><?php echo
$this->form->getLabel('contact_name'); ?></div>
				<div class="controls"><?php echo
$this->form->getInput('contact_name'); ?></div>
			</div>
			<div class="control-group">
				<div class="control-label"><?php echo
$this->form->getLabel('contact_email'); ?></div>
				<div class="controls"><?php echo
$this->form->getInput('contact_email'); ?></div>
			</div>
			<div class="control-group">
				<div class="control-label"><?php echo
$this->form->getLabel('contact_subject'); ?></div>
				<div class="controls"><?php echo
$this->form->getInput('contact_subject'); ?></div>
			</div>
			<div class="control-group">
				<div class="control-label"><?php echo
$this->form->getLabel('contact_message'); ?></div>
				<div class="controls"><?php echo
$this->form->getInput('contact_message'); ?></div>
			</div>
				<?php if ($this->params->get('show_email_copy', 0)){
?>
					<div class="control-group">
						<div class="control-label"><?php echo
$this->form->getLabel('contact_email_copy');
?></div>
						<div class="controls"><?php echo
$this->form->getInput('contact_email_copy');
?></div>
					</div>
				<?php } ?>
			<?php //Dynamically load any additional fields from plugins. ?>
				<?php foreach ($this->form->getFieldsets() as $fieldset) :
?>
					<?php if ($fieldset->name !== 'contact'):?>
						<?php $fields =
$this->form->getFieldset($fieldset->name);?>
						<?php foreach ($fields as $field) : ?>
							<div class="control-group">
								<?php if ($field->hidden) : ?>
									<div class="controls">
									 <?php echo $field->input;?>
									</div>
								<?php else:?>
									<div class="control-label">
										<?php echo $field->label; ?>
										<?php if (!$field->required && $field->type !==
'Spacer') : ?>
											<span class="optional"><?php echo
JText::_('COM_CONTACT_OPTIONAL');?></span>
										<?php endif; ?>
									</div>
									<div class="controls"><?php echo
$field->input;?></div>
								<?php endif;?>
							</div>
						<?php endforeach;?>
					<?php endif ?>
				<?php endforeach;?>
				<div class="form-actions"><button class="btn
btn-primary validate" type="submit"><?php echo
JText::_('COM_CONTACT_CONTACT_SEND'); ?></button>
					<input type="hidden" name="option"
value="com_contact" />
					<input type="hidden" name="task"
value="contact.submit" />
					<input type="hidden" name="return"
value="<?php echo $this->return_page;?>" />
					<input type="hidden" name="id"
value="<?php echo $this->contact->slug; ?>" />
					<?php echo JHtml::_('form.token'); ?>
				</div>
		</fieldset>
	</form>
</div>
PKM�[7�?�DDdefault_links.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

if ($this->params->get('presentation_style') ===
'sliders') : ?>
	<?php echo JHtml::_('sliders.panel',
JText::_('COM_CONTACT_LINKS'), 'display-links'); ?>
<?php endif; ?>
<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
	<?php echo JHtml::_('tabs.panel',
JText::_('COM_CONTACT_LINKS'), 'display-links'); ?>
<?php endif; ?>
<?php if  ($this->params->get('presentation_style') ===
'plain'):?>
	<?php echo '<h3>'.
JText::_('COM_CONTACT_LINKS').'</h3>'; ?>
<?php endif; ?>

<div class="contact-links">
	<ul class="nav nav-list">
		<?php foreach (range('a', 'e') as $char) ://
letters 'a' to 'e'
			$link = $this->contact->params->get('link'.$char);
			$label =
$this->contact->params->get('link'.$char.'_name');

			if (!$link) :
				continue;
			endif;

			// Add 'http://' if not present
			$link = (0 === strpos($link, 'http')) ? $link :
'http://'.$link;

			// If no label is present, take the link
			$label = $label ?: $link;
			?>
			<li>
				<a href="<?php echo $link; ?>">
					<?php echo $label; ?>
				</a>
			</li>
		<?php endforeach; ?>
	</ul>
</div>
PKM�[�/�adddefault_profile.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;
?>
<?php if (JPluginHelper::isEnabled('user',
'profile')) :
	$fields = $this->item->profile->getFieldset('profile');
?>
<div class="contact-profile"
id="users-profile-custom">
	<dl class="dl-horizontal">
	<?php foreach ($fields as $profile) :
		if ($profile->value) :
			echo '<dt>'.$profile->label.'</dt>';
			$profile->text = htmlspecialchars($profile->value, ENT_COMPAT,
'UTF-8');

			switch ($profile->id) :
				case 'profile_website' :
					$v_http = substr($profile->profile_value, 0, 4);

					if ($v_http === 'http') :
						echo '<dd><a
href="'.$profile->text.'">'.$profile->text.'</a></dd>';
					else :
						echo '<dd><a
href="http://'.$profile->text.'">'.$profile->text.'</a></dd>';
					endif;
					break;

				default:
					echo '<dd>'.$profile->text.'</dd>';
					break;
			endswitch;
		endif;
	endforeach; ?>
	</dl>
</div>
<?php endif; ?>
PKM�[�;���default_user_custom_fields.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

$params             = $this->params;

$displayGroups      = $params->get('show_user_custom_fields');
$userFieldGroups    = array();
?>

<?php if (!$displayGroups || !$this->contactUser) : ?>
	<?php return; ?>
<?php endif; ?>

<?php foreach ($this->contactUser->jcfields as $field) :?>
	<?php if (!in_array('-1', $displayGroups) &&
(!$field->group_id || !in_array($field->group_id, $displayGroups))) :
?>
		<?php continue; ?>
	<?php endif; ?>
	<?php if (!array_key_exists($field->group_title, $userFieldGroups))
: ?>
		<?php $userFieldGroups[$field->group_title] = array();?>
	<?php endif; ?>
	<?php $userFieldGroups[$field->group_title][] = $field;?>
<?php endforeach; ?>

<?php foreach ($userFieldGroups as $groupTitle => $fields) :?>
	<?php $id = JApplicationHelper::stringURLSafe($groupTitle); ?>
	<?php if ($this->params->get('presentation_style') ===
'sliders') :
		echo JHtml::_('sliders.panel', $groupTitle ?:
JText::_('COM_CONTACT_USER_FIELDS'), 'display-' . $id);
?>
	<?php endif; ?>
	<?php if ($this->params->get('presentation_style') ===
'tabs') : ?>
		<?php echo JHtml::_('tabs.panel', $groupTitle ?:
JText::_('COM_CONTACT_USER_FIELDS'), 'display-' . $id);
?>
	<?php endif; ?>
	<?php if ($this->params->get('presentation_style') ===
'plain'):?>
		<?php echo '<h3>' . ($groupTitle ?:
JText::_('COM_CONTACT_USER_FIELDS')) . '</h3>';
?>
	<?php endif; ?>

	<div class="contact-profile"
id="user-custom-fields-<?php echo $id; ?>">
		<dl class="dl-horizontal">
		<?php foreach ($fields as $field) :?>
			<?php if (!$field->value) : ?>
				<?php continue; ?>
			<?php endif; ?>

			<?php echo '<dt>' . $field->label .
'</dt>'; ?>
			<?php echo '<dd>' . $field->value .
'</dd>'; ?>
		<?php endforeach; ?>
		</dl>
	</div>

<?php endforeach; ?>
PKM�[gymd��encyclopedia.phpnu�[���<?php
/**
 * @package     Joomla.Site
 * @subpackage  Templates.beez3
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All
rights reserved.
 * @license     GNU General Public License version 2 or later; see
LICENSE.txt
 */

defined('_JEXEC') or die;

$cparams = JComponentHelper::getParams('com_media');
?>
<div class="contact<?php echo
$this->pageclass_sfx?>">
		<?php $contactLink =
ContactHelperRoute::getCategoryRoute($this->contact->catid);?>
		<h3>
			<span class="contact-category"><a href="<?php
echo $contactLink; ?>">
				<?php echo $this->escape($this->contact->category_title);
?></a>
			</span>
		</h3>
	<?php if ($this->contact->name &&
$this->params->get('show_name')) : ?>
		<h2>
			<span class="contact-name"><?php echo
$this->contact->name; ?></span>
		</h2>
	<?php endif;  ?>

	<?php echo $this->item->event->afterDisplayTitle; ?>

	<?php echo $this->item->event->beforeDisplayContent; ?>

	<div class="encyclopedia_col1">
		<?php if ($this->contact->image ) : ?>
			<div class="contact-image">
			<?php // We are going to use the contact address field for the main
image caption.
				// If we have a caption load the caption behavior. ?>
			<?php if ($this->contact->address)
			{
				JHtml::_('behavior.caption');
			}?>
				<?php echo JHtml::_('image', $this->contact->image,
$this->contact->name, array('align' =>
'middle', 'class' => 'caption',
'title' => $this->contact->address)); ?>
			</div>
		<?php endif; ?>
	</div>
	<div class="encyclopedia_col2">
		<?php // We are going to use some of the standard content fields in
non standard ways. ?>
				<div class="contact-miscinfo">

						<div class="contact-misc">
							<?php echo $this->contact->misc; ?>
						</div>
					</div>


		<?php //Let's use position for the scientific name. ?>
		<?php if ($this->contact->con_position &&
$this->params->get('show_position')) : ?>
			<p class="contact-position"><?php echo
$this->contact->con_position; ?></p>
		<?php endif; ?>
		<?php //Let's use state to put the family name.  ?>
		<?php if ($this->contact->state &&
$this->params->get('show_state')) : ?>
			<p class="contact-state"><?php echo
$this->contact->state; ?></p>
		<?php endif; ?>
		<?php // Let's use country to list the main countries it grows
in. ?>
		<?php if ($this->contact->country &&
$this->params->get('show_country')) : ?>
			<p class="contact-country"><?php echo
$this->contact->country; ?></p>
		<?php endif; ?>
	</div>

<div class="clr"> </div>
	<?php  if ($this->params->get('presentation_style') !==
'plain'):?>
		<?php  echo 
JHtml::_($this->params->get('presentation_style').'.start',
'contact-slider'); ?>
	<?php endif ?>
<div class="encyclopedia_links">
<?php echo $this->loadTemplate('links'); ?>

</div>
	<?php if ($this->params->get('presentation_style') !==
'plain'):?>
			<?php echo
JHtml::_($this->params->get('presentation_style').'.end');
?>
			<?php endif; ?>
</div>
<?php echo $this->item->event->afterDisplayContent; ?>
PK�x�[`"����contact.phpnu�[���PK�x�[�ͪEE�contact.xmlnu�[���PKM�[�l�		Z	default.phpnu�[���PKM�[Z�A""�&default_address.phpnu�[���PKM�[<�$5default_articles.phpnu�[���PKM�[c���

U8default_form.phpnu�[���PKM�[7�?�DD�Edefault_links.phpnu�[���PKM�[�/�addKdefault_profile.phpnu�[���PKM�[�;����Odefault_user_custom_fields.phpnu�[���PKM�[gymd���Wencyclopedia.phpnu�[���PK

*�c