<!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" />
<meta name="generator" content="DirCMS2011 V5" />
<meta name="keywords" content="<?php echo $head[keywords];?>" />
<meta name="description" content="<?php echo $head[description];?>" />
<title><?php echo $head[title];?></title>
<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/share.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/index.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/ie6hover-min.js"></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>
<script language="javascript" type="text/javascript">
function toggletab(span,m,hover)
{
	for(var i=1;i<=m;i++)
	{
		$('#title_'+span+'_'+i).removeAttr('class');
		$('#pannel_'+span+'_'+i).hide();
	}
	$('#title_'+span+'_'+hover).attr('class','hover');
	$('#pannel_'+span+'_'+hover).show();
}
</script>
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/js/mF_YSlider.css" rel="stylesheet" type="text/css" />
</head>
</head>

<body>

<?php include template('header');?>
<div class="hotad-recommend"> <span class="hotad-title"><strong>热点hot</strong></span>
  <div id="hotad-box">
    <div id="hotad-cont">
      <div class="hotad-txt fl">
        <ul>
          <script language="javascript" src="<?php echo $DIRCMS['site_url'];?>adv/api/adv.js.php?id=12&siteid=<?php echo $DIRCMS['site_id'];?>"></script>
        </ul>
      </div>
      <div class="hotad-imgbox fl">
        <div><script language="javascript" src="<?php echo $DIRCMS['site_url'];?>adv/api/adv.js.php?id=11&siteid=<?php echo $DIRCMS['site_id'];?>"></script></div>
        <div class="hotad-imgtxt">
          <ul>
          <script language="javascript" src="<?php echo $DIRCMS['site_url'];?>adv/api/adv.js.php?id=13&siteid=<?php echo $DIRCMS['site_id'];?>"></script>
          </ul>
        </div>
      </div>
      <div class="hotad-txt fl">
        <ul>
          <script language="javascript" src="<?php echo $DIRCMS['site_url'];?>adv/api/adv.js.php?id=14&siteid=<?php echo $DIRCMS['site_id'];?>"></script>
        </ul>
      </div>
    </div>
  </div>
</div>
<div class="ad">
  <script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=23&siteid=<?php echo $DIRCMS[site_id];?>"></script>
</div>
<div class="brush"></div>
<div class="news">
  	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/news_1.gif" /></span><a href="<?php echo caturl(7);?>" target="_blank" class="icon"><?php echo catname(7);?></a></div>
	    <div class="cont">
			<ul>
				<?php $_DATA=get_category_data(0,0,0,7,array (
  0 => 1,
  1 => 4,
),'son',9);$loopcatid=$catid;foreach($_DATA as $no => $r)if(is_array($r)){$catid=$r["id"];?>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/news_<?php $no+=2;echo $no;?>.gif" /></span><a href="<?php echo $r['url'];?>" target="_blank" ><?php echo $r['catname'];?></a></li>
				<?php } $catid=isset($loopcatid)?$dir_catid:0;unset($_DATA);?>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/news_10.gif" /></span><a href="/yp/" target="_blank" ><font color="#FF0000"><strong>商家店铺</strong></font></a></li>
			</ul>
			<div class="adpic"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=24&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
		</div>
	</div>
	<div class="right">
		<div class="bigNews">
			<div class="titlL">
				<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,1,0,0,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<h1><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'],40);?></a></h1>
				<?php }unset($_DATA); ?>
				<div class="item">
					<ul>

						<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,3,1,0,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><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'],30);?></a></li>
						<?php }unset($_DATA); ?>
					</ul>
				</div>
			</div>
			<div class="titlR"><strong>今日头条</strong></div>
		</div>
		<div class="newsBlock">
			<div class="blockL">
				<div class="pic">
					<div id="slidebox">
					<script type="text/javascript">
						myFocus.set({
						id:'boxid',//焦点图盒子ID
						pattern:'mF_YSlider',//风格应用的名称
						time:4,//切换时间间隔(秒)，省略设置即不自动切换
						trigger:'mouseover',//触发切换模式:'click'(点击)/'mouseover'(悬停)
						width:355,//设置宽度(主图区)
						height:200,//设置高度(主图区)
						txtHeight:'0'//文字层高度设置,'default'为默认高度，0为隐藏
						});
						document.writeln("<style type=\"text/css\">.pic li img{width:355px;height:200px;}</style>");//这里必须要与(主图区)的设置一样
					</script>
					<!--焦点图开始-->   
					<div id="boxid" style="visibility:hidden"><!--焦点图盒子-->
					<div class="loading"><span>加载中...</span></div><!--载入画面(可删除)-->
					<ul class="pic"><!--内容列表-->
					<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,5,5,0,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" /></a></li>
					<?php }unset($_DATA); ?>
					
					</ul>
					</div>
					<!--焦点图结束-->
					</div>
				</div>
				<div class="goodNews">
					<div class="title">
<table width="353" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="86" height="27" align="center"><span><a href="http://bbs.ijintang.com/" id="title_hotbbs_1" onmouseover="toggletab('hotbbs',2,1)" class="hover">精华推荐</a></span></td>
    <td width="86" align="center"><span><a href="http://bbs.ijintang.com/" onmouseover="toggletab('hotbbs',2,2)" id="title_hotbbs_2">新帖放送</a></span></td>
    <td align="right" ><a href="http://bbs.ijintang.com/" class="more">更多帖子>></a></td>
  </tr>
</table>
					</div>
					<div class="cont" id="pannel_hotbbs_1">
						<ul>
							<?php if($install['http://bbs.ijintang.com/']) { ?>
							{dir:bbsthread row="9" fid="0" posid="1,2" page="0"}
							<li><a target="_blank" href="<?php echo caturl(115);?>thread.php?tid=<?php echo $r['id'];?>" <?php if($r['style']) { ?>style="<?php echo $r['style'];?>"<?php }?> title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],34,'...');?></a><b><a href="<?php echo caturl(115);?>thread.php?tid=<?php echo $r['id'];?>" target="_blank">[<?php echo date('m-d',$r['updatetime']);?>]</a></b></li>
							{/dir:bbsthread}
							<?php }?>
						</ul>
					</div>
					<div class="cont" style="display:none" id="pannel_hotbbs_2">
						<ul>
							<?php if($install['http://bbs.ijintang.com/']) { ?>
							{dir:bbsthread row="9" fid="0" posid="0" page="0"}
							<li><a target="_blank" href="<?php echo caturl(115);?>thread.php?tid=<?php echo $r['id'];?>" <?php if($r['style']) { ?>style="<?php echo $r['style'];?>"<?php }?> title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],34,'...');?></a><b><a href="<?php echo caturl(115);?>space.php?uid=<?php echo $r['userid'];?>" target="_blank"><?php echo $r['username'];?></a></b></li>
							{/dir:bbsthread}
							<?php }?>
						</ul>
					</div>
				</div>
			</div>
			<div class="blockR">
				<div class="todayNews">
					<div class="title">
						<table width="422" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="86" height="27" align="center"><span><a href="<?php echo caturl(7);?>" id="title_hotnews_1" onmouseover="toggletab('hotnews',2,1)" target="_blank" class="hover">今日推荐</a></span></td>
    <td width="86" align="center"><span><a href="<?php echo caturl(7);?>"  id="title_hotnews_2" onmouseover="toggletab('hotnews',2,2)" >热点放送</a></span></td>
    <td align="right" ><a href="<?php echo caturl(7);?>" class="more">更多资讯>></a></td>
  </tr>
</table>
					</div>
					<div class="cont" id="pannel_hotnews_1">
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,5,1,0,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,5,3,0,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,5,1,4,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,5,5,0,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
					</div>
					<div class="cont" style="display:none" id="pannel_hotnews_2">
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,5,1,0,1,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,5,3,0,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,5,1,4,1,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,1,5,5,0,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="todayNews">
					<div class="title">
						<table width="422" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="86" height="27" align="center"><span><a href="<?php echo caturl(7);?>" class="hover" id="title_picnews_1" onmouseover="toggletab('picnews',2,1)">最新资讯</a></span></td>
    <td width="86" align="center"><span><a href="<?php echo caturl(7);?>" id="title_picnews_2" onmouseover="toggletab('picnews',2,2)">图片资讯</a></span></td>
    <td align="right" ><a href="<?php echo caturl(7);?>" class="more">更多资讯>></a></td>
  </tr>
</table>
					</div>
					<div class="cont" id="pannel_picnews_1">
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,0,1,4,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,0,5,5,0,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
					</div>
					<div class="cont" style="display:none" id="pannel_picnews_2">
						<div class="ImageArea">
							<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,0,1,4,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
							<div class="pic"><a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><img src="<?php echo $r['thumb'];?>" style="width:120px; height:90px"/></a> <span> <a href="<?php echo $r['url'];?>"title="<?php echo $r['title'];?>"><?php echo sub_string($r['title'],18);?></a></span></div>
							<?php }unset($_DATA); ?>
							<div class="word">
								<ul>
									<?php $dir_page="";$_DATA=call_user_func('get_tag_data',7,0,0,5,0,1,'id','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
									<li><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'],32,'...');?></a></li>
									<?php }unset($_DATA); ?>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>
<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=25&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="inforSort">
	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_1.gif" /></span><a href="<?php echo caturl(94);?>" class="icon"><?php echo catname(94);?></a></div>
	    <div class="cont">
			<ul>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_1.gif" /></span><a href="<?php echo caturl(18);?>"><?php echo catname(18);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_2.gif" /></span><a href="<?php echo caturl(19);?>"><?php echo catname(19);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_3.gif" /></span><a href="<?php echo caturl(20);?>"><?php echo catname(20);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_4.gif" /></span><a href="<?php echo caturl(21);?>"><?php echo catname(21);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_5.gif" /></span><a href="<?php echo caturl(22);?>"><?php echo catname(22);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_6.gif" /></span><a href="<?php echo caturl(31);?>"><?php echo catname(31);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_7.gif" /></span><a href="<?php echo caturl(48);?>"><?php echo catname(48);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_8.gif" /></span><a href="<?php echo caturl(59);?>"><?php echo catname(59);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/info_9.gif" /></span><a href="<?php echo caturl(84);?>"><?php echo catname(84);?></a></li>
			</ul>
			<div class="adpic"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=26&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
		</div>
	</div>
	<div class="midInfo">
		<div class="title"><span>分类信息</span><a href="post" class="more" target="_blank">我要发布>></a></div>
		<div class="cont">
			<div class="wordItem">
				<div class="keyword"><strong><a href="<?php echo caturl(94);?>"><?php echo catname(94);?></a></strong>
				<?php $_DATA=get_category_data(0,0,0,94,array (
  0 => 1,
  1 => 4,
),'son',9);$loopcatid=$catid;foreach($_DATA as $no => $r)if(is_array($r)){$catid=$r["id"];?>
				<a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['catname'];?>"><?php echo $r['catname'];?></a>
				<?php } $catid=isset($loopcatid)?$dir_catid:0;unset($_DATA);?>
				</div>
				<div class="piece">
					<ul>
						<?php $dir_page="";$_DATA=call_user_func('get_tag_data',94,0,0,10,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><b>[<a href="<?php echo caturl($r['catid']);?>" title="<?php echo catname($r['catid']);?>" target="_blank"><?php echo catname($r['catid']);?></a>]</b><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'],24);?></a></li>
						<?php }unset($_DATA); ?>
					</ul>
				</div>
			</div>
			<div class="wordItem">
				<div class="keyword"><strong><a href="<?php echo caturl(74);?>"><?php echo catname(74);?></a></strong>
				<?php $_DATA=get_category_data(0,0,0,74,array (
  0 => 1,
  1 => 4,
),'son',9);$loopcatid=$catid;foreach($_DATA as $no => $r)if(is_array($r)){$catid=$r["id"];?>
				<a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['catname'];?>"><?php echo $r['catname'];?></a>
				<?php } $catid=isset($loopcatid)?$dir_catid:0;unset($_DATA);?>
				</div>
				<div class="piece">
					<ul>
						<?php $dir_page="";$_DATA=call_user_func('get_tag_data',74,0,0,10,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li style="overflow:hidden; width:260px; line-height:24px; height:24px"><b>[<a href="<?php echo caturl($r['catid']);?>" title="<?php echo catname($r['catid']);?>" target="_blank"><?php echo catname($r['catid']);?></a>]</b><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'],24);?></a></li>
						<?php }unset($_DATA); ?>
					</ul>
				</div>
			</div>
			<div class="picItem"> 
				<div class="tit"><b>图片信息</b><a href="<?php echo caturl(112);?>" target="_blank">我也要出现在这里 >> </a></div>
				<div class="picShow">
					<?php $dir_page="";$_DATA=call_user_func('get_tag_data','18,19,20,21,22,31,48,59,84,94',0,4,4,0,1,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
					<div class="pic"><a href="<?php echo $r['url'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a><span><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'],34,'...');?></a></span></div>
					<?php }unset($_DATA); ?>
				</div>
			</div>
		</div>
	</div>
	<div class="rightPic">
		<div class="pic">
			<a href="post" target="_blank"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/botton1.gif" /></a><a href="member/index.php"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/botton2.gif" /></a><a href="member/index.php"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/botton3.gif" /></a>
			<script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=27&siteid=<?php echo $DIRCMS[site_id];?>"></script>
		</div>
		<div class="infotj">
			<div class="tit"><b>推荐信息</b></div>
			<div class="cont">
				<div>
					<ul>
					<?php $dir_page="";$_DATA=call_user_func('get_tag_data','18,19,20,21,22,31,48,59,84,94',0,4,9,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li style="line-height:24px; clear:both"><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'],24,'…');?></a></li>
					<?php }unset($_DATA); ?>
					</ul>
				</div>	
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>
<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=28&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="business">
	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_1.gif" /></span><a href="yp/" class="icon">商家频道</a></div>
	    <div class="cont">
			<ul>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_2.gif" /></span><a href="yp/list.php">全部商家</a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_3.gif" /></span><a href="yp/discount.php">优 惠 券</a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_4.gif" /></span><a href="yp/product.php">商家产品</a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_5.gif" /></span><a href="member/index.php?mod=yp&file=yp&action=set">加盟商家</a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_6.gif" /></span><a href="member/index.php?mod=yp&file=yp&action=discount_add">发布优惠券</a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sj_7.gif" /></span><a href="member/index.php?mod=yp&file=yp&action=product_add">发布产品</a></li>
			</ul>
			<div class="brush"></div>
			<div class="adpic"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=29&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
		</div>
	</div>
	<div class="middleBC">
		<div class="title"><span>商家中心</span><a href="member/index.php?mod=yp&file=yp&action=set" class="more">我要加盟商家>></a></div>
		<div class="cont">
			<div class="keyWordB">
				<div class="keyL">按类别</div>
				<div class="keyR">
												<a href="/yp/list.php?typeid=446" title="休闲娱乐">休闲娱乐</a>&nbsp;
								<a href="/yp/list.php?id=459" title="餐饮美食">餐饮美食</a>&nbsp;
								<a href="/yp/list.php?id=470" title="生活便利">生活便利</a>&nbsp;
								<a href="/yp/list.php?id=481" title="旅游出行">旅游出行</a>&nbsp;
								<a href="/yp/list.php?id=497" title="教育培训">教育培训</a>&nbsp;
								<a href="/yp/list.php?id=506" title="装饰装修">装饰装修</a>&nbsp;
								</div>
			</div>
			<div class="keyWordB">
				<div class="keyL">按地区</div>
				<div class="keyR">
																				<a href="/search/index.php?modelid=8&catid=95&areaid=610" title="赵镇">赵镇</a>&nbsp;
								<a href="/search/index.php?modelid=8&catid=95&areaid=612" title="淮口镇">淮口镇</a>&nbsp;
								<a href="/search/index.php?modelid=8&catid=95&areaid=614" title="三星镇">三星镇</a>&nbsp;
								<a href="/search/index.php?modelid=8&catid=95&areaid=611" title="土桥镇">土桥镇</a>&nbsp;
								<a href="/search/index.php?modelid=8&catid=95&areaid=615" title="白果镇">白果镇</a>&nbsp;
								<a href="/search/index.php?modelid=8&catid=95&areaid=" title="其他">其他</a>&nbsp;
												</div>
			</div>
			<div class="picShow">
				<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`istop`=1 AND `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.seo",8,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="pic"><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php if($r['logo']) { ?><img src="<?php echo $r['logo'];?>" style="width:120px; height:60px" alt="<?php echo $r['name'];?>" /><?php }else{ ?><img src="template/<?php echo $DIRCMS['tpl_name'];?>/yp/images/yp-logo-noexists.gif" /><?php }?></a><span><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php echo sub_string($r['name'],20);?></a></span></div>
				<?php }unset($_DATA); ?>
			</div>
			<div class="hotInfo">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`istop`=1 AND `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.id",8,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><b><a target="_blank" href="yp/list.php?typeid=<?php echo $r['typeid'];?>" title="<?php echo get_selectmenu('yp',$r['typeid']);?>">[<?php echo get_selectmenu('yp',$r['typeid']);?>]</a></b><span><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php echo sub_string($r['name'],24);?></a></span></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>	
	</div>
	<div class="rightInfo">
		<div class="pic"><a href="member/index.php?mod=yp&file=yp&action=set"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/botton4.gif" /></a></div>
		<div class="infotj">
			<div class="tit"><b>电子优惠券</b> <a href="yp/discount.php">更多>></a></div>
			<div class="cont">
					<ul>
						<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_discount` WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_discount`.`id` DESC",7,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><a href="<?php echo $r['ypdomain'];?>showdiscount.php?id=<?php echo $r['id'];?>" <?php if($r['ypseo']) { ?>class="red"<?php }?> target="_blank"><?php echo sub_string($r['title'],32);?></a></li>
						<?php }unset($_DATA); ?>
					</ul>
			</div>
		</div>
		<div class="infotj">
			<div class="tit"><b>商家动态</b> <a href="yp/">更多>></a></div>
			<div class="cont">
					<ul>
						<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_news`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_news`.`id` DESC",7,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><a href="<?php echo $r['ypdomain'];?>shownews.php?id=<?php echo $r['id'];?>" <?php if($r['ypseo']) { ?>class="red"<?php }?> target="_blank"><?php echo sub_string($r['title'],32);?></a></li>
						<?php }unset($_DATA); ?>
					</ul>
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>
<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=30&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="shopCity">
	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/shop_1.gif" /></span><a href="yp/product.hpp" class="icon">商城频道</a></div>
	    <div class="cont">
			<ul>
				<?php $yptype=selectmenuinfo('yp',0,0,7);?>
				<?php $no=1;if(is_array($yptype))foreach($yptype as $no=>$r){?>
				<?php $no+=1;?>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/shop_<?php echo $no;?>.gif" /></span><a href="yp/product.php?typeid=<?php echo $r['id'];?>" title="<?php echo $r['name'];?>"><?php echo $r['name'];?></a></li>
				<?php $no++;}?>
			</ul>
		</div>
	</div>
	<div class="midBuy">
		<div class="title"><span>今日推荐</span><a href="yp/product.php" class="more">更多产品>></a></div>
		<div class="cont">
			<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND  thumb!=''  ORDER BY `".DB_PRE."yp_product`.`id` DESC",1,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
			<div class="word">
				已有<b class="red"><?php echo $r['clicks'];?></b>人关注 <br />
					<em><?php echo sub_string($r['description'],86,'…');?></em>
			</div>
			<div class="ImageArea">
				<div class="pic"><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a></div>
				<div class="explain">
					<dl>
						<dt><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/yellowButton.gif" /></a></dt>
						<dd>原价：<em>￥<?php echo $r['market_price'];?></em></dd>
						<dd>现价：<b>￥<?php echo $r['price'];?></b></dd>
						<dd>折扣：<b class="red"><?php echo round($r['price']/$r['market_price'],2)*10;?>折</b></dd>
						<dd>节省：<b>￥<?php echo $r['market_price']-$r['price']?></b> </dd>
					</dl>
				</div>
			</div>
			<?php }unset($_DATA); ?>
		</div>
	</div>
	<div class="right">
		<div class="title">
<table width="407" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="86" height="27" align="center"><span><a href="yp/product.php" onmouseover="toggletab('hotproduct1',3,1)" id="title_hotproduct1_1" class="hover">新品上架</a></span></td>
    <td width="86" height="27" align="center"><span><a href="yp/product.php" onmouseover="toggletab('hotproduct1',3,2)" id="title_hotproduct1_2" >特价促销</a></span></td>
    <td width="86" height="27" align="center"><span><a href="yp/product.php" onmouseover="toggletab('hotproduct1',3,3)" id="title_hotproduct1_3" >热卖商品</a></span></td>
    <td align="right"><a href="yp/product.php" class="more">更多>></a></td>
  </tr>
</table>
		</div>
		<div class="cont" id="pannel_hotproduct1_1">
			<div class="picShow">
				<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND  thumb!=''  ORDER BY `".DB_PRE."yp_product`.`id` DESC",3,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="pic"><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a><span><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],16,'…');?></a><br />
			  ￥<b class="red"><?php echo $r['price'];?></b></span></div>
			  	<?php }unset($_DATA); ?>
			</div>
			<div class="word">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_product`.`id` DESC",6,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],22,'…');?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
		<div class="cont" style="display:none" id="pannel_hotproduct1_2">
			<div class="picShow">
				<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_product`.`id` DESC",3,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="pic"><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a><span><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],16,'…');?></a><br />
			  ￥<b class="red"><?php echo $r['price'];?></b></span></div>
			  	<?php }unset($_DATA); ?>
			</div>
			<div class="word">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_product`.`id` DESC",6,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],22,'…');?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
		<div class="cont" style="display:none" id="pannel_hotproduct1_3">
			<div class="picShow">
				<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_product`.`id` DESC",3,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="pic"><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a><span><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],16,'…');?></a><br />
			  ￥<b class="red"><?php echo $r['price'];?></b></span></div>
			  	<?php }unset($_DATA); ?>
			</div>
			<div class="word">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp_product`  WHERE 1 AND 1 ORDER BY `".DB_PRE."yp_product`.`id` DESC",6,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a href="<?php echo $r['ypdomain'];?>showproduct.php?id=<?php echo $r['id'];?>" target="_blank"><?php echo sub_string($r['title'],22,'…');?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>
<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=31&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="house">
	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/fc_1.gif" /></span><a href="<?php echo caturl(14);?>" target="_blank" class="icon"><?php echo catname(14);?></a></div>
	    <div class="cont">
			<ul>
				<?php $_DATA=get_category_data(0,0,0,14,array (
  0 => 1,
  1 => 4,
),'son',9);$loopcatid=$catid;foreach($_DATA as $no => $r)if(is_array($r)){$catid=$r["id"];?>
				<?php $no+=2;?>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/fc_<?php echo $no;?>.gif" /></span><a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['catname'];?>"><?php echo $r['catname'];?></a></li>
				<?php } $catid=isset($loopcatid)?$dir_catid:0;unset($_DATA);?>
			</ul>
			<div class="brush"></div>
			<div class="adpic"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=32&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
		</div>
	</div>
	<div class="middle">
		<div class="midHouse">
				<div class="title">
					<table width="590" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="86" height="27" align="center"><span><a href="<?php echo caturl(15);?>" onmouseover="toggletab('hotloupan',2,1)" id="title_hotloupan_1" class="hover">新楼盘</a></span></td>
			<td width="86" align="center"><span><a href="<?php echo caturl(16);?>" onmouseover="toggletab('hotloupan',2,2)" id="title_hotloupan_2">二手楼盘</a></span></td>
			<td align="right"><a href="<?php echo caturl(14);?>" class="more">更多楼盘>></a></td>
		  </tr>
		</table>
				</div>
				<div class="cont" id="pannel_hotloupan_1">
					<table width="590" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td height="27" align="center" class="blueBg">小区名称</td>
			<td align="center" class="blueBg">地区</td>
			<td align="center" class="blueBg">装修 </td>
			<td align="center" class="blueBg">户型</td>
			<td align="center" class="blueBg">面积</td>
			<td align="center" class="blueBg">售价</td>
			<td align="center" class="blueBg">有房</td>
			<td align="center" class="blueBg">更新时间</td>
		  </tr>
		  <?php $dir_page="";$_DATA=call_user_func('get_tag_data',15,0,0,10,0,0,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
		  <tr>
			<td height="27" align="center"><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></td>
			<td align="center"><?php echo get_selectmenu('area',$r['areaid']);?></td>
			<td align="center"><?php echo $r['zhuangxiu'];?></td>
			<td align="center"><?php echo $r['huxing'];?></td>
			<td align="center"><?php echo $r['jzmj'];?>㎡</td>
			<td align="center"><?php echo $r['shoujia'];?>元/㎡</td>
			<td align="center">
	  <?php if($r['xiaoshou']=='新盘') { ?>
	  <img width="40" height="15" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sale_state02.png" alt="新盘">
	  <?php }elseif($r['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 }?>
			</td>
			<td align="center"><?php echo date('Y-m-d',$r['updatetime']);?></td>
		  </tr>
		  <?php }unset($_DATA); ?>
		</table>
				</div>
				<div class="cont" style="display:none" id="pannel_hotloupan_2">
					<table width="590" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td height="27" align="center" class="blueBg">小区名称</td>
			<td align="center" class="blueBg">地区</td>
			<td align="center" class="blueBg">装修 </td>
			<td align="center" class="blueBg">户型</td>
			<td align="center" class="blueBg">面积</td>
			<td align="center" class="blueBg">售价</td>
			<td align="center" class="blueBg">有房</td>
			<td align="center" class="blueBg">更新时间</td>
		  </tr>
		  <?php $dir_page="";$_DATA=call_user_func('get_tag_data',16,0,0,10,0,0,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
		  <tr>
			<td height="27" align="center"><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></td>
			<td align="center"><?php echo get_selectmenu('area',$r['areaid']);?></td>
			<td align="center"><?php echo $r['zhuangxiu'];?></td>
			<td align="center"><?php echo $r['huxing'];?></td>
			<td align="center"><?php echo $r['jzmj'];?>㎡</td>
			<td align="center"><?php echo $r['shoujia'];?>元/㎡</td>
			<td align="center">
	  <?php if($r['xiaoshou']=='新盘') { ?>
	  <img width="40" height="15" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/sale_state02.png" alt="新盘">
	  <?php }elseif($r['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 }?>
			</td>
			<td align="center"><?php echo date('Y-m-d',$r['updatetime']);?></td>
		  </tr>
		  <?php }unset($_DATA); ?>
		</table>
				</div>
		</div>
		<div class="newHouse">
			<div class="title">
					<table width="590" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td width="86" height="27" align="center"><span><a href="<?php echo caturl(14);?>" onmouseover="toggletab('toploupan',2,1)" id="title_toploupan_1" class="hover" target="_blank">推荐楼盘</a></span></td>
			<td width="86" align="center"><span><a href="<?php echo caturl(14);?>" onmouseover="toggletab('toploupan',2,2)" id="title_toploupan_2" target="_blank">热销楼盘</a></span></td>
			<td align="right"><a href="<?php echo caturl(14);?>" target="_blank" class="more">更多楼盘>></a></td>
		  </tr>
		</table>
			</div>
			<div class="cont" id="pannel_toploupan_1">
				<?php $dir_page="";$_DATA=call_user_func('get_tag_data',15,0,1,3,0,1,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="picShow">
					<div class="pic"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a></div>
					<div class="word">
						<ul>
							<li><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'],12);?></a></li>
							<li><?php echo $r['dianhua'];?></li>
							<li class="red"><?php echo $r['shoujia'];?>元/㎡</li>
						</ul>
					</div>
				</div>
				<?php }unset($_DATA); ?>
				<?php $dir_page="";$_DATA=call_user_func('get_tag_data',16,0,1,3,0,1,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="picShow">
					<div class="pic"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a></div>
					<div class="word">
						<ul>
							<li><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'],12);?></a></li>
							<li><?php echo $r['dianhua'];?></li>
							<li class="red"><?php echo $r['shoujia'];?>元/㎡</li>
						</ul>
					</div>
				</div>
				<?php }unset($_DATA); ?>
			</div>
			<div class="cont" id="pannel_toploupan_2" style="display:none">
				<?php $dir_page="";$_DATA=call_user_func('get_tag_data',15,0,1,3,0,1,'clicks','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="picShow">
					<div class="pic"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a></div>
					<div class="word">
						<ul>
							<li><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'],12);?></a></li>
							<li><?php echo $r['dianhua'];?></li>
							<li class="red"><?php echo $r['shoujia'];?>元/㎡</li>
						</ul>
					</div>
				</div>
				<?php }unset($_DATA); ?>
				<?php $dir_page="";$_DATA=call_user_func('get_tag_data',16,0,1,3,0,1,'clicks','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="picShow">
					<div class="pic"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a></div>
					<div class="word">
						<ul>
							<li><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'],12);?></a></li>
							<li><?php echo $r['dianhua'];?></li>
							<li class="red"><?php echo $r['shoujia'];?>元/㎡</li>
						</ul>
					</div>
				</div>
				<?php }unset($_DATA); ?>
			</div>
		</div>
	</div>
	<div class="right">
		<div class="pic">
			<a href="member/index.php?catid=19" target="_blank"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/b1.gif" /></a><a href="member/index.php?catid=16" target="_blank"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/b2.gif" /></a><a href="<?php echo caturl(14);?>"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/b3.gif" /></a>
		</div>
		<div class="infodc">
			<div class="tit"><b>房产中介公司</b> <a href="yp/list.php?typeid=473&areaid=0" target="_blank">更多>></a></div>
			<div class="cont">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`typeid`=".intval(473)." AND `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`istop`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.id",4,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php if($r['logo']) { ?><img src="<?php echo $r['logo'];?>" width="142" height="64" alt="<?php echo $r['name'];?>" /><?php }else{ ?><img src="template/<?php echo $DIRCMS['tpl_name'];?>/yp/images/yp-logo-noexists.gif" /><?php }?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>
<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=33&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="material">
	<div class="leftTit">
		<div class="title"><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx1.gif" /></span><a href="<?php echo caturl(31);?>" target="_blank" class="icon"><?php echo catname(31);?></a></div>
	    <div class="cont">
			<ul>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx3.gif" /></span><a href="<?php echo caturl(35);?>" target="_blank" title="<?php echo catname(35);?>"><?php echo catname(35);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx4.gif" /></span><a href="<?php echo caturl(37);?>" target="_blank" title="<?php echo catname(37);?>"><?php echo catname(37);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx5.gif" /></span><a href="<?php echo caturl(38);?>" target="_blank" title="<?php echo catname(38);?>"><?php echo catname(38);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx6.gif" /></span><a href="<?php echo caturl(40);?>" target="_blank" title="<?php echo catname(40);?>"><?php echo catname(40);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx7.gif" /></span><a href="<?php echo caturl(42);?>" target="_blank" title="<?php echo catname(42);?>"><?php echo catname(42);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx8.gif" /></span><a href="<?php echo caturl(43);?>" target="_blank" title="<?php echo catname(43);?>"><?php echo catname(43);?></a></li>
				<li><span><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/zx9.gif" /></span><a href="<?php echo caturl(46);?>" target="_blank" title="<?php echo catname(46);?>"><?php echo catname(46);?></a></li>

			</ul>
			<div class="brush"></div>
			<div class="adpic"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=34&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
		</div>
	</div>
	<div class="midInfo">
		<div class="midHouse">
			<div class="title">
				<table width="590" border="0" cellspacing="0" cellpadding="0">
				  <tr>
					<td width="86" height="27" align="center"><span><a target="_blank" onmouseover="toggletab('topzhuangxiu',2,1)" id="title_topzhuangxiu_1" class="hover" href="<?php echo caturl(31);?>">新进信息</a></span></td>
					<td width="86" align="center"><span><a target="_blank" onmouseover="toggletab('topzhuangxiu',2,2)" id="title_topzhuangxiu_2" href="<?php echo caturl(31);?>">热门信息</a></span></td>
					<td align="right"><a href="<?php echo caturl(31);?>" target="_blank" class="more">更多招标信息>></a></td>
				  </tr>
				</table>
			</div>
			<div class="cont" id="pannel_topzhuangxiu_1">
				<table width="590" border="0" cellspacing="0" cellpadding="0">
				  <?php $dir_page="";$_DATA=call_user_func('get_tag_data',31,0,0,12,0,0,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				  <tr>
					<td height="27" align="left" style="padding-left:8px"><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'],24);?></a><?php if($r['thumb']) { ?> <font color="#FF0000">[图]</font><?php }?></td>
					<td align="center"><?php echo get_selectmenu('area',$r['areaid']);?></td>
					<td align="center"><a href="<?php echo caturl($r['catid']);?>" target="_blank"><?php echo catname($r['catid']);?></a></td>
					<td align="center"><?php echo $r['leixing'];?></td>
					<td align="center"><?php echo date('Y-m-d',$r['updatetime']);?></td>
				  </tr>
				  <?php }unset($_DATA); ?>
				</table>
			</div>
			<div class="cont" id="pannel_topzhuangxiu_2" style="display:none">
				<table width="590" border="0" cellspacing="0" cellpadding="0">
				  <?php $dir_page="";$_DATA=call_user_func('get_tag_data',31,0,0,12,0,0,'clicks','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
				  <tr>
					<td height="27" align="left" style="padding-left:8px"><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'],24);?></a><?php if($r['thumb']) { ?> <font color="#FF0000">[图]</font><?php }?></td>
					<td align="center"><?php echo get_selectmenu('area',$r['areaid']);?></td>
					<td align="center"><a href="<?php echo caturl($r['catid']);?>" target="_blank"><?php echo catname($r['catid']);?></a></td>
					<td align="center"><?php echo $r['leixing'];?></td>
					<td align="center"><?php echo date('Y-m-d',$r['updatetime']);?></td>
				  </tr>
				  <?php }unset($_DATA); ?>
				</table>
			</div>
		</div>
		<div class="offer">
			<div class="title"><span>装修招标信息</span><a href="#" class="more">更多>></a></div>
			<div class="cont">
				<ul>
					<?php $dir_page="";$_DATA=call_user_func('get_tag_data',35,0,0,5,0,0,'id','desc','',1,'all');foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><img src="<?php echo $r['thumb'];?>" style="width:90px; height:90px" /><span><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'],24);?></a></span></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
	<div class="right">
		<div class="infodc">
			<div class="tit"><b>推荐装修公司</b> <a href="yp/"_blank">更多>></a></div>
			<div class="cont">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`typeid`=".intval(506)." AND `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`istop`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.seo",3,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php if($r['logo']) { ?><img src="<?php echo $r['logo'];?>" width="160" height="62" alt="<?php echo $r['name'];?>" /><?php }else{ ?><img src="template/<?php echo $DIRCMS['tpl_name'];?>/yp/images/yp-logo-noexists.gif" /><?php }?></a><span><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php echo sub_string($r['name'],22);?></a></span></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
		<div class="shop">
			<div class="tit"><b>装修建材店铺</b> <a href="yp/" target="_blank">更多>></a></div>
			<div class="cont">
				<ul>
					<?php $dir_page="";$_DATA=get_sql_tag_data("SELECT * FROM `".DB_PRE."yp` WHERE `".DB_PRE."yp`.`typeid`=".intval(506)." AND `".DB_PRE."yp`.`siteid`=1 AND `".DB_PRE."yp`.`status`=1  ORDER BY `".DB_PRE."yp`.id",7,0);foreach($_DATA as $no => $r)if(is_array($r)){?>
					<li><a target="_blank" href="<?php echo $r['url'];?>" title="<?php echo $r['name'];?>"><?php echo sub_string($r['name'],22);?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
</div>
<div class="brush"></div>

<div class="ad"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>adv/api/adv.js.php?id=35&siteid=<?php echo $DIRCMS[site_id];?>"></script></div>
<div class="yellowPage">
	<div class="pageTit"><span><a href="/yp/">本地便民电话</a></span><a href="/yp/" class="more">想让您的电话显示在这里吗，名额有限哦，赶快联系客服吧。</a> </div>
	<div class="cont">
		<ul>
						<li><a target="_blank" href="/yp/web/index.php?u=huangye006&siteid=1" title="花都美容美发学校长长长长长长的标题">花都美容美发</a><br /><a target="_blank" href="/yp/web/index.php?u=huangye006&siteid=1" title="花都美容美发学校长长长长长长的标题">0437-622222</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai91&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai91&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai60&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai60&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai37&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai37&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=huadu&siteid=1" title="花都美容美发学校">花都美容美发</a><br /><a target="_blank" href="/yp/web/index.php?u=huadu&siteid=1" title="花都美容美发学校">182688111722</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=huadu3&siteid=1" title="花都美容美发学校">花都美容美发</a><br /><a target="_blank" href="/yp/web/index.php?u=huadu3&siteid=1" title="花都美容美发学校">0437-622222</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=huadu4&siteid=1" title="花都美容美发学校">花都美容美发</a><br /><a target="_blank" href="/yp/web/index.php?u=huadu4&siteid=1" title="花都美容美发学校">0437-622222</a></li>
						<li><a target="_blank" href="http://localhost/cms/upload/yp/web/" title="花都美容美发学校">花都美容美发</a><br /><a target="_blank" href="http://localhost/cms/upload/yp/web/" title="花都美容美发学校">0437-622222</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=testererere1111&siteid=1" title="我的店铺">我的店铺</a><br /><a target="_blank" href="/yp/web/index.php?u=testererere1111&siteid=1" title="我的店铺">323123123</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai63&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai63&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai58&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai58&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai30&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai30&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=jiuai56&siteid=1" title="就爱家装公司">就爱家装公司</a><br /><a target="_blank" href="/yp/web/index.php?u=jiuai56&siteid=1" title="就爱家装公司">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=hendga31&siteid=1" title="恒大房产中介">恒大房产中介</a><br /><a target="_blank" href="/yp/web/index.php?u=hendga31&siteid=1" title="恒大房产中介">0571-88078941</a></li>
						<li><a target="_blank" href="/yp/web/index.php?u=hendga27&siteid=1" title="恒大房产中介">恒大房产中介</a><br /><a target="_blank" href="/yp/web/index.php?u=hendga27&siteid=1" title="恒大房产中介">0571-88078941</a></li>
					</ul>
	</div>
</div>
<div class="friend">
	<div class="pageTit"><span><a href="link">友情链接</a></span><a href="link/index.php?action=apply" target="_blank" class="more">申请友情请联系客服QQ：<?php echo $DIRCMS['serviceqq1'];?> ,<?php echo $DIRCMS['serviceqq2'];?></a> </div>
	<div class="cont">
		<ul>
			<li>
			<?php $_DATA=get_sql_tag_data("SELECT `".DB_PRE."link`.`name`,`".DB_PRE."link`.`url`,`".DB_PRE."link`.`logo`,`".DB_PRE."link`.`introduce` FROM `".DB_PRE."link` WHERE `".DB_PRE."link`.`siteid`=1 AND `".DB_PRE."link`.`disabled`=0 ORDER BY `".DB_PRE."link`.`orderby` ASC",20);foreach($_DATA as $no => $r)if(is_array($r)){?>
			<a title="<?php echo $r['introduce'];?>" href="<?php echo $r['url'];?>" target="_blank"><?php echo $r['name'];?></a>
			<?php }unset($_DATA); ?>
			</li>
		</ul>
	</div>
</div>
<?php include template('footer');?>
</body>
</html>
