{foreach($shop_list["list"] as $item)} {set $arr_opentime=tab_meal_shop::get_opentime($item['shop_id'])} {set $isclose=0} {if($item['shop_state']==-1 || $arr_opentime['nowindex']<1 || (!empty($item['extend']['weekday']) && !in_array($weekday,$item['extend']['weekday'])) || ($item['shop_day_limit']>0 && $item['shop_day_sold']>=$item['shop_day_limit']))} {set $isclose=1} {/if}
{$item['shop_name']}{if(!empty($item['len']))}{$item['len']}km{/if}
- {tab_other_language::get("销量")}{$item['shop_sold']}{tab_other_language::get("单")}
- {if(empty($item['shop_addprice']))}{tab_other_language::get("免费配送")}{else}{tab_other_language::get("配送费")}{$item['shop_addprice']}{tab_other_language::get("元")}{/if} | {$item['shop_dispatch_price']}{tab_other_language::get("元起送")} | {tab_other_language::get("{msg1}分钟送达",$item['extend']['arrivedelay'])}
{if(isset($act_info['method']['id_'.$item['shop_id']]))}
- {foreach($act_info['method']['id_'.$item['shop_id']] as $act_item=>$act)} {if($act['id']==1)} {else if($act['id']==2)} {else if($act['id']==3 || $act['id']==4)} {else if($act['id']==5 || $act['id']==6)} {/if} {/foreach}
{/if}
{if($isclose==1)}
{if($item['shop_day_limit']>0 && $item['shop_day_sold']>=$item['shop_day_limit'])}{tab_other_language::get("今日售完")}{else if($item['shop_state']==-1)}{tab_other_language::get("休息中")}{else if($arr_opentime['havenext']==1)}{tab_other_language::get("即将开始")}{else}{tab_other_language::get("明天继续")}{/if}
{/if} {if(cls_obj::get("cls_user")->is_login())} {if($item['iscollect'])}{else}{/if}{/if} {/foreach}