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

📄 viewnews.asp

📁 数据库应用技术的实验代码及相关文档,供有需要的人使用
💻 ASP
字号:
<% Response.Buffer=True %> 
<!--#include file="inc/dbconn.asp"-->
<% set rs=server.createobject("adodb.recordset")
sql1="update jobnews set click=click+1 where id="&request("id")
rs.open sql1,conn,1,1
sql2="select * from jobnews where id="&request("id")
rs.open sql2,conn,1,1 %>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="inc/index.css" type="text/css">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>新闻资讯==><%=rs("title")%></title>
</head>

<body>

<div align="center">
  <center>
  <table border="1" cellpadding="0" cellspacing="0" width="369" height="35" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#FFFFFF">
    <tr>
      <td width="367" height="17" valign="bottom" background="images/t-bg1.gif">
        <p align="center">=== <%=rs("title")%> ===</td>
    </tr>
    <tr>
      <td width="367" height="17" valign="top" bgcolor="#F0F0F0" align="center">  
        <p align="left">&nbsp;&nbsp;&nbsp;<%=rs("text")%></td>
    </tr>
  </table>
  </center>
</div>

<p align="center">【<a href="javascript:window.close()">关闭窗口</a>】</p>

</body>

</html>

⌨️ 快捷键说明

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