<!--
<?php
$priceColordb["c$price1$price2"]='red';
$orderColordb["$ordertype"]='red';
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/fresh/dianping/list.css"> 
<div class="MainCont">
	<div class="Mainl">
    	<div class="ShowThisSort">
<!--
EOT;
foreach($Fid_db[$fidDB[fup]] AS $key=>$value){
$url=get_info_url('',$key,$city_id);
print <<<EOT
-->
              <a href="$url">{$Fid_db[name][$key]}</a> 
<!--
EOT;
}
print <<<EOT
-->
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="zone_street_menu">
        <!--
EOT;
if($city_id){
$url=get_info_url('',$fid,$city_id,'','',$TempSearch_array);
print <<<EOT
-->
        <tr> 
          <td class="zone" id="zone_td"> <span id="zone_span_0"><A HREF="$url">{$city_DB[name][$city_id]}</A></span> 
            <!--
EOT;
foreach($zone_DB[name] AS $key=>$value){
$url=get_info_url('',$fid,$city_id,$key,'',$TempSearch_array);
print <<<EOT
-->
            <span class="choose" id="zone_span_$key"><A HREF="$url">$value</A></span> 
            <!--
EOT;
}
print <<<EOT
-->
          </td>
        </tr>
        <!--
EOT;
if($street_DB[$zone_id]){
print <<<EOT
-->
        <tr> 
          <td class="street" id="street_td"> 
            <!--
EOT;
foreach($street_DB[$zone_id] AS $key=>$value){
$url=get_info_url('',$fid,$city_id,$zone_id,$key,$TempSearch_array);
print <<<EOT
-->
            <A id="street_a_$key" HREF="$url">$value</A> 
            <!--
EOT;
}
print <<<EOT
-->
          </td>
        </tr>
        <!--
EOT;
}}
print <<<EOT
-->
<SCRIPT LANGUAGE="JavaScript">
<!--
function zone_menu(zone_id){
	obj=document.getElementById("zone_td").getElementsByTagName("span");
	for(var i=0;i< obj.length;i++ ){
		obj[i].className='';
	}
	document.getElementById("zone_span_"+zone_id).className='choose';
}
zone_menu("$zone_id");
function street_menu(street_id){
	obj=document.getElementById("street_td").getElementsByTagName("a");
	for(var i=0;i< obj.length;i++ ){
		obj[i].className='';
	}
	if(document.getElementById("street_a_"+street_id)!=null){
		document.getElementById("street_a_"+street_id).className='choose';
	}
}
street_menu("$street_id");
//-->
</SCRIPT>
       </table>
       <div class="listsearch"> 	  
	  		<div><span class='t'>人均消费：</span><span class='f'><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",));
print <<<EOT
--><A HREF='$url' {$search_fieldDB[sortid][0]}>不限</A> <!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'1'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['1']}>30元以下</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'2'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['2']}>30~50元</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'3'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['3']}>50~100元</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'4'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['4']}>100~150元</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'5'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['5']}>150~200元</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'6'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['6']}>200~300元</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid2'=>"$sortid2",'my_228'=>"$my_228",'sortid'=>'7'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['7']}>300元以上</A></span></div><div><span class='t'>环境：</span><span class='f'><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",));
print <<<EOT
--><A HREF='$url' {$search_fieldDB[sortid2][0]}>不限</A> <!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'1'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['1']}>家庭聚会</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'2'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['2']}>随便吃吃</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'3'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['3']}>情侣约会</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'4'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['4']}>商务洽谈</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'5'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['5']}>朋友聚会</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'6'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['6']}>工作午餐</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_228'=>"$my_228",'sortid2'=>'7'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid2]['7']}>大型聚会</A></span></div><div><span class='t'>停车位：</span><span class='f'><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'sortid2'=>"$sortid2",));
print <<<EOT
--><A HREF='$url' {$search_fieldDB[my_228][0]}>不限</A> <!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'sortid2'=>"$sortid2",'my_228'=>'1'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_228]['1']}>免费</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'sortid2'=>"$sortid2",'my_228'=>'2'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_228]['2']}>收费</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'sortid2'=>"$sortid2",'my_228'=>'3'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_228]['3']}>无</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'sortid2'=>"$sortid2",'my_228'=>'4'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_228]['4']}>未知</A></span></div><!---->        
		 </div>
         <div class="ShowListCont">
        	<div class="head">
            	<div class="tag"><span>{$city_DB[name][$city_id]}$fidDB[name]</span></div>
                <div class="more"><a href="$city_url/post.php?fid=$fid" target="_blank"><img src="$webdb[www_url]/images/fresh/dianping/post.gif"/></a></div>
            </div>
            <div class="cont">
<!--
EOT;
$i=0;
foreach($listdb AS $key=>$rs){
$i++;
$rs[ip]=preg_replace("/\.([0-9]+)\.([0-9]+)$/is",".*.*",$rs[ip]);
$rs[picurl]=$rs[picurl]?$rs[picurl]:"$webdb[www_url]/images/default/nopic.jpg";
@extract($db->get_one("SELECT content FROM {$_pre}content_$rs[mid] WHERE id=$rs[id]"));
$content=preg_replace('/<([^<]*)>/is',"",$content);	//把HTML代码过滤掉
$content=preg_replace('/ |　|&nbsp;/is',"",$content);	//把多余的空格去除掉
$content= get_word($content,180);
print <<<EOT
-->				
				<div class="listdianping">
					<div class="img"><a href="$rs[url]" target="_blank"><img src="$rs[picurl]" alt="$rs[full_title]" height="100"/></a></div>
                    <div class="word">
                    	<div class="t"><span>{$i}</span><a href="$rs[url]" target="_blank" title='$rs[full_title]' style="color:$rs[titlecolor];">$rs[title]</a></div>
                        <div class="c">{$content}</div>
                    </div>
                    <div class="info">
                    	<div>所属分类:<span>$rs[fname]</span></div>
                        <div>发布时间:<span>{$rs[posttime]}</span></div> 
                        <div>IP:<span>{$rs[ip]}</span> </div>
                        <div>浏览量:<em>{$rs[hits]}</em>次 </div>                        
                    </div>
				</div>
<!--
EOT;
}print <<<EOT
-->
				<div class="page">$showpage</div>	
            </div>
        </div>
    </div>
    <div class="Sider">
    	<div class="UserInfo"> 
            <div class="butter"> 
            <div>
              <a href="$city_url/post.php?fid=$fid" target="_blank"><img src="$webdb[www_url]/images/fresh/dianping/but1.gif"/></a> 
              <a href="$webdb[www_url]/member/?main=$webdb[www_url]/hy/member/homepage_ctrl.php?atn=info" target="_blank"><img src="$webdb[www_url]/images/fresh/dianping/but2.gif"/></a>
            </div> 
            <div>
              <a href="$webdb[www_url]/member/?main=$Murl/member/list.php" target="_blank"><img src="$webdb[www_url]/images/fresh/dianping/but3.gif"/></a> 
              <a href="$webdb[www_url]/member/?main=$webdb[www_url]/hy/member/renzheng.php" target="_blank"><img src="$webdb[www_url]/images/fresh/dianping/but4.gif"/></a>
            </div> 
          </div>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<span id="fenlie_loginer">$Load_Msg</span>');
document.write('<div style="display:none;"><iframe src="$webdb[www_url]/do/hack.php?hack=login&iframeID=fenlie_loginer&styletype=fenlieindex" width=0 height=0></iframe></div>');
//-->
</SCRIPT>
      	</div>
      	<div class="NoteCont">
        	<div class="list">子栏目推广显示要花费<span>{$webdb[AdInfoSortShow]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]}</div>
            <div class="list">大分类推广显示要花费<span>{$webdb[AdInfoBigsortShow]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]}</div>
        </div>
        <div class="sidecont1">
        	<div class="head"><div class="tag">热门点评</div></div>
            <div class="cont">
            	$label[fashion_dianpingbigsortt1]
            </div>
        </div>
        <div class="sidecont1">
        	<div class="head"><div class="tag">赞助商</div></div>
            <div class="cont">
            	$label[fashion_dianpingbigsortt2]
            </div>
        </div>
    </div>
    <div style="clear:both;"></div>
</div>
<!--
EOT;
?>
-->
