📄 note.asp
字号:
<!--#include file="config.ini" -->
<!--#include file="commfunction.inc" -->
<%
dim theName : theName = Request("theName")
dim theForm : theForm = Request("theForm")
dim theType : theType = Request("theType")
%>
<%if Request("submitname") = "notessave" then
dim conn
dim rs
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject("adodb.recordset")
conn.Open connstring
rs.Open "select * from quote where quoteid="&request("id"),conn,2,3,1
strdescription=rs("description")
rs.Update
rs.Close
set rs=nothing
conn.Close
set conn=nothing
%>
<script language=javascript>
window.opener.location.reload();
window.close();
</script>
<%
end if
%>
<HTML><HEAD><TITLE>记事本</TITLE>
<LINK href="global.css" rel=STYLESHEET type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<Script Language="javascript" >
function dosave()
{
form1.submitname.value = "notessave" ;
form1.submit();
}
</Script>
<body>
<form name=form1 method="post" id=form1>
<input type=text name="submitname">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25"><strong><font size="2" class=title><b><%=request("type")%>记事本</b></font></strong></td>
<td> </td>
</tr>
<tr >
<td height="16" colspan="2" background="images/title.gif"> </td>
</tr>
<tr>
<td height=4></td>
</tr>
<tr><td><div align="center" style="cursor:hand">
<a onclick="dosave();"><img src="images/button_save.gif"></a>
<a onclick="window.close();"><img src="images/button_cancel.gif"></a></DIV></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="white">
<td width="15%" bgcolor="DEDFDE" > <div align="center">描述</div></td>
<td width="85%" bgcolor="EFEFEF"> <textarea name="description" cols="45" rows="4"><%=strdescription%></textarea>
</td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -