%PDF- %PDF-
Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/theme/ |
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/theme/header - Copie.php |
</head> <body class="body_front"> <?php if(isset($facebookapi)) { ?> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/<?php if($lang->getlang() == "fr") echo "fr_FR"; else echo "en_US"; ?>/all.js#xfbml=1&appId=404527296278705"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <?php } if((!isset($_SESSION['edition_front']) && isset($_GET['edition'])) || (isset($_GET['edition']) && $_GET['edition']!=$_SESSION['edition_front'])){ // verif $db = new BaseOps; $query="SELECT * FROM edition WHERE id=".$_GET['edition']; if($db->isres($query)){ $_SESSION['edition_front']=$_GET['edition']; } } $this_edition=$edition->getCurrentEdition("front",$lang->getlangid()); $realedition=$edition->getCurrentEdition("front",$lang->getlangid(),false); if($this_edition['id']!=$realedition['id']){ $getedition="?edition=".$this_edition['id']; } else{ $getedition=""; } ?> <div id="body2"> <header> <div id="top"> <div id="banniere"> <img src="images/tb_<?=$lang->getlang()?>.jpg" alt="Semaine europĂ©enne de la dĂ©mocatie locale" /> </div> <!--<div id="newsletter"> <a href="#newsletter_insc" class="inline"><img src="images/newsletter_<?php echo $lang->getlang(); ?>" alt="Language" /></a> <div style="display: none;"> <div id="newsletter_insc"> <form action="<?php echo $lang->getlang(); ?>/newsletter_insc.html" method="post" class="form"> <table> <tr> <td class="label"><?php echo lang("email"); ?> <span class="etoile">*</span></td> <td class="field"><input type="text" name="email" value="" /></td> </tr> <tr> <td class="label"><?php echo lang("nom"); ?> <span class="etoile">*</span></td> <td class="field"><input type="text" name="nom" value="" /></td> </tr> <tr> <td class="label"><?php echo lang("prenom"); ?> <span class="etoile">*</span></td> <td class="field"><input type="text" name="prenom" value="" /></td> </tr> <tr> <td class="label"><?php echo lang("birth"); ?></td> <td class="field"> <select name="jour"> <option value="--" selected="selected">--</option> <?php for($i=1;$i<32;$i++) { ?><option value="<?php echo str_pad($i, 2, "0", STR_PAD_LEFT); ?>"><?php echo str_pad($i, 2, "0", STR_PAD_LEFT); ?></option><? } ?> </select> <select name="mois"> <option value="--" selected="selected">--</option> <?php for($i=1;$i<13;$i++) { $tab_mois = lang("tab_mois"); ?><option value="<?php echo str_pad($i, 2, "0", STR_PAD_LEFT); ?>"><?php echo $tab_mois[$i]; ?></option><? } ?> </select> </td> </tr> </table> <div class="form_bouton"> <input type="hidden" name="post" value="1" /> <input type="submit" class="bouton" id="maj_bouton" value="<?php echo lang("newsletter"); ?>" /> </div> </form> </div> </div> </div>--> <div id="lang"> <? if($lang->getlang()=="fr"):?> FR <a href="<?php echo $lang->trans_page($acc); ?>">EN</a> <? else: ?> <a href="<?php echo $lang->trans_page($acc); ?>">FR</a> EN <? endif; ?> <!--<a href="<?php echo $lang->trans_page($acc); ?>"><img src="images/lang_<?php echo $lang->getlang(); ?>.png" alt="Language" /></a>--> </div> </div> <?php $page = new Page; ?> <div class="block_barre"> <nav role="navigation"> <ul> <li><a href="http://www.congress-eldw.eu/<?=$lang->getlang() ?>/"><div><?php echo lang("Demoweek website"); ?></div></a></li> <li ><a href="<?php echo $lang->getlang(); ?>/"><div><?php echo lang("acc_site"); ?></div></a></li> <li><a href="<?php echo $lang->getlang(); ?>/inscription.html"><div><?php echo lang("Inscription"); ?></div></a></li> <li><a href="<?php echo $lang->getlang(); ?>/newsletter/"><div>Newsletter</div></a></li> <li><a href="http://www.coe.int/t/congress/default_<?=$lang->getlang() ?>.asp?mytabsmenu=1"><div><?php echo lang("Congress website"); ?></div></a></li> <li><a href="<?php echo $lang->getlang(); ?>/admin/connexion.php"><div><img src="images/secure.png" alt="Secure" /> <?php echo lang("Connexion"); ?></div></a></li> </ul> </nav> <div id="search_bar" > <? if(!isset($_GET['search_profil']) || $_GET['search_profil'] == "all") $pr = null; else $pr = $_GET['search_profil']; if(!isset($_GET['search_pays']) || $_GET['search_pays'] == "all") $pa = null; else $pa = $_GET['search_pays']; if(!isset($_GET['keyword']) || $_GET['keyword'] == "") $keyword = ""; else $keyword = $_GET['keyword']; if(!isset($_GET['tag']) || $_GET['tag'] == "all") $tag = null; else $tag = $_GET['tag']; ?> <form id="search_form" action="<?php echo $lang->getlang(); ?>/search.html" method="get" class="form"> <div style="float:left; padding-top:7px;"><?=$admtext->getText("filter_by",$lang->getlangid())?></div> <select name="search_pays" class="selectbox" style="width: 170px;"> <option value="all"><?=$admtext->getText("country",$lang->getlangid())?></option> <?php $actual_edition=$edition->getCurrentEdition("front",$lang->getlangid()); $res = $pays->getPaysEdition($actual_edition['id'],$lang->getlangid()); foreach($res as $pay) { echo '<option value="'.$pay['id'].'"'; if($pa == $pay['id']) echo ' selected="selected"'; echo ' >'.$pay['name'].'</option> '; } ?> </select> <select name="search_profil" class="selectbox" style="width: 170px;"> <option value="all"><?=$admtext->getText("collectivity_type",$lang->getlangid())?></option> <?php $res = $profil->getProfils(); foreach($res as $prof) { echo '<option value="'.$prof['id'].'"'; if($pr == $prof['id']) echo ' selected="selected"'; echo ' >'.$prof['libelle'].'</option> '; } ?> </select> <select name="tag" class="selectbox" style="width: 170px;"> <option value="all"><?=$admtext->getText("tags",$lang->getlangid())?></option> <?php $tags = $obj_activite->getTags($this_edition['id'],$lang->getlangid(),1); foreach($tags as $un_tag) { echo '<option value="'.$un_tag['id_tag'].'"'; if($tag == $un_tag['id_tag']) echo ' selected="selected"'; echo ' >'.$un_tag['libelle'].'</option> '; } ?> </select> <div style="float:right"> <input type="text" value="<?=$keyword?>" class="keyword_search" name="keyword" /><input type="submit" value="" class="submit_search" /> </div> </form> </div> <div id="menumobile"> <ul class="menumobile_ul"> </ul> </div> </div> <div id="old_edition" <?=($this_edition['id']==$realedition['id']? 'style="display:none"':"")?>> <? if($this_edition['id']!=$realedition['id']):?> <?if(!isset($_GET["edition"])): $monUrl = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."?edition=".$realedition['id'];?> <? else:?> <? $monUrl = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $monUrl = preg_replace("/edition=\d+/", "edition=".$realedition['id'], $monUrl);?> <? endif;?> <?=$admtext->getText("edition_consultation",$lang->getlangid());?> <?=date("Y", strtotime($this_edition['date_debut']))?> "<?=$this_edition['titre']?>"<br/> <a href="<?=$monUrl?>">« <?=$admtext->getText("retour_edition",$lang->getlangid());?></a> <? endif;?> </div> </header> <script type="text/javascript"> $(".selectbox").selectBox().change(function(){ $("#search_form").submit(); }); </script> <div> <section id="corps">