<%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ 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.*" %> <%@ include file="../CHECKPROFILE.jsp" %> <% request.setCharacterEncoding("UTF-8"); %> <jsp:useBean id="TREMP007" class="com.csc.library.system.Task" scope="page" /> <jsp:setProperty name="TREMP007" property="appname" value="empview" /> <% TREMP007.setChannel(request,response); HelpEntry screen = (HelpEntry) TREMP007.process("HelpEntry","TREMP007"); screen.process(); screen.nextRec(); screen.referLangOn(); CheckNull chk = new CheckNull(); DbInquiry db = null; %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR"> <head> <title>Employee View</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css"> <link rel="stylesheet" type="text/css" href="../CSS/Bootstrap/css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="../CSS/EMPVIEW_LAYOUT.min.css" /> <script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script> <script type="text/javascript" src="../JS/UTILITIES.js"></script> <script type="text/javascript" src="../JS/EVENTS.js"></script> <script type="text/javascript" src="../JS/SCREEN.js"></script> <script type="text/javascript" src="../JS/angular-1.3.15/angular.js"></script> <script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script> <script> setLang("<%=screen.getUProfile().get("lang")%>"); var swap = new swaplang(); var titlename = swap.swap2String("SW000650"); setPageTitle(titlename); function replaceTexta(id){ if(document.getElementById(id)!=null){ var tmp = document.getElementById(id).value; while(tmp.indexOf("\x0D")>0){ tmp = tmp.replace("\x0D","<br>"); } document.write(tmp); } } function replacePrecrs(id){ if(document.getElementById(id)!=null){ var tmp = document.getElementById(id).value; while(tmp.indexOf("#")>0){ tmp = tmp.replace("#","<br>"); } document.write(tmp); } } </script> </head> <body> <div class="bg-com"></div> <div class="container csc-content"> <div class="csc-block-white"> <form name="cscform" class="form-horizontal" method="post" action="TREMP007.jsp"> <%=screen.InitialVariable()%> <script language="javascript">getInputFormatDate();</script> <input type="hidden" name="__screen" value="TREMP007"> <input type="hidden" name="__help" value=""> <input type="hidden" name="__fixCon" value=""> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__calendar"> <input type="hidden" name="__language" value="<%=screen.getUProfile().get("lang")%>"> <div class="container csc-content"> <div class="center"> <h4 swlang code="SW000650">Course Description</h4> </div> <table class="table table-head table-hover table-bordered table-left table-title-left table-fixed"> <tbody> <tr> <th><%=screen.getLabel("CRSID")%></th> <td><%=screen.getString("CRSID")%></td> <th swlang code="SW000390">Course Type</th> <td><%=screen.getDataLabel("MCOURSETYPE","CRSTYEDESC")%></td> </tr> <% screen.referLangOff(); %> <tr> <th><%=screen.getLabel("CRSDESC")%></th> <td><%=screen.getDataLabel("CRSDESC")%></td> <th swlang code="SW000610">Course Group</th> <td><%=screen.getDataLabel("MCOURSEGROUP","TDESC")%></td> </tr> <tr> <th><%=screen.getLabel("CRSEDESC")%></th> <td><%=screen.getDataLabel("CRSEDESC")%></td> <th swlang code="SW001045">Course Category</th> <td><%=screen.getDataLabel("MTRCAT","TDESC")%></td> </tr> <% screen.referLangOn(); %> <tr> <th><%=screen.getLabel("EDITORIAL")%></th> <td id="EDITORIAL" value="<%=screen.getDataLabel("EDITORIAL")%>"><script>replaceTexta("EDITORIAL");</script></td> <th><%=screen.getLabel("CRSKIND")%></th> <td><%=screen.getInquiry().getCurrentDbRecord().getSystemCode("CRSKIND")%></td> </tr> <tr> <th><%=screen.getLabel("DETAIL")%></th> <td id="DETAIL" value="<%=screen.getDataLabel("DETAIL")%>"><script>replaceTexta("DETAIL");</script></td> <th><%=screen.getLabel("OBJECTIVE")%></th> <td id="OBJECTIVE" value="<%=screen.getDataLabel("OBJECTIVE")%>"><script>replaceTexta("OBJECTIVE");</script></td> </tr> <tr> <th><%=screen.getLabel("PRECRS")%></th> <td colspan=4 id="PRECRS" value="<%=screen.getDataLabel("PRECRS")%>"><script language="javascript">replacePrecrs("PRECRS");</script></td> </tr> </tbody> </table> <% if(!screen.getString("MKC_COURSE","KCID").equals("")||!screen.getString("MKPI_COURSE","KPIID").equals("")){ DbInquiry dba = null; %> <table class="table table-head table-hover table-bordered table-title-left table-fixed"> <thead> <tr> <th colspan=4 class="table-title" swlang code="SW001934">Involved in KC KPI</th> </tr> </thead> <tbody> <tr> <th>KC & KPI</th> <th swlang code="SW001938">ID</th> <th swlang code="SW000012">Description</th> <th swlang code="SW001939">Group</th> </tr> <% screen.inq.getCurrentDbRecord().refreshChild("MKC_COURSE"); dba=(DbInquiry) screen.inq.getCurrentDbRecord().getChild("MKC_COURSE"); if(dba.recCount()>0){ %> <tr> <td rowspan="<%=(dba.recCount())%>">KC</td> <td><%=dba.getString("KCID")%></td> <td><%=dba.getString("MKC","TDESC")%></td> <td><%=dba.getString("MKEYASSGROUP","TDESC")%></td> </tr> <% while(dba.next()){ %> <tr> <td><%=dba.getString("KCID")%></td> <td><%=dba.getString("MKC","TDESC")%></td> <td colspan=2><%=dba.getString("MKEYASSGROUP","TDESC")%></td> </tr> <% } } screen.inq.getCurrentDbRecord().refreshChild("MKPI_COURSE"); dba=(DbInquiry) screen.inq.getCurrentDbRecord().getChild("MKPI_COURSE"); if(dba.recCount()>0){ %> <tr> <td rowspan="<%=(dba.recCount())%>">KPI</td> <td><%=dba.getString("KPIID")%></td> <td><%=dba.getString("MKPI","TDESC")%></td> <td><%=dba.getString("MKEYASSGROUP","TDESC")%></td> </tr> <% while(dba.next()){ %> <tr> <td><%=dba.getString("KPIID")%></td> <td><%=dba.getString("MKPI","TDESC")%></td> <td><%=dba.getString("MKEYASSGROUP","TDESC")%> </td> </tr> <% } } %> </tbody> </table> <% } %> <div class="center"> <a href="javascript:close();" swlang code="SW012104" class="btn btn-primary">Close</a> </div> </div> </form> </div> </div> </body> </html>