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

📄 company.asp

📁 请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。
💻 ASP
📖 第 1 页 / 共 2 页
字号:
	<%=image%>
	<!--1.end-->
   </ul>
   <ul class="hidden">
	<!--2-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 21 userID,username,title,logo from as_user where istrust=1 and islock=0 order by trustStartTime desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		logo=split(rs("logo"),"|||")
		if n<6 and logo(0)<>"images/nologo.gif" then
			n=n+1
			image=image+"<li><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&"""><img src="""&logo(0)&""" alt="""&rs("title")&""" width=""80"" height=""40"" class=""border"" /></a></li>"
		else
			list=list+"<p><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&""" title="""&rs("title")&""">"&rs("title")&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:140px; margin:0 0 10px 0;overflow:hidden;"><%=list%></li>
	<%=image%>
	<!--2.end-->
   </ul>
   <ul class="hidden">
    <!--3-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 21 userID,username,title,logo from as_user where istrust=1 and islock=0 order by istrust desc,views desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		logo=split(rs("logo"),"|||")
		if n<6 and logo(0)<>"images/nologo.gif" then
			n=n+1
			image=image+"<li><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&"""><img src="""&logo(0)&""" alt="""&rs("title")&""" width=""80"" height=""40"" class=""border"" /></a></li>"
		else
			list=list+"<p><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&""" title="""&rs("title")&""">"&rs("title")&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:140px; margin:0 0 10px 0;overflow:hidden;"><%=list%></li>
	<%=image%>
	<!--3.end-->
   </ul>
  </div>
  <!--user.end-->
 </div>
 
 <%=anysale.ad(31,"style=""float:left; margin:5px 0 0 5px;""")%>

 <div class="tab marL5 marT5" style="width:466px;">
  <!--user-->
  <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="companylist.asp?elite=1&amp;orders=5">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="userL">
    <ul class="tabH" onClick="showTab(0,'userL','userC','companylist.asp?elite=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐公司</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'userL','userC','companylist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新公司</li><li class="tabRL">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(2,'userL','userC','companylist.asp?orders=2')"><li class="tabL">&nbsp;</li><li class="tabM">热门公司</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="userC" class="rcw">
   <ul>
    <!--1-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 21 userID,username,title,logo from as_user where iselite=1 and islock=0 order by userID desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		logo=split(rs("logo"),"|||")
		if n<6 and logo(0)<>"images/nologo.gif" then
			n=n+1
			image=image+"<li><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&"""><img src="""&logo(0)&""" alt="""&rs("title")&""" width=""80"" height=""40"" class=""border"" /></a></li>"
		else
			list=list+"<p><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&""" title="""&rs("title")&""">"&rs("title")&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:140px; margin:0 0 10px 0;overflow:hidden;"><%=list%></li>
	<%=image%>
	<!--1.end-->
   </ul>
   <ul class="hidden">
	<!--2-->
	<li style="width:450px; height:200px; margin:0 0 10px 0;overflow:hidden;">
    <%
	set rs=conn.execute("select top 30 userID,username,title from as_user where islock=0 order by istrust desc,userID desc")
	if not rs.eof or not rs.bof then
	n=1
	do while not rs.eof and n<=30
    %><p><a target="_blank" href="companydetail.asp?u=<%=rs("username")%>" title="<%=rs("title")%>"><%=rs("title")%></a></p>
    <%
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
	</li>
	<!--2.end-->
   </ul>
   <ul class="hidden">
    <!--3-->
    <%
	n=0:image="":list=""
	set rs=conn.execute("select top 21 userID,username,title,logo from as_user where islock=0 order by views desc")
	if not rs.eof or not rs.bof then
	do while not rs.eof
		logo=split(rs("logo"),"|||")
		if n<6 and logo(0)<>"images/nologo.gif" then
			n=n+1
			image=image+"<li><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&"""><img src="""&logo(0)&""" alt="""&rs("title")&""" width=""80"" height=""40"" class=""border"" /></a></li>"
		else
			list=list+"<p><a target=""_blank"" href=""companydetail.asp?u="&rs("username")&""" title="""&rs("title")&""">"&rs("title")&"</a></p>"
		end if
	rs.movenext
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:140px; margin:0 0 10px 0;overflow:hidden;"><%=list%></li>
	<%=image%>
	<!--3.end-->
   </ul>
  </div>
  <!--user.end-->
 </div>
<!--2.end-->
</div>

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

<div class="bodyer">
 <!--3-->
 <div class="tab marT5" style="width:948px;">
  <!--brand-->
  <div class="tabList">
   <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 28 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<=28
	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>
 <!--3.end-->
</div>
<%
anysale.footer
closeConn
%>

⌨️ 快捷键说明

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