| Current Path : /home/a/m/a/amapterrvs/www/templates/amap-terresdecisse/ |
| Current File : /home/a/m/a/amapterrvs/www/templates/amap-terresdecisse/index.php |
<?php
/**
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);
/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
?>
<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/print.css" type="text/css" media="Print" />
<!--[if IE 7]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style_ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="icon" type="image/png" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/favicon.png" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39206566-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<meta name="google-site-verification" content="HU8mgI0MA_WrAhm8_YqcKVlJeiqVAAHC0FFRFqhVuEo" />
</head>
<body>
<div id="container">
<div id="header">
<h1>
<a href="http://www.amap-terresdecisse.fr" title="AMAP Terres de cisse">
<img src="templates/<?php echo $this->template ?>/images/amap_logo.png" alt="Logo de l'AMAP Terres de cisse" title="Retour à l'accueil de l'AMAP Terres de cisse" />AMAP Terres de cisse
</a>
</h1>
<jdoc:include type="modules" name="header" style="xhtml"/>
</div>
<div id="menu">
<jdoc:include type="modules" name="menu" style="xhtml" />
</div>
<div id="content">
<div id="maincol">
<?php
// Get option and view
$option = JRequest::getVar('option');
$view = JRequest::getVar('view');
// Make sure it is a single article
if ($option == 'com_content' && $view == 'article'):
$id = JRequest::getInt('id');
$article =& JTable::getInstance('content');
$article->load($id);
$article_title = $article->get('id');
endif;
if(($this->countModules('slide')) && ($article_title == 47)) { ?>
<div id="slide">
<jdoc:include type="modules" name="slide" style="xhtml"/>
</div>
<?php } ?>
<jdoc:include type="component" />
<?php if($this->countModules('home_bottom')) { ?>
<jdoc:include type="modules" name="home_bottom" style="xhtml"/>
<?php } ?>
</div>
<div id="rightcol">
<jdoc:include type="modules" name="right" style="xhtml" />
</div>
<div class="clr"></div>
</div> <!-- fin content -->
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml" />
</div>
</div> <!-- fin container -->
</body>
</html>