<?php
/**
 * @version     1.3.3
 * @package     sellacious
 *
 * @copyright   Copyright (C) 2012-2017 Bhartiy Web Technologies. All rights reserved.
 * @license     SPL Sellacious Private License; see http://www.sellacious.com/spl.html
 * @author      Izhar Aazmi <info@bhartiy.com> - http://www.bhartiy.com
 */
defined('_JEXEC') or die;

JHtml::_('jquery.framework');
JHtml::_('script', 'com_sellacious/util.modal.js', false, true);
JHtml::_('stylesheet', 'com_sellacious/util.modal.css', null, true);

$link = JRoute::_('index.php?option=com_sellacious&view=activation&tmpl=component');
?>
<div class="page-footer">
	<div class="row">
		<div class="col-xs-12 col-sm-6">
			<?php if (!$license->get('name') || !$license->get('sitekey')): ?>

				<i class="fa fa-warning txt-color-white"></i>
				<a class="btn-modal" data-modal='{"h": "520", "w": "1200"}' href="<?php echo $link ?>"><span class="txt-color-yellow"> &nbsp;<?php
						echo JText::_('MOD_FOOTER_LICENSED_NOT_REGISTERED_ACTION') ?></span></a>

			<?php else: ?>

				<span class="txt-color-white"><?php echo JText::_('MOD_FOOTER_LICENSED_TO_LABEL') ?>: <?php echo $license->get('name') ?></span>
				<?php if (!$license->get('activated')): ?>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<i class="fa fa-warning txt-color-white"></i>
					<a class="btn-modal" data-modal='{"h": "520", "w": "1200"}' href="<?php echo $link ?>"><span class="txt-color-yellow"> &nbsp;<?php
							echo JText::_('MOD_FOOTER_LICENSED_NOT_ACTIVATED_ACTION') ?></span></a>
				<?php endif; ?>

			<?php endif; ?>
		</div>
		<div class="app-version-footer"><?php echo $version ?></div>
	</div>
</div>
