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

📄 job.asp

📁 by php excellent hotel management system
💻 ASP
字号:
<%
'###########################################################################################
'			   Copyright (C) 2006 FreeLin rights reserved.                                 '
'			      本系统由FREELIN工作室独立开发2006.3.20                                      '
'				     版权所有,并保留所有版权,不得修改传播                                       '
'					    http://www.yisky.com                                          '
'						     co_lin@126.com                                                '
'###########################################################################################
%>
<!--#include file="config.asp"-->
<!--#include file="freelin.asp"-->
<%
if request("submit") <> "" then
	jobname = trim(request.form("jobname"))
	sex = trim(request.form("sex"))
	age = trim(request.form("age"))
	study = trim(request.form("study"))
	exper = trim(request.form("exper"))
	method = trim(request.form("method"))
	num = trim(request.form("num"))
	pay = trim(request.form("pay"))
	qixian = trim(request.form("qixian"))
	content = server.htmlencode(request.form("content"))
	if jobname="" or sex="" or age="" or study="" or exper="" or method="" or num="" or pay="" or qixian="" or content="" then xln_showmsg "操作失败","所填项目全部不能为空","job.asp","自动返回"
set rs=server.createobject("adodb.recordset")
	rs.open "select * from job",conn,1,3
	rs.addnew
	rs("jobname") = jobname
	rs("sex") = sex
	rs("age") = age
	rs("study") = study
	rs("exper") = exper
	rs("method") = method
	rs("num") = num
	rs("pay") = pay
	rs("qixian") = qixian
	rs("date") = date()
	rs("content") = content
	rs.update
	conn.close
	xln_showmsg "操作成功","添加人才招聘成功,返回继续添加。","job.asp","自动返回"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加新闻--FreeLin设计</title>
<LINK href="../images/style.css" type=text/css rel=stylesheet></head>
<body> 
<table width="98%" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#F0F0F0">
  <form name="form1" method="post" action="">
    <tr> 
      <td height="30" colspan="4" align="center"><strong>发布招聘</strong></td>
    </tr>
    <tr> 
      <td width="16%" align="center">职位名称</td>
      <td width="35%"><input name="jobname" type="text" id="jobname"></td>
      <td width="13%" align="center">性别要求</td>
      <td width="36%">
<select name="sex" id="select2">
          <option value="不要求">不要求</option>
          <option value="男">男</option>
          <option value="女">女</option>
        </select></td>
    </tr>
    <tr> 
      <td align="center">年龄要求</td>
      <td><input name="age" type="text" id="age"></td>
      <td align="center">学历要求</td>
      <td>
<select name="study" id="study">
          <option value="不要求">不要求</option>
          <option value="大专">大专</option>
          <option value="本科">本科</option>
          <option value="硕士">硕士</option>
        </select></td>
    </tr>
    <tr> 
      <td align="center">工作经验</td>
      <td><input name="exper" type="text" id="exper"></td>
      <td align="center">聘用方式</td>
      <td><select name="method" id="method">
          <option value="全职">全职</option>
          <option value="兼职">兼职</option>
        </select></td>
    </tr>
    <tr> 
      <td align="center">招聘人数</td>
      <td><input name="num" type="text" id="num"></td>
      <td align="center">提供月薪</td>
      <td><input name="pay" type="text" id="pay" value="面议"></td>
    </tr>
    <tr> 
      <td align="center">有效期限</td>
      <td><input name="qixian" type="text" id="qixian"></td>
      <td align="center">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr> 
      <td align="center">具体要求</td>
      <td colspan="3"><textarea name="content" cols="70" rows="8" id="content"></textarea></td>
    </tr>
    <tr> 
      <td height="50" align="center">&nbsp;</td>
      <td colspan="3"><input type="submit" name="Submit" value="提交"> 
        &nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value="重置"> 
      </td>
    </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

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