2018-07-25 03:00:13 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package Joomla.Members.Manager
|
|
|
|
*
|
2018-12-27 10:38:37 +00:00
|
|
|
* @created 6th July, 2018
|
2018-07-25 03:00:13 +00:00
|
|
|
* @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
|
2018-09-19 12:29:53 +00:00
|
|
|
defined('_JEXEC') or die('Restricted access');
|
2018-07-25 03:00:13 +00:00
|
|
|
|
|
|
|
?>
|
|
|
|
<?php if (isset($this->item) && MembersmanagerHelper::checkObject($this->item)): ?>
|
2018-09-19 12:29:53 +00:00
|
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
|
|
<div class="uk-offcanvas-content">
|
|
|
|
<?php endif; ?>
|
2018-07-25 03:00:13 +00:00
|
|
|
<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>
|
2018-09-19 12:29:53 +00:00
|
|
|
<?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; ?>
|
2018-07-25 03:00:13 +00:00
|
|
|
<?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; ?>
|
2018-09-19 12:29:53 +00:00
|
|
|
<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>
|
2018-07-25 03:00:13 +00:00
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
<?php endif; ?>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-09-19 12:29:53 +00:00
|
|
|
<?php if ($this->uikitVersion == 3) : ?>
|
|
|
|
</div>
|
2018-12-27 10:38:37 +00:00
|
|
|
<div id="getreport" class="uk-flex-top" uk-modal>
|
|
|
|
<div class="uk-modal-dialog uk-modal-body">
|
|
|
|
<button class="uk-modal-close-default" type="button" uk-close></button>
|
|
|
|
<div class="setreport" uk-overflow-auto></div>
|
|
|
|
<div class="report-spinner"><?php echo JText::_('COM_MEMBERSMANAGER_LOADING'); ?><span class="loading-dots"></span>.</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php else: ?>
|
|
|
|
<div id="getreport" class="uk-modal">
|
|
|
|
<div class="uk-modal-dialog">
|
|
|
|
<a class="uk-modal-close uk-close"></a>
|
|
|
|
<div class="setreport"></div>
|
|
|
|
<div class="report-spinner"><?php echo JText::_('COM_MEMBERSMANAGER_LOADING'); ?><span class="loading-dots"></span>.</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-19 12:29:53 +00:00
|
|
|
<?php endif; ?>
|
2018-07-25 03:00:13 +00:00
|
|
|
<?php else: ?>
|
|
|
|
<h3><?php echo JText::_('COM_MEMBERSMANAGER_NO_PROFILE_FOUND'); ?></h3>
|
|
|
|
<?php endif; ?>
|