hellofacteurV1/vues/repertoire_flux_info.php

21 lines
1.2 KiB
PHP
Executable File

<?php
$header_title=affiche_utf8(htmlentities($flux_info["nom"],ENT_QUOTES),UTF8_OK)." (lecture du flux)";
$header_robots="noindex,nofollow";
$body_title=affiche_utf8(htmlentities($flux_info["nom"],ENT_QUOTES),UTF8_OK);
$ariane_items[0]["txt"]="<li><a href='".PAGE_ACCUEIL."'>Page d'accueil.</a></li>";
$ariane_items[0]["form"]=false;
$ariane_items[0]["actif"]=false;
if(!empty($_SESSION["message"]))
{
$msg_infos[0]="<strong>".$_SESSION["message"]."</strong>";
$_SESSION["message"]="";
}
if(!empty($flux_info["description"]))
$msg_infos[1]=affiche_utf8(htmlentities($flux_info["description"],ENT_QUOTES),UTF8_OK);
$body_content="";
if(!empty($liens_flux))
$body_content.="<div class='liste_liens'><h3>Les dernières actualités pour ".affiche_utf8(htmlentities($flux_info["nom"],ENT_QUOTES),UTF8_OK)."</h3>\n<p class='liste_liens_btn'><a href='".PAGE_MAJ_FLUX."?id_flux=".$page[1]."' class='btn btn-info' rel='nofollow'>Modifier ou supprimer ce flux.</a></p>\n".get_html_liste_liens_simple($liens_flux,10);
if(!empty($source_infos))
$body_content.="<p>Site source : <a href='".$source_infos["url"]."' target='_blank' rel='nofollow'>".$source_infos["nom"]."</a>.</p>";
$body_content.="</div>";
require(TEMPLATE_REP."/page.php");