{include file="wechat_header"}
素材选择
{if $type == 'news'}
{loop $list $key $val} {if $key%2 == 0}
{if $val['article_id']}
{loop $val['articles'] $k $v} {if $k == 0}

{date('Y年m月d日', $v['add_time'])}

{$v['title']}
{else}
{$v['title']}
{/if} {/loop}
{else}

#### {$val['title']}

{date('Y年m月d日', $val['add_time'])}

{$val['content']}

{/if}
{/if} {/loop}
{loop $list $key $val} {if ($key+1)%2 == 0}
{if $val['article_id']}
{loop $val['articles'] $k $v} {if $k == 0}

{date('Y年m月d日', $v['add_time'])}

{$v['title']}
{else}
{$v['title']}
{/if} {/loop}
{else}

#### {$val['title']}

{date('Y年m月d日', $val['add_time'])}

{$val['content']}

{/if}
{/if} {/loop}
{else}

{loop $list $key $val}
- {$val['file_name']}
  {$val['size']}
  {date('Y-m-d H:i:s', $val['add_time'])}
  {if $val['type'] == 'voice'} {elseif $val['type'] == 'video'} {else} {/if}
{/loop}

{/if}
{include file="pagefooter"}