?? edit.asp
字號(hào):
<!--#include file="../../includes/keepHouse.asp"-->
<%
call insureID()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>WebOffice</title>
<script language="JavaScript">
function validate(){
var Summ = document.FormCompose.SUMM_CONTENT.value;
var Plan = document.FormCompose.PLAN_CONTENT.value;
if (Summ=="" && Plan==""){
alert("內(nèi)容不能為空!");
return false;
}
}
</script>
</head>
<body>
<center>
<table border="0" width="100%" height="40" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"></td>
</tr>
</table>
<form method="POST" name="FormCompose" action="saveCEPS.asp?action=Edit" onSubmit="javaScript:return validate()">
<table border="0" width="75%" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" bgcolor="#0000FF" height="35" align=left><img border="0" src="../../images/back.gif"></td>
<td width="65%" bgcolor="#0000FF" height="35" align=center><b><font color="#FFFFFF">編輯<%=session("PERSON_NAME")%>的個(gè)人總結(jié)與計(jì)劃</font></b></td>
<td width="5%" bgcolor="#0000FF" height="35" align=right><img border="0" src="../../images/Close2.gif"></td>
</tr>
</table>
<%
dim SUMMPLAN_ID
SUMMPLAN_ID=request("SUMMPLAN_ID")
if SUMMPLAN_ID="" then
call trigErr()
end if
sql="SELECT SUMMPLAN_TITLE, PLAN_CONTENT, SUMM_CONTENT, COMPOSE_DATE " _
&"FROM PersonalSummPlan " _
&"WHERE SUMMPLAN_ID="&SUMMPLAN_ID&"AND PERSONNEL_ID="&session("PERSONNEL_ID")
call openDB()
rs.open sql,conn,1,1
if rs.eof then
call trigErr()
end if
dim SUMMPLAN_TITLE
dim PLAN_CONTENT
dim SUMM_CONTENT
dim COMPOSE_DATE
SUMMPLAN_TITLE=rs("SUMMPLAN_TITLE")
PLAN_CONTENT=rs("PLAN_CONTENT")
SUMM_CONTENT=rs("SUMM_CONTENT")
COMPOSE_DATE=rs("COMPOSE_DATE")
SUMMPLAN_TITLE = replaceBack(SUMMPLAN_TITLE)
SUMM_CONTENT = replaceBack(SUMM_CONTENT)
PLAN_CONTENT = replaceBack(PLAN_CONTENT)
call closeDB()
%>
<table border="1" width="75%" bordercolorlight="#EFEFEF" bordercolordark="#FCFCFC" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" align="right" valign="top" bgcolor="#FCFCFC"><b>題目:</b></td>
<td width="60%" bgcolor="#FCFCFC">
<input type="text" name="SUMMPLAN_TITLE" size="62" value="<%=SUMMPLAN_TITLE%>">
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" bgcolor="#FCFCFC"><b>總結(jié):</b></td>
<td width="60%" bgcolor="#FCFCFC">
<textarea rows="10" name="SUMM_CONTENT" cols="60" wrap="VIRTUAL"><%=SUMM_CONTENT%></textarea>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" bgcolor="#FCFCFC"><b>計(jì)劃:</b></td>
<td width="85%" bgcolor="#FCFCFC">
<textarea rows="10" name="PLAN_CONTENT" cols="60" wrap="VIRTUAL"><%=PLAN_CONTENT%></textarea>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" bgcolor="#FCFCFC"> </td>
<td width="85%" bgcolor="#FCFCFC"> </td>
</tr>
<tr>
<td width="75%" align="center" height="50" colspan="2" bgcolor=#efefef>
<%if session("POSITION_ID")>3 then%>
<input type="checkbox" name="Submit" value="YES"><font size="2">提交給上司 </font>
<%end if%>
<input type="hidden" value="<%=SUMMPLAN_ID%>" name="SUMMPLAN_ID">
<input type="submit" value="保 存" name="Submit" class="buttonface">
<input type="reset" value="清 除" name="Clear" class="buttonface">
</td>
</tr>
</table>
</form>
</center>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -