<%middle_links_list_char=site.object_p%>
<!-- object[<%=site.object_p%>]::template::middle_links_list_char -->
<%
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
'///////////////////////////////////////////////////////////////////////////////////文字型链接
if site.object(middle_links_list_show).qu mod 6=0 then
n_l=site.object(middle_links_list_show).qu\6
else
n_l=site.object(middle_links_list_show).qu\6+1
end if

for n_g=1 to n_l
if not site.object(middle_links_list_show).rs.eof then
response.write "<tr>"
for n_h=1 to 6
if not site.object(middle_links_list_show).rs.eof then
response.write "<td width=16% align=center style='line-height:30px;padding-right:10'>"
response.write "<a target=_blank href='"&site.object(middle_links_list_show).rs("links_url")&"' title='"&site.object(middle_links_list_show).rs("links_name")&"["&left(trim(site.object(middle_links_list_show).rs("links_info")),50)&"]'>"
response.write ""&left(site.object(middle_links_list_show).rs("links_name"),7)&"</a><br>"
response.write "</td>"
site.object(middle_links_list_show).rs.movenext
else
exit for
end if
next					
response.write "</tr>"
else
exit for
end if
next
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>