{include file="public/layout" /}
{eq name='$main_lang' value='$admin_lang'} {eq name="$Think.const.CONTROLLER_NAME.'@add'|is_check_access" value="1"}
新增广告
{/eq} {/eq}
{$searchform.hidden|default=''}

{eq name='$main_lang' value='$admin_lang'} {/eq} | ID | 广告名称 | 封面图片 | 图片数量 | 启用 | 操作
--- | --- | --- | --- | --- | --- | ---

{empty name="list"}
没有符合条件的记录
{else/} {foreach name="list" item="vo" key="k" }
{eq name='$main_lang' value='$admin_lang'} {/eq} | {$vo.id} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {$vo.title} {else /} {$vo.title} {/eq} | {volist name="$vo.ad" id="vs" length="1" } {/volist} | {$vo.ad|count} | {if condition="$vo['status'] eq 1"} 是 {else /} 否 {/if} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} 编辑 {/eq} {eq name='$main_lang' value='$admin_lang'} {eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"} 删除 {/eq} {/eq} 标签调用
{/foreach} {/empty}

{eq name='$main_lang' value='$admin_lang'}
{eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"}
批量删除
{/eq} {/eq} {include file="public/page" /}
{include file="public/footer" /}