<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<!--#include file="../Public/Company_Cookies.asp" -->
<% 
'地区分站参数
Dim c_City,c_Name
If Session("c_City") = "" Then 
 Response.Redirect "../Index.asp"
 Response.End()
End if
c_City = Session("c_City")
c_Name = Session("c_Name")

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
'//判断该企业会员能否发布职位
Set Re = Conn.Execute("Select Nc_Vip_Jobs From [pH_Company_Base] Where Comid='"&Comid&"'")
Jobs = Re(0)
Re.Close
If Jobs <= 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&" | "&c_Name&"站" %> -- 招聘中心 -- 发布职位</title>
</head>
<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <!--#include file="../c_Header/Company_User.asp" -->
    </td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="4"></td>
        </tr>
      </table>
      <table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="175" valign="top">
            <!--#include file="../Lefter/Company_Job.asp" -->
          </td>
          <td width="5">&nbsp;</td>
          <td valign="top">
            <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">&nbsp;职位信息</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">
                                兼职 
                                <input type="radio" name="jobtype" value="3">
                                校园招聘 </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">&nbsp;</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%">&nbsp;</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="添加&gt;&gt;" onclick="AddItemToList('slt_category','slt_subcategory','slt_selectedjobs',1, 1, '-')"></td>
                                        </tr>
                                        <tr> 
                                          <td height="25" align="center"><input type="button" name="Submit3" value="&lt;&lt;移除" 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">&nbsp;</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">&nbsp;</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%">&nbsp;</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="添加&gt;&gt;" onclick="AddItemToList('slt_workplacearea','slt_workplacecity','slt_selectedplaces',1, 2, '-')"></td>
                                        </tr>
                                        <tr> 
                                          <td height="25" align="center"><input type="button" name="Submit32" value="&lt;&lt;移除" 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">&nbsp;</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">请填写职位要求,以便求职者能在设定查询条件时更容易搜索到贵企业的职位 
                                ;</td>
                            </tr>
                            <tr> 
                              <td height="25" align="right">&nbsp;</td>
                              <td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td width="80" height="25" align="right">学 
                                      历：</td>
                                    <td height="25"> <select name="edus" id="edus" style="width:70px;">
                                        <option value="0" selected>-不限-</option>
                                        <option value="10">小学</option>
                                        <option value="20">初中</option>
                                        <option value="30">高中</option>
                                        <option value="40">中专</option>
                                        <option value="50">专科</option>
                                        <option value="60">本科</option>
                                        <option value="70">硕士</option>
                                        <option value="80">博士</option>
                                        <option value="90">博士后</option>
                                      </select> </td>
                                  </tr>
                                  <tr> 
                                    <td width="80" height="25" align="right">工作年限：</td>
                                    <td height="25"> <select name="works" id="works" style="width:70px;">
                                        <option value="0">-不限-</option>
                                        <option value="1">一年以上</option>
                                        <option value="2">二年以上</option>
                                        <option value="3">三年以上</option>
                                        <option value="4">四年以上</option>
                                        <option value="5">五年以上</option>
                                        <option value="10">十年以上</option>
                                        <option value="20">二十年以上</option>
                                        <option value="30">三十年以上</option>
                                        <option value="50">退休人员</option>
                                      </select>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="80" height="25" align="right">性 
                                      别：</td>
                                    <td height="25"><select name="sex" size="1"  style="width:70px;">
                                        <option selected value="2">-不限-</option>
                                        <option value="1">男</option>
                                        <option value="0">女</option>
                                      </select></td>
                                  </tr>
                                  <tr> 
                                    <td width="80" height="25" align="right">年 
                                      龄：</td>
                                    <td height="25"> <select name="min_age" size="1" id="min_age"  style="width:70px;">
                                        <option selected value="0">-不限-</option>
                                        <% 
								  For i=18 to 60
								   Response.write "<option value="&i&">"&i&"</option>"
								  Next 
								   %>
                                      </select>
                                      至 
                                      <select name="max_age" size="1" id="max_age"  style="width:70px;">
                                        <option selected value="0">-不限-</option>
                                        <% 
								  For i=18 to 60
								   Response.write "<option value="&i&">"&i&"</option>"
								  Next 
								   %>
                                      </select></td>
                                  </tr>
                                  <tr> 
                                    <td width="80" height="25" align="right">现所在地：</td>
                                    <td height="25">
                                      <!--#include file="../Include/Class_Locus3.asp" -->
                                    </td>
                                  </tr>
                                </table></td>
                            </tr>
                          </table>
                          <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">&nbsp;联系方式</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="contactperson" type="text" size="30" maxlength="30" style="width:120px;" value="<%= Tmp(1,0) %>"> 
                                <font color="#50463d">请输入正确联系人，以方便求职者与贵公司联系</font></td>
                            </tr>
                            <tr> 
                              <td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 联系电话：</td>
                              <td height="25" bgcolor="f9f9f9"><input name="phone" type="text" id="phone" style="width:120px;" size="30" maxlength="30" value="<%= Tmp(2,0) %>"> 
                                <font color="#50463d">( </font> <font color="#50463d">固定电话号码，如：010-82615888 
                                ) </font></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right">传真号码：</td>
                              <td height="25"><input name="companyfax" type="text" id="companyfax" style="width:120px;" size="30" maxlength="30" value="<%= Tmp(4,0) %>"></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">&nbsp;</td>
                              <td height="25" bgcolor="f9f9f9"><input name="phonekeep" type="checkbox" value="1" <% If PhoneKeep = True Then Response.write "Checked" %>> 
                                <font color="#333333">屏蔽电话</font><font color="#50463d">( 
                                选择此项，将向求职者隐藏企业联系电话 )</font></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 电子邮件：</td>
                              <td height="25"> <input name="email" type="text" style="width:200px;"  value="<%= Tmp(5,0) %>" size="50"></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">&nbsp;</td>
                              <td height="25" bgcolor="f9f9f9"> <input name="emailkeep" type="checkbox" value="1" <% If EmailKeep = True Then Response.write "Checked" %>>
                                不公开邮件地址</td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><strong><font 
                  color=#ff6600>*</font></strong> 邮政编码：</td>
                              <td height="25"><input name="zipcode" type="text" size="6" maxlength="6" style="width:120px;" value="<%= Tmp(8,0) %>"></td>
                            </tr>
                            <tr bgcolor="f9f9f9"> 
                              <td height="25" align="right">面试地址：</td>
                              <td height="25"> <input name="chat_addr" type="text" id="chat_addr" style="width:260px;" size="100"></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>*</FONT></STRONG> 通讯地址：</td>
                              <td height="25"><input name="address" type="text" size="100" style="width:260px;" value="<%= Tmp(7,0) %>">
                                如：北京市海淀区成府路××号 </td>
                            </tr>
                            <tr bgcolor="f9f9f9"> 
                              <td height="25" align="right">&nbsp;</td>
                              <td height="25"> <input name="alledit" type="checkbox" id="alledit" value="1">
                                更新所有招聘信息中的联系方式</td>
                            </tr>
                          </table>
                          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td height="2"></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td height="40" align="center"><SCRIPT language=JavaScript>
  var objJobCPSelector, objJobCCSelector, objAreaSelector, objCitySelector

  objAreaSelector = new PlaceAssociateList(document.theForm.slt_workplacearea, null, document.theForm.slt_workplacecity, ALOptions);
  objAreaSelector.init();
  objCitySelector = new PlaceAssociateList(document.theForm.slt_workplacecity, document.theForm.slt_workplacearea, null, CLOptions);
  objCitySelector.incPValue = true;
  objCitySelector.incPValueFormat = "%PText%－不限"
  objCitySelector.init();

  
  objJobCPSelector = new JobCategoryAssociateList(document.theForm.slt_category, null, document.theForm.slt_subcategory, PCLOptions);
  objJobCPSelector.init();
  objJobCCSelector = new JobCategoryAssociateList(document.theForm.slt_subcategory, document.theForm.slt_category, null, CCLOptions);
  objJobCCSelector.incPValue = true;
  objJobCCSelector.incPValueFormat = "%PText%－不限"
  objJobCCSelector.init();
  </SCRIPT> <input type="submit" name="Submit" value=" 确 认 发 布 " style="height:35px;"> 
                  </td>
                </tr>
              </form>
            </table></td>
        </tr>
      </table>

<!--#include file="../c_Include/Footer.asp" -->
	  </td>
  </tr>
</table>

</body>
</html>
<% 
Sub Submit() '保存企业基本数据
 Check_Url() '//跨站提交数据检测
 Comid                  = Session("Company")(2)
 JobType                = Replace_Text(Request.Form("JobType"))
 JobClass               = Replace_Text(Request.Form("slt_selectedjobs"))
 JobName                = Replace_Text(Request.Form("JobName"))
 Deal                   = Replace_Text(Request.Form("Deal"))
 Number1                = Replace_Text(Request.Form("Number"))
 Require                = Replace_Text(Request.Form("Require"))
 Chat_Addr              = Replace_Text(Request.Form("Chat_Addr"))
 Edus                   = Replace_Text(Request.Form("Edus"))
 Sex                    = Replace_Text(Request.Form("Sex"))
 Works                  = Replace_Text(Request.Form("Works"))
 Area                   = Replace_Text(Request.Form("x_Suozaidi"))
 City                   = Replace_Text(Request.Form("x_Suozaidi1"))
 Min_Age                = Replace_Text(Request.Form("Min_Age"))
 Max_Age                = Replace_Text(Request.Form("Max_Age"))
 DeptId                 = Replace_Text(Request.Form("DeptId"))
 BestFlag               = Replace_Text(Request.Form("BestFlag"))
 End_Year               = Replace_Text(Request.Form("End_Year"))
 End_Month              = Replace_Text(Request.Form("End_Month"))
 End_Day                = Replace_Text(Request.Form("End_Day"))
 ContactPerson          = Replace_Text(Request.Form("ContactPerson"))
 Phone                  = Replace_Text(Request.Form("Phone"))
 CompanyFax             = Replace_Text(Request.Form("CompanyFax"))
 PhoneKeep              = Replace_Text(Request.Form("PhoneKeep"))
 Email                  = Replace_Text(Request.Form("Email"))
 EmailKeep              = Replace_Text(Request.Form("EmailKeep"))
 Address                = Replace_Text(Request.Form("Address"))
 ZipCode                = Replace_Text(Request.Form("ZipCode"))
 AllEdit                = Replace_Text(Request.Form("AllEdit"))
 Work                   = Replace_Text(Request.Form("slt_selectedplaces")) '//工作地区
 Work         = Split(Work,"-")
 Work_Area    = Trim(Work(0))  
 Work_City    = Trim(Work(1))

 
 If BestFlag  = "" Then BestFlag  = 0
 If PhoneKeep = "" Then PhoneKeep = 0
 If EmailKeep = "" Then EmailKeep = 0
 If Require <> "" Then Require = Replace(Require,Chr(13),"<br>")
 '//将没有发布急聘职位的权限是急聘参数重置
 If Session("Nc_Vip") = 0 or Session("Nc_Vip") = 2 Then
  BestFlag = 0
 End if
 '//截止日期
 End_Date = End_Year&"-"&End_Month&"-"&End_Day
 
 SQL = "Insert Into [pH_Job_Base] (Comid,JobType,JobClass,JobName,Deal,Number,Work_Area,Work_City,Require,Chat_Addr,Edus,Sex,Works,LastUpdate_Time,ViewClicks,SendClicks,JobFlag,Area,City,Min_Age,Max_Age,TopAll,DeptId,BestFlag,End_Date,ContactPerson,Phone,CompanyFax,PhoneKeep,Email,EmailKeep,Address,ZipCode) Values ('"&Comid&"',"&JobType&",'"&JobClass&"','"&JobName&"',"&Deal&","&Number1&",'"&Work_Area&"','"&Work_City&"','"&Require&"','"&Chat_Addr&"',"&Edus&","&Sex&","&Works&",getdate(),0,0,1,'"&Area&"','"&City&"',"&Min_Age&","&Max_Age&",0,"&DeptId&","&BestFlag&",'"&End_Date&"','"&ContactPerson&"','"&Phone&"','"&CompanyFax&"',"&PhoneKeep&",'"&Email&"',"&EmailKeep&",'"&Address&"','"&ZipCode&"')"
 Conn.Execute(SQL)
 
 '//更新企业发布职位数
 SQL = "UpDate [pH_Company_Base] Set PublishCount=PublishCount+1,Nc_Vip_Jobs=Nc_Vip_Jobs-1 Where Comid='"&Comid&"'"
 Conn.Execute(SQL)
 
 '//同步更新企业发布的所有职位的联系方式
 If AllEdit = "1" Then
    SQL = "UpDate [pH_Job_Base] Set ContactPerson='"&ContactPerson&"',Phone='"&Phone&"',CompanyFax='"&CompanyFax&"',PhoneKeep="&PhoneKeep&",Email='"&Email&"',EmailKeep="&EmailKeep&",Address='"&Address&"',ZipCode='"&ZipCode&"',Chat_Addr='"&Chat_Addr&"' Where Comid='"&Comid&"'"
    Conn.Execute(SQL)
 End if
 '//关闭数据库连接
 CloseDB
 
 Response.redirect "Com_JobManage.asp"
End Sub

'//关闭数据库连接
CloseDB
 %>
