<%middle_links_list_image=site.object_p%>
<!-- object[<%=site.object_p%>]::template::middle_links_list_image -->
<%
site.object(middle_links_list_show).rs.open "select top "&site.object(middle_links_list_show).qu&" * from jins_links_list order by links_num" ,conn ,1,1
%>
				<table cellSpacing="0" cellPadding="0" width="583" border="0"<%=site.object(middle_links_list_show).style%>>
					<!-- MSTableType="nolayout" -->
					<tr>
						<td>
						<table cellSpacing="0" cellPadding="0" width="583" border="0">
							<tr>
								<td>
								<a href="temp.asp?file_temp=links&n_page=1">
								<img src="<%=site.object(middle_links_list_show).image%>/menu.gif" width="583" height="34" border="0"></a></td>
							</tr>
							<tr>
								<td background="<%=site.object(middle_links_list_show).image%>/bg.gif" height="30" style="padding-top: 5px; padding-bottom: 0px">
								<table cellpadding="0" cellspacing="0" width="100%" height="100%">
									<!-- MSTableType="layout" -->
<%
if site.object(middle_links_list_show).rs.eof then
response.write"<tr><td><center>目前还没有友情链接</center></td></tr>"
else
'///////////////////////////////////////////////////////////////////////////////////图片型链接
response.write "<tr>"
response.write "<td width=583 align=center style='line-height:18px;'>"

do while not site.object(middle_links_list_show).rs.eof
response.write "<a target=_blank href='"&site.object(middle_links_list_show).rs("links_url")&"'>"
if site.object(middle_links_list_show).rs("links_img")="" then
response.write "<img alt='"&site.object(middle_links_list_show).rs("links_name")&"' border='0' height=40 width=120 hspace=10 vspace=5 src='"&site.object(middle_links_list_show).image&"/empty.gif' alt='"&site.object(middle_links_list_show).rs("links_name")&"'></a>"
else
response.write "<img alt='"&site.object(middle_links_list_show).rs("links_name")&"' border='0' height=40 width=120 hspace=10  vspace=5 src='"&site.object(middle_links_list_show).rs("links_img")&"'></a>"
end if
site.object(middle_links_list_show).rs.movenext
loop					
response.write "</td>"
response.write "</tr>"

end if
'///////////////////////////////////////////////////////////////////////////////////
site.object(middle_links_list_show).rs.close
%>
								</table>
								</td>
							</tr>
							<tr>
								<td>
								<img height="10" src="<%=site.object(middle_links_list_show).image%>/bottom.gif" width="582"></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>