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

📄 pinfo.asp

📁 这是一本关于高级软件工程的书籍
💻 ASP
字号:
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/function.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>意科在线定单系统</title>
<style>
.w-1 {
	font-family: "宋体";
	font-size: 12px;
	color: #FFFFFF;
	background-position: bottom;
}

.w-2 {
	font-family: "宋体";
	font-size: 12px;
	color: #cccccc;
	background-position: bottom;
}
.w-3 {
	font-family: "宋体";
	font-size: 12px;
	color: #000000;
	background-position: bottom;
}
.STYLE1 {font-size: 14px}
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <!-- #include file="../inc/qhead.asp" -->
  <table width="737" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="666666">
  <tr>
    <td height="20" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td width="170" height="20" valign="top" bgcolor="606060"><!-- #include file="../inc/left.inc" --></td>
    <td width="8">&nbsp;</td>
    <td width="559" valign="top">
	<table width="100%" border="0">
	<%
	pid = managestr(request("pid"))'产品编号
	sql = "SELECT pname, remark, pid, price, freight,ppic,spec,xremark FROM goods WHERE (pid = '"&pid&"')"
	rs.open sql,conn
	if not rs.eof then
		pname = rs("pname")
		remark = rs("remark")
		if remark <> "" then
			remark = replace(remark , vbcrlf , "<BR>")
		end if
		price = rs("price")
		freight = rs("freight")
		ppic = rs("ppic")
		spec = rs("spec")
		if spec <> "" then
			spec = replace(spec , vbcrlf , "<BR>")
		end if
		xremark = rs("xremark")
		if xremark <> "" Then
			xremark = replace(xremark , vbcrlf , "<BR>")
		end if
	end if
	rs.close
	%>
        <tr>
          <td height="20" valign="bottom" bgcolor="#CCCCCC" class="w-3"><strong>产品详情-&gt;<%=pname%></strong></td>
        </tr>
      </table><br>
	<table width="100%" border="0">
      <tr>
        <td width="100%" class="w-1"><%=remark%></td>
      </tr>
    </table>
	<br />
	<table width="100%" border="0">
      <tr>
        <td width="42%" rowspan="5" valign="top"><img src='../pic/<%=ppic%>' width="230" height="179"/></td>
        <td width="13%" class="w-1"><div align="right">产品型号:</div></td>
        <td width="45%" class="w-1">&nbsp;<%=pid%></td>
      </tr>
      <tr class="w-1">
        <td><div align="right">产品名称:</div></td>
        <td>&nbsp;<%=pname%></td>
      </tr>
      <tr class="w-1">
        <td><div align="right">产品价格:</div></td>
        <td>&nbsp;<%=price%>元</td>
      </tr>
      <tr class="w-1">
        <td><div align="right">运输费用:</div></td>
        <td>&nbsp;<%=freight%>元</td>
        </tr>
      <tr class="w-1">
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
	<br>
	<%
		if spec <> "" then
	%>
	<font class="w-1 STYLE1">技术规格:</font>
	<br>
	
	<hr>
	<table width="100%" border="0">
      <tr>
        <td>
			<font class="w-1"><%=spec%></font>
		</td>
        </tr>
    </table>
	<br />
	<br />
	<%
		end if
	%>
	<%
		if xremark <> "" then
	%>
	<font class="w-1 STYLE1">详细介绍:</font><br />
	<hr>
	<table width="100%" border="0">
      <tr>
        <td><font class="w-1"><%=xremark%></font></td>
      </tr>
    </table>
	<%end if%>
	<table width="200" border="0" align="right">
	<%
		if session("uname") <> "" then
			mstr = "<img src='../pic/l-1.jpg' width='61' height='17' style='cursor:hand' onClick=buy('"&pid&"')>"
		else
			mstr = "<img src='../pic/l-1.jpg' width='61' height='17' style='cursor:hand' onClick=nologin()>"
		end if
	%>
      <tr>
        <td width="135">
			<div align="right"><%=mstr%>
            </div></td>
        <td width="55">&nbsp;</td>
      </tr>
    </table>
	<br><br><br><br><br><br><br>
	</td>
  </tr>
</table>
<!-- #include file="../inc/bottom.asp" -->

<%
	if session("username") = "" then
%>
<script language="javascript">
	document.lefform.pagestr.value="pinfo.asp";
	document.lefform.pagepid.value="<%=pid%>"
</script>
<%end if%>

<script language="javascript">
	
	function buy(pid){
		var win;
		win = "show.asp?pid="+pid;
		//retValue=window.showModalDialog(win,window,'dialogWidth:550px;dialogHeight:400px;resizable:yes;scroll:no;center:yes;resizeable:no;status:no;help:no');
		retValue=window.open(win,'show','height=300, width=600, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=n o, status=no');
	}
	function nologin(){
		alert("您还没有登陆,请先登陆系统!")
	}
	</script>
</body>
</html>

⌨️ 快捷键说明

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