<!--
<?php
$priceColordb["c$price1$price2"]='red';
$orderColordb["$ordertype"]='red';
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td valign="top" class="Main"> 
      <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>
        <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>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td width="70%" height="393" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td> 
            <div class="listsearch"><div><span class='t'>性质：</span><span class='f'><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('my_rooms'=>"$my_rooms",));
print <<<EOT
--><A HREF='$url' {$search_fieldDB[sortid][0]}>不限</A> <!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('my_rooms'=>"$my_rooms",'sortid'=>'1'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['1']}>个人</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('my_rooms'=>"$my_rooms",'sortid'=>'2'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[sortid]['2']}>中介</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",));
print <<<EOT
--><A HREF='$url' {$search_fieldDB[my_rooms][0]}>不限</A> <!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'两室一厅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['两室一厅']}>两室一厅</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'两室两厅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['两室两厅']}>两室两厅</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'三室一厅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['三室一厅']}>三室一厅</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'三室两厅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['三室两厅']}>三室两厅</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'一室一厅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['一室一厅']}>一室一厅</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'一居室'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['一居室']}>一居室</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'三室以上'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['三室以上']}>三室以上</A><!--
EOT;
$url=get_info_url('',$fid,$city_id,$zone_id,$street_id,array('sortid'=>"$sortid",'my_rooms'=>'别墅'));
print <<<EOT
--> <A HREF='$url' {$search_fieldDB[my_rooms]['别墅']}>别墅</A></span></div><!----></div>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable" id="sortList">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">{$city_DB[name][$city_id]}$fidDB[name]</span> <span class="more postbt"><a href="$city_url/post.php?fid=$fid&city_id=$city_id&zone_id=$zone_id&street_id=$street_id">免费发布此类信息</a></span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle"> 
		  <div class="LT Ltop"> <span class="title">信息标题</span> <span class="posttime">时间</span> 
              <span class='field'>性质</span><span class='field'>价格</span><span class='field'>室内布局</span><!----> </div>
            <!--
EOT;
foreach($listdb AS $key=>$rs){
$target=$rs[target]?'_blank':'_self';
print <<<EOT
-->
            <div class="LT"> <span class="title"><a href="$rs[url]" target="$target" title='$rs[full_title]' style="color:$rs[titlecolor];">$rs[title]</a> 
              <!--
EOT;
if($rs[picurl]){
print <<<EOT
-->
              <img src="$webdb[www_url]/images/default/tu.gif"> 
              <!--
EOT;
}print <<<EOT
-->
              $rs[idcard_show]$rs[permit_show]$rs[othercard_show]</span> <span class="posttime">{$rs[times]}</span> 
              <span class='field '>{$rs[sortid]} </span><span class='field '>{$rs[my_price]} 元</span><span class='field '>{$rs[my_rooms]} </span><!----> </div>
            <!--
EOT;
}print <<<EOT
-->
            <div class="page">$showpage</div>
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
    </td>
    <td width="30%" height="393" valign="top" class="Side" align="right"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">栏目焦点</span> 
            <h3 class="R"></h3>
            <span class="more" style="float:right;"><a href="javascript:alert('栏目焦点显示要花费{$webdb[AdInfoSortShow]}个积分,分类焦点显示要花费{$webdb[AdInfoBigsortShow]}个积分,都显示 {$webdb[AdInfoShowTime]} 天。要想设置显示或取消显示某条信息的话,请修改信息即可设置')">帮助</a></span> 
          </td>
        </tr>
        <tr> 
          <td class="middle" valign="top" align="left"> 
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<span id="side_adinfo">$Load_Msg</span>');
document.write('<div style="display:none;"><iframe src="$city_url/job.php?job=adinfo&fid=$fid&rows=$webdb[AdInfoListRow]&leng=$webdb[InfoListLeng]&iframeID=side_adinfo" width=0 height=0></iframe></div>');
//-->
</SCRIPT>
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table><table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">{$Fid_db[name][$fid]}搜索</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle ListAllSort" valign="top" align="left"> <table width="99%" border="0" cellspacing="0" cellpadding="3" id="bigtable">
  <form name="form_searchpage" method="post" action="search.php" target=_blank>
    <tr><td>性质</td><td><select name='postdb[sortid]' id='atc_sortid'><option value=''>不限</option><option value='1' {$rsdb[sortid]['1']}>个人</option><option value='2' {$rsdb[sortid]['2']}>中介</option></select>  </td></tr><!----> 
    <tr> 
                  <td width="23%">关键字:</td>
                  <td width="77%"> 
                    <input type="text" name="keyword" value="$keyword">
      </td>
    </tr>
    <tr> 
                  <td width="23%" height="23">搜索类型:</td>
                  <td width="77%" height="23"> 
                    <input type="radio" name="type" value="title" $typedb[title] checked>
        标题 <!----></td>
    </tr>
    <tr align="center"> 
      <td colspan="2"> 
        <input type="submit" name="Submit" value="搜索">
                    <input type="hidden" name="mid" value="$fidDB[mid]">
        <input type="hidden" name="action" value="search">
        <input type="hidden" name="postdb[city_id]" value="$city_id">
        <input type="hidden" name="fid" value="$fid">
      </td>
    </tr>
  </form>
</table>
</td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">全部{$Fid_db[name][$fidDB[fup]]}类别</span> 
            <h3 class="R"></h3>
            
          </td>
        </tr>
        <tr> 
          <td class="middle ListAllSort" valign="top" align="left"> 
            <!--
EOT;
foreach($Fid_db[$fidDB[fup]] AS $key=>$name){
$listurl=get_info_url('',$key,$city_id);
print <<<EOT
-->
          <div>  <a href="$listurl">$name</a> </div>
            <!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable">
        <tr> 
          <td class="head"> 
            <h3 class="L"></h3>
            <span class="TAG">帮助信息</span> 
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle" valign="top" align="left"> 1、标题后面有一个图片<img src='$webdb[www_url]/images/default/icotop.gif' border=0>,即代表栏目置顶,置顶时间为{$webdb[Info_TopDay]}天,每条置顶信息需要花费积分{$webdb[Info_TopMoney]}点.要想置顶或取消置顶某条信息的话,请进行修改即有相关选项.<br>
            2、栏目焦点显示要花费{$webdb[AdInfoSortShow]}个积分,分类焦点显示要花费{$webdb[AdInfoBigsortShow]}个积分.要想设置显示或取消显示某条信息的话,请进行修改即有相关选项.<br>
            3、<a href="$webdb[www_url]/do/jf.php" target="_blank">点击查看如何赚取积分</a>?</td>
        </tr>
        <tr> 
          <td class="foot"> 
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="left">$label[listsort]</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" id="list_search">
  <tr> 
    <td style="padding:4px;"> 
      <div class="sort"> 
        <div class="t1">{$city_DB[name][$city_id]}{$Fid_db[name][$fidDB[fup]]}的所有分类:</div>
        <div class="t2"> 
          <!--
EOT;
foreach($Fid_db[$fidDB[fup]] AS $key=>$value){
$url=get_info_url('',$key,$city_id);
print <<<EOT
-->
          <span><a href="$url" target="_blank">{$city_DB[name][$city_id]}{$Fid_db[name][$key]}</a> 
          </span> 
          <!--
EOT;
}
print <<<EOT
-->
        </div>
      </div>
      <div class="sort"> 
        <div class="t1">城市链接:</div>
        <div class="t2"> 
          <!--
EOT;
$i=0;
foreach($city_DB[name] AS $key=>$value){
if(!$key)continue;
$i++;
if($i>7)break;
$url=get_info_url('',$fid,$key);
print <<<EOT
-->
          <span><a href="$url" target="_blank">{$city_DB[name][$key]}{$fidDB[name]}</a> 
          </span> 
          <!--
EOT;
}
print <<<EOT
-->
        </div>
      </div>
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
