<?php header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 $my = date(m_Y); $file="commequi_$my.log"; $referer=getenv("HTTP_REFERER"); $url = parse_url($referer); $chemin = $url["path"]; //echo "chemin : $chemin<br />"; if ($chemin == "/publication/forum.php3") {} else { $val1 = substr($referer,7); $val2 = split( "/",$val1,2); $titre_page = "/$val2[1]"; $ip=getenv( "REMOTE_ADDR"); $host=gethostbyaddr($ip); $expl=getenv("HTTP_USER_AGENT"); $for=getenv("HTTP_X_FORWARDED_FOR"); $d = date("d/m/Y H:i:s"); $ligne = "$d ; $host($ip) ; $for ; $expl ; $titre_page\r\n"; $flog = fopen($file,"a"); $rc = fputs($flog,$ligne); $rc = fclose($flog); } ?> <? include($inclusions."ac-doctype.html"); ?> <BOUCLE_deb(ARTICLES){id_article}> <? include($inclusions.'entete.php3'); entete("#TITRE","#SURTITRE","#PS","#DESCRIPTIF"); ?> <BOUCLE_lemot(MOTS){id_article}> <BOUCLE_biblio(ARTICLES){id_rubrique=35}> <BOUCLE_biblio2(ARTICLES){id_rubrique}{id_mot}> <? $biblio_art = #ID_ARTICLE; ?> </BOUCLE_biblio2> </BOUCLE_biblio> <BOUCLE_apl(ARTICLES){id_rubrique=49}> <BOUCLE_apl2(ARTICLES){id_rubrique}{id_mot}> <? $apl_art = #ID_ARTICLE; ?> </BOUCLE_apl2> </BOUCLE_apl> <BOUCLE_agenda(ARTICLES){id_rubrique=74}> <BOUCLE_agenda2(ARTICLES){id_rubrique}{id_mot}> <? $agenda_art = #ID_ARTICLE; ?> </BOUCLE_agenda2> </BOUCLE_agenda> </BOUCLE_lemot> <a name="haut"></a> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center" valign="top" width="125" bgcolor="#bbe1bd"> <? include($inclusions."ac-logo.html"); ?> <INCLURE(ac-bandeau_vertical.php3)></td> <td width="3">&nbsp;</td> <td align="center" valign="top"> <INCLURE(ac-bandeau_horizontal.php3)> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td valign="top"> <p style="text-indent:0;text-align:left;">&gt; Échanger/participer &gt; <BOUCLE_rubr(RUBRIQUES){id_rubrique}><a href="#URL_RUBRIQUE">#TITRE</a></BOUCLE_rubr> &gt; <span style="font-family:verdana;font-size:11px;color:#40ad48;">#TITRE</span> <br /><a href="javascript:history.back();">Retour</a><br /></p> <table width="100%" cellspacing="0" cellpadding="4" border="0"> <tr> <td valign="top" bgcolor="#fff8f2"> <BOUCLE_cite(ARTICLES){id_article}> [<div class="citation_droite">&nbsp;<br />&nbsp;<br />(#CHAPO) </div>] <? /* /td></tr></table */ ?> <div class="texte">#TEXTE <p class="spip_note">#NOTES </div><hr /> <div class="texte"> <INCLURE(ac-forum.php3){id_article}> </div>&nbsp;<br /> </td></tr><tr><td bgcolor="#ffffff"> <p>Date de publication : [(#DATE|affdate)]</p> </BOUCLE_cite> </td> </tr></table> <div align="right"><br /><a href="#haut" style="font-size:10px;">&nbsp;Haut de page&nbsp;</a></div> </td> <td width="24">&nbsp;</td> <td width="195" valign="top"> <table border="0" align="right" width="100%"><tr><td> <? include($inclusions."ac-imprimer_envoyer.html"); ?> </td></tr> <tr><td> <? include($inclusions."ac-forum_infos_droite.html"); ?> &nbsp;<br /><span class="liste">Les forums</span> <div style="text-align:left;font-size:10px;line-height:13px;background-color:#eaeaea;padding:3px;"><ul class="lart"> <BOUCLE_lart(ARTICLES){id_rubrique}{par date}{inverse}>[(#EXPOSE{<li class="lart"><span class="lartla">#TITRE</span></li>,<li class="lart"><a class="lart" href="#URL_ARTICLE">#TITRE</a></li>})] </BOUCLE_lart></ul> </div> </td></tr> <tr><td><br />&nbsp;<br /> </td></tr> <tr><td> <? include($inclusions."ac-teasing.html"); ?> </td></tr> </table> </td> <td width="7">&nbsp;</td> </tr> <tr> <td align="center" colspan="4"> <hr /> <div class="barre"> <? include($inclusions."ac-forum_infos_bas.html"); ?> </div> </td> </tr> </table> <? $url_squel = "#SQUELETTE"; include($inclusions.'ac-bas.html'); ?></td> </tr> </table> </body> </BOUCLE_deb> </html>