{include file="public/header" /}

### {$Think.lang.ds_activity_manage}

#####

{include file="public/admin_items" /}

{$Think.lang.activity_index_title}

{$Think.lang.activity_index_periodofvalidity}
  ~

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

#### {$Think.lang.ds_explanation}

- {$Think.lang.activity_index_help1}
- {$Think.lang.activity_index_help2}
- {$Think.lang.activity_index_help3}
- {$Think.lang.activity_index_help4}

{$Think.lang.ds_sort} | {$Think.lang.activity_index_title} | {$Think.lang.activity_index_banner} | {$Think.lang.activity_index_start} | {$Think.lang.activity_index_end} | {$Think.lang.activity_openstate} | {$Think.lang.ds_handle}
--- | --- | --- | --- | --- | --- | ---
{notempty name="activity_list"} {foreach name="activity_list" item="v"}
{$v.activity_sort} | {$v.activity_title} |  | {$v.activity_startdate|date="Y-m-d",###} | {$v.activity_enddate|date="Y-m-d",###} | {eq name="v.activity_state" value="1"}{$Think.lang.activity_openstate_open}{else/}{$Think.lang.activity_openstate_close}{/eq} | {$Think.lang.ds_edit} {if ($v.activity_state eq '0') OR ($v.activity_state lt time())} {$Think.lang.ds_del} {/if} {$Think.lang.activity_index_deal_apply}
{/foreach} {else /}
{$Think.lang.ds_no_record}
{/notempty}

{$show_page}