=0&&$SESSION_USER_ARCHIVES_JOURNAL==2)|| strcmp($result_article[DATE],date("Y-m-d",mktime(0,0,0,date("m"),date("d")-15,date("Y"))))>=0) permission('READ',16); else permission('READ',0); include($_SERVER["DOCUMENT_ROOT"]."/outils/php/dc_search.php"); include($_SERVER["DOCUMENT_ROOT"]."/outils/php/dc_reponse.php"); include($_SERVER["DOCUMENT_ROOT"]."/outils/php/dc_stats.php"); setlocale(LC_TIME,"fr_FR"); /* DATE de l'edition */ $editionDate = date("Y-m-d H:i:s"); $visu_document_categorie=1; if(!(strstr($result_article[CATEGORIE],$reqCAT)&&$result_article[TABLENAME]=="doc_articles"&& ($result_article[STATUS]=='PUBLIE'||$result_article[AUTEUR_ID]==$SESSION_USER_ID))|| ($result_article[AUTEUR_ID]!=$SESSION_USER_ID&&strcmp($result_article[DATE],date("Y-m-d H:i:s"))>0)){ header("location: /erreur.html"); exit(); } $file = $result_article[SRC_ORIGINAL]; $handle = fopen ($_SERVER["DOCUMENT_ROOT"].$file, "r"); $contents = fread ($handle, filesize ($_SERVER["DOCUMENT_ROOT"].$file)); fclose ($handle); $result_previous=doc_select( "doc_articles", array("doc.ID","doc.TITRE"), "doc.CATEGORIE='".$result_article[CATEGORIE]."' and doc.DATE<'".$result_article[DATE]."' and STATUS='PUBLIE'", null, array("doc.DATE","desc") ); $result_next=doc_select( "doc_articles", array("doc.ID","doc.TITRE"), "doc.CATEGORIE='".$result_article[CATEGORIE]."' and doc.DATE>'".$result_article[DATE]."' and STATUS='PUBLIE' and doc.DATE<'$editionDate'", null, array("doc.DATE","asc") ); $strsql="select AFFICHAGE,URL_RECEPTION from categories where NOM='$reqCAT'"; $result=dc_query($strsql); $retour_sommaire=dc_fetch_assoc($result); dc_stats("doc",$fileid); ?> Dechetcom - Brèves - <?=$result_article[TITRE]?>

Date de parution

Recherche par mots clés

A voir aussi
20)?substr($link[host],0,20)."...":$link[host])?>

Imprimer

.*/si", "/<\/body>.*<\/html>/si"), array("", ""), $contents)?>



Imprimer Droit de réponse



« article précédent
 
  article suivant »