{include file="public/header" /}

### {$Think.lang.adv_index_manage}

{include file="public/admin_items" /}

{$Think.lang.adv_ap_id}

{if $filtered} {$Think.lang.ds_cancel} {/if}

| {$Think.lang.adv_name} | {$Think.lang.adv_ap_id} | {$Think.lang.adv_sort} | {$Think.lang.adv_clicknum} | {$Think.lang.adv_code} | {$Think.lang.adv_enabled} | {$Think.lang.start_time} | {$Think.lang.end_time} | {$Think.lang.ds_handle}
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{notempty name="adv_info"} {foreach name="adv_info" item="v"}
| {$v.adv_title} | {foreach name="ap_list" item="ap_v"} {if $ap_v.ap_id === $v.ap_id } {$ap_v.ap_name} {/if} {/foreach} | {$v.adv_sort} | {$v.adv_clicknum|default='0'} |  | {if $v.adv_enabled eq '0'} {else /} {/if} | {$v.adv_startdate|date='Y-m-d',###} | {$v.adv_enddate|date='Y-m-d',###} | {$Think.lang.ds_edit} {$Think.lang.ds_del}
{/foreach} {else /}
{$ap_name}{$Think.lang.ds_no_record}
{/notempty}

{$show_page}