📄 news.asp
字号:
<!--#include file="../manager/function/conn.asp"-->
<!--#include file="../../config.asp"-->
<%
session("aboutid")=trim(request("aboutid"))
if session("aboutid")="" then
session("aboutid")="2"
end if
set rs=server.CreateObject("adodb.recordset")
sql="select * from about where about_id="&session("aboutid")&""
rs.open sql,conn,3,1
if not rs.eof then
about1=trim(rs("about1"))
about2=trim(rs("about2"))
about3=trim(rs("about3"))
about4=trim(rs("about4"))
image1=trim(rs("image1"))
image2=trim(rs("image2"))
about2=replace(about2,vbcrlf,"<br>")
about2=replace(about2," "," ")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=ZXLCompanyStr%></title>
<link rel="stylesheet" type="text/css" href="../../system_manage/style/comm.css" />
<link rel="stylesheet" type="text/css" href="../../system_manage/style/skin0.css" />
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#999999">
<tr>
<td bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="5" colspan="3" align="center" bgcolor="#FFFFFF"></td>
</tr>
<tr bgcolor="#FFCC00">
<td height="25" colspan="3" align="center" bgcolor="#0099CC" class="stepblock"><strong class="addr_line"><%=about1%></strong></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" class="b-12">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="attbg">
<tr>
<td align="center" class="b-12">信息来源:<%=about4%> 发布时间:<%=about3%></td>
</tr>
</table></td>
</tr>
<!-- <tr>
<td width="294" align="center" bgcolor="#FFFFFF"><br>
<%if left(image1,7)="http://" then%>
<img src="<%=image1%>" width="130" height="150">
<%else%>
<img src="../upload/<%=image1%>" width="130" height="150">
<%end if%></td>
<td width="260" colspan="2" align="center" bgcolor="#FFFFFF"><br>
<%if left(image2,7)="http://" then%>
<img src="<%=image2%>" width="130" height="150">
<%else%>
<img src="../upload/<%=image2%>" width="130" height="150">
<%end if%></td>
</tr> -->
<tr>
<td colspan="3" bgcolor="#FFFFFF" class="editor_source"><%=about2%></td>
</tr>
<tr>
<td height="30" colspan="3" bgcolor="#FFFFFF" class="back-12"></td>
</tr>
</table>
<br>
</td>
</tr>
</table>
</body>
</html>
<%
rs.close
set rs=nothing
call conn_close()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -