{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}
{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} {/foreach} {/empty}
{$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} 标签调用
{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" /}