|
|
|
@ -49,9 +49,11 @@ $videoExts = array('url');
@@ -49,9 +49,11 @@ $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 |
|
|
|
|
//输出分类名称 |
|
|
|
|
echo <<<eof |
|
|
|
|
<div class="tgroup"> |
|
|
|
|
<a href="{$linkPrefix}/list/?id={$id}" class="morelink">更多>></a> |
|
|
|
|
<h3>{$item['name']}</h3> |
|
|
|
@ -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) { |
|
|
|
|