📄 com_publish.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Public/Company_Cookies.asp" -->
<%
Dim Comid,Username,Tmp
Dim Cmd,Rs,Action
Dim PhoneKeep,EmailKeep,PublishCount,Publish_Flag,EndDate
Action = Request.QueryString("action")
If Action = "submit" Then Call Submit() '//调用保存数据的函数
'//获取会员登陆的标记
Username = Session("Company")(0)
Comid = Session("Company")(2)
'//调用存储过程
Set Cmd = Server.CreateObject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText = "Com_Publish"
Cmd.CommandType = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Comid",200,1,30)
Cmd.Parameters("@Comid") = Comid
Set Rs = Cmd.Execute
If Rs.Eof Then
Rs.Close
Set Cmd = Nothing
CloseDB
Response.write "没有找到会员资料!"
Response.End()
End if
Tmp = Rs.GetRows() '//将数据填充到数组
'//0企业名称1联系人,2电话,3电话保密,4传真,5邮件,6邮件保密,7地址,8邮政编码,9发布职位数,10会员有否通过审核
'//如 Tmp(0,0) 表示企业名称
'//关闭数据库对象
Rs.Close
Set Cmd = Nothing
'//判断会员有没有通过审核
Flag = Tmp(10,0)
If Flag = False Then
Response.redirect "../Public/Error.asp?param=2003"
Response.End()
End if
'//判断该企业会员能否发布职位
PublishCount = Tmp(9,0)
Publish_Flag = Cls_PublishJob_Flag(Session("Nc_Vip"),PublishCount)
If Publish_Flag = 0 Then
Response.redirect "../Public/Error.asp?param=2001"
End if
'//功能代码
EndDate = DateAdd("m",3,Date())
PhoneKeep = Tmp(3,0)
EmailKeep = Tmp(6,0)
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript" src="../js/Company_Publish.js"></script>
<SCRIPT language=JavaScript src="../js/funlib.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/ua.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/ftiens4.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/persontreeviewnodes.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/areacityselector.js"></SCRIPT>
<SCRIPT language=JavaScript src="../js/joball.js"></SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName %> -- 企业会员管理中心 -- 发布职位</title>
</head>
<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<!--#include file="../Include/Header.asp" -->
</td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
<tr>
<td height="1" bgcolor="#eeeeee"></td>
</tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="175" valign="top">
<!--#include file="../Public/Company_Left.asp" -->
</td>
<td width="5"> </td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"><img src="../Images/icon.gif" width="11" height="11" align="absmiddle">
<%= Tmp(0,0) %> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="?action=submit" name="theForm" method="post" onSubmit="return form_check();">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
<tr>
<td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="2"></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
<tr>
<td height="25" bgcolor="f5f5f5"><b><font color="#000000"> 职位信息</font></b></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 职位类型:</td>
<td height="25"> <input name="jobtype" type="radio" value="1" checked>
全职
<input type="radio" name="jobtype" value="2">
兼职 </td>
</tr>
<tr>
<td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 职位类别:</td>
<td height="25" bgcolor="f9f9f9">先选择上排的大类,再在下排选择相应的子类,然后按添加<br>
如果想要删出选好的工作岗位,请先选中该项,然后按移除</td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%" height="20"><FONT
color=#333333>选择职位类别</FONT></td>
<td width="15%"> </td>
<td width="45%"><FONT
color=#333333>已经选择的职位类别</FONT></td>
</tr>
<tr>
<td><SELECT id=select5 name=slt_category style="width:180px">
</SELECT> <br> <select name=slt_subcategory size="1" id=select6 style="width:180px">
</select></td>
<td><table width="98%" border="0" cellspacing="0" class="text01">
<tr>
<td height="25" align="center"><input type="button" name="Submit2" value="添加>>" onclick="AddItemToList('slt_category','slt_subcategory','slt_selectedjobs',1, 1, '-')"></td>
</tr>
<tr>
<td height="25" align="center"><input type="button" name="Submit3" value="<<移除" onclick="DeleteListSelectedItem('slt_selectedjobs', 0)"></td>
</tr>
</table></td>
<td><SELECT multiple size=3 name=slt_selectedjobs style="width:200px">
</SELECT></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 职位名称:</td>
<td height="25" bgcolor="f9f9f9"><input name="jobname" type="text" id="jobname" maxlength="40" style="width:180px"></td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><input name="bestflag" type="checkbox" id="bestflag" value="1">
急聘本职位 ( 企业如果没有急聘权限,本限不起作用 )</td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9">部门:</td>
<td height="25" bgcolor="f9f9f9"> <select name="deptid" id="deptid" style="width:100px">
<option value="0">-请选择-</option>
<%
SQL = "Select Ncid,DeptName From [pH_Company_Dept] Where Comid='"&Comid&"'"
Set Rs = Conn.Execute(SQL)
While Not Rs.Eof
Response.write "<option value="&Rs(0)&">"&Rs(1)&"</option>"
Rs.Movenext
Wend
Rs.Close
%>
</select> <a href="Com_Dept.asp"><u>新增企业部门</u></a></td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 人数:</td>
<td height="25"><input name="number" type="text" style="width:100px" value="0" maxlength="4">
人 ( 默认为0,表示若干人 )</td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 薪资待遇:</td>
<td height="25" bgcolor="f9f9f9"><input name="deal" type="text" style="width:100px" value="0" maxlength="4">
元/月 ( 默认为0,表示待遇面议 )</td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 截止日期:</td>
<td height="25"><input name="end_year" type="text" size="4" maxlength="4" value="<%= Year(EndDate) %>">
年
<select name=end_month id="end_month">
<%for i=1 to 12%>
<option <%if i=Cint(Month(EndDate)) then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%>
</select>
月
<select name=end_day id="end_day">
<%for i=1 to 31%>
<option <%if i=Day(EndDate) then%>selected<%end if%> value="<%=i%>"><%=i%></option>
<%next%>
</select>
日</td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 工作地区:</td>
<td height="25" bgcolor="f9f9f9">先选择上排的省区,再在下排选择相应的城市,然后按添加<br>
如果想要删出选好的工作地点,请先选中该项,然后按移除</td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%"><FONT
color=#333333>选择工作地点</FONT></td>
<td width="15%"> </td>
<td width="45%"><FONT
color=#333333>已经选择的工作地点</FONT></td>
</tr>
<tr>
<td><select style="width:180px" name=slt_workplacearea>
</select> <select name=slt_workplacecity size="1" style="width:180px">
</select></td>
<td><table width="98%" border="0" cellspacing="0" class="text01">
<tr>
<td height="25" align="center"><input type="button" name="Submit22" value="添加>>" onclick="AddItemToList('slt_workplacearea','slt_workplacecity','slt_selectedplaces',1, 2, '-')"></td>
</tr>
<tr>
<td height="25" align="center"><input type="button" name="Submit32" value="<<移除" onclick="DeleteListSelectedItem('slt_selectedplaces', 0)"></td>
</tr>
</table></td>
<td><SELECT name=slt_selectedplaces size=3 multiple id=select8 style="width:200px">
</SELECT></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 具体要求:</td>
<td height="25" bgcolor="f9f9f9">简单阐述职位具体要求/待遇 ;</td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><textarea name="require" cols="50" rows="6" ></textarea></td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT
color=#ff6600>*</FONT></STRONG> 任职要求:</td>
<td height="25" bgcolor="f9f9f9">请填写职位要求,以便求职者能在设定查询条件时更容易搜索到贵企业的职位
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -