/******************************************************************* * * Fichier : imprimersans.html * Créé le : 24 novembre 2002 * Dernière modif : 6 juillet 2003 * Email : bionet@tuxfamily.org * * © Copyright 2002-2003 bionet/biospip * *******************************************************************/ /******************************************************************* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. *******************************************************************/ ?>
Retour au format normal
25) echo '[(#SURTITRE)]' ; else { $nbdays = substr ('#SURTITRE',0,1); if ( $nbdays < 1 || $nbdays > 9 ) $nbdays = 1; if ($nbdays == 1) echo ' Le [(#DATE_REDAC|nom_jour)]'.' [(#DATE_REDAC|jour)]'.' [(#DATE_REDAC|nom_mois)]'; else { $date = ereg_replace("^([0-9]{4})-([0-9]{2})-([0-9]{2}).*$", "\\1\\2\\3", '#DATE_REDAC'); $year = substr($date,0,4); $month = substr($date,4,2); $day = substr($date,6,2); $datef = mktime ( 0 , 0 , 0 , $month , $day + $nbdays - 1 , $year ); $numjour = date ("w",$datef); $jour = date ("j",$datef); $nomjour = array('dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'); echo ' Du [(#DATE_REDAC|nom_jour)]'.' [(#DATE_REDAC|jour)]'.' [(#DATE_REDAC|nom_mois)] au '.$nomjour[$numjour].' '.$jour.''; } } ?>
#TITRE [
(#SOUSTITRE|majuscules)] 25) { echo ''; echo '[Première publication : '.'(#DATE_REDAC|affdate)]'.' [
Mise en ligne :'; echo ''.'(#DATE|affdate)]'.''; } ?>(#NOTES)]
par [#NOM
(#CHAPO|justifier)] [
(#TEXTE|justifier)] [P.S. (#PS)] [