<?php
/**
 * @package    RSFirewall!
 * @copyright  (c) 2009 - 2020 RSJoomla!
 * @link       https://www.rsjoomla.com
 * @license    GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html
 */

defined('_JEXEC') or die('Restricted access');

?>
<form action="<?php echo JRoute::_('index.php?option=com_rsfirewall');?>" method="post" name="adminForm" id="adminForm">
	<div id="j-sidebar-container" class="span2">
		<?php echo $this->sidebar; ?>
	</div>
	<div id="j-main-container" class="span10">
		<div id="dashboard-left">
			<?php if ($this->files) { ?>
			<h2><?php echo JText::_('COM_RSFIREWALL_FILES_MODIFIED'); ?></h2>
			<?php echo $this->loadTemplate('files'); ?>
			<?php } ?>
			<?php if ($this->canViewLogs) { ?>
				<?php echo $this->loadTemplate('charts'); ?>
				<?php
				if ($this->renderMap)
				{
					echo $this->loadTemplate('vectormap');
				}
				?>
				<h2><?php echo JText::sprintf('COM_RSFIREWALL_LAST_MESSAGES_FROM_SYSTEM_LOG', $this->logNum); ?></h2>
				<?php echo $this->loadTemplate('logs'); ?>
			<?php } ?>
			<h2><?php echo JText::_('COM_RSFIREWALL_FEEDS'); ?></h2>
			<?php echo $this->loadTemplate('feeds'); ?>
		</div>
		<div id="dashboard-right" class="hidden-phone hidden-tablet">
			<?php echo $this->loadTemplate('version'); ?>
		</div>
		
		<div>
			<input type="hidden" name="boxchecked" value="0" />
			<input type="hidden" name="task" value="" />
			<?php echo JHtml::_( 'form.token' ); ?>
		</div>
	</div>
</form>