<?php
require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Head_0.php');
require('../../../Cache/DbCache/Adv/Cache_0.php');


?>
<!-- ------ #Ssheet ------ -->
<link href="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Ssheet/User/Cms.css" rel="stylesheet" />

<!-- ------ #Jscript ------ -->
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Jscript/User/Cms.js" type="text/javascript" ></script>
<script src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/JScript/User/Floatbox.js" type="text/javascript"></script>


<!-- ------ #Navigation ------ -->
<div class="OutFrame_A"><ul class="SearchL_N">
<li class="SearchL_N_1">当前的位置：<a href="../../../Plus/m_default/Cms/default.php" class="Link1 FBlack2">网站首页</a> > 搜索结果 > <?php echo($tmpDefault->sKeyword); ?>（关键字）</li>
<li class="SearchL_N_2">找到相关结果约<span class="SearchL_1_22"><?php echo($tmpDefault->sRecordCount); ?></span>篇</li>
<li class="DClear"></li></ul></div>
<!-- ------ #Content ------ -->
<div class="OutFrame_A"><table class="SearchL_Frame" cellpadding="0" cellspacing="0"><tr>
<!-- ------ ### ------ -->
<td class="SearchL_M">
<!-- ### -->
<div class="SearchL_1_5"><a href="#Here" class="Link1 FBlack2">搜索导航</a></div>
<ul class="SearchL_1_6">
<li id="DSearchContent_Tab_0" class="SearchL_1_8"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Shopsale',0);" class="Link1 FBlue6">商品中心</a></li>
<li id="DSearchContent_Tab_1" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Shopcodesale',1);" class="Link1 FBlue6">积分商品</a></li>
<li id="DSearchContent_Tab_2" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Shopfavourable',2);" class="Link1 FBlue6">优惠券</a></li>
<li id="DSearchContent_Tab_3" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Groupsale',3);" class="Link1 FBlue6">团购活动</a></li>
<li id="DSearchContent_Tab_4" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Reqsupply',4);" class="Link1 FBlue6">供求信息</a></li>
<li id="DSearchContent_Tab_5" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Commposts',5);" class="Link1 FBlue6">论坛帖吧</a></li>
<li id="DSearchContent_Tab_6" class="SearchL_1_7"><a href="#Here" onclick="tmpCms.OnDSearch_Contentbox_Tab('DSearch_Cmsask',6);" class="Link1 FBlue6">问答中心</a></li>


</ul>
<!-- ### -->
<div class="SearchL_1_5"><a href="#Here" class="Link1 FBlack2">其它关键字</a></div>
<div class="SearchL_1_9">
<?php
$tmpParid=3;
$tmpSQL=' SELECT A.csktID,A.csktName,A.csktNameStyle,B.cskctLink 
	FROM {Nets.TableHead}cmssearchkeyword AS A
	INNER JOIN {Nets.TableHead}cmssearchkeywordcont AS B ON B.cskctIndexID=A.csktID
	WHERE 1=1 AND A.csktRecycle=0 AND A.csktChecked>1 AND A.csktParid={Nets.Parid}
	ORDER BY csktOrderBy DESC,csktID DESC LIMIT 0,8 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=1;
foreach($tmpData0 as $Row0){ ?>
<a href="<?php echo($Row0['cskctLink']); ?>" class="Link1 FBlue6 <?php echo($Row0['csktNameStyle']); ?>" target="_blank"><?php echo($Row0['csktName']); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;
<?php $Coun0++; } ?>
</div>
<!-- ### -->
<div class="SearchL_1_5"><a href="#Here" class="Link1 FBlack2">历史搜索</a></div>
<div class="SearchL_1_9">
<?php
$tmpParid=3;
$tmpSQL=' SELECT A.csktID,A.csktName,A.csktNameStyle,B.cskctLink 
	FROM {Nets.TableHead}cmssearchkeyword AS A
	INNER JOIN {Nets.TableHead}cmssearchkeywordcont AS B ON B.cskctIndexID=A.csktID
	WHERE 1=1 AND A.csktRecycle=0 AND A.csktChecked>1 AND A.csktParid={Nets.Parid}
	ORDER BY csktOrderBy DESC,csktID DESC LIMIT 0,8 ';
$tmpSTR=str_replace('{Nets.TableHead}',$tmpDefault->sysTableHead,$tmpSQL);
$tmpSTR=str_replace('{Nets.Parid}',$tmpParid,$tmpSTR);
$tmpData0=$tmpDefault->sDb->Search($tmpSTR);
$Coun0=1;
foreach($tmpData0 as $Row0){ ?>
<a href="<?php echo($Row0['cskctLink']); ?>" class="Link1 FBlue6 <?php echo($Row0['csktNameStyle']); ?>" target="_blank"><?php echo($Row0['csktName']); ?></a>&nbsp;&nbsp;&nbsp;&nbsp;
<?php $Coun0++; } ?>
</div>


</td>
<!-- ------ ### ------ -->
<td class="SearchL_C">
<!-- ### -->
<div id="DSearchContent_Box" class="SearchL_1_11"><!--S.DSearchContent_Box-->
<?php if($tmpDefault->sActionType=='DSearch_Shopcodesale'){ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_24">
<div class="SearchL_1_25"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo ($Row0['shcstID']); ?>" target="_blank"><img src="<?php echo($Row0['shcsctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_26"><a href="../../../Plus/m_default/Shop/codeDetail.php?ID=<?php echo ($Row0['shcstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['shcstName'],$tmpDefault->sKeyword,0)); ?></a></div>
<div class="SearchL_1_27"><?php echo ($Row0['shcstPrice']); ?></div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php }else if($tmpDefault->sActionType=='DSearch_Shopfavourable'){ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_24">
<div class="SearchL_1_25"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo ($Row0['shftID']); ?>" target="_blank"><img src="<?php echo($Row0['shfctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_26"><a href="../../../Plus/m_default/Shop/favourableDetail.php?ID=<?php echo ($Row0['shftID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['shftName'],$tmpDefault->sKeyword,0)); ?></a></div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php }else if($tmpDefault->sActionType=='DSearch_Groupsale'){ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_24">
<div class="SearchL_1_25"><a href="../../../Plus/m_default/Groupsale/groupsaleDetail.php?ID=<?php echo ($Row0['gstID']); ?>" target="_blank"><img src="<?php echo($Row0['gsctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_26"><a href="../../../Plus/m_default/Groupsale/groupsaleDetail.php?ID=<?php echo ($Row0['gstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['gstName'],$tmpDefault->sKeyword,0)); ?></a></div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php }else if($tmpDefault->sActionType=='DSearch_Reqsupply'){ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_24">
<div class="SearchL_1_25"><a href="../../../Plus/m_default/Require/supplyDetail.php?ID=<?php echo ($Row0['restID']); ?>" target="_blank"><img src="<?php echo($Row0['resctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_26"><a href="../../../Plus/m_default/Require/supplyDetail.php?ID=<?php echo ($Row0['restID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['restName'],$tmpDefault->sKeyword,0)); ?></a></div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php }else if($tmpDefault->sActionType=='DSearch_Commposts'){ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_31">
<a href="../../../Plus/m_default/Comm/postsDetail.php?ID=<?php echo ($Row0['coptID']); ?>" class="Link1 FBlue6" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['coptName'],$tmpDefault->sKeyword,0)); ?></a>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php }else if($tmpDefault->sActionType=='DSearch_Cmsask'){ ?>
<!-- ### -->
<table class="" cellpadding="0" cellspacing="0"><tr>
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<td class="SearchL_1_35"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/A_<?php echo($Row0['castState']); ?>.jpg" /></td>
<td class="SearchL_1_34"><a href="../../../Plus/m_default/Cms/askDetail.php?ID=<?php echo ($Row0['castID']); ?>" class="Link1 FBlue6" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($tmpDefault->sCode->SubString($Row0['castName'],0,20),$tmpDefault->sKeyword,0)); ?></a></td>
<?php if($Row0['castCode']>0){ ?>
<td class="SearchL_1_36"><img src="<?php echo($tmpDefault->sysFileConfig['sysUiCoreRoot']); ?>Ui/m_nets/Img/User/Ask/4.jpg" /></td>
<td class="SearchL_1_36"><?php echo($Row0['castCode']); ?></td>
<?php }else{ ?>
<td class="SearchL_1_36">&nbsp;</td>
<td class="SearchL_1_36">&nbsp;</td>
<?php } ?>
<td class="SearchL_1_37">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<?php if(($Coun0+1)%2==0){ echo('</tr><tr>'); } $Coun0++; } ?>
</tr></table>
<?php }else{ ?>
<!-- ### -->
<ul class="">
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DSearch as $Row0){ ?>
<li class="SearchL_1_24">
<div class="SearchL_1_25"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo ($Row0['shstID']); ?>" target="_blank"><img src="<?php echo($Row0['shsctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_26"><a href="../../../Plus/m_default/Shop/saleDetail.php?ID=<?php echo ($Row0['shstID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['shstName'],$tmpDefault->sKeyword,0)); ?></a></div>
<div class="SearchL_1_27"><?php echo ($Row0['shstPrice']); ?></div>
</li>
<?php $Coun0++; } ?>
<li class="DClear"></li></ul>
<?php } ?>
<!-- #Pagebutton -->
<div class="SearchL_1_29"><?php $tmpDefault->sPAjaxButton->showPage(); ?></div>
<!--sendRequest--><!--E.DSearchContent_Box--></div>
<!-- ### -->
<div id="DSearchRelated_Box" class="SearchL_1_12"><!--S.DSearchRelated_Box-->
<?php
$Coun0=0;
foreach ($tmpDefault->sData_List_DRelated as $Row0){ ?>
<div class="SearchL_1_38">
<div class="SearchL_1_39"><a href="../../../Plus/m_default/Require/supplyDetail.php?ID=<?php echo ($Row0['restID']); ?>" target="_blank"><img src="<?php echo($Row0['resctSourceR00']); ?>" /></a></div>
<div class="SearchL_1_40">
<div class="SearchL_1_41"><a href="../../../Plus/m_default/Require/supplyDetail.php?ID=<?php echo ($Row0['restID']); ?>" class="Link1 FBlack2" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['restName'],$tmpDefault->sKeyword,0)); ?></a></div>
<div class="SearchL_1_42"><?php echo ($tmpDefault->sCode->getKeyword($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row0['resctContent'],'',0),0,60),$tmpDefault->sKeyword,0)); ?></div>
</div>
<div class="DClear"></div></div>
<?php $Coun0++; } ?>
<!-- #Pagebutton -->
<div class="SearchL_1_29_A"><a href="../../../Plus/m_default/Require/supplyList.php" class="Link4 FGreen1">更多相关信息>></a></div>
<!--sendRequest--><!--E.DSearchRelated_Box--></div>
<!-- ### -->
<ul class="SearchL_1_20">
<?php
$Coun0=0;
foreach ($tmpDefault->sListData as $Row0){ ?>
<!-- ### -->
<li class="SearchL_1_14">
<div class="SearchL_1_15"><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($Row0['cdtID']); ?>" class="Link4 FBlue6" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['cdtName'],$tmpDefault->sKeyword,0)); ?></a></div>
<div class="SearchL_1_16">标签：<?php echo($Row0['cdtTag']); ?></div>
<div class="SearchL_1_17"><?php echo ($tmpDefault->sCode->getKeyword($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row0['cdctContent'],'',0),0,120),$tmpDefault->sKeyword,0)); ?> <span class="SearchL_1_18"><?php echo($tmpDefault->sCode->TimeFormat($Row0['cdtCreateTime'],0)); ?> <span class="SearchL_1_19">-</span> 来源：<?php echo($tmpDefault->sCode->TimeFormat($Row0['cdctFrom'],0)); ?> <span class="SearchL_1_19">-</span> <a id="DSearch_Row<?php echo ($Row0['cdtID']); ?>_Link" href="#Here" onmouseover="tmpCms.OnDSearch_TiteShow(<?php echo ($Row0['cdtID']); ?>);" class="Link4 FBlack3">预览</a></span></div>
<div id="DSearch_Row<?php echo ($Row0['cdtID']); ?>_Content" class="DHidden"><div class="SearchL_1_44"><a href="../../../Plus/m_default/Cms/docDetail.php?ID=<?php echo ($Row0['cdtID']); ?>" class="Link4 FBlue6" target="_blank"><?php echo ($tmpDefault->sCode->getKeyword($Row0['cdtName'],$tmpDefault->sKeyword,0)); ?></a></div><div class="SearchL_1_45"><?php echo ($tmpDefault->sCode->getKeyword($tmpDefault->sCode->SubString($tmpDefault->sCode->FilterHTML($Row0['cdctContent'],'',0),0,240),$tmpDefault->sKeyword,0)); ?></div></div>
</li>
<?php $Coun0++; } ?>
</ul>
<!-- #Pagebutton -->
<br /><div><?php $tmpDefault->sPButton->showPage(); ?></div><br />


</td>
<!-- ------ ### ------ -->
<td class="SearchL_R">
<!-- ### -->
<div class="SearchL_1_1"><a href="#" class="Link4 FBlue3">方向天下装饰公司，品味家装生活!</a></div>
<div class="SearchL_1_2">方向天下装饰工程有限公司为厦门福满堂漳州分部。我们坚持以最佳方案、优质服务为您打造高性价比美家。</div>
<div class="SearchL_1_3"><a href="#" class="Link1 FGreen2">www.fxtxzs.com</a></div>
<!-- ### -->
<div class="SearchL_1_1"><a href="#" class="Link4 FBlue3">浓情母亲节 福房网看房团齐聚招商假日365</a></div>
<div class="SearchL_1_2">福房网看房团相约招商假日365，招商假日365以低总价、高品质的独特魅力备受看房团追捧</div>
<div class="SearchL_1_3"><a href="#" class="Link1 FGreen2">www.ffw.com.cn</a></div>
<!-- ### -->
<div class="SearchL_1_1"><a href="#" class="Link4 FBlue3">漳州福房网看房团家芗0596专场5月21日启幕</a></div>
<div class="SearchL_1_2">此次福房网组织的家芗0596专场看房团活动，吸引了近五十组客户报名前来。</div>
<div class="SearchL_1_3"><a href="#" class="Link1 FGreen2">www.ffw.com.cn</a></div>

<br /></td>
</tr></table></div></br>
<!-- ------ #FloatBox ------ -->
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/Floatbox_0.php'); ?>
<!-- ------ #JScript ------ -->
<script type="text/javascript">
tmpCms.sDSearch_Contentbox_Keyword="<?php echo($tmpDefault->sKeyword); ?>";

//-- ------ # ------ --
<?php $tmpDefault->sTimecallbackDefined=1; ?>
var tmpFloatbox=new Floatbox();
var tmpFloatbox_TimeIndex=0;

function netsTime_callback(){

	if(tmpFloatbox_TimeIndex==10){
		tmpFloatbox.OnInitial();
		tmpFloatbox_TimeIndex=0;
	}
	
	tmpFloatbox_TimeIndex++;
	tmpFrames.hiddenContent();
}



</script>
<?php require($netsFileConfig['bussinessTemplatePackagePath'].'Component/End_0.php'); ?>