Your IP : 216.73.217.53


Current Path : /home/bonneesp/www/administrator/components/com_tabulizer/
Upload File :
Current File : /home/bonneesp/www/administrator/components/com_tabulizer/tabulizer.php

<?php
/**
 * @version		6.5.0 tabulizer $
 * @package		tabulizer
 * @copyright	Copyright © 2011 - All rights reserved.
 * @license		GNU/GPL
 * @author		Dimitrios Mourloukos
 * @author mail	info@alterora.gr
 * @website		www.tabulizer.com
 * 
 */


// no direct access
defined('_JEXEC') or die('Restricted access');

if (!defined('DS')) define('DS',DIRECTORY_SEPARATOR);

// Helper functions and defines
require_once(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_tabulizer'.DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR.'common'.DIRECTORY_SEPARATOR.'helper.php');

// Require once css files
$document = JFactory::getDocument();
//$document->addStyleSheet('components/com_tabulizer/assets/css/tabulizer.css');
$css_file = 'components/com_tabulizer/assets/css/tabulizer.css';
TabulizerEnqueue::css_file($css_file);

TabulizerUtils::platformSpecificCSS();

// Require the base controller
require_once (JPATH_COMPONENT.DIRECTORY_SEPARATOR.'controller.php');

// Create the controller
$controller = new tabulizerController();

// Perform the Request task
$jinput = JFactory::getApplication()->input;
$task = $jinput->getCmd('task', null);

if ($controller->checkSessionTokenValidity($task)) {
	if ($controller->isAllowed($task, $permission_warning_msg)) {
		$controller->execute($task, $permission_warning_msg);
	} else {
		$controller->printWarning($permission_warning_msg);
	}
}
$controller->redirect();
?>