📄 display.asp
字号:
<!--#include file="config.asp" -->
<!--#include file="jah0b1e/conn.asp" -->
<!--#include file="char.asp"-->
<script language="Javascript">
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function price_ask()
{
openScript('price_ask.asp',580,320);
}
</script>
<html>
<head>
<%
id=cint(Request.QueryString("id"))
set temprs=conn.execute("select classid,name from produce where id="&id)
%>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="sys.css" rel="stylesheet" type="text/css">
</head>
<body text="#000000" leftmargin="0" topmargin="0">
<table width="770" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td width="75%" valign="top"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="935" colspan="2" valign="top">
<%
dim name
sql = "SELECT * FROM produce where id="&id
Set rs = Server.CreateObject("ADODB.Recordset")
rs.OPEN sql,Conn,1,3
rs("viewpoint")=rs("viewpoint")+1
name=rs("name")
rs.update
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45%"> <table width='100%' border='0' cellspacing='0' cellpadding='5' align='center'>
<tr>
<td align='center'><table align=center bgcolor='#000000' border=0 cellpadding=0 cellspacing=1 class='bk1'>
<tbody>
<td bgcolor="#FFFFFF">
<div align="center"><img src='admin/<%=rs("smallimg")%>' alt="点击放大看全图" width="750" border='0'></div></td>
</table> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="164" colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="100%">· 作品编号:<strong><a><%=right(year(rs("time")),2)%><%=month(rs("time"))%></a><%=day(rs("time"))%><%=rs("id")%></strong></td>
</tr>
<tr bgcolor="#cccccc">
<td height="1" background="images/line.gif"></td>
</tr>
<tr>
<td>· 作品名称:<a><%=rs("name")%></a></td>
</tr>
<tr bgcolor="#cccccc">
<td height="1" background="images/line.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td>
· <strong>图标说明</strong>:</td>
<td> </td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#cccccc" background="images/line.gif"></td>
</tr>
<tr valign="top">
<td height="34" colspan="2">
<table width="100%" border="0" cellspacing="8" cellpadding="0">
<tr>
<td><%=ubbcode(rs("txtcontent"))%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#cccccc" background="images/line.gif"></td>
</tr>
<tr>
<td height="37" colspan="2">· 添加时间:<%=rs("time")%></td>
</tr>
</table>
<hr>
<div align="center"> [<a href="javascript:print()">打印该页</a>]
[<a href="javascript:window.close()">关闭窗口</a>] </div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -