{include(header)} {include(label.shop.top)} {set $arr=fun_kj::get_ads('B1-shop'.$shopinfo['shop_id'],1)} {if(isset($arr['list']) && count($arr['list'])>0)}
{foreach($arr['list'] as $item)}
{/foreach}
<
>
{foreach($arr['list'] as $item)} {/foreach}
{else if(isset($arr['html']) && trim($arr['html'])!='')}
{$arr['html']}
{/if}
{if($arr_menu['type']==2 && !isset($table_reserve))}
- 桌位状态
- {foreach($arr_table as $item)} 有位{$item['table_name']} {/foreach}
- 先订桌位
{else if(isset($table_reserve))}
- 我的桌位

- 时间：{$table_reserve['datetime']}

  桌号：{$table_reserve['reserve_tablename']}

  人数：{$table_reserve['reserve_num']}

  姓名：{$table_reserve['reserve_name']}

  电话：{$table_reserve['reserve_tel']}

- 查看详情
{/if} {include(label.shop.right)}
{if($shopinfo['shop_service']==0 || $shopinfo['shop_service']==3)}
- 外卖{if($shopinfo['shop_service']==3)}选座{/if}评价
{else}
- 选座{if($shopinfo['shop_service']==4)}外卖{/if}评价
{/if}
- {foreach($arr_menu["list"] as $item)} {$item['name']} {/foreach}
{include(index.shop.list)}
{include(footer)}
{if($shopinfo['shop_day_limit']>0 && $shopinfo['shop_day_sold']>=$shopinfo['shop_day_limit'])}

- # 今日已售完，明天继续

{else if($shopinfo['shop_state']==-1 || empty($cfg_opentime['list']))}

- # {if(empty($shopinfo['shop_close_tips']))}东家有事，暂停营业{else}{$shopinfo['shop_close_tips']}{/if}

{else if($cfg_opentime['nowindex']<=0 || (!empty($shopinfo['extend']['weekday']) && !in_array($weekday,$shopinfo['extend']['weekday'])))}

- # {$shopinfo['shop_name']}送餐时间

  {if(!empty($shopinfo['extend']['weekday']))}

  ## 每周：{$shopinfo['extend']['weekdayshow']}

  {/if} {foreach($shopinfo['extend']['arr_opentime'] as $item=>$key)}

  ## {$key}

  {/foreach}

{/if}
- 规格：小份中份大份
- 单价：{cfg:(coinsign,sys)}
- 数量：1
- {foreach($arr_menu["list"] as $item)} {$item['name']} {/foreach}