<?php
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();

$showModuleComponent = $this->countModules('position-13');

// get params
$logo = $this->params->get('logo');

?>
<!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="shortcut icon" type="image/png" href="images/favicon.jpg" />
		<link rel="stylesheet" 	href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
		<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/position.css" type="text/css" />
	</head>
	<body>
		<div id="conteneur">
			<div id="header">
				<div id="logo">
				</div>
				<div id="menu_haut">
<jdoc:include type="modules" name="position-1" />
				</div>
			</div>
			<div id="contenu">
				<div id="breadcrumbs">
<jdoc:include type="modules" name="position-2" />
				</div>			
				<div id="main">
					<div id="maintop">
					<?php if ($showModuleComponent) :?>
						<div id="maincontenu" class="cols2">
<jdoc:include type="component" />
						</div>
						<div id="slideshow">

						</div>
						<div class="separator"></div>
					<?php else : ?>
						<div id="maincontenu">
<jdoc:include type="component" />
						</div>
					<?php endif; ?>
					</div>
					<div id="mainbottom"></div>
				</div>
				<div class="separator"></div>
				<div id="bottom">
<jdoc:include type="modules" name="position-3" />
<div id=calendar>
<jdoc:include type="modules" name="position-4" />
</div>
<jdoc:include type="modules" name="position-5" />
				</div>
				<div class="separator"></div>
			</div>
		</div>
		<div id="footer">

		</div>
	</body>
</html>
		