{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} | {$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" /}