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

📄 zh_view.asp

📁 购物网站源码有需要的赶快下载机不可失
💻 ASP
字号:
<!--#include file="main.asp"-->
<%id=request("id")
if id="" or IsNumeric(id)<>true then
response.write"请输入正确的ID号!"
response.end
end if

set rs=server.createobject("adodb.recordset")
sql="select * from SMT_exhibit where SMT_id="&id&" and SMT_key<>0 and SMT_key2=1"
rs.open sql,conn,1,1
if rs.eof then
response.write "<br><br><div align=center>此内容不存在</div>"
response.end
else
conn.execute("update SMT_exhibit set SMT_htc=SMT_htc+1 where SMT_id="&id)
z_name=rs("SMT_z_name")
SMT_yp_id=rs("SMT_yp_id")%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=z_name%> - <%=citytitle%></title>
</head>

<body topmargin="0">
<%SMT_TOP%>

<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top">
<!--==================-->
<table width="100%" border="0" cellspacing="1" cellpadding="5" align="center">
<tr><td height=25 colspan=2>当前位置:<a href=index.asp>首页</a> >> <a href=zh.asp>展会中心</a> >> 正文</td></tr>
<tr><td height=40 bgcolor=#cc3300 colspan=2 style="border:1px #cccccc solid">&nbsp; <font color=#ffffff class=f18><strong><%=z_name%></strong></font><%if rs("SMT_z_lastdate")<now() then%> <font color=bbbbbb>(此展会已过期)</font><%end if%></td></tr>
<tr><td align="right" colspan=2>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr><td align="right"><img src="img/item.gif" border=0 align=absmiddle> <a onclick="window.print()" style="cursor:hand">我要打印</a>
&nbsp;<img src="img/collection.gif" border=0 align=absmiddle> <a href=# onClick="javascript:window.external.AddFavorite('<%=application("cityurl")%>zh_view.asp?id=<%=id%>','<%=z_name%>');return false">IE收藏</a>
&nbsp;<img src="img/gwb.gif" border=0 align=absmiddle> <a href=# onClick="javascript:window.open('collection.asp?tit=<%=z_name%>&page=zh_view.asp?id=<%=id%>','_n','width=300,height=150');return false">放入公文包</a>
&nbsp;<%if int(goid)=int(user_id) or userflag36=1 then
response.write"<img src='img/icon_info_01.gif' border=0 align=absmiddle> <a href=#book>我要留言</a> "
end if
if int(goid)=int(user_id) or userflag37=1 then
response.write"<img src='img/icon_info_02.gif' border=0 align=absmiddle> <a href=#view>查看留言</a>&nbsp;"
end if%>
</td></tr></table>
</td></tr>
<tr><td height=5 colspan=2></td></tr>

<tr>
  <td width="14%" height=25><img src="img/icon_info_03.gif"> 展出时间:</td>
  <td width="86%" class=f14><%=rs("SMT_z_begindate")%> 至 <%=rs("SMT_z_lastdate")%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 申请截止:</td>
  <td class=f14><%=rs("SMT_z_jzdate")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 周  期:</td>
  <td class=f14><%if rs("SMT_z_zq")<>"" then%><%=rs("SMT_z_zq")%>年/届<%end if%>&nbsp;<%if rs("SMT_z_sj")=1 then%><font color=ff6600>[首届]</font><%end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 创办时间:</td>
  <td class=f14><%=rs("SMT_z_cbdate")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 展会对象:</td>
  <td class=f14><%if rs("SMT_z_xz")=0 then%>商家<%else%>公众<%end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 展会区域:</td>
  <td class=f14><%=rs("SMT_z_qy")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 展会地区:</td>
  <td class=f14><%if rs("SMT_addone_id")<>0 then
set rs1=server.createobject("adodb.recordset")
sql1="select *  from SMT_ypaddone where SMT_addone_id="&rs("SMT_addone_id")
rs1.open sql1,conn,1,1
response.write rs1("SMT_addone")
rs1.close
set rs1=nothing
end if%>
<%if rs("SMT_addtwo_id")<>0 then
set rs1=server.createobject("adodb.recordset")
sql1="select *  from SMT_ypaddtwo where SMT_addtwo_id="&rs("SMT_addtwo_id")
rs1.open sql1,conn,1,1
response.write "/"&rs1("SMT_addtwo")
rs1.close
set rs1=nothing
end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 具体地址:</td>
  <td class=f14><%=rs("SMT_z_zgname")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 展出行业:</td>
  <td class=f14><%if rs("SMT_ypxxone_id")<>0 then
set rs1=server.createobject("adodb.recordset")
sql1="select *  from SMT_ypxxone where SMT_ypxxone_id="&rs("SMT_ypxxone_id")
rs1.open sql1,conn,1,1
response.write rs1("SMT_ypxxone")
rs1.close
set rs1=nothing
end if%>
<%if rs("SMT_ypxxtwo_id")<>0 then
set rs1=server.createobject("adodb.recordset")
sql1="select *  from SMT_ypxxtwo where SMT_ypxxtwo_id="&rs("SMT_ypxxtwo_id")
rs1.open sql1,conn,1,1
response.write "/"&rs1("SMT_ypxxtwo")
rs1.close
set rs1=nothing
end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 参展范围:</td>
  <td class=f14><%=rs("SMT_z_lr")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 主 办 方:</td>
  <td><p style="line-height:150%" class=f14><%=replace(rs("SMT_z_jb"),"|","<br>")%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 承 办 方:</td>
  <td><%if rs("SMT_z_cb")<>"" then%><p style="line-height:150%" class=f14><%=replace(rs("SMT_z_cb"),"|","<br>")%><%end if%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 协 办 方:</td>
  <td><%if rs("SMT_z_xb")<>"" then%><p style="line-height:150%" class=f14><%=replace(rs("SMT_z_xb"),"|","<br>")%><%end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25><img src="img/icon_info_03.gif"> 展会网址:</td>
  <td class=f14><%=rs("SMT_z_web")%></td>
</tr>
<tr>
  <td height=25><img src="img/icon_info_03.gif"> 展会说明:</td>
  <td><p style="line-height:190%" class=f14><%=code_jk(rs("SMT_z_others"))%></td>
</tr>


<%if int(SMT_yp_id)=int(user_id) or userflag36=1 then%>
<tr><td height=5 colspan=2></td></tr>
<tr><td colspan=2>
<table width="100%" border="0" cellspacing="1" cellpadding="5" bgcolor=cc3300>
  <tr><td><a name=view><font color=white><strong>查看留言</strong></font></a></td></tr>
  <tr><td bgcolor=#ffffff height=20><script language=javascript src=Include/leaveword_view.asp?sortid=5&tableid=<%=id%>></script></td></tr>
</table>
</td></tr>
<%end if
if int(SMT_yp_id)=int(user_id) or userflag37=1 then%>
<tr><td height=5 colspan=2></td></tr>
<tr><td colspan=2>
<table width="100%" border="0" cellspacing="1" cellpadding="5" bgcolor=cc3300>
  <tr><td><a name=book><font color=white><strong>用户留言</strong></font></a></td></tr>
  <tr><td bgcolor=#ffffff><script language=javascript src=Include/leaveword.asp?sortid=5&tableid=<%=id%>&ypid=<%=SMT_yp_id%>></script></td></tr>
</table>
</td></tr>
<%end if%>



<tr><td height=10 colspan=2></td></tr>
</table>
<!--==================-->
	</td>
  </tr>
</table>
<!--====== bottom ========-->
<%end if
rs.close%>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor=#ffffff>
<tr><td height=2 bgcolor=#cc3300></td></tr>
  <tr>
    <td align="center" height=80><%=citybottom%></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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