%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/congress-eldw.eu/public_html/
Upload File :
Create Path :
Current File : /home/alliance/domains/congress-eldw.eu/public_html/p-page.php

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

$module = new Module;
$acc = false;

verif_get($_GET['id']);
$page = new Page;
		
				  
 
  
				
 

$this_lang=$page->valideLang($_GET['id'],$lang->id());
//$this_lang=$lang->id();

$pg = $page->infos_page($_GET['id'],$this_lang);
if($pg == null) {
	header("Location: 404.html");
	exit(0);
}

$affsec = true;
if(isset($_GET['sect'])){
	$sec = $section->getSection($_GET['sect'],$lang->id());
	$pagesec = $lang->getlang()."/theme/".$sec['id_section']."-".$sec['permalien'].".html";
	$pagepg = $pagesec.$pg['id']."-".$pg['permalien'].".html";
}
else{
	$pagepg = $lang->getlang()."/page/".$pg['id']."-".$pg['permalien'].".html";
	 
}





$facebookapi = true;

//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>".$pg['titre']." - ".$info_titresite."</title>\n";
?>
<meta property="og:title" content="<?php echo $pg['titre']; ?>"/>
<meta property="og:image" content="<?php echo $url_site."images/logo-facebook.png" ?>"/>
<meta property="og:description" content="European Local Democracy Week"/>
<meta property="og:type" content="non_profit"/>
<meta property="fb:app_id" content="307325492664749"/>
<meta property="og:url" content="<?php echo $url_site.$pagepg; ?>"/>
<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");

?>
	 
																		  
																						   
					 
   

<article class="blanc padding mt10">
<h1><?php echo $pg['titre']; ?></h1>
<div class="partager">
	<ul class="icons">
		<li><a href="#partager_mail" class="inline"><i class="far fa-envelope vert fa-lg"></i> <?php echo lang("mail"); ?></a></li>
		<li><a href="<?= $lang->getlang()."/print/".$pg['id']."-".$pg['permalien'].".html"; ?>"><i class="fas fa-print vert fa-lg"></i> <?php echo lang("print"); ?></a></li>
		<li><a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=<?=$url_site.$pagepg; ?>"><i class="fab fa-facebook vert fa-lg"></i> Facebook</a></li>
		<li>
			<a href="https://twitter.com/share" class="twitter-share-button" >Tweet</a>
			<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
			<!-- Placez cette balise où vous souhaitez faire apparaître le gadget Bouton +1. -->
			<div class="g-plusone" data-size="small"></div>

			<!-- Placez cette ballise après la dernière balise Bouton +1. -->
			<script type="text/javascript">
			  window.___gcfg = {lang: 'fr'};

			  (function() {
				var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
				po.src = 'https://apis.google.com/js/platform.js';
				var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
			  })();
			</script>
   
																																					 
  
   
		 
																																							
 
	 
				
  
																				 
  
				
  
   
	   
						   
  
				  
							 
																																				
  
   
					
						   
																						  
   
  
		 
							
  
   
  
   
  
 
		
				
 
  
			 
 
	  
		
 
			 
		   
  
 
 
  

   
					
		
																		 
							   
 
  

   

		</li>
		
	 
								
																							 
	</ul>
	<div style="display: none;">
		<div id="partager_mail">
			<form action="<?php echo $lang->getlang(); ?>/partager/page.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="<?=(isset($_POST['email'])?$_POST['email']:'')?>" /></td>
					</tr>
				</table>
				<div class="form_bouton">
					<input type="hidden" name="recaptcha_response" id="recaptchaResponse">
					<input type="hidden" name="post" value="1" />
					<input type="hidden" name="id" value="<?php echo $pg['id']; ?>" />
					<input type="submit" class="bouton" id="maj_bouton" value="<?php echo lang("mail"); ?>" />
				</div>
			</form>
		</div>
	</div>
								 
	
	<!--<div class="fb-like" data-href="<?php echo $url_site.$pagepg; ?>" data-send="false" data-width="400" data-show-faces="false"></div>-->
	
</div>
<?php
$result = $page->liste_blocs($_GET['id'],$this_lang,true);
if($result != null) {
	$objBloc=new Bloc;
	foreach ($result as $bloc)
	{
		   
		 
							   
	
							
		
		$page->afficher_bloc($bloc, "page");
	}
  
}
?>
</article>
<?php
//affichage du footer
include("theme/footer.php");

?>

Zerion Mini Shell 1.0