<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>{$seo['title']}</title>
<meta name="Keywords" content="{$seo['keywords']}">
<meta name="Description" content="{$seo['description']}">
<link href="templates/{$CFG[tplname]}/style/com.css" type="text/css" rel="stylesheet" />
</head>
<body>
<!--{template header}-->
{template here}
<div class="wrapper">
    <!-- 主体 -->
  <div class="search_list">
    <ul>
      <li>共有 <span class="fe43">{$pager[count]}</span> 个店铺{if ($keyword)}匹配关键字"<strong class="fe43">{$keyword}</strong>"{/if}</li>
    </ul>
    <div class="clearfix"></div>
    <div class="bor_7"></div>
    <div class="clearfix h_5"></div>
    {if ($area_arr)}
    <ul>
      <li>区域：</li>
      <li><a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$_COOKIE['cityid'],'order'=>$order,'keyword'=>urlencode($keyword),'check_p'=>$check_p,'check_wf'=>$check_wf))}"{if (empty($areago) || $areago==$_COOKIE['cityid'])} class="select"{/if}>全部</a></li>
      <!--{loop $area_arr $val}-->
		<li><a href="{$val[url]}"{if ($areago==$val['areaid'])} class="select"{/if}>{$val[areaname]}</a></li>
	  <!--{/loop}-->
    </ul>
    {/if}
    <ul>
     <!--{loop $com_cats $key=>$cat}-->
        <li>{$cat['catname']}：</li>
        <li><a href="{url_rewrite('com',array('act'=>'list','eid'=>$areago,'order'=>$order,'keyword'=>urlencode($keyword),'check_p'=>$check_p,'check_wf'=>$check_wf))}"{if ($catid==$com_cat_info['parentid'])} class="select"{/if}>全部</a></li>
		<li>
			<!--{if !empty($cat[children])}-->		
				<!--{loop $cat[children] $chi}-->
					<li><a href="{$chi[url]}"{if ($chi['id']==$catid)} class="select"{/if}>{$chi['name']}</a></li>
				<!--{/loop}-->
			<!--{/if}-->
		</li>
	 <!--{/loop}-->
    </ul>
    
  </div>
  <div class="clearfix h_5"></div>
    <div class="bor_7"></div>
    <div class="clearfix h_5"></div>
  <div class="search_bottom">
   <div class="ll">
   <a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$areago,'order'=>'new','keyword'=>urlencode($keyword),'check_p'=>$check_p,'check_wf'=>$check_wf))}"{if ($order=='new')} class="select"{/if}>最新</a>
   <a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$areago,'order'=>'star','keyword'=>urlencode($keyword),'check_p'=>$check_p,'check_wf'=>$check_wf))}"{if ($order=='star')} class="select"{/if}>评分</a>
   <a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$areago,'order'=>'hot','keyword'=>urlencode($keyword),'check_p'=>$check_p,'check_wf'=>$check_wf))}"{if ($order=='hot')} class="select"{/if}>人气</a>
   </div>
   <div class="rr">
   <a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$areago,'order'=>$order,'keyword'=>urlencode($keyword),'check_wf'=>$check_wfs,'check_p'=>$check_p))}"{if ($_REQUEST[check_wf]=='1')} class="yes"{/if}>无线网</a><a href="{url_rewrite('com',array('act'=>'list','catid'=>$catid,'eid'=>$areago,'order'=>$order,'keyword'=>urlencode($keyword),'check_wf'=>$check_wf,'check_p'=>$check_ps))}"{if ($_REQUEST[check_p]=='1')} class="yes"{/if}>停车位</a>
   </div>
  </div>
  <div class="clearfix h_15"></div>
  <div class="com_list">
    <ul>
      {loop $articles $val}
      <li>
        <div class="col-1"><a href="{$val['url']}" target="_blank"><img src="{$val['thumbs']}" width="{$CFG[com_thumbwidth]}px" height="{$CFG[com_thumbheight]}px" /></a></div>
        <div class="col-2">
        <h2 class="fb f16"><a href="{$val['url']}" target="_blank">{$val['comname']}</a></h2>
        <div class="clearfix h_5"></div>
        <p>区域：{$val['areaname']}</p>
        <p>地址：{$val['address']}</p>
        <div class="clearfix h_10"></div>
        <p>{if ($val['zk_sojian']>0)}<span class="bor_5">首单折后减{$val['zk_sojian']}元</span>{/if}{if (!empty($val['jifens'][0]) && !empty($val['jifens'][1]))}<span class="bor_5">{$val['jifens'][0]}元送{$val['jifens'][1]}积分</span>{/if}{if (!empty($val['jd'][0]) && ($val['jd'][0]!=',0,'))}<span class="bor_5">优惠日{$val['jd'][1]}倍积分</span>{/if}</p>
        <div class="clearfix h_10"></div>
        <p class="com_icon">{if in_array('wifi', $val['icon'])}<span class="com_wifi" title="无线网"></span>{/if}{if in_array('car', $val['icon'])}<span class="com_p" title="停车位"></span>{/if}<span class="com_hot pad15" title="人气热度">{$val['click']}</span></p>
        </div>
        <div class="col-3">
          <p><span class="fe43 f30">{$val['sum_cm']}</span> 分</p>
          <p><img src="images/star/s{floor($val['sum_cm'])}.png" /></p>
          <p>{$val['ccid']} 人点评</p>
        </div>
      <div class="clearfix"></div>
      <div class="bor_1"></div>
      </li>
      
      {/loop}
     </ul>
     <div class="clearfix"></div>
     <p><!--{template page}--></p>
    </div>
    
    <div class="right_box">
      <div class="cred_box">
        <h2 class="t_c f16"><em></em>好评商家</h2>
        <ul>
          {loop $match_com $val}
			<li>
              <div class="thumb"><a href="{$val['url']}" target=_blank title="{$val[comname]}"><img src="{if $val['thumb']}{$val['thumb']}{else}images/noimg.jpg{/if}" width="70px" height="50px" /></a></div>
              <div class="infos">
               <p><a href="{$val['url']}" target=_blank title="{$val[comname]}">{$val['sname']}</a></p>
               <p><img src="images/star/s{floor($val['insc'])}.png" /><span class="pad10 fe43">{$val['insc']}</span> 分</p>
              </div>
            </li>
          {/loop}
        </ul>
      </div>
    </div>	
</div>
	<!--{template footer}-->
</body>
</html>