2 function listFolderFiles($dir){
6 if($ff != '.' && $ff != '..' && $ff != 'del'){
8 if (filter_var($ff, FILTER_VALIDATE_EMAIL
)) {
9 /*echo $ff."/info.txt";
10 if (file_exists($ff."/info.txt")) {*/
11 $f = substr($ff, 0, 1);
12 $s = substr($ff, 1, 1);
13 $__tmp = file(ADBD_PATH
.$f."/".$s."/".$ff."/"."info.txt");
14 /*$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";*/
15 /*echo $actual_link."<br>";*/
16 if ($ff != "xerxes01@me.com") {
17 echo "<li><a href=\"http://be.2ch.net/artist/artist.php?alist&v=".$__tmp[0]."\">".$ff."</a></li>";
21 if(is_dir($dir.'/'.$ff)) listFolderFiles($dir.'/'.$ff);
28 $listdir = "/home/adb";
29 listFolderFiles($listdir);