|
|
|
@ -49,6 +49,8 @@ $videoExts = array('url');
@@ -49,6 +49,8 @@ $videoExts = array('url');
|
|
|
|
|
if (!empty($viewData['tags'])) { //显示tags分类 |
|
|
|
|
$tagIndex = 0; |
|
|
|
|
foreach($viewData['tags'] as $id => $item) { |
|
|
|
|
$category = $viewData['scanResults'][$item['id']]; |
|
|
|
|
if (!empty($category['files'])) { //一级目录支持,目录下直接存放视频文件 |
|
|
|
|
|
|
|
|
|
//输出分类名称 |
|
|
|
|
echo <<<eof |
|
|
|
@ -59,9 +61,7 @@ if (!empty($viewData['tags'])) { //显示tags分类
@@ -59,9 +61,7 @@ if (!empty($viewData['tags'])) { //显示tags分类
|
|
|
|
|
<div class="clearfix"> |
|
|
|
|
eof; |
|
|
|
|
|
|
|
|
|
$category = $viewData['scanResults'][$item['id']]; |
|
|
|
|
|
|
|
|
|
if (!empty($category['files'])) { //一级目录支持,目录下直接存放视频文件 |
|
|
|
|
|
|
|
|
|
$cate_files = Html::sortFilesByCreateTime($category['files'], 'desc'); //按创建时间排序 |
|
|
|
|
foreach($cate_files as $index => $file) { |
|
|
|
|