{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.start_time} | {$Think.lang.end_time} | {$Think.lang.ds_state} | {$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.ds_open}{else/}{$Think.lang.ds_close}{/eq} | {$Think.lang.ds_edit} {if ($v.activity_state eq '0') OR ($v.activity_state lt time())} {$Think.lang.ds_del} {/if} 添加活动
{/foreach} {else /}
{$Think.lang.ds_no_record}
{/notempty}

{$show_page}