{include file="public/layout" /}
{include file="other/bar" /}

### 广告列表

##### (共{$pager->totalRows}条记录)

{$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} | {$ad_position[$vo['pid']]['title']|default='数据出错！'} |  | {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="$Think.const.CONTROLLER_NAME.'@edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq}
{/foreach} {/empty}

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