2018-09-19 12:29:53 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package Joomla.Members.Manager
|
|
|
|
*
|
2018-12-27 10:38:37 +00:00
|
|
|
* @created 6th July, 2018
|
2018-09-19 12:29:53 +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
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php if ($this->user->id > 0): ?>
|
2019-04-04 11:58:49 +00:00
|
|
|
<?php echo $this->item->event->onContentBeforeDisplay; ?>
|
2018-09-19 12:29:53 +00:00
|
|
|
<h1><?php echo JText::_('COM_MEMBERSMANAGER_CPANEL'); ?></h1>
|
2019-04-04 11:58:49 +00:00
|
|
|
<?php echo $this->item->event->onContentAfterTitle; ?>
|
|
|
|
<?php if (3 == $this->uikitVersion) : ?>
|
|
|
|
<?php echo $this->loadTemplate('cpanel_uikit_three'); ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo $this->loadTemplate('cpanel_uikit_two'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php echo $this->item->event->onContentAfterDisplay; ?>
|
2018-09-19 12:29:53 +00:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo $this->loadTemplate('loginmodule'); ?>
|
|
|
|
<?php endif; ?>
|