<!--友情链接开始-->
<%if showlinkmap=1 then%>
<div class="linkmap">
<ul>
<%
if linkshownum >8 then
Response.Write "<script language=JavaScript>marquee_logo_news();</script>"
end if
Set Rs10=Conn.Execute("select top "& linkshownum &" * from "&db_wygkcn_Link_Table&" where linktype=2 and pass=1 order by ID DESC ")
for i=1 to linkshownum
if not rs10.EOF then
%>
<li>
<a href="<%=rs10("weburl")%>" target="_blank" title="<%=rs10("webname")%>
简介：<%=rs10("content")%>
站长：<%=rs10("webmaster")%>
申请时间：<%=rs10("dateandtime")%>"><img src="<%=rs10("logo")%>" width="88" height="31" border="0" align="left" /></a>
</li>
<%
rs10.MoveNext
else
%>
<li>
<a href="#" onclick="javascript:linkreg()"><img src="images/nologo.gif" width="88" height="31" border="0" align="left" /></a>
</li>
<%
End if
Next
%>
<%
if linkshownum >8 then
Response.Write "<script language=JavaScript> marquee4();</script>"
end if%>
<%
rs10.Close
set rs10=nothing
%>
</ul>
</div>
<%end if%>


<%if showlink=1 then%>
<div class="linkmap">
<ul>
<%
Set Rs10=Conn.Execute("select top "& linkshownum &" * from "& db_wygkcn_Link_Table &" where linktype=0 and pass=1 order by ID DESC ")
for i=1 to 6
if not rs10.EOF then
%>
<li>
<a href="<%=rs10("weburl")%>" target="_blank" title="<%=rs10("content")%>
站长：<%=rs10("webmaster")%>
申请时间：<%=rs10("dateandtime")%>"><%=rs10("webname")%></a>
</li>
<%
rs10.MoveNext
else
%>
<li><a href="#" onclick="javascript:linkreg()">您的位置</a></li>
<%
end if
Next
rs10.Close
set rs10=nothing
%>
<li>
<input type="button" style="cursor:hand" class="login_username" onmouseover ="this.style.backgroundColor='#FDF6E7'" onmouseout ="this.style.backgroundColor='#FFFFFF'" name="link1" value="申请" onclick="javascript:linkreg()" />
        <input type="button" style="cursor:hand" class="login_username" onmouseover ="this.style.backgroundColor='#FDF6E7'" onmouseout ="this.style.backgroundColor='#FFFFFF'" name="link1" value="更多" onclick="javascript:morelink()" />
</li>

</ul>
</div>
<%end if%>

