<%@page contentType="text/html; charset=UTF-8"%> <%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%> <%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*" %> <jsp:useBean id="TRE011H1" class="com.csc.library.system.Task" scope="page"/> <% TRE011H1.setChannel(request,response); HelpEntry screen = (HelpEntry) TRE011H1.process("HelpEntry","TRE011H1"); CheckNull chk = new CheckNull(); screen.getInquiry().setFilter("trainingid = '"+chk.chkNullString(request.getParameter("__trainingid"))+"'"); screen.process(); screen.referLangOn(); %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="../CSS/TISCO.css" rel="stylesheet" type="text/css"> <script type='text/javascript' src='../JS/MISC.js'></script> <script type='text/javascript' src='../JS/SCREEN.js'></script> <script type='text/javascript' src='../JS/ICONSMENU.js'></script> <script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script> <script type='text/javascript' src="../JS/VIEWCALENDAR.js"></script> <script language="JavaScript" > function goPage(type,assid,frmid,aseeid){ with(document.cscform){ var page = "TRE012.jsp"; var help = ""; if(type=="1"){ //page = "TRE014.jsp"; help = "__trainingid$"+__trainingid.value+";__traineeid$"+assid+";"; } if(type=="2"){ //page = "TRE012.jsp"; help = "__trainingid$"+__trainingid.value+";__respid$"+assid+";"; } if(type=="3"){ //page = "TRE012_TNR.jsp"; help = "__trainingid$"+__trainingid.value+";__respid$"+assid+";"; } window.open(page+ "?__help="+help+ "&__type="+type+ "&__aseeid="+aseeid+ "&__showname=yes","","left=150,top=150,width=700,height=600,toolbar=no,status=yes,scrollbars=yes,resizable=yes"); } } </script> </head> <body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('../IMAGES/BUTTON/SWAP/SEARCH_SWAP24.gif','../IMAGES/BUTTON/SWAP/EXIT_SWAP24.gif','../IMAGES/BUTTON/SWAP/HELP_SWAP24.gif','../IMAGES/BUTTON/SWAP/NEW_SWAP24.gif','../IMAGES/BUTTON/SWAP/EDIT_SWAP24.gif','../IMAGES/BUTTON/SWAP/DEL_SWAP24.gif','../IMAGES/BUTTON/SWAP/PROCESS_SWAP24.gif','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif')"> <div id="toolTipLayer" style="position:absolute; visibility: hidden"></div> <form name="cscform" method="post" action="#"> <!----------BEGIN CSC INITIAL ZONE ------------------------> <%=screen.InitialVariable()%> <!----------END CSC INITIAL ZONE --------------------------> <input type="hidden"name="__screen" value="TRE011H1"> <input type="hidden" name="__fixCon" value=""> <input type="hidden" name="__help" value=""> <input type="hidden" name="__keyList" value=""> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__chkReq" value=""> <input type="hidden" name="__calendar"> <input type="hidden" name="__childFilter"> <script language="javascript">getInputFormatDate();</script> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>"> <input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>"> <input type="hidden" name="__backpage" value = "<%=request.getParameter("__backpage")%>"> <input type="hidden" name="__trainingid" value = "<%=chk.chkNullString(request.getParameter("__trainingid"))%>"> <div align="center"> <table class = "maxsize" align="center" cellpadding="0" cellspacing="0"> <tr > <td class="header">TRE011H1, <script language="javascript">swapLang("Assessor list");</script> </td> </tr> <tr > <td colspan="2"> <div align="center"> <table border="0" bgcolor="#333333" cellpadding="0" cellspacing="1" id="rsTable" name="rsTable" class="maxsize" cols="5"> <tr> <td width="12%" class="row3"> <div align="center"><a href="javascript:sortTable(0, rsTable);"><script language='javascript'>swapLang('Assessor ID');</script></a></div></td> <td width="29%" class="row3"> <div align="center"><a href="javascript:sortTable(1, rsTable);"><script language='javascript'>swapLang('Assessor');</script></a></div></td> <td width="29%" class="row3"> <div align="center"><a href="javascript:sortTable(2, rsTable);"><script language='javascript'>swapLang('Assesee');</script></a></div></td> <td width="15%" class="row3"> <div align="center"><a href="javascript:sortTable(3, rsTable);"><script language='javascript'>swapLang('Assessor Type');</script></a></div></td> <td width="15%" class="row3"> <div align="center"><a href="javascript:sortTable(4, rsTable);"><script language='javascript'>swapLang('Form ID');</script></a></div></td> </tr> <% String ass_id, ass_name, aseeid, asee_name; while(screen.nextRec()){ ass_id = ""; ass_name = ""; asee_name = "-"; aseeid = ""; if(screen.getString("ASSOR_TYPE").equals("1")){ ass_id = screen.getString("TRAINEEID"); ass_name = screen.getString("MEMPLOYEE","FULLNAME")+" (TRAINEE)"; } if(screen.getString("ASSOR_TYPE").equals("2")){ ass_id = screen.getString("RESPID"); ass_name = screen.getString("V1MEMPLOYEE","FULLNAME")+" (HR)"; } if(screen.getString("ASSOR_TYPE").equals("3")){ ass_id = screen.getString("RESPID"); ass_name = screen.getString("V1MEMPLOYEE","FULLNAME")+" (HR)"; asee_name = screen.getString("MTRAINER","FULLNAME")+" (TRAINER)"; aseeid = screen.getString("TRAINERID"); } %> <tr> <td class="inframe"><div align="center"><a href="javascript:goPage('<%=screen.getString("ASSOR_TYPE")%>','<%=ass_id%>','<%=screen.getString("FORMID")%>','<%=aseeid%>');"><%=ass_id%></a></div></td> <td class="inframe"><div align="left"> <%=ass_name%></div></td> <td class="inframe"><div align="left"> <%=asee_name%></div></td> <td class="inframe"><div align="center"><%=screen.getInquiry().getCurrentDbRecord().getSystemCode("ASSOR_TYPE")%></div></td> <td class="inframe"><div align="center"><%=screen.getString("FORMID")%></div></td> </tr> <% } %> </table> </div> </td> </tr> <tr> <td class="blankspace"></td> </tr> <tr> <td class="bottom"></td> </tr> </table> </div> </form> </body> </html>