= 1073741824) {$taille = round($taille / 1073741824 * 100) / 100 . " G".$size_unit;} elseif ($taille >= 1048576) {$taille = round($taille / 1048576 * 100) / 100 . " M".$size_unit;} elseif ($taille >= 1024) {$taille = round($taille / 1024 * 100) / 100 . " K".$size_unit;} else {$taille = $taille . " ".$size_unit;} if($taille==0) {$taille="-";} return $taille; } function date_modif($fichier) { $tmp = filemtime($fichier); return date("d/m/Y H:i",$tmp); } function slash() { global $prefix, $racine; if(ereg("\\\\",$racine)){$slash="\\";} else {$slash="/";} return $slash; } function deldir($location) { if(is_dir($location)) { $all=opendir($location); while ($file=readdir($all)) { if (is_dir($location.slash().$file) && $file <> ".." && $file <> ".") { deldir($location.slash().$file); if(file_exists($location.slash().$file)){rmdir($location.slash().$file); } unset($file); } elseif (!is_dir($location.slash().$file)) { unlink($location.slash().$file); unset($file); } } closedir($all); rmdir($location); } else { unlink($location); } } function enlever_controlM($fichier) { $fic=file($fichier); $fp=fopen($fichier,"w"); while (list ($cle, $val) = each ($fic)) { $val=str_replace(CHR(10),"",$val); $val=str_replace(CHR(13),"",$val); fputs($fp,"$val\n"); } fclose($fp); } function traite_nom_fichier($nom) { global $prefix, $max_caracteres; $nom=stripslashes($nom); $nom=str_replace("'","",$nom); $nom=str_replace("\"","",$nom); $nom=str_replace("\"","",$nom); $nom=str_replace("&","",$nom); $nom=str_replace(",","",$nom); $nom=str_replace(";","",$nom); $nom=str_replace("/","",$nom); $nom=str_replace("\\","",$nom); $nom=str_replace("`","",$nom); $nom=str_replace("<","",$nom); $nom=str_replace(">","",$nom); $nom=str_replace(" ","_",$nom); $nom=str_replace(":","",$nom); $nom=str_replace("*","",$nom); $nom=str_replace("|","",$nom); $nom=str_replace("?","",$nom); $nom=str_replace("","e",$nom); $nom=str_replace("","e",$nom); $nom=str_replace("","c",$nom); $nom=str_replace("@","",$nom); $nom=str_replace("","a",$nom); $nom=str_replace("","e",$nom); $nom=str_replace("","i",$nom); $nom=str_replace("","o",$nom); $nom=str_replace("","u",$nom); $nom=str_replace("","u",$nom); $nom=str_replace("","a",$nom); $nom=str_replace("!","",$nom); $nom=str_replace("","",$nom); $nom=str_replace("+","",$nom); $nom=str_replace("^","",$nom); $nom=str_replace("(","",$nom); $nom=str_replace(")","",$nom); $nom=str_replace("#","",$nom); $nom=str_replace("=","",$nom); $nom=str_replace("$","",$nom); $nom=str_replace("%","",$nom); $nom=str_replace("","ae",$nom); $nom=str_replace("","Ae",$nom); $nom=str_replace("","oe",$nom); $nom=str_replace("","Oe",$nom); $nom=str_replace("","ue",$nom); $nom=str_replace("","Ue",$nom); $nom=str_replace("","ss",$nom); if (strlen($nom)> $max_caracteres) { $ext = substr($nom, (strrpos($nom,'.') + 1)); $nom = substr ($nom,0,$max_caracteres-4); $nom = $nom.".".$ext; } return $nom; } //----------------------------------------------------------------------------------------------------------------------------------------- // MAIN //----------------------------------------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------------------------------------- // DEPLACER / MOVE //----------------------------------------------------------------------------------------------------------------------------------------- function moveFile($fic, $dest) { //$rep=stripslashes($rep); $fic=stripslashes($fic); $dest=stripslashes($dest); if($dest!="") {$destination=$dest.slash();} $destination.=basename($fic); if(file_exists($fic)) {copy($fic,$destination);} if($fic!=$destination) {if(file_exists($fic)) {unlink($fic);}} $messtmp= "\n"; $messtmp.= sprintf(_CINFILEMOVED, $fic)." "; $err=0; if($dest=="") {$messtmp.= "/";} else {$messtmp.= "$dest";} $messtmp.= "\n"; $messtmp.= "\n"; if ($err!=0) return $messtmp; else return $err; } //----------------------------------------------------------------------------------------------------------------------------------------- // SUPPRIMER / DELETE //----------------------------------------------------------------------------------------------------------------------------------------- function deleteFile($rep, $fic) { $rep=stripslashes($rep); $fic=stripslashes($fic); $messtmp=""; $a_effacer=$fic; if(file_exists($a_effacer)) { if(is_dir($a_effacer)){deldir($a_effacer);$messtmp.=sprintf(_CINFILEDELETED, $fic);} else {unlink($a_effacer); $messtmp.=sprintf(_CINFILEDELETED2, $fic);} } else {$messtmp.=_CINFILEDELETED3;} $messtmp.=""; return $messtmp; } //----------------------------------------------------------------------------------------------------------------------------------------- // RENOMMER / RENAME //----------------------------------------------------------------------------------------------------------------------------------------- function renameFile($fic) { $err=""; $rep=stripslashes($rep); $fic=stripslashes($fic); $nom_fic=basename($fic); $messtmp=""; $fic_new=traite_nom_fichier($fic_new); $old=$racine.slash().$fic; $new=dirname($old).slash().$fic_new; if($fic_new=="") { $messtmp.= _CINFILERENAMED; $err=1; } else if(file_exists($new)) { $messtmp.=sprintf(_CINFILERENAMED1, $fic_new); $err=1; } else { rename($old,$new); $messtmp.=sprintf(_CINFILERENAMED2, $fic, $fic_new); } $messtmp.=""; if ($err!=0) return $messtmp; else return "OK"; } //----------------------------------------------------------------------------------------------------------------------------------------- // CREER UN REPERTOIRE / CREATE DIR //----------------------------------------------------------------------------------------------------------------------------------------- function makeDir($rep, $nomdir) { $rep=stripslashes($rep); //$nomdir=traite_nom_fichier($nomdir); if($nomdir=="") { $err=1; return _CINFILECREATED; } else if(file_exists("$rep/$nomdir")) { $err=2; return _CINFILECREATED1; } else { umask(000); $ret = @mkdir("$rep/$nomdir",0777); if ($ret) { $messtmp = sprintf(_CINFILECREATED2, $nomdir); $messtmp.=""; if($rep=="") {$messtmp.="/";} else {$messtmp.="$rep";} $messtmp.=""; $err=0; return "OK"; } else { $err=1; return _CINCREATECATERROR; } } } //----------------------------------------------------------------------------------------------------------------------------------------- // UPLOAD //----------------------------------------------------------------------------------------------------------------------------------------- function UploadFile($rep, $userfile, $userfile_name, $userfile_size) { $rep=stripslashes($rep); if($rep!=""){$rep_source=$rep;} $destination=$rep_source; if ($userfile_size!=0) {$taille_ko=$userfile_size/1024;} else {$taille_ko=0; $err=1; return _CINUPLOADERROR; } if ($userfile=="none") {$err=2; return _CINUPLOADERROR2;} if ($userfile!="none" && $userfile_size!=0) { $userfile_name=traite_nom_fichier($userfile_name); if (!@move_uploaded_file($userfile, "$destination/$userfile_name")) { $err=3; return _CINUPLOADERROR3; } else { /* if(eregi("\.txt","$userfile_name") ||eregi("\.html","$userfile_name") ||eregi("\.htm","$userfile_name") ||eregi("\.php","$userfile_name") ||eregi("\.php3","$userfile_name") ||eregi("\.htaccess","$userfile_name") ||eregi("\.htpasswd","$userfile_name") ||eregi("\.pl","$userfile_name") ||eregi("\.cgi","$userfile_name") ||eregi("\.js","$userfile_name") ) { enlever_controlM("$destination/$userfile_name"); } */ @chmod("$destination/$userfile_name",0664); $message = sprintf(_CINFILEUPLOADED1, $userfile_name, $rep); $err=0; return "OK"; } } } ?> Ariafritta - AL CINEMA

 Pagina iniziale  Guestbook  FORUM  Tuo Account  Cambia Template  Guida al Sito  il creatore: [[[ SILVER ]]]  Ariafritta in TV  Esci - Logout vota:  


Pagina iniziale
Cartoline Animate
Eventi in corso
Privacy
Scrivici
SITI TOP
Tips & Tricks
Top 10
Tuo Account
Vostre Poesie
Vostri Giornali



.:: Frivolezze ::.
.:: Utilit ::.
.:: Nel Sito ::.



Ciao viandante
Nickname
Password

Non hai l'Account?
[[ CREALO QUI ]]
Iscritti:
Ultimo: xdodo49
Totale: 7613

Online adesso:
Visitatori: 80
Iscritti: 0
Totale: 80





Mondofritto








WebSito

[ Cinema | TOP 10 ]     Totale 73 Foto

Cinema >> Cinema


[<<] . 1 . 2 . 3 . [>>]

del
Dec 17 2006
Vista
3938



del
Dec 17 2006
Vista
4213



del
Dec 17 2006
Vista
3929



del
Dec 17 2006
Vista
4941



kermit.jpg

del
Dec 05 2006
Vista
4276



arma letame.jpg

del
Dec 05 2006
Vista
4315



tomb-spider.jpg

del
Dec 05 2006
Vista
3520



b-jones.jpg

del
Dec 05 2006
Vista
3789



playtoy.jpg

del
Dec 05 2006
Vista
4107



starsky-hooch.jpg

del
Dec 05 2006
Vista
3771



shrek-future.jpg

del
Dec 05 2006
Vista
3812



scooby-forever.jpg

del
Dec 05 2006
Vista
4158



monster-oz.jpg

del
Dec 05 2006
Vista
3690



mulan-rouge.jpg

del
Dec 05 2006
Vista
3929



final-fantasia.jpg

del
Dec 05 2006
Vista
3658



charliespuff.jpg

del
Dec 05 2006
Vista
3696



smib.jpg

del
Dec 05 2006
Vista
3288



spider-doo.jpg

del
Dec 05 2006
Vista
3744



toyminator.jpg

del
Dec 05 2006
Vista
3671



jurassic-gump.jpg

del
Dec 05 2006
Vista
3882



toy-tron.jpg

del
Dec 05 2006
Vista
3567



star-wars-evo.jpg

del
Dec 05 2006
Vista
3560



colazione-rouge.jpg

del
Dec 05 2006
Vista
4028



muppets-return.jpg

del
Dec 05 2006
Vista
3569



termijones.jpg

del
Dec 05 2006
Vista
3532



muppinblack.jpg

del
Dec 05 2006
Vista
3341



magn7nani.jpg

del
Dec 05 2006
Vista
3465



jekyll-db.jpg

del
Dec 05 2006
Vista
3562



muppet-river.jpg

del
Dec 05 2006
Vista
3307



freddys-toy.jpg

del
Dec 05 2006
Vista
3394




[<<] . 1 . 2 . 3 . [>>]

:
 



Altre 5 a caso:Clicca per vedereClicca per vedereClicca per vedereClicca per vedereClicca per vedere



Ariafritta un Sito fatto di semplice umorismo e non contiene volgarit di nessun genere.
Tutto il materiale di propriet di Ariafritta coperto da Copyright . Vietata la copia senza il consenso del Webmaster.