{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} | 广告名称 | 广告类型 | 封面图片 | 启用 | 操作
--- | --- | --- | --- | --- | ---

{empty name="list"}
没有符合条件的记录
{else/} {foreach name="list" item="vo" key="k" }
{eq name='$main_lang' value='$admin_lang'} {/eq} | {eq name="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {$vo.title} {else /} {$vo.title} {/eq} | {$vo.type_name} | {volist name="$vo.ad" id="vs" length="1" } {eq name="$vo.type" value="1"}{$vo.ad_count}{/eq} {/volist} | {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" /}