Pseudo:
Mot de Passe:
Mot de passe oublié ? - Rejoignez-nous !
 
Notre chat gratuitNos soirées partenaires
Tchat Vidéo
Présence 
 
Livraison de fleurs
Voyages
Tee-shirt Personnalisé
rencontre-parisSoirées à Paris
Astro Couple
Astro Drague
Soirées
Warning! Date Operations Fail... "; if(!$date || !$operation) { return "$warning invalid or inexistent arguments
"; }else{ if(!($operation == "sub" || $operation == "-" || $operation == "sum" || $operation == "+")) return "
$warning Invalid Operation...
"; else { // Separa dia, mês e ano list($year,$month,$day) = split("-", $date); // Determina a operação (Soma ou Subtração) ($operation == "sub" || $operation == "-") ? $op = "-" : $op = ''; // Determina aonde será efetuada a operação (dia, mês, ano) if($where == "day") $sum_day = $op."$quant"; if($where == "month") $sum_month = $op."$quant"; if($where == "year") $sum_year = $op."$quant"; // Gera o timestamp $date = mktime(0, 0, 0, $month + $sum_month, $day + $sum_day, $year + $sum_year); // Retorna o timestamp ou extended ($return_format == "timestamp" || $return_format == "ts") ? $date = $date : $date = date("Y-m-d", "$date"); // Retorna a data return $date; } } } // Lecture d'un fichier XML function lit_rss($fichier,$champs) { // on lit le fichier if($chaine = @implode("",@file($fichier))) { // on explode sur $tmp = preg_split("//",$chaine); // pour chaque for($i=1;$i foreach($champs as $champ) { $tmp2 = preg_split("//",$tmp[$i]); // on ajoute au tableau $tmp3[$i-1][] = @$tmp2[1]; } // et on retourne le tableau return $tmp3; } } function GetRegion($d) { if($d=='75' ||$d=='77' || $d=='78' ||$d=='91' ||$d=='92' ||$d=='93' ||$d=='94' ||$d=='95') return 1; else if($d=='04' ||$d=='05' ||$d=='06' ||$d=='13' ||$d=='83' ||$d=='84'||$d=='98') return 2; else if($d=='31') return 3; else if($d=='01' ||$d=='07' ||$d=='38' ||$d=='39' ||$d=='42' ||$d=='69'||$d=='71') return 4; else if($d=='34') return 5; } function changeToXml($val) { $val = str_replace( "/" , "" , $val ); $val = str_replace( "
" , "r" , $val ); $val = str_replace( "&" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); $val = str_replace( "" , "" , $val ); return $val; } ?>
 
Identifiez-vousArticlesBlogAnnuaire | AffiliésInviter un ami  |  Contactez-Nous |