6 * Printemps 2007 - 2012
7 * $Id: abomailmans_fonctions.php 58718 2012-02-20 13:00:39Z root $
10 if (!defined("_ECRIRE_INC_VERSION")) return;
12 function nettoie_chemin($chemin){
13 $liste = explode ("/", $chemin);
14 $dernier=count($liste)-1;
15 $chemin = str_replace('.html','',$liste[$dernier]);
16 $liste2 = explode('&',$chemin);
21 function noextension($chemin){
22 return str_replace('.html','',$chemin);
25 function recup_param($chemin){
26 $a = explode('&', $chemin);
28 while ($i < count($a)) {
29 $retour.= "&".htmlspecialchars(urldecode($a[$i]));
35 function array_param($params){
36 parse_str($params,$output);
40 function moins30($date) {
41 $moins30 = date('Y-m-d h:m:s', time()-24*3600*30);