attendance_person_list.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:

电子政务应用

开发平台:

Java

  1. <%
  2. /**
  3.  * $RCSfile: attendance_person_list.jsp $
  4.  * $Revision: 1.0 $
  5.  * Date: 2001/05/17 16:59:46 $
  6.  * /training/list
  7.  */
  8. %>
  9. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  10. <%@ page import="com.vnex.intranet.hr.util.*" %>
  11. <%@ page import="com.vnex.intranet.hr.value.*" %> 
  12. <%@ page import="java.lang.*"%>
  13. <%@ page import="java.util.*"%>
  14. <jsp:useBean id="trainingProxy" class="com.vnex.intranet.hr.process.HRTrainingProcessBean" scope="page" />
  15. <%
  16.      //initial a training bean
  17.      HRTrainingValueBean tmpHRTrainingValueBean = new HRTrainingValueBean();
  18.      int trainId = -1;
  19.      
  20.      // judgement if page flow is from create training.
  21.      String startDate = "";
  22.      String endDate = "";
  23.      if ( request.getParameter("trainId") !=null )
  24.      {
  25.         trainId =  Integer.parseInt( request.getParameter("trainId") );
  26.         tmpHRTrainingValueBean = trainingProxy.getTraining( trainId );
  27.         tmpHRTrainingValueBean.setPersonsName();
  28.         startDate = tmpHRTrainingValueBean.getTrain_startdate().toString();
  29.         endDate = tmpHRTrainingValueBean.getTrain_enddate().toString();
  30.         startDate = startDate.substring(0, startDate.indexOf(" "));
  31.         endDate = endDate.substring(0, endDate.indexOf(" "));
  32.      }
  33. %>
  34. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  35. <HTML>
  36. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  37. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  38. <script language="JavaScript" src="/vnex/menu/dockmenu_hr.js"></script>
  39. <script language="JavaScript" src="/vnex/menu/dockmenu.js"></script>
  40. <DIV align=center>
  41. <form name="form1" method="post" action="">
  42.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  43.     <tbody>
  44.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  45.     <TR> 
  46.         <TD colSpan=3 align="center"> 
  47.           <br>
  48.           <!--休假事件表开始 -->
  49.            <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  50.             <tr>
  51.               <td> 
  52.                 <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
  53.                   <tr> 
  54.                     <td bgcolor="#666666"><font class="strongw">
  55.                       <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;
  56.                       <a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>&gt;&gt;
  57.                       <a href="/mainctrl/training/main"><font color="#ffffff">员工培训</font></a>&gt;&gt;培训人员信息</font></td>
  58.                   </tr>
  59.                 </table>  
  60.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  61.                    <tr bgcolor="#e0e0e0">
  62.                       <td width="16%"><strong>&nbsp;培训主题:</strong></td>
  63.                       <td><%=tmpHRTrainingValueBean.getTrain_name()%></td>
  64.                    </tr>
  65.                    <tr bgcolor="#fafafa">
  66.                       <td width="16%"><strong>&nbsp;时间:</strong></td>
  67.                       <td><%=startDate%>----<%=endDate%></td>
  68.                    </tr>
  69.                    <tr bgcolor="#e0e0e0">
  70.                       <td width="16%"><strong>&nbsp;地点:</strong></td>
  71.                       <td><%=tmpHRTrainingValueBean.getTrain_address()%></td>
  72.                    </tr>
  73.                    <tr bgcolor="#fafafa">
  74.                       <td width="16%"><strong>&nbsp;主讲:</strong></td>
  75.                       <td><%=tmpHRTrainingValueBean.getTrain_teacher()%></td>
  76.                    </tr>
  77.                    <tr bgcolor="#e0e0e0">
  78.                       <td width="16%"><strong>&nbsp;参加人员:</strong></td>
  79.                       <td><%=tmpHRTrainingValueBean.getTrain_persons()%></td>
  80.                    </tr>
  81.   <tr bgcolor="#fafafa" align="center" height="30">
  82.      <td colspan="2">
  83.           <input type="button" value="返回" name="B3" onclick="history.back()" class="text">
  84.      </td>
  85.   </tr>     
  86.               </table>
  87.              </td>
  88.             </tr>
  89.           </table>
  90.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  91.         </TD>
  92.     </TR>
  93.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  94.     </TBODY> 
  95.     </TABLE>
  96.   <BR>
  97.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  98.   </form></DIV>
  99. </BODY></HTML>