{include file='ebcms@common/header' /} {php} $default_tag = \ebcms\Config::get('content.tag'); $where = []; if(input('tag')){ $where = [ 'tag' => input('tag'), ]; } $data = \app\content\model\Tag::with('content') -> where($where) -> order('content_id desc') -> select(); {/php}
{php} $tags = \think\Db::name('content_tag') -> group('tag') -> column('tag'); {/php} {foreach name='tags' item='vo'} {$vo} {/foreach}
{if condition="input('tag')"}| 选择 | 标题 | 状态 | 浏览量 | 创建时间 |
|---|---|---|---|---|
| {neq name='content.thumb' value=''} {/neq} {$content.title} | {switch name='content.status'} {case value='99'} {/case} {case value='1'} {/case} {default/} {/switch} | {$content.click} | {$content.create_time|date='Y-m-d H:i:s',###} | |
| 选择 | 建议定期将过久的内容从标签中移除出去以提升前台性能! | |||
请选择标签以管理数据!
建议定期将过久的内容从标签中移除出去以提升前台性能!