<?php

// -------------------------------------------------------------- //

// EDUFOREST - STUDIO CLICK                                       //

// -------------------------------------------------------------- //

// Copyright (C) 2001 - Damien VIEL - STUDIO CLICK                //

// -------------------------------------------------------------- //

// Web:   http://www.studioclick.fr/                              //

// Email: info@studioclick.fr                                     //

// -------------------------------------------------------------- //

//01/12/2006 LOGIQ Systï¿½mes Dï¿½marrage des sessions

session_start("edufo");

//01/04/2011 LOGIQ Systï¿½mes - acces base donnï¿½es pour lecture table navig_cf

include_once("conf/function.php");

include_once("conf/config.inc.php");



$index=1;

$page=1;



if (isset($_GET["page"])) { $page=$_GET["page"]; }

if (isset($_GET["index"])) { $index=$_GET["index"];}



$row=navig_index($index.".".$page);

//print_r($row);

?>

<html>

<head>

<title>EDUFOREST</title>

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>

<LINK REL=STYLESHEET TYPE="text/css" HREF="conf/eduforest.css">

<script LANGUAGE="JavaScript1.2">

<!--

<?php

if ($index==1) {

	if ($_GET["page"]==2) include ("script_page2.php");

	if ($_GET["page"]==3) include ("script_page3.php");

	if ($_GET["page"]==7) include ("script_page7.php");

}

?>

-->

</script>

<!--

<script language="javascript">

<!--

function presenceframe()

{

if(!(parent.frames["top"] && parent.frames["left"] && parent.frames["middle"]))

{

		 alert('Middle.php manque frame top ou left ou middle');

	location.replace("sum2.php");

}

}

//-->

<!--</script>-->

		<style type="text/css">
			/* micro reset */
			.main-header{background: rgba(75,113,34,0.9); color: #B13C2E;}
			.header-logo-left{float:left;}
			.header-logo-center{float:right;}
			.header-logo-right{float:right;}
			.header-inner{display: table;width: 100%;max-width: 1100px;margin: 0 auto;padding: 20px 25px;}
			.header-inner > * {display: table-cell;vertical-align: middle;}
			.header-nav {text-align: right;}
			.header-nav ul,
			.header-nav li{display: inline;list-style: none;}
			.header-nav a{position: relative;display: inline-block;padding: 8px 20px;vertical-align: middle;font-weight: 300; /* between regular and light */letter-spacing: 0.025em;color: inherit;text-decoration: none;}
			.header-nav a:after{content: "";position: absolute;bottom: 0; right: 20px; left: 20px;height: 2px;background-color: #B13C2E; /* for animation */ opacity: 0; transform: translateY(5px); transition: all .4s;}
			.header-nav a:hover:after,
			.header-nav a:focus:after{opacity: .6; bottom: 0; transform: translateY(0);}
			.header-nav a:focus {outline: none; /* I can do it because I already have a style for that */}
			
			/* When navbar is stuck */
			.nav-is-stuck .main-header {/* http://caniuse.com/#feat=css-sticky */ /* not good support at this time (nov 2015) */ /* so use fixed if JS activated */ position: sticky;}
			.nav-is-stuck .main-header {position: fixed; top: 0; left: 0; right: 0; /*box-shadow: 0 1px 4px rgba(0,0,0,.15);*/  animation: stickAnim .3s;  z-index: 100;}
			@keyframes stickAnim { 0% {transform: translateY(-86px); } 100% { transform: translateY(0);}
			}
		</style>


</head>



<body leftmargin="0" totmargin="0" style="background: #006633 url(http://www2.eduforest.eu/_lib_medias/img_catalogue/14-47.jpg) fixed no-repeat 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; ">



			<!-- Début header -->
			<?php
				// affichée uniquement sur la page 2-6-45
				//if(($_chaine_url=="2-6-45")||($_chaine_url=="1-4-52")){
			?>

			<header role="banner" class="main-header">
				
					<div class="header-logo-left">
					<a href="../"><img class="logo-or" src="images/logo-eduforest-2.png" alt="" /></a>
					</div>

				
					<div class="header-logo-center">
						<a href="http://www.poctefa.eu" target="_blank"><img src="images/logo-partenaire-2.png" width="288" height="114" alt="#" /></a>
					</div>
					

					<!--<nav class="header-logo-right">
						<a href="http://www.poctefa.eu" target="_blank"><img src="../_lib_medias/img_site/logo-partenaire-1.png" width="300" height="114" alt="#"/></a>
					</nav>-->
				
			</header>
			
			<span id="clear_after_header" style="clear:both;  font-size:1px;">&nbsp;</span>
			
			<?php
			//}
			?>



<a name=topp></a>

<!--<table bgcolor="#FFFFFF" height="100%" width="630" border="0" cellspacing="0" cellpadding="4" style="margin:0 auto 0 auto">-->

<table width="1200" border="0" cellspacing="0" cellpadding="4" style="margin:0 auto 0 auto; background-color: rgba(255, 255, 255, 0.9);">

  <tr>

    <td valign="top">

    <?php

    include_once ("conf/function.php");

    include_once ("conf/config.inc.php");

	//echo $row["navig_file"];

    if (isset($row["navig_file"])) include("./".$row["navig_file"]);

//	echo 'x' . $row["navig_file"];

    ?>

    </td>

  </tr>

</table>

<?php if ($index!=3) { ?>

<!--<table width="630" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" style="margin:0 auto 0 auto">-->

<table width="1200" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC" style="margin:0 auto 0 auto">

  <tr>

    <td align="right">

    <a href=#topp STYLE=\"text-decoration: none\">

    <font face=Verdana size=1>

    <font color=#000000>Top -</font>

    <font color=#006633> Haut de page</font>

    </font>

    </td>

  </tr>

</table>

<?php }?>

</body>

<?php

define("_BBC_PAGE_NAME", $page_name);

define("_BBCLONE_DIR", "bbcloneks1/");

define("COUNTER", _BBCLONE_DIR."mark_page.php");

if (is_readable(COUNTER)) include_once(COUNTER);

?>

</html>