<!--
<?php
$domain = preg_replace("/http:\/\/([^\/]+)(\/|)(.*)/is","\\1",$webdb[www_url]);
$domain = str_replace('www.','',$domain);
print <<<EOT
-->  
<SCRIPT LANGUAGE="JavaScript">
<!--
function showget(id,va){
	$('#'+id).html(va);
}
//-->
</SCRIPT>
<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%" align="center">ID </th>
      <th align="center">名称</th>
      
      <th width="15%" align="center">LOGO</th>
      <th width="17%" align="center">状态</th>
      <th width="11%" align="center">城市</th>
      <th width="5%" align="center">审核</th>
	  <!--<th width="5%" align="center">收录</th>-->
	  <th width="10%" align="center">链接情况</th>
      <th width="5%" align="center">修改</th>
      <th width="5%" align="center">删除</th>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
$rs[_url]=urlencode($rs[url]);
print <<<EOT
-->
    <tr bgcolor='#FFFFFF' class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
      <td width='5%' align="center">$rs[id]</td>
      <td class='Left'> 
         
        <a href="$rs[url]" target="_blank">$rs[name]</a> </td>
       
      <td width="15%" align="center"> 
        <!--
EOT;
if(!$rs[iswordlink]&&$rs[logo]){
print <<<EOT
-->
        <a href="$rs[url]" target="_blank">$rs[logo]</a> 
        <!--
EOT;
}print <<<EOT
-->
      </td>
      <td   align="center">$rs[state]</td>
      <td  align="center"><a href="$admin_path&job=list&fid=$rs[fid]">$rs[fname]</a></td>
      <td  align="center">$rs[yz]</td>
	  
	  <!--<td   align="center"><div id="bai$rs[id]"><img alt="内容加载中,请稍候..." src="$webdb[www_url]/images/default/ico_loading3.gif"></div>
	  <iframe style="display:none;" width=0 height=0 src="?lfj=$lfj&job=getbai&url=$rs[_url]&lid=bai$rs[id]"></iframe>
	  </td>-->

	   <td  align="center"><div id="li$rs[id]"><img alt="内容加载中,请稍候..." src="$webdb[www_url]/images/default/ico_loading3.gif"></div>
	   <iframe style="display:none;" width=0 height=0 src="?lfj=$lfj&job=getlink&url=$rs[_url]&lid=li$rs[id]"></iframe>
	   </td>
      <td   align="center"><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>
</div>

<div class="MainContainers">
  <div class="Header"><span class="tag">说明:</span></div>
  <div class="Conter">
    <ul class="notes">
      <li>在这里,你可以一目了然的检查对方是否给你做上了友情链接.而不必要一个一个的站点去手工去检查.检查的原理是去以上链接地址的页面去查找如下关键字“{$domain}”,假如你给他做的友情链接是他的主页,而他是在其它页面比如在论坛给你做的链接,这里就会检查失败.</li>
      <li>注意:如果功能不生效,请检查一下服务器php.ini里的allow_url_fopen=Off改成allow_url_fopen=On</li>
    </ul>
  </div>
</div>
<!--
EOT;
?>
-->


