www.gusucode.com > 黑鹰友情链接交换系统美化版 1.2 黑码程序 > pic.asp

    <%@ Language=VBScript %>
<!--#INCLUDE FILE="conn.asp" -->
<!--#INCLUDE FILE="config.asp" -->
<%
set rs=server.createobject("adodb.recordset") 
sql="select * from link order by id desc" 
rs.open sql,conn,1,1 %>
<html>
<head>
<title><%=tit%></title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.style1 {color: #D4D0C8}
.style2 {color: #939393}
-->
</style>
</head>
<style type=text/css>
body {cursor: default;}
</style>
<style fprolloverstyle>
A:hover {color: #A851FF}
.style3 {font-size: 9px}
.style4 {font-size: 12px}
</style>

<body text="#000000" link="#000000" vlink="#000000" style="text-align: right">
<div align="center">
  <center>
    <table width="700" height="25" border="0" cellpadding="0" cellspacing="1" bordercolor="0" background="bg1.gif" bgcolor="#F0f0f0" id="AutoNumber2" style="border-collapse: collapse">
      <tr>
        <td width="300" height="20" align="left" nowrap> <p align="left"><font face="Arial" size="2">&nbsp;&nbsp;
<a href="/">首页</a> | <a href="/about.htm">关于</a> | 
<a href="/photo">相册</a> | <a href="/music">音乐</a> | <a href="/diary">微博</a> | <a href="/gb">留言</a> | <a href="/link">链接</a></span></font></td>
        <td width="250" align="right" nowrap><span class="style3"><span class="style4"><a href="add.asp">加入</a>│<a href="tj.asp?user=y">推荐</a>│<span lang="zh-cn"><a href="login.asp">管理</a>│<a href="index.asp">全部</a><font face="Arial">│<a href="pic.asp">图片</a>│<a href="text.asp">文字</a></font></span></span></td>
      </tr>
  </table>
  <br>
  </center>
</div>
<div align="center">
  <table border="0" cellpadding="0" cellspacing="1" width="700" id="AutoNumber1" bgcolor="#f0f0f0" height="70">
    <tr bgcolor="#FFFFFF">

    <td height="25" colspan="5" align="center">
    <p align="left">&nbsp;&nbsp;七号目前有了<font color="#009900"><%=rs.RecordCount%></font>位朋友!下一位是你吗?</td>
  </tr>
 <%
 if rs.recordcount=0 then 
 %>
 <br>
 <table width="250" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#D4D0C8">
		<tr>
		<td height="30" align=center bgcolor="#FFFFFF"><font color="red">数据库找不到信息,请查看该文件!</font></td>
		</tr>
</table><% End If %>
<tr bgcolor="#FFFFFF">
    <td height="25" colspan="5" align="left"><TABLE width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <TR> 
                      <%j=1
          do while not rs.eof
          %>
                      <td align=left width=636 height=40>&nbsp;<% If rs("logo")<>"" Then %><a href="<%=rs("homepage")%>" target="_blank"><img src="<%= rs("logo") %>" border="0"></a><% Else %><% End If %>

</td>
                      <%if j mod 6 = 0 then %>
                    </tr>
                    <tr bgColor=#ffffff> 
                      <%end if%>
                      <% rs.movenext
             j=j+1
             loop
             rs.close
             set rs=nothing
          %>
                  </TABLE>
                  
</td>
    </tr>
<tr bgcolor="#f9f9f9">
    <td height="25" colspan="5" align="center">&nbsp;</td>
</tr>
</table>
</div>
<br>
<center>
    <table width="700" height="25" border="0" cellpadding="0" cellspacing="1" background="bg1.gif" bgcolor="#F0f0f0" id="AutoNumber2" style="border-collapse: collapse">
      <tr>
      <td width="100%" align=left height="20" nowrap>&nbsp; &nbsp; <a href="http://www.97507.net"><font colof="#f0f0f0">七号在线 友情链接</font></a></td>
    </tr>
  </table>
</center>
</body>
</html>