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

📄 edit.asp

📁 学生档案与成绩管理(1)学生档案管理:记录每个学生的档案信息
💻 ASP
字号:
<!-- #include file = "../../include/asphead.asp" -->
<!-- #include file = "../../include/function.asp" -->
<%CheckUser()%>
<link href="../../include/main.css" rel="stylesheet" type="text/css">
<script src="../../include/function.js" type="text/javascript"></script>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--

function Cancel2()
{
	if (frmData.ReadStatusChange.value=="1")
		parent.window.returnValue =true;
	else
		parent.window.returnValue =false;

	parent.window.close();
}

//-->
</script>

<%
	dim WExcel
	set WExcel=server.CreateObject("WExcel.Sheet")

	dim NewRecord,Action,MsgID,strBody,strScript,Result
	NewRecord="0"
	Action=Request.QueryString("Action")
	'这里的RowID就是MsgID,形式是S222,I78等,注意前面带有字母
	MsgID=Request.QueryString("MsgID")
	'原短信的已读状态是否已经发生改变
	ReadStatusChange=Request.QueryString("ReadStatusChange")

	dim Title
	if Action="Reply" then
		Title="答复短信"
	elseif Action="ReplyAll" then
		Title="答复短信"
	elseif Action="Forward" then
		Title="转发短信"
	else
		Title="发送短信"
	end if
	Result=WExcel.GetMsgEditPage(cint(UserID),cstr(NewRecord),cstr(Action),cstr(MsgID),strBody,strScript)
	Response.Write strScript

%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	</head>
	<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<form METHOD="post" name="frmData">
			<table width="100%" align=center border=0>
				<tr height="35">
					<td colspan=5>
						<b>
							<%=Title%>
						</b>
					</td>
				</tr>
				<tr height=195 valign="top">
					<td colspan=5>
						<table width="99%" border=0 CELLSPACING="1" CELLPADDING="0">
							<%=strBody%>
						</table>
					</td>
				</tr>
				<tr height=40 valign=bottom>
					<td colspan="5">
						<table width="100%">
							<tr>
								<td width="25%"></td>
								<td width="25%"><input id="btnSave" type="button" value="确定" name="btnSave" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Save('save.asp')"></td>
								<td width="25%"><input id="btnCancel" type="button" value="取消" name="btnCancel" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel2()"></td>
								<td width="25%"></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<iframe id="SaveArea" name="SaveArea" style="visibility:hidden" width="0" height="0" frameborder="0" src="">
			</iframe>
			<input TYPE="hidden" NAME="ReadStatusChange" value="<%=ReadStatusChange%>">
		</form>
	</body>                                                                                                           
</html>

⌨️ 快捷键说明

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