📄 link.asp
字号:
<table border="0" width="778" id="table3" cellspacing="0" cellpadding="0">
<tr>
<td background="images/byshop_bg.jpg" height="1"></td>
</tr>
</table>
<table border="0" width="778" id="table1" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="2" valign="top" background="images/byshop_bg.jpg" rowspan="3"></td>
<td>
<table border="0" width="100%" id="table2">
<tr>
<td colspan="8">
友情链接
</td>
</tr>
<%
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from imageslinks where by_tongguo=1 order by linkidorder",conn,1,1
do while not rs.EOF
%>
<tr height=35>
<%
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
if not rs.eof then
response.Write "<td width=96.75><p align='center'><a href="&trim(rs("linkurl"))&" target=_blank><img height='31' src="&trim(rs("linkimages"))&" width='88' border='0' alt="&trim(rs("linkname"))&"></a></td>"
else
response.Write "<td width=96.75><p align='center'><img height='31' src='images/nologo.gif' width='88' border='0' alt='您的位置'></td>"
end if
rs.MoveNext
loop
rs.Close
set rs=nothing
%>
</tr>
<tr>
<td height="19" colspan="8"><%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from links where by_tongguo=1 order by linkidorder",conn,1,1
if not rs.eof then
response.Write " <a href="&trim(rs("linkurl"))&" target=_blank>"&trim(rs("linkname"))&"</a>"
rs.movenext
end if
do while not rs.EOF
response.Write " <a href="&trim(rs("linkurl"))&" target=_blank>"&trim(rs("linkname"))&"</a>"
rs.MoveNext
loop
rs.Close
set rs=nothing
%></td>
</tr>
</table>
</td>
<td width="2" valign="top" background="images/byshop_bg.jpg" rowspan="3"></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -