%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/test/
Upload File :
Create Path :
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/test/p-search.php

<?php
include_once("inc/config.php");
include_once("inc/functions.php");
include_once("inc/init.php");

//edition en cours 
$db = new BaseOps;


//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">
	<h2><?=$admtext->getText("search_result",$lang->getlangid())?> </h2>
	<? 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 border_profil_2">
				<?if($ville['photo1']!=""):?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$ville['id']?>-<?=$ville['permalien']?>/"><img src="<?php echo thumb($ville['photo1'], 220,127, true) ?>" alt="" /></a>
					</div>
				<?else:?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$ville['id']?>-<?=$ville['permalien']?>/"><img src="images/noimg2.jpg" alt="" /></a>
					</div>
				<? endif; ?>
				<div class="droite">
					<h3><img style="display:inline; vertical-align: middle; margin-right: 3px;" src="images/flag.png" alt="<?=lang("12-Star City")?>"/> <a href="<?=$lang->getlang()?>/<?=$ville['id']?>-<?=$ville['permalien']?>/"><?=$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']."/", 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 border_profil_1">
				<?if($col['photo1']!=""):?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$col['id']?>-<?=$col['permalien']?>/"><img src="<?php echo thumb($col['photo1'], 220,127, true) ?>" alt="" /></a>
					</div>
				<?else:?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$col['id']?>-<?=$col['permalien']?>/"><img src="images/noimg2.jpg" alt="" /></a>
					</div>
				<? endif; ?>
				<div class="droite">
					<h3><a href="<?=$lang->getlang()?>/<?=$col['id']?>-<?=$col['permalien']?>/"><?=$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']."/", 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 border_profil_3">
				<?if($ass['photo1']!=""):?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$ass['id']?>-<?=$ass['permalien']?>/"><img src="<?php echo thumb($ass['photo1'], 220,127, true) ?>" alt="" /></a>
					</div>
				<?else:?>
					<div class="gauche">
						<a href="<?=$lang->getlang()?>/<?=$ass['id']?>-<?=$ass['permalien']?>/"><img src="images/noimg2.jpg" alt="" /></a>
					</div>
				<? endif; ?>
				<div class="droite">
					<h3><a href="<?=$lang->getlang()?>/<?=$ass['id']?>-<?=$ass['permalien']?>/"><?=$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']."/", lang("suite"))?></div>
				</div>
				
			</div>

		<?endforeach;
		endif;
	endif;?>
	

</div>


<?php

//affichage du footer
include("theme/footer.php");

?>

Zerion Mini Shell 1.0