forked from joomla/Members-Manager
56 lines
2.0 KiB
PHP
56 lines
2.0 KiB
PHP
<?php
|
|
/**
|
|
* @package Joomla.Members.Manager
|
|
*
|
|
* @created 6th September, 2015
|
|
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
|
|
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
|
|
* @copyright Copyright (C) 2015. All Rights Reserved
|
|
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
*/
|
|
|
|
// No direct access to this file
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
?>
|
|
<?php if (isset($this->item) && MembersmanagerHelper::checkObject($this->item)): ?>
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
<div class="uk-offcanvas-content">
|
|
<?php endif; ?>
|
|
<div class="uk-block">
|
|
<?php $this->item->_USER = &$this->user; ?>
|
|
<?php $this->item->_REFID = $this->item->id; ?>
|
|
<?php $this->item->_IMAGELINK = MembersmanagerHelper::getFolderPath('url'); ?>
|
|
<ul class="uk-comment-list">
|
|
<li>
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
<?php echo JLayoutHelper::render('profile_uikit_three', $this->item); ?>
|
|
<?php else: ?>
|
|
<?php echo JLayoutHelper::render('profile_uikit_two', $this->item); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($this->item->idMain_memberMemberB) && MembersmanagerHelper::checkArray($this->item->idMain_memberMemberB)): ?>
|
|
<ul>
|
|
<?php foreach ($this->item->idMain_memberMemberB as $item): ?>
|
|
<?php $item->_USER = &$this->user; ?>
|
|
<?php $item->_REFID = $this->item->id; ?>
|
|
<?php $item->_IMAGELINK = $this->item->_IMAGELINK; ?>
|
|
<li>
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
<?php echo JLayoutHelper::render('profile_uikit_three', $item); ?>
|
|
<?php else: ?>
|
|
<?php echo JLayoutHelper::render('profile_uikit_two', $item); ?>
|
|
<?php endif; ?>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<h3><?php echo JText::_('COM_MEMBERSMANAGER_NO_PROFILE_FOUND'); ?></h3>
|
|
<?php endif; ?>
|