<?php
/**
 * @package linea21.templates
 * @subpackage public
 * @author linea21 <info@linea21.com>
 * @version $id SVN
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */
echo '<?xml version="1.0" encoding="'.CHARSET.'" xml:lang="'.LANGUAGE.'"?>'.END_LINE;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo LANGUAGE; ?>">
<?php distInclude(THEME_PUBLIC_PATH.'header.php', THEME_PUBLIC_DIST); ?>
<body>
<div id="container">
<!-- Header -->
<div id="header">
	<?php 
	$swf_src = (date('G')>=7 && date('G')<=19) ? THEME_PUBLIC_PATH.'flash/bandeau_j.swf': THEME_PUBLIC_PATH.'flash/bandeau.swf';
	?>
	<div id="flash">
		<object  type="application/x-shockwave-flash"  data="<?php echo $swf_src; ?>" width="776" height="105">
		<param name="movie" value="<?php echo $swf_src; ?>" />
		<param name="quality" value="high" />
		<img src="<?php echo THEME_PUBLIC_PATH; ?>images/noflash.png" width="776" height="105" alt="si vous souhaitez voir l'anim, téléchargez le plug-in flash" />
		</object>
	</div>
	<div id="menuhr">&nbsp;</div>	
	<div id="navcontainer">
		<div id="navicons">
		<a href="<?php echo HrefMaker(array('rub' => $GLOBALS['links'][LANGUAGE]['home']['linkvalue']));?>" accesskey="1" title="<?php echo $GLOBALS['links'][LANGUAGE]['home']['desc']; ?>"><img src="<?php echo THEME_PUBLIC_PATH; ?>images/menu_home.png" style="margin-left:5px" alt="<?php echo $GLOBALS['links'][LANGUAGE]['home']['desc']; ?>" /></a>
		<a href="javascript:history.go(-1);" title="<?php echo _t('divers','backpage'); ?>"><img src="<?php echo THEME_PUBLIC_PATH; ?>images/menu_back.png" alt="<?php echo _t('divers','backpage'); ?>" /></a>
		<a href="<?php echo HrefMaker(array('rub' => $GLOBALS['links'][LANGUAGE]['search']['linkvalue']));?>" title="<?php echo $GLOBALS['links'][LANGUAGE]['search']['title']; ?>"><img src="<?php echo THEME_PUBLIC_PATH; ?>images/menu_search.png" style="margin:0" alt="<?php echo $GLOBALS['links'][LANGUAGE]['search']['title']; ?>" /></a>
		</div>
		<?php echo DisplayMenu(); ?>
		<?php echo MyAccount(); ?>
	</div>
	
</div>
<!-- End Header -->

<div id="page">
	<div id="main">
		<?php if (isset($_REQUEST['rub'])) {
		if ($_REQUEST['rub']<>$GLOBALS['links'][LANGUAGE]['home']['linkvalue']) {
		?>
	
	<div id="contenu_header">
	<a href="javascript:self.print();" title="<?php echo _t('divers','print'); ?>"><img src="<?php echo THEME_PUBLIC_PATH; ?>images/<?php echo LANGUAGE;?>/print.gif" alt="<?php echo _t('divers','print'); ?>" /></a>
	</div>
		 <?}	
		} ?>
		<div id="contenu">
		 <?php DisplayTemplate();?>
		 </div>
	</div>
	<div id="board">
    <?php 
    DisplayProjectBoard();
	DisplayFilter();
	//DisplayFilter2();
	DisplaySearchForm();
	DisplayBoardLastNews(3);
	DisplayBoardLastSdi();
	DisplayNewsletterForm();
	DisplayLogo();
	DisplayFooterleft();
	?>
	</div>
</div>
<br style="clear:both" />
<!-- Footer -->
<div id="footer">Linea21 
<p><?php printf(_t('divers','licence') ,'<a href="http://opensource.org/licenses/gpl-3.0.html" title="GNU GPL v3" class="out">GNU GPL v3</a>'); ?></p> 

(version <?php echo LINEA_VERSION; ?>) | <a href="../admin/index.php" title="interface d'administration"><?php echo _t('header','title');?></a> | styles : <?php echo FooterStyleSwitcher(); ?></div>
<!-- End Footer -->

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