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

📄 showhw.asp

📁 是一个电子商务网站系统,提供前后台交易源码.
💻 ASP
字号:
<!--#include file="top.asp" -->
<!--#include file="inc/chr.asp" -->
<%
on error resume next
dim rs,sql

set rs=server.createobject("adodb.recordset")
sql="select * from hw where id="&RtnReplaceInt(request("id"),0)
rs.open sql,conn,1,1
	if rs.eof and rs.bof  then 
		response.write "<script>alert('对不起,该信息并不存在,请返回!');window.close();</Script>"
		response.end
	else
sql="update hw set hits=hits+1 where id="&cstr(request("id"))
conn.execute sql
%>
 
<head>
 <TITLE><%=rs("title")%>-<%=title%>——空车配货、大货配载、物流运输、专线运输</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK 
href="imgb/style.css" type=text/css 
rel=stylesheet>
<style>
<!--
.style1 {
	FONT-SIZE: 12px
}
-->
</style>
</head>

<TABLE cellSpacing=0 cellPadding=0 width=770 align=center border=0>
  <TBODY>
  <TR><TD vAlign=top width=176 bgColor=#99ccff>
    <!--#include file="left.asp" --></TD>
    <TD bgColor=#ffffff valign="top">
                  <TABLE width="98%">
                    <TBODY>
                    <TR bgColor=#ecf8ff>
                      <TD class="L14 style1" colSpan=3 
                        height=25><STRONG><%=title%></STRONG>&gt;&gt;<B>查看货物信息</B>(编号:<%=rs("id")%>  浏览:<%=rs("hits")%> 次) 
                      </TD>
                    <TR>
                      <TD class="L15 style1" align=right width="25%"><B><SPAN 
                        class=style1></SPAN>信息标题: </B>
                      <TD class="L15 style1" colSpan=2><%=rs("title")%> </TD><!--tr>
                  <td width=25% align=right class='L15 style1'><b><font color="#FF0000">信用等级:</font></td>
                  <td colspan=2 class='L15 style1'>
		            <span style='background-color:#ECF8FF' ><font color='#FF0000'>普通级(免费用户)</font></span>
                  </td>
				</tr-->
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>货物名:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("hwname")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>参考运价:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("ckyj")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>货物重量/数量:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("hwzl")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>货物包装:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("hwbz")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>始发地:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("始发地")%>--<%=rs("始发市")%>  <%=rs("sfqx")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>目的地:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("目的地")%>--<%=rs("目的市")%>  <%=rs("mdqx")%></TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD class="L15 style1" align=right><B>发布时间:</B></TD>
                      <TD class="L15 style1" colSpan=2><%=rs("time")%>
</TD></TR>
                    <TR>
                      <TD align=right width="18%"><B><SPAN 
                        class=style1>有效期:</SPAN></B></TD>
                      <TD class="L15 style1"><%=rs("yxq")%>天</TD>
                      <TD><SPAN class=style1></SPAN></TD></TR>
                    <TR>
                      <TD vAlign=top align=right width="18%"><B><SPAN 
                        class=style1>备注信息:</SPAN></B></TD>
                      <TD class="L15 style1" calspan="2"><%=rs("bz")%></TD></TR>
                    <TR>
                      <TD align=right colspan="2" background=imgb/ve.gif></TD>
                      </TR><%if session("boobuser")<>"" then%>
                    <TR>
                      <TD align=right width="18%">
						<IMG height=20 
                  src="imgb/lx01.gif" width=120 border=0></TD>
                      <TD class="L15 style1" calspan="2">
            <TABLE cellSpacing=0 cellPadding=0 width="92%" border=0>
              <TR>
                <TD width=145>
				<IMG height=48 src="imgb/lx02.gif" 
                  width=100 border=0></TD>
                <TD width=165>
				<IMG height=48 src="imgb/lx03.gif" 
                  width=115 border=0></TD>
                <TD width=121>
				<IMG height=48 src="imgb/lx04.gif" 
                  width=95 border=0></TD>
                <TD width=101>
				<IMG height=48 src="imgb/lx05.gif" 
                  width=110 border=0></TD></TR></TABLE> </TD></TR>
                    <TR>
                      <TD align=right colspan="2">
						<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0">
							<tr>
<TD width="14%">姓名:</TD>
          <TD width="38%" height=21><FONT color=#990000>&nbsp;<%=rs("name")%></FONT></TD>
          <TD width="8%">省份:</TD>
          <TD width="40%"><FONT color=#990000>&nbsp;<%=rs("provinceCN")%></FONT></TD></TR>
        <TR>
          <TD height=22>电话:</TD>
          <TD><FONT color=#990000>&nbsp;<%=rs("phone")%></FONT></TD>
          <TD>城市:</TD>
          <TD><FONT color=#990000>&nbsp;<%=rs("capitalCN")%></FONT></TD></TR>
        <TR>
          <TD height=22>E-MAIL</TD>
          <TD><FONT color=#990000>&nbsp;<%=rs("email")%></FONT></TD>
          <TD>传真:</TD>
          <TD><FONT color=#990000>&nbsp;<%=rs("fax")%></FONT></TD></TR>
        <TR>
          <TD height=22>手机:</TD>
          <TD><FONT color=#990000>&nbsp;<%=rs("mobile")%></FONT></TD>
          <TD>Q&nbsp; Q:</TD>
          <TD><FONT color=#990000>&nbsp; <%=rs("qq")%></FONT></TD></TR>
        <TR>
          <TD height=22>邮编:</TD>
          <TD><FONT color=#990000>&nbsp; <%=rs("post")%></FONT></TD>
          <TD>主页:</TD>
          <TD><a target="_blank" href="<%=rs("web")%>"><FONT color=#990000>&nbsp; <%=rs("web")%></FONT></a></TD></TR>
        <TR>
          <TD height=25>地址:</TD>
          <TD colSpan=3><FONT color=#990000>&nbsp;<%=rs("address")%></FONT></TD>
							</tr>
						</table>
						</TD>
                      </TR><%else%><TR>
                      <TD align=right colspan="2" height="61" bgcolor="#ECF8FF">
					<p align="center"><b><font size="3">对不起,您没有 
					<font color="#FF0000">登录</font> 或 <font color="#008000">注册</font> 
					,不能查看联系方式!</font></b></TD>
                      </TR><%end if%>
                    <TR bgColor=#cee8ff>
                      <TD class=L14 align=middle colSpan=3>&nbsp; 
                    </TD></TR></TBODY></TABLE>
	</TD></TR>
  </TBODY></TABLE>
<!--#include file="end.asp" -->
</BODY></HTML><%
set rs=Nothing
end if
%>

⌨️ 快捷键说明

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