<!--
<?php
print <<<EOT
--> 
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/yellow/fenlie_allcity.css">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
  <tr> 
    <td width="100%" height="150" valign="top" class="Main"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td id="allcitytoptable">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t1">
              <tr>
                <td><!--
EOT;
if($_COOKIE[From_City]){
print <<<EOT
-->
                  <div class="goto"><a href="{$city_DB[url][$_COOKIE[From_City]]}">进入<font color="#FFFF00">{$city_DB[name][$_COOKIE[From_City]]}</font></a></div>
           <div class="ti">提示:系统判断出你所在城市是:{$city_DB[name][$_COOKIE[From_City]]}</div>
<!--
EOT;
}elseif($city_id){
print <<<EOT
-->
                  <div class="goto"><a href="{$city_DB[url][$city_id]}">进入{$city_DB[name][$city_id]}</a></div>
                  <!--
EOT;
}else{
print <<<EOT
-->
<div class="goto"><a>请选择一个城市</a></div>
<!--
EOT;
}
print <<<EOT
-->
                </td>
              </tr>
            </table><table width="100%" border="0" cellspacing="0" cellpadding="0" class="t2">
              <tr>
                <td><b>免费：</b>浏览、发布全免费<br>
                  <b>简单：</b>10秒注册，30秒完成信息发布，简单快捷！<br>
                  <b>真实：</b>人工审核信息内容，与虚假违规信息说：不！<br>
                  <b>本地：</b>百闻不如一见，当面交易更放心<br>
                  <b>海量：</b>数十万信息涵盖生活的方方面面</td>
              </tr>
            </table><table width="100%" border="0" cellspacing="0" cellpadding="0" class="t3">
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
  </tr>
</table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;" class="hotcity">
        <tr> 
          <td width="69%"> <b><font color="#FF0000">推荐城市:</font></b> 
            <!--
EOT;
foreach($city_DB[hits] AS $key2=>$value2){
print <<<EOT
-->
            <a href="{$city_DB[url][$key2]}">{$city_DB[name][$key2]}</a> 
            <!--
EOT;
}
print <<<EOT
-->
          </td>
          <td width="31%" align="right">请选择一个城市↓</td>
        </tr>
      </table>
<!--
EOT;
if($webdb[Info_allcityType]==1){
print <<<EOT
-->
      <table width="99%" border="0" cellspacing="1" cellpadding="3" class="dragTable">
        <tr align="left" height="18"  > 
          <td style="line-height:180%;background:#FFF7DE;">城市列表: 
            <!--
EOT;
foreach($listdb AS $key=>$array){
print <<<EOT
-->
            &nbsp;<a href="#$key">{$key}</a> 
            <!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
  
        <tr  style="line-height:150%;"> 
          <td align="left" style="border-bottom:1px dotted #ccc;">
		        <!--
EOT;
foreach($listdb AS $key=>$array){
print <<<EOT
-->
 <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:8px;">
  <tr>
                <td style="background:#F6F6F6;line-height:170%;" align="center"><b><a name='$key'></a><font color="#0000FF">$key</font></b></td>
  </tr>
  <tr>
                <td> 
                  <!--
EOT;
foreach($array AS $key2=>$rs){
$color=$rs[hits]?'color:red;':'';
print <<<EOT
-->
                  &nbsp;<a href="{$city_DB[url][$rs[fid]]}" style="font-size:15px;$color">{$rs[name]}</a>&nbsp;&nbsp; 
                  <!--
EOT;
}print <<<EOT
-->
                </td>
  </tr>
</table>

   <!--
EOT;
}print <<<EOT
--> </td>
        </tr>
      
      </table><!--
EOT;
}else{
print <<<EOT
-->
<!--
EOT;
foreach($area_DB[name] AS $key=>$value){
print <<<EOT
-->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="allcity">
        <tr> 
          <td class="L">$value</td>
          <td class="R"> 
            <!--
EOT;
foreach($city_DB[$key] AS $key2=>$value2){
$color=$city_DB[hits][$key2]?'color:red;':'';
print <<<EOT
-->
            <a href="{$city_DB[url][$key2]}" style="$color">$value2</a> 
            <!--
EOT;
}
print <<<EOT
-->
          </td>
        </tr>
      </table>
      <!--
EOT;
}
print <<<EOT
-->
      <!--
EOT;
}
print <<<EOT
-->
    </td>
  </tr>
</table>
<!--
EOT;
?>
-->
