open.asp

来自「这是一个关于企业物流平台的东东」· ASP 代码 · 共 63 行

ASP
63
字号
<!--#include file=conn/co.asp-->
<% 
set rs=server.CreateObject("adodb.recordset")
sql="Select * from new where id="&request("id")
rs.open sql,conn,1,1
function HTMLcode(fString)
if not isnull(fString) then
    fString = Replace(fString, CHR(13), "")
    fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
    fString = Replace(fString, CHR(10), "<BR>")
	fString = Replace(fString, CHR(32), "&nbsp;")
    HTMLcode = fString
end if
end function
%>
<HTML><HEAD><TITLE>启天物流</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.style1 {color: #FFFFFF}
-->
</style>

<link href="table.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
-->
</style></head>
<body topmargin="0" >
<table width="100%" border="0">
  <tr>
    <td height="50" bgcolor="#CCCCCC"><div align="center"><%= rs("title") %></div></td>
  </tr>
  <tr>
    <td height="1" bgcolor="#000000"></td>
  </tr>
  <tr>
    <td><p align="right"><%= rs("time") %></p>
        <p><%=htmlcode(server.htmlencode(Rs("content")))%> </p></td>
  </tr>
</table>
</BODY></HTML>

⌨️ 快捷键说明

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