📄 product_view.asp
字号:
<!--#include file="setup.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=web_name%>公司简介</title>
<link href="inc/style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<!--#include file="index_top.asp" -->
<table width="762" height="5" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="f5f5f5" class="tablelinenotop">
<tr>
<td></td>
</tr>
<tr>
<td height="1" bgcolor="#CCCCCC"></td>
</tr>
</table>
<table width="762" height="457" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tablelinenotop">
<tr>
<td width="170" valign="top" bgcolor="#FFFFFF">
<div align="center">
<table width="100%" height="47" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="image/produ.jpg" width="170" height="50"></td>
</tr>
</table>
<table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table><!--#include file="pro_type.asp" -->
</div></td>
<td width="1" bgcolor="#cccccc"></td>
<td width="583" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
<form action="pro_search.asp" method="post" name="form2">
<tr>
<td width="74%" height="34"> <div align="right"><font color="#FF9900">快速查找 </font>
<input name="keyword" type="text" size="15" maxlength="50">
</div></td>
<td width="26%"><input type="image" src="image/pro/community_board_btn_search.gif" width="45" height="20" border="0"></a>
</td>
</tr>
</form>
<tr>
<td colspan="2"><div align="center">
<table width="95%" height="4" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td bgcolor="#f5f5f5"></td>
</tr>
</table>
</div></td>
</tr>
</table>
<%
if request("id")<>"" then
id = request("id")
else
Response.Write("<script>")
Response.Write("alert('没有选定商品信息');")
Response.Write("history.back();")
Response.Write("</script>")
end if
strsql="select * from pro_list where id="&id
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open strsql, conn, 1, 1
if rs.recordcount=0 then
Response.Write("<script>")
Response.Write("alert('没有选定商品信息');")
Response.Write("history.back();")
Response.Write("</script>")
end if
%>
<table width="100%" height="14" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="561" height="220" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <div align="center">
<table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="left"><img src="image/pro/pro_img.gif" width="200" height="40"></div></td>
</tr>
</table>
</div>
<div align="center">
<table width="96%" height="173" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="112" bgcolor="#FFFFFF"><div align="center"><img src="<%= rs("pro_img") %>"></div></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table width="94%" height="207" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="left"><img src="image/pro/pro_view.gif" width="200" height="40"></div></td>
</tr>
</table>
<table width="94%" height="164" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="19%" height="48">
<div align="right"><font color="#006699"><strong>产品名称:</strong></font></div></td>
<td width="81%" height="48"><%= rs("pro_name") %></td>
</tr>
<tr>
<td colspan="2"> <div align="right">
<fieldset>
<legend><font color="#006699">产品说明</font></legend>
<table width="97%" height="59" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"> <span class="font">
<%
if len(rs("pro_info"))<>0 then
Response.Write(replace(rs("pro_info"),chr(13),"<BR>"))
else
Response.Write("无资料")
end if
%></span></td>
</tr>
</table>
</fieldset>
</div>
<font color="#009933"><font color="#009900"><font color="#0066CC"><font color="#009933"><font color="#009900"><font color="#0066CC"><font color="#006699"></font></font></font></font></font></font></font></td>
</tr>
</table></td>
</tr>
</table>
<table width="95%" height="37" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="left"><img src="image/pro/pro_info.gif" width="200" height="40"></div></td>
</tr>
</table>
<table width="94%" height="79" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#006699">
<form action="msg_save.asp" method="post" name="form1">
<tr>
<td height="28" bgcolor="#D7F2FF">
<div align="center">询价
<input name="type" type="radio" class="unnamed1" value="询价" checked>
| 订购
<input name="type" type="radio" class="unnamed1" value="订购">
| 其它
<input name="type" type="radio" class="unnamed1" value="其它">
</div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" height="113" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="32" colspan="2"> 姓名或单位:
<input name="name" type="text" id="name">
联系方式
<input name="tel" type="text" id="tel">
(电话,mail) </td>
</tr>
<tr>
<td width="76%"><textarea name="msg" cols="60" rows="5" wrap="VIRTUAL" id="msg"></textarea></td>
<td width="24%">
<div align="center">
<input name="id" type="hidden" value="<%= id %>">
<input type="submit" name="Submit" value="提交">
</div></td>
</tr>
</table></td>
</tr></form>
</table>
<table width="100%" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="index_down.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -