<%@ 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="TREMP004" class="com.csc.library.system.Task" scope="page" /> <jsp:setProperty name="TREMP004" property="appname" value="empview" /> <% TREMP004.setChannel(request, response); HelpEntry screen = (HelpEntry)TREMP004.process("HelpEntry", "TREMP004"); screen.process(); screen.nextRec(); screen.referLangOn(); CheckNull chk = new CheckNull(); %> <!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("SW000614"); setPageTitle(titlename); function viewTrainer(trainerid){ } function viewLocation(locid){ } function viewAcademy(inid){ } function showFile(){ with(document.cscform){ window.open('../TRAINING/UPLOAD/PICTURE/TRAINER/'+__photo.value,'Picture','width=800,height=600,status=yes,scrollbars=yes,resizable=yes'); } } function setOnPicError(pic){ pic.value = "DEFAULT.jpg"; } 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); } } </script> </head> <body> <div class="bg-com"></div> <div class="container csc-content"> <form name="cscform" class="form-horizontal" method="post" action="TREMP004.jsp"> <%=screen.InitialVariable()%> <input type="hidden"name="__screen" value="TREMP004"> <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="__calendar"> <script language="javascript">//getInputFormatDate();</script> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>"> <input type="hidden" name="__backpage" value = "<%=request.getParameter("__backpage")%>"> <div class="csc-block"> <% String picture = screen.getDataLabel("photo"); if (picture.equals("")){picture = "DEFAULT.jpg";} FileDownloadUtils downloadutils = new FileDownloadUtils("TRAINING_UPLOAD", "dir", picture, "PICTURE"); downloadutils.setDefaultFileName("DEFAULT.jpg"); String path = downloadutils.getViewURL(); %> <div class="row"> <div class="form-group"> <div class="center"> <a href="javaScript:showFile();"> <img src="<%=path%>" name="pic" width="100" height="100" border="1" align="center" class="img-thumbnail" onError="this.src='../IMAGES/EMPVIEW/DEFAULT-PERSON.gif';setOnPicError(__photo);"> </a> </div> </div> </div> <div class="row"> <div class="form-group"> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right" swlang code="SW007745">Name Surname</label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" ><%=screen.getString("mtrainer","fullname")%></label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right" swlang code="SW001916">Current Position</label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" ><%=screen.getString("mtrainer","trposition")%></label> </div> </div> </div> <div class="row"> <div class="form-group"> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right" swlang code="SW000202">Educational Background</label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" > <% DbInquiry dba = (DbInquiry) screen.getInquiry().getChild("mtraineredu"); if(dba.recCount()>0){ do{ %> <%=dba.getString("mdegree","tdesc")+" : "+dba.getString("mmajor","tdesc")+" : "+dba.getString("minstitue","tdesc")%> <% }while(dba.next()); } %> </label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right" swlang code="SW001964">Exprience Background</label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" > <% dba = (DbInquiry) screen.getInquiry().getChild("mtrainerexp"); if(dba.recCount()>0){ do{ %> <%=dba.getString("exp_position")+" : "+dba.getString("companyname")%> <% }while(dba.next()); } %> </label> </div> </div> </div> <div class="row"> <div class="form-group"> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right"><%=screen.getLabel("expert")%> </label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" > <% dba = (DbInquiry) screen.getInquiry().getChild("mtrainercrs"); if(dba.recCount()>0){ do{ %> <%=dba.getString("crsid")+" : "+dba.getString("mcourse","crsdesc")%><br> <% }while(dba.next()); } %> </label> <input type="hidden" name="exp" id="exp" value="<%=screen.getString("mtrainer","experince")%>"> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label label-right"><%=screen.getLabel("experince")%> </label> </div> <div class="col-md-3 col-sm-3 col-xs-3"> <label class="control-label" ><script>replaceTexta('exp');</script></label> </div> </div> </div> <div class="center"> <a href="javascript:close();" swlang code="SW012104" class="btn btn-primary">Close</a> </div> </br> </div> </form> </div> </body> </html>