Out.Asp
上传用户:qfkgdy
上传日期:2020-06-18
资源大小:1888k
文件大小:1k
源码类别:

手机WAP编程

开发平台:

ASP/ASPX

  1. <!--#include file="wml.ini"-->
  2. <%
  3. id=wap.req("id","")
  4. if id="" then response.redirect "/Index.Asp"
  5. sql="select * from [Link] WHERE id=" & id
  6. set rs=getRecordSet(conn,sql,1,2)
  7. if rs.eof then
  8. response.redirect "/Index.Asp"
  9. end if
  10. do while not rs.eof
  11. Sitename = wap.filter("wml",rs("Sitename"))
  12. SiteAddress = wap.filter("wml",rs("SiteAddress"))
  13. if wap.ipType(wap.ip())<>0 then
  14. rs("Chain_out")=rs("Chain_out")+1
  15. end if
  16. out=rs("Chain_out")
  17. counts=rs("counts")
  18. rs.movenext
  19. loop
  20. Closers()
  21. call WMLGobegin("跳转中..",SiteAddress,100)
  22. call wmlwrite("网站名称:" & Sitename,true)
  23. call wmlwrite("网站地址:" & SiteAddress,true)
  24. call wmlwrite("链入:" & counts,true)
  25. call wmlwrite("链出:" & out,true)
  26. call wap.navs("友链排行榜,LinkIndex.Asp|跳转中..,|")
  27. call wmlend
  28. %>