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

📄 exhibit.asp

📁 请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/const.asp"-->
<%
if cint(anysale.asGroups(7))=0 then call anysale.asNote("权限出错","你所在的用户组没有浏览展会的权限!") end if

call anysale.header("exhibit","找展会",anysale.asInfo(3),anysale.asInfo(4))
%>
<%=anysale.ad(44,"class=""banner clear padT5""")%>

<div class="line5"></div>
<div class="bodyer">
<!--1-->
 <div class="tab marR5" style="width:268px;">
  <!--info-->
  <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="exhibitlist.asp?elite=1&amp;orders=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="infoL">
    <ul class="tabH" onMouseOver="showTab(0,'infoL','infoC','exhibitlist.asp?elite=1&amp;orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐展会</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onMouseOver="showTab(1,'infoL','infoC','exhibitlist.asp?orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">最新展会</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="infoC" style="padding:4px 10px;">
   <ul>
    <%
	dim rs,n,list
	set rs=conn.execute("select top 8 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<=8
    %><li><span class="right 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 8 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<=8
    %><li><span class="right 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>
  <!--info.end-->
 </div>
 
 <%=anysale.ad(45,"style=""width:400px;"" class=""left marR5""")%>

 <div class="tab" style="float:left;width:268px;">
  <!--services-->
  <div id="servicesL" class="tabList">
   <ul class="tabH" onMouseOver="showTab(0,'servicesL','servicesC')"><li class="tabL">&nbsp;</li><li class="tabM">会员信息</li><li class="tabR">&nbsp;</li></ul>
   <ul class="tabN" onMouseOver="showTab(1,'servicesL','servicesC')"><li class="tabL">&nbsp;</li><li class="tabM">特色服务</li><li class="tabRL">&nbsp;</li></ul>
   <ul class="tabN" onMouseOver="showTab(2,'servicesL','servicesC')"><li class="tabL">&nbsp;</li><li class="tabM">公司推广</li><li class="tabR">&nbsp;</li></ul>
  </div>
  <div id="servicesC" style="padding:4px 10px;">
   <ul>
    <li style="padding:14px 0 0 35px;"><h2 class="green">1、<a class="greenlink" href="register.asp">注册成为会员</a></h2></li>
    <li style="padding:6px 0 0 35px;"><h2 class="green">2、<a class="greenlink" href="user.asp">发布会员信息</a></h2></li>
    <li style="padding:6px 0 14px 35px;"><h2 class="green">3、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("申请诚信会员")%>&amp;tabL=user/trust.asp">申请诚信会员</a></h2></li>
	<%if anysale.username<>"" then%>
    <li>下午好<%=anysale.username%>,欢迎您的光临!</li>
    <li>[<a href="user.asp">会员中心</a>] [<a href="logout.asp">注销</a>]</li>
	<%else%>
    <li>欢迎光临,您尚未注册会员或未登录!</li>
    <li>[<a href="register.asp">注册会员</a>] [<a href="login.asp">登录</a>]</li>
	<%end if%>
    <li>&nbsp;</li>
   </ul>

   <ul class="hidden">
    <li style="padding:14px 0 0 35px;"><h2 class="green">1、<a class="greenlink" href="trust.asp">诚信会员服务</a></h2></li>
    <li style="padding:6px 0 0 35px;"><h2 class="green">2、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("申请网站广告")%>&amp;tabL=user/ad.asp">申请网站广告</a></h2></li>
    <li style="padding:6px 0 14px 35px;"><h2 class="green">3、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("网站在线客服")%>&amp;tabL=user/services.asp">网站在线客服</a></h2></li>
	<%if anysale.username<>"" then%>
    <li>下午好<%=anysale.username%>,欢迎您的光临!</li>
    <li>[<a href="user.asp">会员中心</a>] [<a href="logout.asp">注销</a>]</li>
	<%else%>
    <li>欢迎光临,您尚未注册会员或未登录!</li>
    <li>[<a href="register.asp">注册会员</a>] [<a href="login.asp">登录</a>]</li>
	<%end if%>
    <li>&nbsp;</li>
   </ul>
   <ul class="hidden">
    <li style="padding:14px 0 0 35px;"><h2 class="green">1、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("发布公司信息")%>&amp;tabL=user/user.asp?action=business">发布公司信息</a></h2></li>
    <li style="padding:6px 0 0 35px;"><h2 class="green">2、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("发布供求信息")%>&amp;tabL=user/business.asp?action=add">发布供求信息</a></h2></li>
    <li style="padding:6px 0 14px 35px;"><h2 class="green">3、<a class="greenlink" href="user.asp?addTab=<%=server.urlEncode("发布产品报价")%>&amp;tabL=user/products.asp?action=add">发布产品报价</a></h2></li>
	<%if anysale.username<>"" then%>
    <li>下午好<%=anysale.username%>,欢迎您的光临!</li>
    <li>[<a href="user.asp">会员中心</a>] [<a href="logout.asp">注销</a>]</li>
	<%else%>
    <li>欢迎光临,您尚未注册会员或未登录!</li>
    <li>[<a href="register.asp">注册会员</a>] [<a href="login.asp">登录</a>]</li>
	<%end if%>
    <li>&nbsp;</li>
   </ul>
  </div>
  <!--services.end-->
 </div>

 <!--1.end-->
</div>
<div class="line5"></div>

<div class="bodyer">
<!--2-->
 <div class="tab" style="width:475px;">
  <!--class-->
  <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="user.asp?addTab=发布展会信息&amp;tabL=user/exhibit.asp?action=add">发布展会</a></li><li class="linkR">&nbsp;</li></ul></div>
   <div id="classL">
    <ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="business.asp?channelID=1">供应</a></li><li class="tabRL">&nbsp;</li></ul>
    <ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="business.asp?channelID=2">求购</a></li><li class="tabRL">&nbsp;</li></ul>
    <ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="business.asp?channelID=3">服务</a></li><li class="tabRL">&nbsp;</li></ul>
    <ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="products.asp">产品</a></li><li class="tabRL">&nbsp;</li></ul>
    <ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="company.asp">公司</a></li><li class="tabRL">&nbsp;</li></ul>
	<ul class="tabN"><li class="tabL">&nbsp;</li><li class="tabM"><a href="job.asp">招聘</a></li><li class="tabR">&nbsp;</li></ul>
	<ul class="tabH"><li class="tabL">&nbsp;</li><li class="tabM">展 会</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="classC" class="classC">
   <ul>
    <%call anysale.list("class",0,0,0,"exhibitlist.asp?")%>
   </ul>
  </div>
  <!--class.end-->
 </div>
 
 <div class="tab marL5" style="width:466px;">
  <!--elite-->
  <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="exhibitlist.asp?elite=1&amp;orders=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="productL">
    <ul class="tabH" onClick="showTab(0,'productL','productC','exhibitlist.asp?elite=1&amp;orders=1')"><li class="tabL">&nbsp;</li><li class="tabM">推荐展会</li><li class="tabR">&nbsp;</li></ul>
    <ul class="tabN" onClick="showTab(1,'productL','productC','exhibitlist.asp?elite=1&amp;orders=2')"><li class="tabL">&nbsp;</li><li class="tabM">热门推荐</li><li class="tabR">&nbsp;</li></ul>
   </div>
  </div>
  <div id="productC" class="rcw">
   <ul>
    <!--1-->
    <%
	set rs=conn.execute("select top 25 exhibitID,title from as_exhibit where iselite=1 and islock=0 order by addtime desc")
	if not rs.eof or not rs.bof then
	n=1:list=""
	do while not rs.eof
		list=list+"<p><a href=""exhibitdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:200px;margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<!--1.end-->
   </ul>
   <ul class="hidden">
    <!--2-->
    <%
	set rs=conn.execute("select top 25 exhibitID,title from as_exhibit where iselite=1 and islock=0 order by views desc")
	if not rs.eof or not rs.bof then
	n=1:list=""
	do while not rs.eof
		list=list+"<p><a href=""exhibitdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:200px;margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<!--2.end-->
   </ul>
  </div>
  <!--elite.end-->
 </div>
 
 <%=anysale.ad(46,"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="exhibitlist.asp?orders=1">更多</a></li><li class="linkR">&nbsp;</li></ul>
   </div>
   <div id="userL">
    <ul class="tabH" onClick="showTab(0,'userL','userC','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,'userL','userC','exhibitlist.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-->
    <%
	set rs=conn.execute("select top 25 exhibitID,title from as_exhibit where islock=0 order by addtime desc")
	if not rs.eof or not rs.bof then
	n=1:list=""
	do while not rs.eof
		list=list+"<p><a href=""exhibitdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:200px;margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<!--1.end-->
   </ul>
   <ul class="hidden">
    <!--2-->
    <%
	set rs=conn.execute("select top 25 exhibitID,title from as_exhibit where islock=0 order by views desc")
	if not rs.eof or not rs.bof then
	n=1:list=""
	do while not rs.eof
		list=list+"<p><a href=""exhibitdetail.asp?id="&rs(0)&""">"&rs(1)&"</a></p>"
	rs.movenext
	n=n+1
	loop
	end if
	rs.close
	set rs=nothing
    %>
	<li style="width:450px; height:200px;margin:0 0 10px 0;overflow:hidden;">
	 <%=list%>
	</li>
	<!--2.end-->
   </ul>
  </div>
  <!--new.end-->
 </div>
<!--2.end-->
</div>

<%=anysale.ad(47,"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>
    <%
	dim logo
	set rs=conn.execute("select top 28 userID,username,title,logo from as_user where logo<>'' and 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 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 + -