{if $op== 'display'}
{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['status'] == 1} 已开台 {else if $item['status'] == 2} 已下单 {else if $item['status'] == 3} 已支付 {/if}

{$item['title']}

{php $url1 = $this->createMobileUrl('admintables', array('op' => 'post','id'=>$item['id'], 'storeid' => $storeid, 'cid' => $cid), true);} 编辑 {php $url2 = $this->createMobileUrl('admintables', array('op' => 'setstatus','id'=>$item['id'], 'storeid' => $storeid, 'cid' => $cid), true);} {if $item['status'] <> 0} 清台 {else} 开台 {/if}
{/loop}
{php echo register_jssdk(false);} {php include $this->template($this->cur_tpl.'/_nave');} {/if}