Exemplo n.º 1
0
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  Templates.isis
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @since       3.0
 */
defined('_JEXEC') or die;
require_once 'lib/sandmancontrol.class.php';
if (!defined('DS')) {
    define('DS', DIRECTORY_SEPARATOR);
}
global $sctrl;
$sctrl = SandmanControl::getInstance();
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
$this->language = $doc->language;
$this->direction = $doc->direction;
$input = $app->input;
$user = JFactory::getUser();
$session = JFactory::getSession();
// echo $session->get( 'user' );
// print_r($session); die();
// echo $session->getExpire();
// print_r($app);
// print_r($user);
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');