<!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" />
<title><?php echo $title;?>-<?php echo $dir_catname;?>-<?php echo $DIRCMS['site_name'];?></title>
<meta name="keywords" content="<?php echo $keywords;?>" />
<meta name="description" content="<?php echo $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/house.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/myfocus.full.js"></script>
<script type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/js/mF_YSlider.js"></script>
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/js/mF_YSlider.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/js/highslide/highslide-with-gallery.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="template/<?php echo $DIRCMS['tpl_name'];?>/js/highslide/highslide.css" />
<script type="text/javascript">
	hs.graphicsDir = 'template/<?php echo $DIRCMS['tpl_name'];?>/js/highslide/graphics/'; //绝对路径如：http://www.dircms.cn/JS/themes/
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'glossy-dark';
	hs.wrapperClassName = 'dark';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;
	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .6,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
</script>
<script language="javascript" src="api/statistics/c.js.php?id=<?php echo $id;?>"></script>
</head>
<body>
<?php include template('header');?>
<div class="page-wrap">
  <div class="crumb-nav">您当前的位置：<?php echo $dir_postion;?></div>
</div>
<div class="page-wrap">
  <div class="house-top">
    <div class="ht-t">
      <span>项目名称：</span><h1><?php echo $title;?></h1>
	  <?php if($xiaoshou=='新盘') { ?>
	  <img width="40" height="15" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sale_state02.png" alt="新盘">
	  <?php }elseif($xiaoshou=='在售'){ ?> 
	  <img width="40" height="15" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sale_state01.png" alt="在售">
	  <?php }else{ ?> 
	  <img width="40" height="15" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sale_state03.png" alt="售罄">
	  <?php }?>
    </div>
    <div class="htop-tip">
      <span class="moods">浏览人气：<em class="deep-red"><script language=javascript>document.write(js_clicks);</script></em></span><span class="inte">网友评论：<em class="deep-red"><script language=javascript>document.write(js_comments);</script></em><a href="<?php echo $DIRCMS['site_url'];?>comment/index.php?contentid=<?php echo $id;?>" target="_blank">[我要评论]</a></span>
    </div>    
    <div class="ht-share">
      <!-- Baidu Button BEGIN -->
				<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
					<span class="bds_more">分享到：</span>
					<a class="bds_qzone"></a>
					<a class="bds_tsina"></a>
					<a class="bds_tqq"></a>
				</div>
			<script type="text/javascript" id="bdshare_js" data="type=tools" ></script>
			<script type="text/javascript" id="bdshell_js"></script>
			<script type="text/javascript">
				document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
			</script>
			<!-- Baidu Button END -->
    </div>
    <div class="clear"></div>
    <div class="house-nav">
      <ul>
        <li class="over"><a href="<?php echo $dir_url;?>#"><span>楼盘概况</span></a></li>
        <li><a href="<?php echo $dir_url;?>#"><span>楼盘参数</span></a></li>
        <li><a href="<?php echo $dir_url;?>#lphx"><span>楼盘户型</span></a></li>
        <li><a href="<?php echo $dir_url;?>#lpxc"><span>楼盘相册</span></a></li>
        <li><a href="<?php echo $dir_url;?>#lpmap"><span>楼盘地图</span></a></li>
        <li><a href="<?php echo $DIRCMS['site_url'];?>comment/index.php?contentid=<?php echo $id;?>" target="_blank"><span>网友评论</span></a></li>
      </ul>
    </div>
  </div>  
  <div class="ht-p mt6">
    <div class="house-focus">
      <div class="h-imgtabbox">
    <script type="text/javascript">
    myFocus.set({
    id:'boxID',//焦点图盒子ID
    pattern:'mF_YSlider',//风格应用的名称
    time:4,//切换时间间隔(秒)，省略设置即不自动切换
    trigger:'click',//触发切换模式:'click'(点击)/'mouseover'(悬停)
    width:480,//设置宽度(主图区)
    height:300,//设置高度(主图区)
    txtHeight:'0'//文字层高度设置,'default'为默认高度，0为隐藏
    });
    document.writeln("<style type=\"text/css\">.pic li img{width:480px;height:300px;}</style>");//这里必须要与(主图区)的设置一样
    </script>
        <div id="boxID" style="visibility:hidden"><!--焦点图盒子-->
          <div class="loading"><span>请稍候...</span></div><!--载入画面(可删除)-->
            <ul class="pic"><!--内容列表-->
			<?php $pic_array=morefield($huxingtu);?>
			<?php $no=1;if(is_array($pic_array))foreach($pic_array as $r){?>
            <li><a href="<?php echo $r['url'];?>"><img src="<?php echo $r['url'];?>" alt="<?php echo $title;?>"></a></li>
            <?php $no++;}?>
            </ul>
        </div>
      
      </div>
      
    </div>
    <div class="h-bsinfo">
      <div class="hbs-pro">
        <ul>
          <li><label>楼盘价格：</label>均价<em class="price"><?php echo $shoujia;?></em>元/平方米</li>
          <li><label>开 发 商：</label><?php echo $kaifashang;?></li>
          <li><span><label>开盘时间：</label><?php echo $kaipan;?></span><label>入住时间：</label><?php echo $ruzhusj;?></li>
          <li><span><label>建筑面积：</label><?php echo $jzmj;?>平米</span><label>绿 化 率：</label><?php echo $lhv;?>%</li>
          <li><span><label>装修情况：</label><?php echo $zhuangxiu;?></span><label>车 位 数：</label><?php echo $chewei;?>个</li>
          <li><span><label>物业公司：</label><?php echo $wuyegs;?></span><label>物 业 费：</label><?php echo $wuyefei;?>元/平米/月</li>
          <li><label>售楼地址：</label><?php echo $shouloudz;?></li>
          <li><label>楼盘位置：</label><?php echo $lpdizhi;?>  &nbsp;&nbsp;<a href="<?php echo $dir_url;?>#lpmap" class="deep-blue">[查看地图]</a></li>
        </ul>
      </div>
      <div class="phone-sales">
        <div class="psico"></div>
        <div class="pscont">售楼处咨询电话：<p class="pnum"><?php if($dianhua) { ?><?php echo $dianhua;?><?php }else{ ?>未公布<?php }?></p></div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="ht-p">
    <div class="width726 fl">
      <div class="hl-circle column-h border">
        <h2><strong>楼盘介绍</strong></h2>
        <div class="hl-txtbox" id="cont-detail">
            <?php echo $content;?>
        </div>
      </div>
      <div class="hl-circle column-h border mt6">
        <h2><strong><a name="lphx">楼盘户型</a></strong></h2>
        <div class="h-pic">
          <ul>
            <?php $pic_array=morefield($huxingtu);?>
			<?php $no=1;if(is_array($pic_array))foreach($pic_array as $r){?>
            <li><a href="<?php echo $r['url'];?>" class="highslide" onclick="return hs.expand(this)"><img src="<?php echo $r['url'];?>" width="150" height="116" alt="<?php echo $r['name'];?>"><span><?php echo $r['name'];?></span></a></li>
            <?php $no++;}?>
          </ul>
        </div>
      </div>
      <div class="hl-circle column-h border mt6">
        <h2><strong><a name="lpxc">楼盘相册</a></strong></h2>
        <div class="h-pic">
          <ul>
            <?php $pic_array=morefield($lppics);?>
			<?php $no=1;if(is_array($pic_array))foreach($pic_array as $r){?>
            <li><a href="<?php echo $r['url'];?>" class="highslide" onclick="return hs.expand(this)"><img src="<?php echo $r['url'];?>" width="150" height="116" alt="<?php echo $r['name'];?>"><span><?php echo $r['name'];?></span></a></li>
            <?php $no++;}?>
          </ul>
        </div>
      </div>
      <div class="hl-circle column-h border mt6">
        <h2><strong><a name="lpmap">楼盘地图</a></strong></h2>
        <div class="hl-mapbox" style="width:695px;height:492px;overflow:hidden">
        <?php echo loadmap($map,695,492);?>
        </div>
      </div>
    </div>    
    <div class="width248 ml6 fr">

      <div class="hr-circle column-h border">
        <h2><strong>您是不是在找...</strong></h2>
        <div class="h-rank-cont">
          <ul>
            <?php $dir_page="";$_DATA=call_user_func('get_tag_data',$catid,0,0,10,0,1,'id','desc',$keywords,1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
            <li><i></i><span class="h-name"><a href="<?php echo $r['url'];?>"<?php echo title_style($r['style']);?> title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],14);?></a></span><span class="h-pa orange"><?php echo $r['shoujia'];?>元</span><span class="h-pa"><?php echo get_selectmenu('area',$r['areaid']);?></span></li>
            <?php }unset($_DATA); ?>
          </ul>
        </div>
      </div>
      <div class="h-rank column-h border mt6">
        <h2><strong>楼盘点击排行</strong></h2>
        <div class="h-rank-cont">
          <ul>
            <?php $dir_page="";$_DATA=call_user_func('get_tag_data',15,0,0,10,0,0,'clicks','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
            <?php $no++;?>
            <li><em <?php if($no<=3) { ?>class="top"<?php }else{ ?><?php }?>><?php echo $no;?></em><span class="h-name"><a href="<?php echo $r['url'];?>"<?php echo title_style($r['style']);?> title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],14);?></a></span><span class="h-pa orange"><?php echo $r['shoujia'];?>元</span><span class="h-pa"><?php echo get_selectmenu('area',$r['areaid']);?></span></li>
            <?php }unset($_DATA); ?>
          </ul>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div> 
</div>
<?php include template('footer');?>
</body>
</html>