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

📄 xinwennr.asp

📁 企业信息化管理系统:针对的是一个计算机配件生产公司为背景实现的。
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新闻内容</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	font-family:Arial, Helvetica, sans-serif;
}
.style1 {color: #C60001;font-size:14px;}
.style2 {
color: #669999;
font-size:14px;
}
-->
</style>
</head>

<body>
<!--#include file="Connections/auto.asp" -->
<%
   set RS = server.CreateObject("ADODB.Recordset")
   Sname ="SELECT Message.Name, Message.Position, Login.Part, xinwen.fbshj, xinwen.cishu, xinwen.neirong, xinwen.biaoti, xinwen.id, xinwen.tuijian FROM (Message INNER JOIN Login ON Message.ID=Login.ID) LEFT JOIN xinwen ON Message.ID=xinwen.faburen WHERE (((xinwen.id)="&Request.QueryString("ID")&") And ((Login.ID)=xinwen.faburen) And ((Message.ID)=xinwen.faburen)) ORDER BY xinwen.fbshj DESC , xinwen.tuijian DESC;"
   RS.open Sname , CN
   set RS1 = server.CreateObject("ADODB.Recordset")
   Sname1= "SELECT cishu from xinwen where id = "&Request.QueryString("ID")
   RS1.open Sname1 , CN ,1,3
   RS1("cishu")=RS1("cishu")+1
   RS1.update
   RS1.close
   set RS1 =nothing
%>
<!--#include file="Connections/xuanze.asp" -->
<table width="583" height="230" border="0" cellpadding="-2" cellspacing="1" bgcolor="#336699">
  <tr>
    <td width="590" height="228" valign="top"><form name="form1">
        <table width="99%" height="224"  border="0" align="center" cellpadding="-2" cellspacing="1" bgcolor="#336699">
          <tr>
            <td height="27" colspan="2" align="left" bgcolor="#FFFFFF"><span class="style1">&nbsp;&nbsp;&nbsp;&nbsp;发布人:</span>
			<span class="style2"><%=part%><%=position%>&nbsp;&nbsp;<%=RS("Name")%></span></td>
            <td width="19%" bgcolor="#FFFFFF"><div align="center" class="style1">发布时间:</div></td>
            <td width="30%" bgcolor="#FFFFFF"><span class="style2"><%=RS("fbshj")%></span></td>
          </tr>
          <tr>
            <td width="14%" height="29" bgcolor="#FFFFFF"><div align="center"><span class="style1">&nbsp;&nbsp;主题:</span></div></td>
            <td colspan="3" bgcolor="#FFFFFF"><input name="subject" type="text" readonly id="subject2" value="<%=RS("biaoti")%>"></td>
          </tr>
          <tr>
            <td height="129" valign="top" bgcolor="#FFFFFF"><div align="center" class="style1">&nbsp;&nbsp;内容:</div></td>
            <td colspan="3" valign="top" bgcolor="#FFFFFF"><textarea name="content" cols="53" rows="8"  id="content"><%=RS("neirong")%></textarea></td>
          </tr>
          <tr>
            <td colspan="4" bgcolor="#FFFFFF"><div align="center">
                <input name="myclose" type="button" class="Style_button_del" id="myclose" value="关闭窗口" onClick="javascrip:window.close()">
			</div></td>
          </tr>
        </table>
    </form></td>
  </tr>
</table>
<%
RS.close
set RS = nothing
CN.close
%>
</body>
</html>

⌨️ 快捷键说明

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