<!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" class="loading">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=device-width, initial-scale=0.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="keywords" content="" />
<meta name="description" content="">
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="public/style/style.css" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="apple-touch-icon-precomposed" href="http://www.lede.cc/images/favicon.ico">
<!--script src="public/js/nopc.js"></script-->
<title><?=encode_output($seo['title'])?></title>

</head>
 
<body>

	<div id="header" class="head">
		<div class="wrap">
			<i class="menu_back"><a href="com.php"></a></i>
			<div class="title">
				<span class="title_d"><p><?=$comname?></p></span>
				<div class="clear"></div>
			</div>
			<i class="menu_share"></i>
		</div>
	</div>
	
	<div id="container">
		<div id="content">
			<p><img src="<? if (!empty($thumb)){ ?><?=$thumbs?><? }else{ ?>../<?=$CFG['com_thumbs']?><?}?>" width="100%" height="160px" /></p>						
			<div id="works">				
		<div id="list_view">
          <ul>
            <li>
            <div class="ll f14" style="width:50%;"><img src="../images/star/s<? echo floor($all_stars) ?>.png" /> <span class="fb f43"><?=$all_stars?></span> 分</div>
			<div class="rr f14 t_r" style="width:40%;"><?=$r[all_user]?>人到店消费</div>
            </li>
            <div class="clear"></div>
            <div class="bor1"></div>
            <li>
            <div class="ll" style="width:78%;">
             <p class="address f14"><?=$areaname?>-<?=$address?></p>
            </div>
            <div class="rr t_c" style="width:20%;">
             <div class="tels"><a href="tel:<?=$phone?>"></a></div>
            </div>
            </li>
            <div class="clear"></div>
            </ul>
		</div>
						<div class="clear"></div>
			</div>
	<?if ($shoptip){?>
	<div id="more_about">
		<h4>消费提示</h4>
        <p class="shoptip song f14 red">
          <?=$shoptip?>
        <div class="clear"></div>
        </p>        
    </div>
	<?}?>
	
	<?if (($com_cfg['zk_sojian']>0) || (!empty($jifens[0]) && !empty($jifens[1])) || (!empty($com_cfg['jd'][0]) && $com_cfg['jd'][0]!=',0,')){?>
	<div id="more_about">
		<h4>持<?=$CFG['cardname']?>优惠</h4>
        <ul class="yh song f14">
          <?if ($com_cfg['zk_sojian']>0){?><li>首单折后减<?=$com_cfg['zk_sojian']?>元</li><?}?><? if (!empty($jifens[0]) && !empty($jifens[1])){?><li>消费<?=$jifens[0]?>元送<?=$jifens[1]?>积分</li><?}?><? if (!empty($com_cfg['jd'][0]) && ($com_cfg['jd'][0]!=',0,')){?><li>优惠日<?=$com_cfg['jd'][1]?>倍积分</li><?}?>
        <div class="clear"></div>
        </ul>        
    </div>
    <?}?>
	<? if ($com_cfg['zk_list']){ ?>
	<div id="more_about">
		<h4>持<?=$CFG['cardname']?>享受折扣</h4>
        <ul class="yh song f14">
          <?php
           foreach((array)$zk_list as $key=>$val){
          ?>
            <? if(!empty($val[0])){ ?>
              <li>折扣<?=$key+1?>：消费大于等于 ￥<?=$val[0]?> 享受 <?=$val[1]?>折</li>
            <? }else{ ?>
              <li>暂无折扣</li>
            <? }?>
          <? }?>
		  <div class="clear"></div>
        </ul>        
    </div>
    <?}?>
    <? if (count(array_filter($icon))>0){ ?>
	<div id="more_about">
		<h4>配套环境</h4>
        <ul class="yh song f14">
          <?if (in_array('wifi', $icon)){?><li>无线网</li><?}?><?if (in_array('car', $icon)){?><li>停车位</li><?}?>
        <div class="clear"></div>
        </ul>        
    </div>
    <?}?>
    
		<div id="comment">
				<div class="comment_other">
					<h4>
					<div class="ll f14" style="width:55%;">
					<img src="../images/star/b<? echo floor($all_stars)?>.png" /> <?=$all_stars?>分
					</div>
					<div class="rr f99 f14 t_r" style="width:40%;padding-right:10px;">
					<?=$stars['pf1']?>个评价
					</div>
					</h4>
				</div>
				<ul>
				<?php
                  foreach((array)$comment as $comment){
                ?>	
                    <li>
						<div class="pd5">
							<div class="avt fl"><img src="../<?=$comment[face]?>" width="60px" height="60px" /></div>
							<div class="comment_content">
								<h5>
									<div class="f12 f6b"><?=$comment[username]?><span><?=$comment[postdate]?></span></div>
									<div class="clear"></div>
								</h5>
								<div class="comment_p">
                                  <p class="f99">价格 <img src="../images/star/s<?=$comment[cm_pz]?>.png" width="50px" /> 服务 <img src="../images/star/s<?=$comment[cm_fw]?>.png" width="50px" /> 环境 <img src="../images/star/s<?=$comment[cm_hj]?>.png" width="50px" /></p>
                                  <div class="clear"></div>
								  <p class="comment_text f14"><?=$comment[content]?></p>
								</div>
							</div>
							<div class="clear"></div>
							<div class="comment_reply"></div>
						</div>
					</li>
                   <?}?>
									</ul>
				<div class="pd10 t_c">
                <a href="com.php?act=comment&comid=<?=$comid?>" class="f33">更多</a>
				</div>
			</div>
		</div>

	</div>
	
	
	
	<div id="us_panel_menu">
		<div class="us_panel_msk"></div>
		<div class="us_panel_menu_t">
			<table width="100%" cellspacing="0">
				<tr>
                   <td valign="top" class="us_panel_menu_0">
						<a href="index.php"><i></i><span>首页</span></a>
					</td>
<?php
foreach((array)$nav as $key=>$nav){
?>
                    <td valign="top" class="us_panel_menu_<?=$key+1?>">
						<a href="<?=$nav[url]?>"><i></i><span><?=$nav[navname]?></span></a>
					</td>
<? } ?>
				</tr>
			</table>
		</div>
	</div>
	
	<div id="us_panel2">
		<table width="100%" height="100%" cellspacing="0" border="0">
			<tr>
				<td class="us_panel_like"><a href="com.php?act=comment&comid=<?=$comid?>" class="f33" style="display:block;"><i></i><span>全部点评</span></a></td>
				<td class="us_panel_menu"><div class="arrow_top"></div><i></i><div class="us_panel_menu_left"></div><div class="us_panel_menu_right"></div></td>
				<td class="us_panel_post"><a href="member.php?act=exchange&comid=<?=$comid?>" class="f33" style="display:block;"><i></i><span>我要点评</span></a></td>
			</tr>
		</table>
	</div>

	
	
	<?include tpl("plus_share");?>

</body>
</html>