?? bs_job_edit.asp
字號:
<!--#include file="bsconfig.asp"-->
<%
'=========================================================
'
'產品名稱: 公司(企業)網站管理系統(簡稱:www.web300.cn)
'版權所有: www.web300.cn
'程序制作:www.web300.cn開發團隊
'Copyright 2006-2008 www.web300.cn - All Rights Reserved.
'
'========================================================
%>
<%if Request.QueryString("no")="eshop" then
id=request("id")
Duix=request("Duix")
Rens=request("Rens")
Did=request("Did")
Daiy=request("Daiy")
Yaoq=request("Yaoq")
Qix=request("Qix")
If Duix="" Then
response.write "SORRY <br>"
response.write "請輸入更新內容"
response.end
end if
If Rens="" Then
response.write "SORRY <br>"
response.write "內容不能為空"
response.end
end if
If Did="" Then
response.write "SORRY <br>"
response.write "內容不能為空"
response.end
end if
If Daiy="" Then
response.write "SORRY <br>"
response.write "內容不能為空"
response.end
end if
If Yaoq="" Then
response.write "SORRY <br>"
response.write "內容不能為空"
response.end
end if
If Qix="" Then
response.write "SORRY <br>"
response.write "內容不能為空"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Bs_Job where id="&id
rs.open sql,conn,1,3
rs("Duix")=Duix
rs("Rens")=Rens
rs("Did")=Did
rs("Daiy")=Daiy
rs("Yaoq")=Yaoq
rs("Qix")=Qix
rs.update
rs.close
response.redirect "Bs_Job.asp"
end if
%>
<%
id=request.querystring("id")
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "Select * from Bs_Job where id="&id, conn,3,3
%>
<!-- #include file="Inc/Head.asp" -->
<BR>
<table cellpadding="2" cellspacing="1" border="0" width="560" align="center" class="a2">
<tr>
<td class="a1" height="25" align="center"><strong>修改招聘信息</strong></td>
</tr>
<tr class="a4">
<td align="center">
<br>
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<form method="post" action="Bs_Job_edit.asp?no=eshop">
<input type=hidden name=id value=<%=id%>>
<td><div align="center">
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="19%" height="25" bgcolor="#C0C0C0"> <div align="center">招聘對象</div></td>
<td width="81%" bgcolor="#E3E3E3"> <input name="Duix" type="text" class="inputtext" id="Duix" value="<%=rs("Duix")%>" size="25" maxlength="30"></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"> <div align="center">招聘人數</div></td>
<td bgcolor="#E3E3E3"><input name="Rens" type="text" class="inputtext" id="Rens" value="<%=rs("Rens")%>" size="5" maxlength="30">
人</td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"> <div align="center">工作地點</div></td>
<td height="-4" bgcolor="#E3E3E3"> <input name="Did" type="text" class="inputtext" id="Did" value="<%=rs("Did")%>" size="30" maxlength="50">
</td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"><div align="center">工資待遇</div></td>
<td height="-1" bgcolor="#E3E3E3"> <input name="Daiy" type="text" class="inputtext" id="Daiy" value="<%=rs("Daiy")%>" size="20" maxlength="50"></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"> <div align="center">發布日期</div></td>
<td height="-3" bgcolor="#E3E3E3"> <%=Date()%></td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"><div align="center">有效期限</div></td>
<td height="0" bgcolor="#E3E3E3"><input name="Qix" type="text" class="inputtext" id="Qix" value="<%=rs("Qix")%>" size="5" maxlength="30">
天</td>
</tr>
<tr>
<td height="22" bgcolor="#C0C0C0"><div align="center">招聘要求</div></td>
<td height="10" bgcolor="#E3E3E3"> <textarea name="Yaoq" cols="40" rows="5" class="inputtext" id="Yaoq"><%=rs("Yaoq")%></textarea></td>
</tr>
<tr>
<td height="25" colspan="2" bgcolor="#E3E3E3"> <div align="center">
<input name="submit" type="submit" value="確定">
<input name="reset" type="reset" value="取消">
</div></td>
</tr>
</table>
</div></td>
</form>
</tr>
</table>
<br>
</td>
</tr>
</table>
<BR>
<%htmlend%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -