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

📄 new.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="bodyedit.js" type="text/javascript"></script>
<script src="../../../include/function.js" type="text/javascript"></script>

<%

	dim WExcel
	set WExcel=server.CreateObject("WExcel.System")
	
	dim SheetID,NewRecord,strBody,strScript,Success
	NewRecord="1"
	SheetID=Request.Cookies("System")("MailSheetID")
	dim Exist
	Exist=WExcel.SheetExist(cint(UserID),cint(SheetID))
	CheckErr
	if Exist=false then
		Response.Redirect "/hcgis/notfound.asp?Name=数据表&Depth=2"
	end if
	Success=WExcel.GetMailEditPage(cint(UserID),cint(SheetID),cstr(NewRecord),strBody,strScript)
	CheckErr
	Response.Write strScript
	if Success=true then
%>

		<html>
			<head>
				<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
			</head>
			<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="Init();">
				<form METHOD="post" name="frmData">
					<table width="100%" border=0 CELLSPACING=0 CELLPADDING="0">
						<tr height="35">
							<td colspan=5>
								<b>
									新增提醒模板
								</b>
							</td>
						</tr>
						<tr height=195 valign="top">
							<td colspan=5>
								<table width="95%" border=0 CELLSPACING="1" CELLPADDING="0">
									<%=strBody%>
								</table>
							</td>
						</tr>
						<tr height=40 valign=bottom>
							<td colspan="5">
								<table width="100%">
									<tr>
										<td width="20%"></td>
										<td width="20%"><input id="btnDC" type="button" value="检查" name="btnDC" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return BodyDC();"></td>
										<td width="20%"><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="20%"><input id="btnCancel" type="button" value="取消" name="btnCancel" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
										<td width="20%"></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<input TYPE="hidden" NAME="NewRecord" value="<%=NewRecord%>">
					<iframe id="SaveArea" name="SaveArea" style="visibility:hidden" width="0" height="0" frameborder="0" src="">
					</iframe>
				</form>
			</body>                                                                                                           
		</html>
<%
	else
%>
		<html>
			<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
					<table width="100%" align=center border=0>
						<tr height="20">
							<td>
									您无权新增提醒模板
							</td>
						</tr>
						<tr>
							<td><input id="btnCancel" type="button" value="关闭" name="btnCancel" style="cursor:hand;WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
						</tr>
					</table>
			</body>                                                                                                           
		</html>

<%
	end if
%>	

⌨️ 快捷键说明

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