1 2 3 4 5 6 7 8 9 | $dh = dir($templetdird); while($filename=$dh->read()) { if(!preg_match("#\.htm#", $filename)) continue; $filetime = filemtime($templetdird.'/'.$filename); $filetime = MyDate("Y-m-d H:i",$filetime); $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); ?> |
1 2 3 4 5 6 7 8 9 | $files = scandir($templetdird); foreach ($files as $filename) { if(!preg_match("#\.htm#", $filename)) continue; $filetime = filemtime($templetdird.'/'.$filename); $filetime = MyDate("Y-m-d H:i",$filetime); $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); ?> |
欢迎光临 时时商务社区 (http://bbs.4435.cn/) | Powered by Discuz! X3.2 |