Index_link.asp
Upload User: pengwei803
Upload Date: 2021-02-10
Package Size: 3311k
Code Size: 3k
Development Platform:

HTML/CSS

  1. <div id="bottom" ></div>
  2. <div align="center">
  3. <table cellpadding="0" cellspacing="0" width="980" height="97">
  4. <tr>
  5. <td height="33" background="../Ku_img/link_001.jpg">
  6. <table cellpadding="0" cellspacing="0" width="975">
  7. <tr>
  8. <td height="20" width="29"> </td>
  9. <td height="20" width="151"><div id="dazi">
  10. <p align="left"><b>友情链接</b></div></td>
  11. <td height="20" width="364"> </td>
  12. <td height="20" width="102"><b>广告链接</b></td>
  13. <td height="20" width="97"><b>文字链接</b></td>
  14. <td height="20" width="173"><b><a href="javascript:void(0)" onclick="window.open('Alilink.asp',200,300)">
  15. <font color="#FF0000">申请链接</font></a></b></td>
  16. <td height="20" width="59"><a href="?link=more#bottom" >更多&gt;&gt;</a></td>
  17. </tr>
  18. </table>
  19. </td>
  20. </tr>
  21. <tr>
  22. <td height="60" background="../Ku_img/link_002.jpg">
  23. <%if request("link")="more" then%>
  24. <div align=center>
  25. <table border="0" width="98%"  cellpadding="1" cellspacing="3" >
  26. <%
  27. set rskind=server.CreateObject("adodb.recordset")
  28. sqlkind="select top 99 * from Ku_link order by ID desc"
  29. rskind.open sqlkind,conn,1,1
  30. if rskind.eof then
  31. %>
  32. <tr style="border: 1px solid #D0D4D9"><td>没有链接</td></tr>
  33. <% else 
  34.   k=1
  35. %>
  36. <tr align="center" >
  37. <% do while not rskind.eof%>
  38. <td width="11%" style="border: 1px solid #D0D4D9" height="30"><a target="_blank" href="<%if rskind("biaoji")=0 then%>Ku_go.asp?ku_id=<%=rskind("id")%><%else%><%=rskind("url")%><%end if%>" title="网站:<%=rskind("name")%><%if rskind("biaoji")=0 then%>&#13&#10点击:<%=rskind("hits")%><%end if%>"><%=left(rskind("name"),7)%></a> 
  39. </td>
  40. <% if k mod 9 =0 then%> 
  41. </tr><tr align="center">
  42. <% end if%><% k=k+1
  43.    rskind.movenext
  44.    loop
  45. end if
  46. rskind.close
  47. set rskind=nothing
  48. %>
  49. </tr>
  50. </table>
  51. </div>
  52. <%else%>
  53. <div align=center>
  54. <table border="0" width="98%"  cellpadding="1" cellspacing="3" >
  55. <%
  56. set rskind=server.CreateObject("adodb.recordset")
  57. sqlkind="select top 18 * from Ku_link order by ID desc"
  58. rskind.open sqlkind,conn,1,1
  59. if rskind.eof then
  60. %>
  61. <tr style="border: 1px solid #D0D4D9"><td>没有链接</td></tr>
  62. <% else 
  63.   dim k
  64.   k=1
  65. %>
  66. <tr align="center" >
  67. <% do while not rskind.eof%>
  68. <td width="11%" style="border: 1px solid #D0D4D9" height="30"><a target="_blank" href="<%if rskind("biaoji")=0 then%>Ku_go.asp?ku_id=<%=rskind("id")%><%else%><%=rskind("url")%><%end if%>" title="网站:<%=rskind("name")%><%if rskind("biaoji")=0 then%>&#13&#10点击:<%=rskind("hits")%><%end if%>"><%=left(rskind("name"),7)%></a> 
  69. </td>
  70. <% if k mod 9 =0 then%> 
  71. </tr><tr align="center">
  72. <% end if%><% k=k+1
  73.    rskind.movenext
  74.    loop
  75. end if
  76. rskind.close
  77. set rskind=nothing
  78. %>
  79. </tr>
  80. </table>
  81. </div>
  82. <%end if%>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td height="4">
  87. <img border="0" src="../Ku_img/link_003.jpg" width="980" height="4"></td>
  88. </tr>
  89. </table>
  90. </div>