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

📄 board.asp

📁 第一次开发医院管理
💻 ASP
字号:
<!--#include file="conn.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../main.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT LANGUAGE=JavaScript>
<!--//  
                            function marquee1()                                     
                            {  document.write("<marquee behavior=scroll direction=up width=100% height=170 scrollamount=1 scrolldelay=60 onmouseover='this.stop()' onmouseout='this.start()'>")                                     
        	                }                                     
                                     
                            function marquee2()                                     
                            {                                     
	                         document.write("</marquee>")                                     
	                        }                                     
                                     
                           //-->
</SCRIPT> 
<SCRIPT LANGUAGE=JavaScript>
marquee1();
</SCRIPT>
<% set rs = conn.execute("select top 6 * from board order by id desc") 
if rs.eof and rs.bof then
Response.Write("暂时无纪录。")
else
do while not rs.eof
dim content
if len(rs("content"))>16 then
content=left(rs("content"),14)+"..."
else
content=rs("content")
end if%>
<table width="95%" border="0" align="center">
  <tr>
    <td><a href="boardd.asp?id=<%=rs("id")%>" target="_parent"><%= content%></a></td>
  </tr>
</table>
<%
rs.movenext
loop
end if
rs.close
set rs = nothing %>
<SCRIPT LANGUAGE=JavaScript>
marquee2();
</SCRIPT>

⌨️ 快捷键说明

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