<?php
/**
* @version $Id: component.php 3988 2012-09-30 18:19:18Z kevin $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
*
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$gantry->init();
?>
<?php if (JRequest::getString('type')=='raw'):?>
<jdoc:include type="component" />
<?php else: ?>
<!doctype html>
<html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
<?php $gantry->displayHead(); ?>
<?php $option = JFactory::getApplication()->input->getString('option') ?>
<?php if ( $option != 'com_k2' ) : ?>
<?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));: ?>
<?php endif; ?>
</head>
<body class="component-body">
<div id="rt-main">
<div class="rt-block">
<div id="rt-mainbody">
<div class="component-content">
<jdoc:include type="component" />
</div>
</div>
</div>
</div>
</body>
</html>
<?php endif; ?>
<?php
$gantry->finalize();
?>
<?php
/**
* @version $Id: component.php 3988 2012-09-30 18:19:18Z kevin $
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
*
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$gantry->init();
?>
<?php if (JRequest::getString('type')=='raw'):?>
<jdoc:include type="component" />
<?php else: ?>
<!doctype html>
<html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
<?php $gantry->displayHead(); ?>
<?php $option = JFactory::getApplication()->input->getString('option') ?>
<?php if ( $option != 'com_k2' ) : ?>
<?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54'))); ?>
<?php endif; ?>
</head>
<body class="component-body">
<div id="rt-main">
<div class="rt-block">
<div id="rt-mainbody">
<div class="component-content">
<jdoc:include type="component" />
</div>
</div>
</div>
</div>
</body>
</html>
<?php endif; ?>
<?php
$gantry->finalize();
?>
Time to create page: 0.066 seconds