EditJobs.jsp
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:7k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  3. <%@ taglib uri="FCKeditor" prefix="FCK" %>
  4. <%@ page language="java" import="com.fredck.FCKeditor.*" %>
  5. <%@ page language="java" import="com.chinacannel.entity.*;" %>
  6. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  7. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
  8. <html>
  9. <head>
  10. <title>EditJobs</title>
  11. <link href="Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body bgcolor="#ffffff">
  14. <form name="form" method="post" action="<%=request.getContextPath() %>/Manage/Jobs.do?todo=EditJobs">
  15. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  16.   <tr bgcolor="#cfdbe8">
  17.     <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19">&nbsp;<img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
  18.     <td valign="middle" bgcolor="#cfdbe8" colspan="2">&nbsp; 人力资源栏目</td>
  19.   </tr>
  20.   <tr>
  21.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  22.     <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
  23.       &nbsp;<img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />&nbsp;编辑招聘信息
  24.     </td>
  25.   </tr>
  26.   <tr>
  27.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  28.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  29.     <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
  30.   </tr>
  31.   <tr>
  32.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  33.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  34.       <br/>
  35.       <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
  36.         <tr bgcolor="#ffffff">
  37.           <td style="height: 25px; width: 117px;">
  38.           &nbsp; 招聘标题:
  39.           </td>
  40.           <td style="height: 23px">
  41.             <input size="50" type="text" id="txtTitle" name="title" value='<c:out value="${jobs.job_Title}" />' />
  42.             <input type="hidden" id="hidID" name="id" value='<c:out value="${jobs.job_ID}" />' />
  43.           </td>
  44.         </tr>
  45.         <tr bgcolor="#ffffff">
  46.           <td style="height: 25px; width: 117px;">
  47.           &nbsp; 招聘部门:
  48.           </td>
  49.           <td style="height: 23px">
  50.             <input size="50" type="text" name="branch" value='<c:out value="${jobs.job_Branch}" />' />
  51.           </td>
  52.         </tr>
  53.         <tr bgcolor="#ffffff">
  54.           <td style="height: 25px; width: 117px;">
  55.           &nbsp; 工作地点:
  56.           </td>
  57.           <td style="height: 23px">
  58.             <input size="50" type="text" name="address" value='<c:out value="${jobs.job_Address}" />' />
  59.           </td>
  60.         </tr>
  61.         <tr bgcolor="#ffffff">
  62.           <td style="height: 25px; width: 117px;">
  63.           &nbsp; 工作所属类型:
  64.           </td>
  65.           <td style="height: 23px">
  66.             <input type="text" name="jobType" value='<c:out value="${jobs.job_JobType}" />' />
  67.           </td>
  68.         </tr>
  69.         <tr bgcolor="#ffffff">
  70.           <td style="height: 25px; width: 117px;">
  71.           &nbsp; 招聘人数:
  72.           </td>
  73.           <td style="height: 23px">
  74.             <input type="text" name="count" value='<c:out value="${jobs.job_Count}" />' />
  75.           </td>
  76.         </tr>
  77.         <tr bgcolor="#ffffff">
  78.           <td style="height: 25px; width: 117px;">
  79.           &nbsp; 有效时间:
  80.           </td>
  81.           <td style="height: 23px">
  82.             <input type="text" name="endTime" value='<c:out value="${jobs.job_EndTime}" />' />
  83.           </td>
  84.         </tr>
  85.         <tr bgcolor="#ffffff">
  86.           <td style="height: 25px; width: 117px;">
  87.           &nbsp; 职位要求:
  88.           </td>
  89.           <td style="height: 23px">
  90.             <input type="text" name="request" value='<c:out value="${jobs.job_Request}" />' />
  91.           </td>
  92.         </tr>
  93.         <tr bgcolor="#ffffff">
  94.           <td style="height: 25px; width: 117px;">
  95.           &nbsp; 薪资待遇:
  96.           </td>
  97.           <td style="height: 23px">
  98.           <%
  99.           Jobs jobs = (Jobs)request.getAttribute("jobs");
  100.           FCKeditor oFCKeditor2 ;
  101.           oFCKeditor2 = new FCKeditor( request, "pay" ) ;
  102.           oFCKeditor2.setToolbarSet("Inf");
  103.           //                oFCKeditor.setBasePath( request.getContextPath() + "/" ) ;
  104.           oFCKeditor2.setWidth("600");
  105.           oFCKeditor2.setHeight("150");
  106.           if(jobs != null){
  107.             if(jobs.getJob_Desc() != null){
  108.               oFCKeditor2.setValue(jobs.getJob_Pay());
  109.             }
  110.           }
  111.           out.println( oFCKeditor2.create() ) ;
  112.           %>
  113.           </td>
  114.         </tr>
  115.         <tr bgcolor="#ffffff">
  116.           <td style="height: 25px; width: 117px;">
  117.           &nbsp; 联系方式:
  118.           </td>
  119.           <td style="height: 23px">
  120.           <%
  121.           FCKeditor oFCKeditor1 ;
  122.           oFCKeditor1 = new FCKeditor( request, "contact" ) ;
  123.           oFCKeditor1.setToolbarSet("Inf");
  124.           //                oFCKeditor.setBasePath( request.getContextPath() + "/" ) ;
  125.           oFCKeditor1.setWidth("600");
  126.           oFCKeditor1.setHeight("150");
  127.           if(jobs != null){
  128.             if(jobs.getJob_Desc() != null){
  129.               oFCKeditor1.setValue(jobs.getJob_Contact());
  130.             }
  131.           }
  132.           out.println( oFCKeditor1.create() ) ;
  133.           %>
  134.           </td>
  135.         </tr>
  136.         <tr bgcolor="#ffffff">
  137.           <td style="height: 25px; width: 117px;">
  138.           &nbsp; 职位描述:
  139.           </td>
  140.           <td style="height: 23px">
  141.           <%
  142.           FCKeditor oFCKeditor ;
  143.           oFCKeditor = new FCKeditor( request, "desc" ) ;
  144.           oFCKeditor.setToolbarSet("Inf");
  145.           //                oFCKeditor.setBasePath( request.getContextPath() + "/" ) ;
  146.           oFCKeditor.setWidth("600");
  147.           oFCKeditor.setHeight("150");
  148.           if(jobs != null){
  149.             if(jobs.getJob_Desc() != null){
  150.               oFCKeditor.setValue(jobs.getJob_Desc());
  151.             }
  152.           }
  153.           out.println( oFCKeditor.create() ) ;
  154.           %>
  155.           </td>
  156.         </tr>
  157.         <tr bgcolor="#ffffff" align="center">
  158.           <td colspan="2">
  159.             <input type="submit" id="btnSave" value="保  存" onclick="" />&nbsp;&nbsp;&nbsp;&nbsp;
  160.             <input type="button" value="返  回" onclick="window.history.go(-1);" />
  161.           </td>
  162.         </tr>
  163.       </table>
  164.     </td>
  165.   </tr>
  166. </table>
  167. </form>
  168. </body>
  169. </html>