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

📄 task_e.asp

📁 物业管理和办公自动化系统
💻 ASP
字号:
<%
'************************************************************************************************
' 文件名: task_e.asp
' Copyright(c) 2001-2002 上海阿尔卡特网络支援系统有限公司
'
'  创建人 : 周秋舫
'  日 期 : 2002-05-30
' 修改历史 :
'   ****年**月**日 ****** 修改内容:******************************************************************
' 功能描述 : 修改任务内容
'  版 本 :
'************************************************************************************************
option explicit
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>

<!-- #include file="../include/config.inc" -->
<!-- #include file="../include/common.inc" -->
<!-- #include file="../include/debug.inc" -->
<!-- #include file="../include/db.inc" -->
<!-- #include file="../include/date.inc" -->
<!-- #include file="../include/datahandle.inc" -->
<!-- #include file="../include/recordlist.inc" -->
<!-- #include file="../include/security.inc" -->
<!-- #include file="../include/emp.inc" -->

<!-- #include file="task_e.inc" -->

<script language="javascript">
<!--
if ( typeof(window.opener) == "undefined" )
{
	window.location.href = "../common/error.asp"
}
//-->
</script>

<%
call CheckSecurity()
'********************************************************************************************************
' 服务器端代码

'' 检查任务序列号参数
dim pTaskSerial			: pTaskSerial = GetParam("serial")
if IsEmpty(pTaskSerial) then
	Response.Clear
	Server.Transfer("../common/error.asp")
	Response.end
end if

'' 取到任务内容
dim sTaskContent
sTaskContent = DLookUp(dbLocal, "t_task", "content", "task_serial = " & ToSQL(pTaskSerial,"Number"))

'********************************************************************************************************
' 如果是提交,则调用函数UpdateTask()更新数据库
if UCase(Request.ServerVariables("REQUEST_METHOD") = "POST") then
	sTaskContent = GetParam("content")
	UpdateTask()
end if
%>

<html>
<head>
<title>上海信息大楼 Shanghai Information Tower</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../common/common.css" type="text/css">
<style type="text/css">
textarea	{color: black;}
</style>
<script language="vbscript" src="task_e.vbs"></script>
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="2" marginwidth="0" marginheight="0" background="../images/bg/btmtx.gif">

<form name="formTask" method=post action="task_e.asp">
<input type="hidden" name="serial" value="<%=pTaskSerial%>">
<table border=0 cellspacing=0 cellpadding=0>
<tr height=20>
	<td align=center style="font-weight:600;color:navy">编 辑 任 务 内 容</td></tr>
<tr>
	<td><textarea name="content" cols=83 rows=18><%=sTaskContent%></textarea></td></tr>
<tr height=30>
	<td colspan=2 align=center>
		<img border=0 src="../images/button/update.gif" name="btnUpdate" align=absmiddle style="cursor:hand">
		<img border=0 height=0 width=40>
		<img border=0 src="../images/button/cancel.gif" name="btnCancel" align=absmiddle style="cursor:hand">
	</td>
</tr>
<tr height="10px"><td></td></tr>
<tr height="40px">
		<td colspan=3 style="font-family:Arial, Helvetica, sans-serif;color:white" align=center>上海市电信公司信息世界分公司<br>&nbsp;&copy;All rights reserved by Shanghai Telecommunication company information world Branch</td></tr>

</table>
</form>

</body>
</html>

⌨️ 快捷键说明

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