{extend name='akszadmin@main'} {block name="button"} {if auth("akszadmin/shop/add")}
{/if} {if auth("akszadmin/shop/remove")}
{/if} {/block} {block name="content"}
{include file='shop/index_search'}

{notempty name='list'}
|  | 商品图 | 商品标题 | 商品类型 | 商品库存 | 所需积分 |
--- | --- | --- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
|  | {notempty name='vo.img'} {/notempty} | {$vo.title|default='--'} | {if $vo.type == 1} 现金 {/if} {if $vo.type == 2} 实物 {/if} | {$vo.num|default='--'} | {$vo.integral|default='--'} | {if auth("akszadmin/shop/edit")} 编 辑 {else} 编 辑 {/if} {if auth("akszadmin/shop/remove")} 删 除 {else} 删 除 {/if}
{/foreach}

{empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty}
{/block}