{template 'common/header'}
素材管理
{if $type == 'news'}
{loop $material_list $material}
{php echo date('Y年m月d', $material['createtime'])} {if $material['model'] == 'local'} {else} {if in_array($_W['account']['type'], array(ACCOUNT_TYPE_XZAPP_NORMAL, ACCOUNT_TYPE_XZAPP_AUTH))} {else} {/if} {/if} {if $material['prompt_msg'] && $material['model'] != 'local'}
图文内容不完整
请补全每一篇图文的封面图、标题和正文
{/if}
{loop $material['items'] $key $material_row} {if !empty($key)}
{if !empty($material_row['thumb_url'])}
{/if}

{$material_row['title']}

{if !empty($material_row['thumb_url']) && !empty($material_row['url'])}

预览文章

{/if}
{/if} {/loop}
    {if $material['model'] == 'perm'}
  • {else}
  • {/if}
  •  
  •  
{/loop}
{elseif $type == 'image'}
{if $_W['account']['level'] > 2 || $_W['account']['type'] == ACCOUNT_TYPE_XZAPP_NORMAL && $_W['account']['isconnect'] = 1} 同步{$_W['account']['type_name']} {/if} {if $server == MATERIAL_WEXIN} 上传{$_W['account']['type_name']}图片 {else} 上传服务器图片 {/if}
    {loop $material_list $image}
  • {if $server == 'local'} {else} {if in_array($_W['account']['type'], array(ACCOUNT_TYPE_XZAPP_NORMAL, ACCOUNT_TYPE_XZAPP_AUTH))} {else} {/if} {/if} {$image['filename']}
    {if $server == 'local' || !empty($_W['setting']['remote']['type'])} {else} {/if}
      {if $server == 'local'}
    • {else}
    • {/if}
    •  
  • {/loop}
{elseif $type == 'voice'}
{if $_W['account']['level'] > 2 && $_W['account']['isconnect'] = 1} 同步{$_W['account']['type_name']} {/if} {if $server == MATERIAL_WEXIN} 上传{$_W['account']['type_name']}语音 {else} 上传服务器语音 {/if}
    {loop $material_list $voice}
  • {if $server == 'local'} {else} {if in_array($_W['account']['type'], array(ACCOUNT_TYPE_XZAPP_NORMAL, ACCOUNT_TYPE_XZAPP_AUTH))} {else} {/if} {/if} {php echo date('m月d日', $voice['createtime'])}
    {$voice['attachment']}
    {php echo date('h:i', $voice['createtime'])}
      {if $server == 'local'}
    • {else}
    • {/if}
    •  
  • {/loop}
{elseif $type == 'video'}
{if $_W['account']['level'] > 2 && $_W['account']['isconnect'] = 1} 同步微信 {/if} {if $server == MATERIAL_WEXIN} 上传微信视频 {else} 上传服务器视频 {/if}
    {loop $material_list $video}
  • {if $server == 'local'} {else} {/if} {$video['filename']}
      {if $server == 'local'}
    • {else}
    • {/if}
    •  
  • {/loop}
{/if}
{$pager}
{template 'common/footer'}