⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。
💻 ASP
📖 第 1 页 / 共 2 页
字号:
	do while not rs.eof and n<=10
    %><li>[<%=anysale.nav("area",rs("areaID"),3,"")%>] <a href="jobdetail.asp?id=<%=rs("jobID")%>" title="<%=rs("title")%>"><%=rs("title")%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无推荐信息!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--job.end-->
 </div>
 
 <div class="tab marT5" style="width:268px;">
  <!--exhibit-->
  <div class="tabList">
   <div>
    <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="exhibit.asp">更多</a></li><li class="linkR">&nbsp;</li></ul>
    <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="user.asp?addTab=发布展会信息&amp;tabL=user/exhibit.asp?action=add">发布</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="exhibitL">
    <ul class="tabH" onClick="showTab(0,'exhibitL','exhibitC','exhibitlist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新展会</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'exhibitL','exhibitC','exhibitlist.asp?elite=1&orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐展会</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="exhibitC" style="padding:8px;">
   <ul>
    <%
	set rs=conn.execute("select top 10 exhibitID,title,addtime from as_exhibit where islock=0 order by addtime desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="exhibitdetail.asp?id=<%=rs("exhibitID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无展会!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
   <ul class="hidden">
    <%
	set rs=conn.execute("select top 10 exhibitID,title,addtime from as_exhibit where iselite=1 and islock=0 order by addtime desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="exhibitdetail.asp?id=<%=rs("exhibitID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无推荐展会!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--exhibit.end-->
 </div>
 <!--left.end-->
 </div>
 
 <div class="tab marL5 marR5" style="width:398px;">
  <!--news-->
  <div class="tabList">
   <div>
    <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="news.asp">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="newsL">
    <ul class="tabH" onClick="showTab(0,'newsL','newsC','newslist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新资讯</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'newsL','newsC','newslist.asp?elite=1&orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐资讯</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="newsC" style="padding:5px 8px;height:459px;">
    <%
	n=1:image=""
	set rs=conn.execute("select top 4 newsID,title,image from as_news where isimage=1 and islock=0 order by newsID desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		image=image+"<a href=""newsdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""60"" height=""60"" /></a>|||"
	rs.movenext
	n=n+1
	loop
	end if
	if n<4 then
		for m=n to 4
			image=image+"|||"
		next
	end if
	rs.close
	set rs=nothing

	m=0:n=1:list=""
	set rs=conn.execute("select top 20 newsID,title,addtime from as_news where islock=0 order by newsID desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		list=list+"<p>["&anysale.formatDate(rs("addtime"),3)&"] <a href=""newsdetail.asp?id="&rs(0)&""">"&anysale.cutStr(rs(1),24)&"</a></p>"
		if n mod 5=0 then list=list+"|||"
	rs.movenext
	n=n+1
	loop
	end if
	if int(n/5)<3 then
		for m=int(n/5) to 3
			list=list+"|||"
		next
	end if
	rs.close
	set rs=nothing
	
	image=split(image,"|||")
	list=split(list,"|||")
    %>
   <ul>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(0)%></li>
	<li><%=list(0)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(1)%></li>
	<li><%=list(1)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(2)%></li>
	<li><%=list(2)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(3)%></li>
	<li><%=list(3)%></li>
   </ul>
    <%
	n=1:image=""
	set rs=conn.execute("select top 4 newsID,title,image from as_news where isimage=1 and iselite=1 and islock=0 order by newsID desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		image=image+"<a href=""newsdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""60"" height=""60"" /></a>|||"
	rs.movenext
	n=n+1
	loop
	end if
	if n<4 then
		for m=n to 4
			image=image+"|||"
		next
	end if
	rs.close
	set rs=nothing

	m=0:n=1:list=""
	set rs=conn.execute("select top 20 newsID,title,addtime from as_news where iselite=1 and islock=0 order by newsID desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		list=list+"<p>["&anysale.formatDate(rs("addtime"),3)&"] <a href=""newsdetail.asp?id="&rs(0)&""">"&anysale.cutStr(rs(1),24)&"</a></p>"
		if n mod 5=0 then list=list+"|||"
	rs.movenext
	n=n+1
	loop
	end if
	if int(n/5)<3 then
		for m=int(n/5) to 3
			list=list+"|||"
		next
	end if
	rs.close
	set rs=nothing
	
	image=split(image,"|||")
	list=split(list,"|||")
    %>
   <ul class="hidden">
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(0)%></li>
	<li><%=list(0)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(1)%></li>
	<li><%=list(1)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(2)%></li>
	<li><%=list(2)%></li>
	<li class="xline">&nbsp;</li>
    <li style="float:left;margin:5px 0;height:90px;width:70px;"><%=image(3)%></li>
	<li><%=list(3)%></li>
   </ul>
  </div>
  <!--news.end-->
 </div>
 
 <div style="width:270px;float:left;">
 <!--right-->
 <div class="tab" style="width:268px;">
  <!--bbs-->
  <div class="tabList">
   <div>
    <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="article.asp">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="articleL">
    <ul class="tabH" onClick="showTab(0,'articleL','articleC','articlelist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新文章</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'articleL','articleC','articlelist.asp?orders=2')"><li class="tabL">&nbsp;</li><li class="tabM">热门文章</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="articleC" style="padding:8px;">
   <ul>
    <%
	set rs=conn.execute("select top 10 articleID,title,addtime from as_article where islock=0 order by articleID desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="articledetail.asp?id=<%=rs("articleID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无帖子!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
   <ul class="hidden">
    <%
	set rs=conn.execute("select top 10 articleID,title,addtime from as_article where islock=0 order by views desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="articledetail.asp?id=<%=rs("articleID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无热门帖子!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--bbs.end-->
 </div>
 
 <div class="tab marT5" style="width:268px;">
  <!--group-->
  <div class="tabList">
   <div>
    <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="bbs.asp">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="bbsL">
    <ul class="tabH" onClick="showTab(0,'bbsL','bbsC','bbslist.asp')"><li class="tabL">&nbsp;</li><li class="tabM">论坛新帖</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'bbsL','bbsC','bbslist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">热门帖子</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="bbsC" style="padding:8px;">
   <ul>
    <%
	set rs=conn.execute("select top 10 bbsID,title,addtime from as_bbslist where islock=0 order by bbsID desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="bbsdetail.asp?id=<%=rs("bbsID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无帖子!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
   <ul class="hidden">
    <%
	set rs=conn.execute("select top 10 bbsID,title,addtime from as_bbslist where islock=0 order by views desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=10
    %><li><span class="date">[<%=anysale.formatDate(rs("addtime"),3)%>]</span> <a href="bbsdetail.asp?id=<%=rs("bbsID")%>" title="<%=rs("title")%>"><%=anysale.cutStr(rs("title"),16)%></a></li>
    <%
	rs.movenext
	n=n+1
	loop
	else
		response.write"<li>暂无热门帖子!</li>"
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--group.end-->
 </div>
 <!--right.end-->
 </div>
<!--3.end-->
</div>

<div class="line5"></div>
<div class="bodyer">
 <!--4-->
 <div class="tab" style="width:948px;">
  <!--brand-->
  <div class="tabList">
   <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="companylist.asp?brand=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   <ul class="tabH"><li class="tabL">&nbsp;</li><li class="tabM">行业品牌</li><li class="tabR">&nbsp;</li></ul>
  </div>
  <div class="brand" style="padding:9px;">
   <ul>
    <%
	set rs=conn.execute("select top 14 userID,username,title,logo from as_user where isbrand=1 and iselite=1 and islock=0 order by trustStartTime desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=14
	logo=split(rs("logo"),"|||")
    %><li><a target="_blank" href="companydetail.asp?u=<%=rs("username")%>"><%if logo(0)="images/nologo.gif" then%><img src="images/nologo.gif" style="padding:10px 20px;" class="border whitebg" alt="<%=rs("title")%>" /><%else%><img src="<%=logo(0)%>" alt="<%=rs("title")%>" width="<%=logo(1)%>" height="<%=logo(2)%>" class="border" /><%end if%></a></li>
	<%
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--brand.end-->
 </div>
 <!--4.end-->
</div>

<%=anysale.ad(8,"class=""banner clear padT5""")%>

<div class="bodyer">
 <!--5-->
 <div class="tab marT5" style="width:948px;">
  <!--brand-->
  <div class="tabList">
   <ul class="linkN" onMouseOver="this.className='linkH'" onMouseOut="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="javascript:anysale();" onClick="getPage('windows.asp?action=links');">立即申请</a></li><li class="linkR">&nbsp;</li></ul>
   <ul class="tabH"><li class="tabL">&nbsp;</li><li class="tabM">友情链接</li><li class="tabR">&nbsp;</li></ul>
  </div>
  <div style="padding:9px 9px 4px 9px;">
   <ul style="padding:0 0 5px 0;font-size:12px;">
    <li><a href="http://www.anysale.cn" target="_blank">爱商网</a><%
	 set rs=conn.execute("select site,link,readme from as_links where ispass=1 and islogo=0 order by orders asc")
	 if not rs.eof or not rs.bof then
	 	do while not rs.eof
	 %> | <a href="<%=rs("link")%>" title="<%=rs("readme")%>" target="_blank"><%=rs("site")%></a><%
	 	rs.movenext
		loop
	  end if
	  rs.close
	  set rs=nothing
	 %></li>
   </ul>
   <ul class="linkPic">
    <li><a href="http://www.anysale.cn" title="AnySale" target="_blank"><img src="http://www.anysale.cn/images/anysale.gif" alt="logo" /></a></li>
	<%
	 set rs=conn.execute("select site,link,logo,readme from as_links where ispass=1 and islogo=1 order by orders asc")
	 if not rs.eof or not rs.bof then
	 	do while not rs.eof
	 %><li><a href="<%=rs("link")%>" title="<%=rs("site")%>" target="_blank"><img src="<%=rs("logo")%>" alt="<%=rs("readme")%>" width="88" height="31" /></a></li><%
	 	rs.movenext
		loop
	  end if
	  rs.close
	  set rs=nothing
	 %>
   </ul>
  </div>
  <!--brand.end-->
 </div>
 <!--5.end-->
</div>
<%
anysale.footer
closeConn
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -