<!--
<?php
print <<<EOT
-->  
<form name="form1" method="post" action="$admin_path&action=$job">
<div class="MainContainers">
  <div class="Header"><span class="tag">友情链接管理</span><span class="more">&gt;&gt;</span></div>
  <div class="Conter">
    <table class="ListTable">
      <th width="5%">ID </th>
      <th>名称</th>
      <th width="8%">排序</th>
      <th width="15%">LOGO</th>
      <th width="17%">状态</th>
      <th width="10%">城市</th>
	  <th width="8%">分类</th>
      <th width="7%">审核</th>
      <th width="5%">修改</th>
      <th width="5%">删除</th>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor='#FFFFFF' class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
      <td>$rs[id]</td>
      <td class='Left'> 
        <input type="checkbox" name="iddb[{$rs[id]}]" value="$rs[id]">
        <a href="$rs[url]" target="_blank">$rs[name]</a> </td>
      <td> 
        <input type="text" name="listdb[{$rs[id]}]" size="3" value="$rs[list]">
      </td>
      <td> 
        <!--
EOT;
if(!$rs[iswordlink]&&$rs[logo]){
print <<<EOT
-->
        <a href="$rs[url]" target="_blank">$rs[logo]</a> 
        <!--
EOT;
}print <<<EOT
-->
      </td>
      <td>$rs[state]</td>
      <td><a href="$admin_path&job=list&cityid=$rs[city_id]">$rs[cityname]</a></td>
	  <td><a href="$admin_path&job=list&fid=$rs[fid]">$rs[fname]</a></td>
      <td >$rs[yz]</td>
      <td><a href="$admin_path&job=mod&id=$rs[id]" title='点击修改' class='edit'></a></td>
      <td><a href="$admin_path&action=delete&id=$rs[id]" onClick="return confirm('删除后不可恢复,你确实要删除吗?')" title='点击删除' class='del'></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
  </table>
    <div class='showpage'> $showpage</div>
    <div class='submits'> <input type="submit" name="Submit" value="提交处理排序"></div>
  </div>
</div>
</form>

<div class="MainContainers">
  <div class="Header"><span class="tag">说明</span></div>
  <div class="Conter">
    <ul class="notes">
      <li>选择全国的话,将在所有城市页面显示.</li>
    </ul>
  </div>
</div>
<!--
EOT;
?>
-->


