detail.asp

来自「我们的课程设计是一个工资管理系统」· ASP 代码 · 共 43 行

ASP
43
字号
<!--#include file="conn.asp" -->
<link href="home.css" rel="stylesheet" type="text/css">
<%
dim newsid,ntype,sqlstr
newsid = request.QueryString("id")
ntype = request.QueryString("ntype")
sqlstr = "select * from news where id = "&newsid
set rs = server.CreateObject("adodb.recordset")
rs.open sqlstr,conn,1,1
%>
<html>
<head>
<title>工资管理系统新闻</title>

</head>
<body topmargin="0">
<!--#include file="indextop.asp"-->


<center>
<table width="760"  height="206" border="1" bordercolor="#006600"
 cellpadding="0" cellspacing="0" bgcolor="#f0f9ff">
  
  <tr>
    <td height="24px">
	新闻标题:<%=rs("topic")%><br>
	发表时间:<%=rs("datetime")%><br>
	阅读次数:<%=rs("hits")%>
	</td>
  </tr>
  <tr valign="top">
    <td><%=rs("content")%></td>
  </tr>
 
</table>
</center>
<table>
 <tr valign="top">
    <td><Iframe src="CopyRight.asp" width="760" height="200" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="CopyRight"></iframe></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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