<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_22580"> <div class="blockcode"> <div id="code_TyH"><ol> <li> <li><?php<li>function list_files($dir)<li>{<li>if(is_dir($dir))<li>{<li>if($handle = opendir($dir))<li>{<li>while(($file = readdir($handle)) !== false)<li>{<li>if($file != "." && $file != ".." && $file != "Thumbs.db")<li>{<li>echo '< a target="_blank" href="'.$dir.$file.'">'.$file.'</a><br>'."n";</li> <li>}</li> <li>}</li> <li>closedir($ハンドル);</li> <li>}</li> <li>}</li> <li>}</li> <li>?></li> </ol></div> <em onclick="copycode($('code_TyH'));">复制代</em> </div> </td></tr></table> <div id="comment_22580" class="cm"> </div> <div id="post_rate_div_22580"></div> <br><br>