<?php
/**
 * @version		3.0.0
 * @package		JomLand TicketCenter
 * @copyright	Copyright (C) 2010 JomLand.com. All rights reserved.
 * @link 		www.jomland.com
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
$img_dir = JURI::base().'/components/com_jlticketcenter/assets/images/';
?>


<style>
<!--
#jlticketcenter_dashboard_right {
	width: 525px;
	float: left;
	padding: 20px 0;
}

#jlticketcenter_dashboard_left {
	float: left;
	margin: 0 30px;
}

#jlticketcenter_dashboard_left h2 {
	color: #146295;
}

.jlticketcenter_dashboard {
	float: left;
	text-align: center;
	font-size: 14px;
	margin: 10px;
}
-->
</style>
<div id="jlticketcenter_dashboard_right">
	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=events',JHtml::image($img_dir.'events_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_EVENTS')));	?>
		<br />
		<?php echo JHtml::link('index.php?option=&controller=events&controller=events',JText::_('COM_JLTICKETCENTER_SUBMENU_EVENTS'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=order',JHtml::image($img_dir.'orders_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_ORDERS')));	?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter',JText::_('COM_JLTICKETCENTER_SUBMENU_ORDERS'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=performer',JHtml::image($img_dir.'performer_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_PERFORMER')));	?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=performer',JText::_('COM_JLTICKETCENTER_SUBMENU_PERFORMER'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_categories&extension=com_jlticketcenter',JHtml::image($img_dir.'categories_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_CATEGORIES')));	?>
		<br />
		<?php echo JHtml::link('index.php?option=com_categories&extension=com_jlticketcenter',JText::_('COM_JLTICKETCENTER_SUBMENU_CATEGORIES'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=venue',JHtml::image($img_dir.'venues_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_VENUES')));?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=venue',JText::_('COM_JLTICKETCENTER_SUBMENU_VENUES'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=city',JHtml::image($img_dir.'cities_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_CITIES')));?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=city',JText::_('COM_JLTICKETCENTER_SUBMENU_CITIES'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=paymentlog',JHtml::image($img_dir.'payment_log_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_PAYMENTS_LOG')));?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=paymentlog',JText::_('COM_JLTICKETCENTER_SUBMENU_PAYMENTS_LOG'));?>
	</div>

	<div class="jlticketcenter_dashboard">
	<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=setup',JHtml::image($img_dir.'setup_dashboard.png', JText::_('COM_JLTICKETCENTER_SUBMENU_SETUP')));?>
		<br />
		<?php echo JHtml::link('index.php?option=com_jlticketcenter&controller=setup',JText::_('COM_JLTICKETCENTER_SUBMENU_SETUP'));?>
	</div>
</div>

<div id="jlticketcenter_dashboard_left">
	<fieldset>
		<legend>
		<?php echo JText::_('Latest Orders')?>
		</legend>
		<?php echo $this->loadTemplate('orders');?>
	</fieldset>
	<br style="clear: both;" />
	<fieldset>
		<legend>
		<?php echo JText::_('Coming Events')?>
		</legend>
		<?php echo $this->loadTemplate('events');?>

	</fieldset>
</div>

<br style="clear: both;" />
<br style="clear: both;" />
