Loading....
class readd_all_file{ function __construct() { $this->index(); } function index(){ $this->all_pic=array(); $dir_name="images"; $this->open_dir($dir_name); $this->dbg2($this->all_pic); } function open_dir($dir_name){ $IMAGES_fold=scandir($dir_name); foreach($IMAGES_fold as $fold){ if(in_array($fold,array(".",".."))){continue;} if(!is_dir($dir_name."/".$fold)){ $this->all_pic[]=$dir_name."/".$fold; }else{ $this->open_dir($dir_name."/".$fold); } } } }[14] => images/Buttons/1320202803_button.png [15] => images/Buttons/1320203926_button.png [16] => images/Buttons/1320203948_button.png [17] => images/Buttons/1320203966_button.png [18] => images/Buttons/1337051437_button.png [19] => images/Buttons/1337051451_button.png [20] => images/Buttons/mcith/mcith_1320202803_button.png [21] => images/Buttons/mcith/mcith_1320203926_button.png [22] => images/Buttons/mcith/mcith_1320203948_button.png [23] => images/Buttons/mcith/mcith_1320203966_button.png [24] => images/Buttons/mcith/mcith_1337051437_button.png [25] => images/Buttons/mcith/mcith_1337051451_button.png [26] => images/Buttons/mcith/mcith_tukendi_buton.png [27] => images/Buttons/mcith/mcith_tukendi_buton_en.png [28] => images/Buttons/mcith/mcith_yeni_buton.png [29] => images/Buttons/mcith/mcith_yeni_buton_en.png [30] => images/Buttons/refrsh.jpeg [31] => images/Buttons/tukendi_buton.png [32] => images/Buttons/tukendi_buton_en.png [33] => images/Buttons/yeni_buton.png [34] => images/Buttons/yeni_buton_en.png [35] => images/MiniSlide/1335804630_1.png [36] => images/MiniSlide/1335810909_1.png [37] => images/MiniSlide/1335812296_1.png [38] => images/MiniSlide/1335812377_.jpeg [39] => images/MiniSlide/1335812456_1.png [40] => images/MiniSlide/1335812484_1.png [41] => images/MiniSlide/1335812493_1.png [42] => images/MiniSlide/1335813419_1.png [43] => images/MiniSlide/1335813426_1.png [44] => images/MiniSlide/1335917378_1.png [45] => images/MiniSlide/1335917394_1.png [46] => images/MiniSlide/1336410058_1.gif [47] => images/MiniSlide/1336410066_1.gif [48] => images/MiniSlide/1336410103_1.gif [49] => images/MiniSlide/1336550136_1.jpeg [50] => images/MiniSlide/1336555136_1.jpeg Last Update: Posted by: müslüm ÇEN