%PDF- %PDF-
Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/ |
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/p-search.php |
<?php include_once("inc/config.php"); include_once("inc/functions.php"); include_once("inc/init.php"); //edition en cours //affichage du html include("theme/html.php"); //affichage des metas include("theme/meta.php"); echo "\n<title>Recherche - ".$info_titresite."</title>\n"; ?> <meta property="og:type" content="non_profit"/> <meta property="fb:app_id" content="307325492664749"/> <meta property="og:url" content="<?php echo $url_site.$pageactu; ?>"/> <meta property="og:site_name" content="<?php echo $info_titresite; ?>"/> <?php //affichage du header include("theme/header.php"); //colonne de droite include("theme/droite.php"); $this_edition=$edition->getCurrentEdition("front",$lang->getlangid()); ?> <div class="page_pays"> <h1 class="mt10"><?=$admtext->getText("search_result",$lang->getlangid())?> <? if(isset($_GET["tag"]) && $_GET["tag"]!="all"){ $the_tag=$obj_activite->getTag($_GET["tag"],$lang->getlangid()); echo " - ".$admtext->getText("theme",$lang->getlangid())." : ".$the_tag["libelle"]; }?> <? if(isset($_GET["search_pays"]) && $_GET["search_pays"]!="all"){ $the_pays=$pays->getUnPays($_GET["search_pays"],$lang->getlangid()); echo " - ".$admtext->getText("country",$lang->getlangid())." : ".$the_pays["name"]; }?> <? if(isset($_GET["search_profil"]) && $_GET["search_profil"]!="all"){ $the_profil=$profil->getLibelle($_GET["search_profil"]); echo " - ".$admtext->getText("collectivity_type",$lang->getlangid())." : ".$the_profil; }?> </h1> <? if(isset($_GET["tag"]) && $_GET["tag"]!="all"){ $the_tag=$obj_activite->getTag($_GET["tag"],$lang->getlangid()); echo "<p>".$the_tag["detail"]."</p>"; }?> <? if(!isset($_GET["tag"]) || $_GET["tag"]=="all"):?> <? if($pr==2 || $pr==null) :?> <? $villes=$section->liste_section_tri($lang->getlangid(),"front", $this_edition['id'], 1, 2, $pa, $keyword); ?> <? if($villes!=null): ?> <h2 class="bg_profil_2"><?=lang("12-Star City")?></h2> <? foreach($villes as $ville):?> <div class="bloc_pays flexcontent"> <?if($ville['photo1']!=""):?> <a href="<?=$lang->getlang()?>/<?=$ville['id']?>-<?=$ville['permalien']?>/<?=$getedition?>" class="gauche"><img src="<?php echo thumb($ville['photo1'], 600,600) ?>" alt="" /></a> <? endif; ?> <div class="droite padding2 blanc"> <h3><a href="<?=$lang->getlang()?>/<?=$ville['id']?>-<?=$ville['permalien']?>/<?=$getedition?>"><?=$ville['titre']; ?></a> </h3> <div class="texte"><?=texte_resume(html_entity_decode($ville['texte'],ENT_QUOTES, 'UTF-8'),270,$lang->getlang()."/".$ville['id']."-".$ville['permalien']."/".$getedition, lang("suite"))?></div> </div> </div> <?endforeach; endif;?> <? endif; if($pr==1 || $pr==null) :?> <? $cols=$section->liste_section_tri($lang->getlangid(),"front", $this_edition['id'], 1, 1, $pa, $keyword); ?> <? if($cols!=null): ?> <h2 class="bg_profil_1"><?=lang("Community partner")?></h2> <? foreach($cols as $col):?> <div class="bloc_pays flexcontent"> <?if($col['photo1']!=""):?> <a href="<?=$lang->getlang()?>/<?=$col['id']?>-<?=$col['permalien']?>/<?=$getedition?>" class="gauche"><img src="<?php echo thumb($col['photo1'], 600,600) ?>" alt="" /></a> <? endif; ?> <div class="droite padding2 blanc"> <h3><a href="<?=$lang->getlang()?>/<?=$col['id']?>-<?=$col['permalien']?>/<?=$getedition?>"><?=$col['titre']; ?></a></h3> <div class="texte"><?=texte_resume(html_entity_decode($col['texte'],ENT_QUOTES, 'UTF-8'),270,$lang->getlang()."/".$col['id']."-".$col['permalien']."/".$getedition, lang("suite"))?></div> </div> </div> <?endforeach; endif;?> <? endif; if($pr==3 || $pr==null) :?> <? $asss=$section->liste_section_tri($lang->getlangid(),"front", $this_edition['id'], 1, 3, $pa, $keyword); ?> <? if($asss!=null): ?> <h2 class="bg_profil_3"><?=lang("Partner association")?></h2> <? foreach($asss as $ass):?> <div class="bloc_pays flexcontent"> <?if($ass['photo1']!=""):?> <a href="<?=$lang->getlang()?>/<?=$ass['id']?>-<?=$ass['permalien']?>/<?=$getedition?>" class="gauche"><img src="<?php echo thumb($ass['photo1'], 600,600) ?>" alt="" /></a> <? endif; ?> <div class="droite padding2 blanc"> <h3><a href="<?=$lang->getlang()?>/<?=$ass['id']?>-<?=$ass['permalien']?>/<?=$getedition?>"><?=$ass['titre']; ?></a></h3> <div class="texte"><?=texte_resume(html_entity_decode($ass['texte'],ENT_QUOTES, 'UTF-8'),270,$lang->getlang()."/".$ass['id']."-".$ass['permalien']."/".$getedition, lang("suite"))?></div> </div> </div> <?endforeach; endif; endif; else: echo $obj_activite->getTriActivite($_GET["type"],$lang->getlangid(),$this_edition['id'],null,$url_site,$_GET["tag"]); endif; ?> </div> <?php //affichage du footer include("theme/footer.php"); ?>