📄 textedit.asp
字号:
<!--#INCLUDE FILE="data.asp" -->
<%
Set rs= Server.CreateObject("ADODB.Recordset")
strSql="select * from learn where id="&request("id")
rs.open strSql,Conn,1,1
%>
<html><head><title><%=rs("title")%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="oa.css">
<script language="JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
</head>
<body bgcolor="#efefef" topmargin="0" leftmargin="0">
<form method="post" name="Form" action="savetext.asp?id=<%=request("id")%>" enctype="multipart/form-data" >
<div align="center">
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#4e5960">
<td class="heading" height="26">
<p align="left"><b> <font color="#FFFFFF"><%=rs("name")%></font>  <font color="#FFFFFF"><%=rs("time")%></font>
</b></p>
</font>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="2" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" height="40">
<tr>
<td bgcolor="#bfbfbf" class="heading" width="451" height="20" align=center> <b><%=rs("title")%></b></td>
</center>
<td bgcolor="#bfbfbf" class="heading" width="274" height="20">
<p align="right">
</p>
</td>
</tr>
<center>
<tr>
<td class="show" colspan="2" height="16" width="727">
<%=rs("content")%>
</td>
</tr>
</table>
</center>
<%
Set Record= Server.CreateObject("ADODB.Recordset")
strSql="select * from user where rule=true and iPageSize=10 "
Record.open strSql,Conn,1,3
NumRec=Record.RecordCount
%>
<p></p>
<table>
<tr>
<tr>
<td height="20" class="css1" nowrap width="897">
<select name="user" size="1" onchange="vbscript:document.all.sendalso.value=''">
<option value="" selected>--------------请选择阅读文件人---------------</option>
<% for i=1 to NumRec %>
<option value="<%=Record("username")%>"<% if Session("iBackid")=Record("username") then Response.Write(" selected")%>><%=Record("username")%>
</option>
<% Record.MoveNext
next
Record.MoveFirst%>
</select>
</td>
</tr>
<br>
</tr>
</table>
<p></p><br><br>
<table border="0" width="100%">
<select name="grade">
<option value="" selected>--------------请选择文件级别-----------------</option>
<option value="1">一般文件</option>
<option value="2">保密文件</option>
<option value="3">重要文件</option>
<option value="4">保密及重要文件</option>
</select>
</table>
</table>
</div>
<table border="0" width="100%">
<tr>
<td width="33%">
<p align="right"></td>
<td width="16%">
<input type="submit" value="保存"
name="cmdok" class="buttonface"> <input type="reset" name="Submit22" class="buttonface" value="重写" ></form>
<br><br><br>
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/close_2.gif',1);" onclick="MM_callJS('window.close()')"><img name="Image11" border="0" src="images/close_1.gif" hspace="5" vspace="5"></a>
</td>
<td width="34%"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -