Momentan acest serviciu este indisponibil.
"); //running the while loop while ($file = readdir($dir_handle)) { $hcl[]=$file; } $dqq=0; $fqq=0; $fqq2=0; sort($hcl); $dir=""; $imagini=""; foreach($hcl as $val) { if (($val != ".")and($val!="..")and(is_dir("$path/".$val))) { unset($fisier_temp); $dir_handle2 = opendir("$path/$val/") or die("
Momentan acest serviciu este indisponibil.
"); while ($file2 = readdir($dir_handle2)) { if (($file2 != ".")and($file2!="..")and(is_file("galerie/$val/".$file2))) $fisier_temp[]=$file2; } $x=rand(0,count($fisier_temp)-1); $tumb=$fisier_temp[$x]; $dir.="

".$val."
"; $fqq2++; if ($fqq2%4==0) $dir.=""; } if (($val != ".")and($val!="..")and(!is_dir("$path".$val))) { $titlu_size=strlen($val)-4; $x=''; if ($titlu_size>18) {$titlu_size=18;$x="..";} $imagini.=" "; $fqq++; if ($fqq%4==0) $imagini.=""; } } if($dir!='') echo("
Albume disponibile:
".$dir. "
"); if(trim($imagini)!='') echo(""); //echo ("
"); //closing the directory closedir($dir_handle); ?>
Realizare si gazduire Web: Digital Cable S.A.