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

📄 browse.asp

📁 办公系统
💻 ASP
字号:
<!--#include file="../includes/db.asp"-->
<%
call insureID()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>办公自动化系统</title>
<style type="text/css">
<!--
.style1 {
	color: #000000;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<center>
<table border="0" width="100%" height="50" cellspacing="0" cellpadding="0">
 <tr>
  <td width="100%"></td>
 </tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5A8BCE">
 <tr>
  <td height="35" align=left bgcolor="#E6F7FF">
    <div align="center" class="style1"><%=session("Name")%>个人记事本</div></td>
  </tr>
</table>
<table width="75%" border="0" cellpadding="4" cellspacing="1" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" bgcolor="#5A8BCE">
 <tr bgcolor="#FCFCFC">
  <td width="45%"><div align="center">标 题</div></td>
  <td width="20%"><div align="center">日 期</div></td>
  <td width="10%"><div align="center">操 作</div></td>
 </tr>
 <%
sql="SELECT * FROM Notes WHERE User_id="&session("User_id")&" " _
	&"ORDER BY Note_date DESC"
call openDB()
rs.open sql,conn,1,1
if rs.eof then
	response.write "<tr><td width=""75%"" colspan=3 align=center>"
	response.write "你的记事本是空的."
	response.write "</tr></td>"
end if
while not rs.eof
	response.write "<tr bgcolor=""#FCFCFC"">"
	response.write "<td width=""45%""><a href=""Read.asp?Note_id="&rs("Note_id")&""">"&rs("Note_title")&"</a></td>"
	response.write "<td width=""20%"">"&rs("Note_date")&"</td>"
	response.write "<td width=""10%""><a href=""save.asp?Note_id="&rs("Note_id")&"&action=Delete"">删除</a></td>"
	response.write "</tr>"
	rs.MoveNext
wend
call closeDB()
%>
	<tr>
	<td width="75%" bgcolor="#EFEFEF" height="50" colspan="3" align=center>
	[<a href="javaScript:history.back()">返回</a>]&nbsp;&nbsp;&nbsp;  
	[<a href="Add.asp">添加新记事</a>]
	</td>
	</tr>
</table>
</center>
</body>
</html>

⌨️ 快捷键说明

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