%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-news_print.php

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

verif_get($_GET['id']);
$act = new Actu;
$actu = $act->infos_actu($_GET['id']);
if($actu == null) {
	header("Location: 404.html");
	exit(0);
}

$affsec = true;
$sec = $section->aff_section($section->actu_sec($_GET['id']));
$pagesec = $lang->getlang()."/".$sec['id']."-".$sec['permalien']."/";
$pageactu = $lang->getlang()."/news/print/".$actu['id']."-".$actu['permalien'].".html";
if($_GET['permalien'] != $actu['permalien'])
{
	header("Location:".$url_site.$pageactu);
	exit(0);
}

$facebookapi = true;

//affichage du html
include("theme/html.php");
//affichage des metas
include("theme/meta.php");
echo "\n<title>".$actu['titre']." - ".$info_titresite."</title>\n";
?>
<meta property="og:titre" content="<?php echo $actu['titre']; ?>"/>
<?php if($actu['photo1']) { ?>
<meta property="og:image" content="<?php echo $url_site."uploads/".$actu['photo1'] ?>"/>
<?php } ?>
<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; ?>"/>
</head>
<body style="background: #fff">
<div class="text" id="printbutton" style="margin: 10px;">
<a href="javascript: window.print()" class="bouton"><?php echo lang("print"); ?></a>
<a href="<?php echo $lang->getlang()."/news/".$actu['id']."-".$actu['permalien'].".html"; ?>" class="bouton"><?php echo lang("back"); ?></a>
</div>
<div id="gauche">
<?php

$act->affiche_actu($actu);

?>
</div>
</body>
</html>

Zerion Mini Shell 1.0