{if $op== 'display'}
{php $goodsurl = $this->createMobileUrl('admingoods', array('storeid' => $storeid, 'op' => 'post'), true);} 添加
{php $url_search = $this->createMobileUrl('adminstore', array(), true);} {php $url_user = $this->createMobileUrl('usercenter', array(), true);}
{loop $restlist $item}
{if $item['status'] == 0} 已下架 {else} 已上架 {/if}

{$item['title']}

{if $item['isoptions']==1}[多规格]{/if}
{php $url1 = $this->createMobileUrl('admingoods', array('op' => 'post','id'=>$item['id'], 'storeid' => $storeid, 'cid' => $cid), true);} 编辑 {php $url2 = $this->createMobileUrl('admingoods', array('op' => 'setstatus','id'=>$item['id'], 'storeid' => $storeid, 'cid' => $cid), true);} {if $item['status'] == 1} 下架 {else} 上架 {/if}
价格:{$item['marketprice']}元 销量:{$item['sales']} 排序:{$item['displayorder']}
{/loop}
{php echo register_jssdk(false);} {php include $this->template($this->cur_tpl.'/_nave');} {/if}