<?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');

jimport('joomla.html.html.tabs');

JHtml::_('behavior.formvalidation');
JHtml::_('bootstrap.framework');


$items = $this->items;
?>
<script language="javascript" type="text/javascript">
<?php /*
function submitbutton(pressbutton) {
		<?php //$editor =& JFactory::getEditor();
			//echo $editor->save('order_sign');
	     ?>
		submitform( pressbutton );
	}
}
*/?>
</script>

<form action="index.php" method="post" name="adminForm" id="adminForm">

    <ul class="nav nav-tabs" id="configTabs">
        <li class="active"><a href="#diplay-options" data-toggle="tab"><?php echo JText::_('Display');?></a></li>
        <li><a href="#cart_currency" data-toggle="tab"><?php echo JText::_('Cart and Currency');?></a></li>
        <li><a href="#general_text" data-toggle="tab"><?php echo JText::_('General Text');?></a></li>
        <li><a href="#general_setting" data-toggle="tab"><?php echo JText::_('General Setting');?></a></li>
        <li><a href="#facebook" data-toggle="tab"><?php echo JText::_('FaceBook Intergration');?></a></li>
        <li><a href="#qrcode" data-toggle="tab"><?php echo JText::_('QR Code');?></a></li>
        <li><a href="#cart-fields" data-toggle="tab"><?php echo JText::_('Cart Fields');?></a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="diplay-options">
            <?php echo $this->loadTemplate('display');?>
        </div>

        <div class="tab-pane" id="cart_currency">
            <?php echo $this->loadTemplate('cart');?>
        </div>

        <div class="tab-pane" id="general_text">
            <?php echo $this->loadTemplate('general_text');?>
        </div>

        <div class="tab-pane" id="general_setting">
            <?php echo $this->loadTemplate('general');?>
        </div>

        <div class="tab-pane" id="facebook">
            <?php echo $this->loadTemplate('facebook');?>
        </div>

        <div class="tab-pane" id="qrcode">
            <?php echo $this->loadTemplate('qrcode');?>
        </div>

        <div class="tab-pane" id="cart-fields">
            <?php echo $this->loadTemplate('cart_fields');?>
        </div>
    </div>
	<div class="clr"></div>

	<input type="hidden" name="option" value="com_jlticketcenter" /> <input
		type="hidden" name="task" value="save" /> <input type="hidden"
		name="controller" value="setup" />
		<?php echo JHTML::_( 'form.token' ); ?>
</form>
