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

📄 zh_view.asp

📁 实现一个用JSP、Servlet技术实现的小型物流网站系统。实现功能如下:管理员通过登录该系统
💻 ASP
字号:
<%dbdns="../../"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../cook.asp"-->
<%if fla7<>1 then
response.write "<script>alert('操作权限出错,您没有权限操作些功能');history.go(-1);</Script>"
Response.End 
end if%>
<%id=request("id")
set rs=server.createobject("adodb.recordset")
sql="select * from SMT_exhibit where SMT_id="&id&""
rs.open sql,conn,1,1
if rs.eof then
response.write "<br><br><div align=center>此内容不存在</div>"
response.end
else
z_name=rs("SMT_z_name")%>
<%=citycss%>
<!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 style="margin:0">

<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=40 bgcolor=#efefef colspan=2 style="border:1px #999999 solid">&nbsp; <font color=#000000 class=f18><strong><%=z_name%></strong></font><%if rs("SMT_z_lastdate")<now() then%> <font color=red>(此展会已过期)</font><%end if%></td></tr>
<tr><td height=5 colspan=2></td></tr>

<tr>
  <td width="14%" height=25>展出时间:</td>
  <td width="86%" class=f14><%=rs("SMT_z_begindate")%> 至 <%=rs("SMT_z_lastdate")%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25>申请截止:</td>
  <td class=f14><%=rs("SMT_z_jzdate")%></td>
</tr>
<tr>
  <td height=25> 周  期:</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> 创办时间:</td>
  <td class=f14><%=rs("SMT_z_cbdate")%></td>
</tr>
<tr>
  <td height=25> 展会对象:</td>
  <td class=f14><%if rs("SMT_z_xz")=0 then%>商家<%else%>公众<%end if%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25> 展会区域:</td>
  <td class=f14><%=rs("SMT_z_qy")%></td>
</tr>
<tr>
  <td height=25> 展会地区:</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> 具体地址:</td>
  <td class=f14><%=rs("SMT_z_zgname")%></td>
</tr>
<tr>
  <td height=25> 展出行业:</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> 参展范围:</td>
  <td class=f14><%=rs("SMT_z_lr")%></td>
</tr>
<tr>
  <td height=25> 主 办 方:</td>
  <td><p style="line-height:150%" class=f14><%=replace(rs("SMT_z_jb"),"|","<br>")%></td>
</tr>
<tr bgcolor=#efefef>
  <td height=25> 承 办 方:</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> 协 办 方:</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> 展会网址:</td>
  <td class=f14><%=rs("SMT_z_web")%></td>
</tr>
<tr>
  <td height=25> 展会说明:</td>
  <td><p style="line-height:190%" class=f14><%=code_jk(rs("SMT_z_others"))%></td>
</tr>


<tr><td height=5 colspan=2></td></tr>
<tr><td colspan=2></td></tr>
<tr><td height=50 colspan=2></td></tr>
</table>
<!--==================-->
	</td>
  </tr>
</table>
<!--====== bottom ========-->
<%end if
rs.close%>

⌨️ 快捷键说明

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