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

📄 new.asp

📁 基于ASP的SQL小区物业管理系统课程设计
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新闻动态</title>
<link href="inc/body.css" rel="stylesheet" type="text/css" />
<link href="inc/nav.css" rel="stylesheet" type="text/css" />
<script language="javascript">
 function AXzhz(hideme)
  {
    var a1=document.all(hideme); //声明一个变量
    a1.style.display=a1.style.display=="none"?"":"none"; //判断是否隐藏
  }
</script>
</head>

<body>
<!--#include file="inc/header.asp"-->
<div id="abody">
 <div id="lbody">
 </div>
 <div id="rbody">
<%
    dim id
	id=Cint(Request.QueryString("id"))
	set rs=Server.CreateObject("ADODB.RecordSet")
    sql="select * from l_new where newid="&id
    rs.open sql,conn,1,1
%>
    <div id="n-0"><%= rs(1) %></div>
    <div id="n-1"><%= rs(2) %></div>
<% 
    rs.close
	set rs=nothing
%>
	<div id="n-2" >
	    <span onClick="AXzhz('n-3')"><a href="#">发表评论</a></span>
		<span onClick="AXzhz('n-3')"><a href="#">查看评论</a></span>
	</div>
	<div id="n-3" style="display:none"></div>
 </div>
</div>
<!--#include file="inc/bottom.asp"-->
</body>
</html>

⌨️ 快捷键说明

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