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

📄 business.asp

📁 请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。
💻 ASP
📖 第 1 页 / 共 2 页
字号:
   <div id="businessL">
    <ul class="tabH" onClick="showTab(0,'businessL','businessC','businesslist.asp?channelID=<%=channelID%>&amp;elite=1&amp;orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐<%=business%></li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'businessL','businessC','businesslist.asp?channelID=<%=channelID%>&amp;elite=1&amp;orders=2')"><li class="tabL">&nbsp;</li><li class="tabM">热门推荐</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="businessC" class="rc">
   <ul>
    <!--1-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 16 businessID,title,preview from as_business where iselite=1 and islock=0 "&anysale.IDList("channel",channelID)&" order by addtime desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		if n<1 and rs("preview")<>"" then
			n=n+1
			response.write"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""100"" height=""100"" /></a></li>"
		elseif n<6 and rs("preview")<>"" then
			n=n+1
			image=image+"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""80"" height=""80"" /></a></li>"
		else
			list=list+"<p><a href=""businessdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:340px; height:100px; margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<%=image%>
	<!--1.end-->
   </ul>
   <ul class="hidden">
    <!--2-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 16 businessID,title,preview from as_business where iselite=1 and islock=0 "&anysale.IDList("channel",channelID)&" order by views desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		if n<1 and rs("preview")<>"" then
			n=n+1
			response.write"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""100"" height=""100"" /></a></li>"
		elseif n<6 and rs("preview")<>"" then
			n=n+1
			image=image+"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""80"" height=""80"" /></a></li>"
		else
			list=list+"<p><a href=""businessdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:340px; height:100px; margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<%=image%>
	<!--2.end-->
   </ul>
  </div>
  <!--elite.end-->
 </div>
 
 <%=anysale.ad(11,"style=""float:left; margin:5px 0 0 5px;""")%>

 <div class="tab marL5 marT5" style="width:466px;">
  <!--new-->
  <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="businesslist.asp?channelID=<%=channelID%>&amp;orders=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="userL">
    <ul class="tabH" onClick="showTab(0,'userL','userC','businesslist.asp?channelID=<%=channelID%>&amp;orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新<%=business%></li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'userL','userC','businesslist.asp?channelID=<%=channelID%>&amp;orders=2')"><li class="tabL">&nbsp;</li><li class="tabM">热门<%=business%></li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="userC" class="rc">
   <ul>
    <!--1-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 16 businessID,title,preview from as_business where islock=0 "&anysale.IDList("channel",channelID)&" order by addtime desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		if n<1 and rs("preview")<>"" then
			n=n+1
			response.write"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""100"" height=""100"" /></a></li>"
		elseif n<6 and rs("preview")<>"" then
			n=n+1
			image=image+"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""80"" height=""80"" /></a></li>"
		else
			list=list+"<p><a href=""businessdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:340px; height:100px; margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<%=image%>
	<!--1.end-->
   </ul>
   <ul class="hidden">
    <!--2-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 16 businessID,title,preview from as_business where islock=0 "&anysale.IDList("channel",channelID)&" order by views desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		if n<1 and rs("preview")<>"" then
			n=n+1
			response.write"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""100"" height=""100"" /></a></li>"
		elseif n<6 and rs("preview")<>"" then
			n=n+1
			image=image+"<li><a href=""businessdetail.asp?id="&rs(0)&"""><img src="""&rs(2)&""" alt="""&rs(1)&""" width=""80"" height=""80"" /></a></li>"
		else
			list=list+"<p><a href=""businessdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:340px; height:100px; margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<%=image%>
	<!--2.end-->
   </ul>
  </div>
  <!--new.end-->
 </div>
<!--2.end-->
</div>

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

<div class="bodyer">
 <!--3-->
 <div class="tab marT5" style="width:948px;">
  <!--images-->
  <div class="tabList">
   <ul class="linkN" onmouseover="this.className='linkH'" onmouseout="this.className='linkN'"><li class="linkL">&nbsp;</li><li class="linkM"><a href="businesslist.asp?channelID=<%=channelID%>&amp;orders=2&amp;style=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   <ul class="tabH"><li class="tabL">&nbsp;</li><li class="tabM"><%=business%>大厅</li><li class="tabR">&nbsp;</li></ul>
  </div>
  <div class="images" style="padding:9px 0 0 9px;">
   <ul>
    <%
	set rs=conn.execute("select top 28 businessID,title,preview from as_business where iselite=1 and islock=0 "&anysale.IDList("channel",channelID)&" order by views desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=28
    %><li><a href="businessdetail.asp?ID=<%=rs(0)%>"><%if rs("preview")="" then%><img src="images/noimage.gif" style="padding:25px;" class="border whitebg" alt="<%=rs("title")%>" /><%else%><img src="<%=rs("preview")%>" alt="<%=rs("title")%>" width="100" height="100" class="border" /><%end if%></a><br /><%=rs(1)%></li>
    <%
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
   </ul>
  </div>
  <!--images.end-->
 </div>
 <!--3.end-->
</div>
<%
anysale.footer
closeConn
%>

⌨️ 快捷键说明

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