📄 pactm.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="DataBase/conn.asp" -->
<!--#include file=yan.asp-->
<!--#include file=purview.asp-->
<%
call hetongmoban
'获取默认参数
if request("uid")<>"" then
uid=request("uid")
else
uid=6
end if
'提交合同
if request("post")<>"" then
if request("content")<>"" then
set rsh=server.CreateObject("adodb.recordset")
sqlh="select * from tb_Pact where id="&uid
rsh.open sqlh,conn,1,3
rsh("content")=request("content")
rsh.update
rsh.close
response.Write("<script language=javascript>alert('修改成功')</script> ")
else
response.Write("<script language=javascript>alert('合同内容不能为空')</script> ")
end if
end if
set rs=server.CreateObject("adodb.recordset")
sql="select * from tb_Pact where id="&uid
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="CSS/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
a:link {
color: #000000;
}
a:visited {
color: #000000;
}
.style1 {color: #FF0000}
.style2 {color: #0000FF}
-->
</style></head>
<body topmargin="0">
<table width="550" border="0" align="center">
<form name="form1" method="post" action="zhiwei.asp">
<tr>
<td width="55%" height="30"> - <span class="style1">人事管理</span>→<span class="style2">人力规划</span>→<font color="#FF0000">合同模板</font></td>
</tr>
</form>
</table>
<form name="form2" method="post" action="">
<table width="550" height="361" border="0" align="center" cellspacing="0" >
<tr >
<td width="101" height="29" background="images/index_24.gif" class="leftdian"><div align="center">A:<a href="pactm.asp?uid=6">期限合同</a></div></td>
<td width="135" background="images/index_24.gif" class="leftdian"><div align="center">B:<a href="pactm.asp?uid=2">无固定期限合同</a></div></td>
<td width="233" background="images/index_24.gif" class="leftdian"><div align="center">C:<a href="pactm.asp?uid=3">以项目或者以事件终止期限的合同</a></div></td>
<td width="123" background="images/index_24.gif" class="leftdian"><div align="center">D:<a href="pactm.asp?uid=4">试用期合同</a></div></td>
<td width="133" background="images/index_24.gif" class="dian"><div align="center">E:<a href="pactm.asp?uid=5">其他合同</a></div></td>
</tr>
<tr>
<td height="23" colspan="5" class="quan"><div align="center">合同类型:<%=rs("title")%>
<input name="post" type="hidden" id="post" value="true">
</div></td>
</tr>
<tr align="center">
<td height="280" colspan="5" class="dian"><textarea name="content" cols="75" rows="18" id="content"><%=rs("content")%></textarea></td>
</tr>
<tr align="center" bgcolor="#efefef">
<td height="27" colspan="5"><input name="Submit" type="submit" class="botton" value=" 提 交 ">
<input name="Submit2" type="reset" class="botton" value=" 重 置 "></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -