<?php
/*
# ------------------------------------------------------------------------
# JA T3 Blank template for joomla 1.6 and 1.7
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
if (class_exists('T3Template')) {
$tmpl = T3Template::getInstance();
$tmpl->setTemplate($this);
$tmpl->render();
return;
} else {
//Need to install or enable JAT3 Plugin
echo JText::_('MISSING_JAT3_FRAMEWORK_PLUGIN');
}
// No direct access
defined( '_JEXEC' ) or die;
// Template path
$templatepath = $this->baseurl.'/templates/'.$this->template;
// CSS
if ($this->params->get('css')==0) {
$templatesheet = '<link rel="stylesheet" href="'.$templatepath.'/css/template.css?v=1.0" type="text/css" />';
} else {
$templatesheet = '<link rel="stylesheet" href="'.$templatepath.'/css/template.css.php?v=1.0 type="text/css" />';
// variables
$app = JFactory::getApplication();
$params = &$app->getParams();
$pageclass = $params->get('pageclass_sfx');
$templatepath = $this->baseurl.'/templates/'.$this->template;
?><!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="<?=$this->language?>"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="<?=$this->language?>"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="<?=$this->language?>"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?=$this->language?>"> <!--<![endif]-->
<head>
<jdoc:include type="head" /> <!-- include head of joomla-api -->
<?php echo $templatesheet; ?>
<!--[if lte IE 7]>
<link rel="stylesheet"
href="<?php echo $templatepath;?>/css/ieonly.css"
type="text/css" />
<![endif]-->
<!--[if lte IE6]>
<style>
img {behavior:url(<?php echo $templatepath;?>/js/iepngfix.htc);}
</style>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- mobile viewport optimized -->
<link rel="apple-touch-icon-precomposed" href="<?=$templatepath?>/apple-touch-icon-57x57.png"> <!-- iphone, ipod, android -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?=$templatepath?>/apple-touch-icon-72x72.png"> <!-- ipad -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?=$templatepath?>/apple-touch-icon-114x114.png"> <!-- iphone retina -->
<link rel="stylesheet" href="<?=$templatepath?>/css/template.css.php?v=1.0.0" type="text/css" /> <!-- compressed stylesheet -->
<script src="<?=$templatepath?>js/modernizr.js"></script> <!-- put all javascripts at the bottom, accept of modernizr.js -->
</head>
<body id="<?=$pageclass?>">
<div id="overall">
</div>
<jdoc:include type="modules" name="debug" /> <!-- module for debugging -->
</body>
</html>