<!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=gbk" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<!--[if IE 6]><script type="text/javascript">try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</script><![endif]-->
<meta name="generator" content="DirCMS2011 Sp3" />
<meta name="keywords" content="<?php echo $head[keywords];?>" />
<meta name="description" content="<?php echo $head[description];?>" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/base.css" rel="stylesheet" type="text/css">
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/public.css" rel="stylesheet" type="text/css">
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/shop.css" rel="stylesheet" type="text/css">
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/js/tabs.js"></script>
<script language="javascript" src="member/api/login.js.php"></script>
<title><?php echo $head[title];?></title>
</head>
<body>
<div class="mini-nav">
  <aside>
  	<span class="nologin" style="display:none;"><span class="login-link fl"><a class="blue" href="member/index.php?file=login&action=login">请登录</a>
    <div style="padding-top:4px; float:left;"> <a href="member/api/qq_login.php"><img src="member/images/connect_qq.png" align="texttop" /></a></div>
    <a class="red" href="member/index.php?file=login&action=register">免费注册</a><a href="member/index.php?file=login&action=getpwd">找回密码</a></span></span>
	
	<span  class="haslogin" style="display:none;"><span class="login-link fl"><i class="fl">您好，</i><i class="gray fl"><script language=javascript>document.write(js_username);</script></i><a class="red" href="member/index.php">进入会员中心</a> <a href="member/index.php?file=login&action=logout">退出</a></span></span>
	
	</aside>
  <span class="top-link"><a class="blue" href="post/index.php">免费发布信息</a> | <a href="javascript:void(0);" class="green" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $DIRCMS[site_url];?>');" title="把<?php echo $DIRCMS[site_name];?>设为首页">设为首页</a> | <a href="javascript:window.external.addFavorite('<?php echo $DIRCMS[site_url];?>','<?php echo $DIRCMS[site_name];?>');">加入收藏</a></span> </div>
<div class="s-header page-wrap">
  <h1 class="fl"><a href="<?php echo $DIRCMS['site_url'];?>"><img src="<?php if($logo) { ?><?php echo $logo;?><?php }else{ ?>template/<?php echo $DIRCMS['tpl_name'];?>/images/logo.png<?php }?>" width="224" height="38" alt="易创地方门户网站系统" title="易创地方门户网站系统"></a><strong><?php echo $name;?></strong></h1>
  <div class="search-area fl">
    <div class="search-tabs">
      <ul>
        <li class="current"><a href="javascript:void()" onclick="$('#stype').val('title');">按标题</a></li>
        <li><a href="javascript:void()" onclick="$('#stype').val('keywords');">按关键字</a></li>
      </ul>
      <div class="clear"></div>
    </div>
	
    <div class="search-pannel">
	<form action="search/index.php" method="get" target="_blank" name="mysearchform" id="mysearchform">
	  <input type="hidden" name="stype" id="stype" value="title" />
	  <input type="hidden" name="modelid" value="all" />
      <input type="text"  name="k" class="txt" />
      <input type="submit" value="" name="dosearch" class="btn" />
	</form>
    </div>
  </div>
  <div class="clear"></div>
</div>
<div class="shop-nav">
  <ul>
    <li><a href="<?php echo $YP['url']['index'];?>"><strong><?php echo $YP['menu']['index'];?></strong></a></li>
    <li><a href="<?php echo $YP['url']['news'];?>"><strong><?php echo $YP['menu']['news'];?></strong></a></li>
    <li><a href="<?php echo $YP['url']['product'];?>" class="current"><strong><?php echo $YP['menu']['product'];?></strong></a></li>
	<li><a href="<?php echo $YP['url']['discount'];?>"><strong><?php echo $YP['menu']['discount'];?></strong></a></li>
	<li><a href="<?php echo $YP['url']['contact'];?>"><strong><?php echo $YP['menu']['contact'];?></strong></a></li>
	<li class="none"><a href="<?php echo $YP['url']['guestbook'];?>"><strong><?php echo $YP['menu']['guestbook'];?></strong></a></li>
  </ul>
  <b class="corner-left"></b><b class="corner-right"></b>
</div>
<div class="s-banner"><a href="<?php echo $YP['url']['index'];?>"><img width="980" height="150" src="<?php if($banner) { ?><?php echo $banner;?><?php }else{ ?>template/<?php echo $DIRCMS['tpl_name'];?>/images/temp/shop_banner.jpg<?php }?>" alt="<?php echo $name;?>"></a></div>
<div class="page-wrap mt6">
  <div class="width248 fl">
    <div class="hl-w248 side-col">
      <h2><strong>店铺基本信息</strong></h2>
      <div class="side-contbox">
        <div class="bs-info">
          <h1><?php echo $name;?></h1>
          <p class="cer"><font class="fl">认证信息：</font><?php if($businesslicense) { ?><em class="approve"></em><?php }else{ ?><font color="#ff0000">尚未通过商家认证</font><?php }?></p>
          <p>主营项目：<em class="gray"><?php echo sub_string(strip_tags($about),30,'...');?></em></p>
          <p>所属区域：<em class="red"><?php echo get_selectmenu('area',$areaid);?></em></p>
          <p>联系电话：<em class="green"><?php echo $phone;?></em></p>
          <p>在线客服：<span><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $qq;?>&site=qq&menu=yes"><img border="0" alt="点击这里给我发消息" src="http://wpa.qq.com/pa?p=2:<?php echo $qq;?>:41"></a></span></p>
          <p>联系地址：<?php echo $address;?></p>
          <p>公交线路：<?php echo $busroute;?></p>
          <p>营业时间：<em class="red"><?php echo $openingtime;?></em></p>
        </div>
      </div>
    </div>
    <div class="hl-w248 side-col mt6">
      <h2><strong>地图位置</strong></h2>
      <div class="side-contbox">
       
        <div class="location-map">
			<?php echo loadmap($map,225,210);?>
		</div>
         <div class="bmap"><a href="<?php echo $YP['url']['contact'];?>">查看大图>></a></div>
      </div>
    </div>
    <div class="hl-w248 side-col mt6">
      <h2><strong>周边店铺</strong></h2>
      <div class="side-contbox">
        <div class="h-rank-cont">
          <ul>
		  	<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.id",10,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
			<?php $no++;?>
            <li><em <?php if($no<=3) { ?>class="top"<?php }?>><?php echo $no;?></em><span><a target="_blank" href="<?php echo $r['url'];?>"><?php echo $r['name'];?></a></span></li>
            <?php }unset($_DATA); ?>
          </ul>
         </div>
      </div>
    </div>
  </div>
  <div class="width726 fr">
    <div class="hl-w726">
      <div class="col-3">
        <div class="mcol-t">
          <h2><a href="<?php echo $YP['url']['product'];?>"><span><?php echo $YP['menu']['product'];?></span></a></h2>
        </div>
      </div>
      <div class="contbox-3">
        <div class="h-typeC">
		<a href="<?php echo $YP['url']['product'];?>" class="current">全部</a>
		<?php $dir_typeid=$typeid;$dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_producttype` WHERE `".DB_PRE."yp_producttype`.`ypid`=".intval($ypid)." AND `".DB_PRE."yp_producttype`.`parentid`=".intval(0)."",10,page);$loopcatid=$typeid;foreach($_DATA as $no => $r)if(is_array($r)){$typeid=$r["id"];?>
		<a href="<?php echo $YP['url']['product'];?>&typeid=<?php echo $r['id'];?>"><?php echo $r['name'];?></a>
		<?php } $typeid=isset($loopcatid)?$dir_typeid:0;unset($_DATA);?>
		</div>
        <div class="pro-show">
          <div class="pro-photo"><a href="<?php if($thumb) { ?><?php echo $thumb;?><?php }else{ ?>images/image128x128.png<?php }?>" target="_blank"><img src="<?php if($thumb) { ?><?php echo $thumb;?><?php }else{ ?>images/image128x128.png<?php }?>" alt="<?php echo $title;?>" width="470" height="250"></a></div>
          <div class="pro-summary">
            <h3><?php echo $title;?></h3>
            <p>市场价格：<strike><?php echo $market_price;?>元/<?php echo $unit;?></strike></p>
			<p class="price">优惠价格：<?php echo $price;?>元/<?php echo $unit;?></p>
			<p>发布时间：<?php echo date('Y-m-d',$inputtime);?></p>
			<p>联 系 人：<?php echo $lianxiren;?></p>
			<p>手机号码：<?php echo $dianhua;?></p>
			<p>在线询价：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $qq;?>&site=qq&menu=yes"><img border="0" alt="点击这里给我发消息" src="http://wpa.qq.com/pa?p=2:<?php echo $qq;?>:41"></a></p>
          </div>
          <div class="clear"></div>
          <div class="pro-detail">
            <h3>产品详情</h3>
            <dl class="cont-detail">
			<?php echo $content;?>
			</dl>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="clear"></div>
</div>
<div class="footer mt6">
  <div class="foot-nav">
  <?php $_DATA=get_category_data(0,0,0,0,array (
  0 => 2,
),'top',10);$loopcatid=$catid;foreach($_DATA as $no => $r)if(is_array($r)){$catid=$r["id"];?>
<a href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['catname'];?></a><em>┊</em>
<?php } $catid=isset($loopcatid)?$dir_catid:0;unset($_DATA);?>
<?php if($install['link']) { ?><a href="<?php echo $DIRCMS['site_url'];?>link/index.php">友情链接</a><?php }?><em>┊</em>
<?php if($install['guestbook']) { ?><a href="<?php echo $DIRCMS['site_url'];?>guestbook/index.php">在线留言</a><?php }?><em>┊</em>
<?php if($install['notice']) { ?><a href="<?php echo $DIRCMS['site_url'];?>notice/index.php">网站公告</a><?php }?>
	</div>
  <div class="copyright">
    <p><?php echo $DIRCMS['copyright'];?> <?php echo $DIRCMS['icpno'];?></p>
    <p>免责声明：站内发布的所有信息为网友自行发布，本站不承担由此引起的任何法律责任。</p>
	
  </div>
  <div class="ftbimg"> <img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/temp/ftb_01.png" alt="中国互联网协会"> <img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/temp/ftb_02.png" alt="经营性网站备案信息"> <img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/temp/ftb_03.png" alt="不良信息举报中心"> <img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/temp/ftb_04.png" alt="网络110报警服务"> </div>
  <p align="center"><a href="http://www.dircms.cn/" target="_blank" style="color:#666; font-size:10px">Powered by <font  style="color:#669933"><b>DirCMS 2011 Sp3</b></font> &copy;2011-2012</a> </p>
</div>
</body>
</html>