X-Git-Url: http://git.dj3c1t.com/index.cgi?a=blobdiff_plain;f=web%2Fout%2Fdist%2Ffunctions.php;h=a44889a5c0a5390915e40c05533b138a67a00b61;hb=29b6377f43bf4477e04b57069cf779ac1b913bdb;hp=21ab7e9234a9027f507e89eec49864ca06cfed59;hpb=a21fbfe1301f83b72d2815899ff334445b7830cf;p=mtweb diff --git a/web/out/dist/functions.php b/web/out/dist/functions.php index 21ab7e9..a44889a 100644 --- a/web/out/dist/functions.php +++ b/web/out/dist/functions.php @@ -1,5 +1,6 @@ $max) @@ -50,31 +51,6 @@ } return $navig; } - - function aff_date($date) - { if(preg_match("/([0-9]{2,4})-([0-9]{1,2})-([0-9]{1,2})/", $date, $regs)) - { $date = $regs[3]." ".mois($regs[2])." ".$regs[1]; - } - return $date; - } - - function mois($n) - { switch($n) - { case 1: $mois = "jan"; break; - case 2: $mois = "fev"; break; - case 3: $mois = "mars"; break; - case 4: $mois = "avr"; break; - case 5: $mois = "mai"; break; - case 6: $mois = "juin"; break; - case 7: $mois = "juil"; break; - case 8: $mois = "aout"; break; - case 9: $mois = "sept"; break; - case 10: $mois = "oct"; break; - case 11: $mois = "nov"; break; - case 12: $mois = "dec"; break; - default: $mois = $n; - } - return $mois; - } + endif; ?> \ No newline at end of file