チェンジセット 114
- コミット日時:
- 2010/09/15 16:00:27 (14 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/php/showplaylist.php
r106 r114 101 101 102 102 foreach($m2pfiles as $pathfName) { 103 103 104 $fNametmp = split("/",$pathfName); 104 105 $fName = array_pop($fNametmp); 105 106 //print "FILENAME:$fName<BR>\n"; 106 107 107 if(($fName == ".") or ($fName == "..") ){ continue; } 108 if ((ereg(".m2.+", $fName))|| (ereg(".aac", $fName))){ 109 $filesplit = split("-",$fName); 110 108 if(($fName == ".") or ($fName == "..") ){ continue; } 109 if ((ereg(".m2.+", $fName))|| (ereg(".aac", $fName))){ 110 $filesplit = split("-",$fName); 111 112 if (preg_match("/^\d+$/", $filesplit[0])) {// print "File is looks like good:preg<br>\n"; 111 113 if ($filesplit[1] == ""){ 112 114 $query = " … … 125 127 $subtitle = ""; 126 128 $count = ""; 129 127 130 }else{ 128 131 … … 165 168 print "</tr>\n 166 169 "; 170 }else{ 171 //print "File is looks like BAD:preg<br>\n"; 172 }// 173 167 174 }//ereg 168 175 }//foreach