<%@ page contentType="text/html; charset=UTF-8" language="java" pageEncoding="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.*" %> <%@page import="com.csc.library.databean.MyDataList, com.csc.library.databean.Simtapstran, com.csc.library.databean.MyDataRec, com.csc.library.download.FileDownloadUtils2" %> <%@ page import="com.csc.library.report.ReportUDF, java.util.*"%> <%@ include file="../CHECKPROFILE.jsp" %> <% request.setCharacterEncoding("UTF-8"); %> <jsp:useBean id="EMV" class="com.csc.library.system.Task" scope="page" /> <jsp:setProperty name="EMV" property="appname" value="empview" /> <% EMV.setChannel(request, response); EmvHelpEntry screen = (EmvHelpEntry)EMV.process("EmvHelpEntry", "HANDBOOKHELP"); String orderby = "sort,thandbookname" ; if(screen.getUProfile().get("lang").equalsIgnoreCase("eng")){ orderby = "sort,ehandbookname"; } screen.getInquiry().setFilter("status = '1' and companyid='" +screen.getUProfile().get("companyid")+"' "); screen.getInquiry().setOrderBy(orderby); screen.getInquiry().refresh(); %> <!DOCTYPE html> <html ng-app="myHR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style> .width-name{ min-width: 50% !important; } table{ margin-bottom: 30px !important; } </style> </head> <body> <div class="bg-com"></div> <jsp:include page="EMV_HEADMENU.jsp" flush="true" /> <script> setLang("<%=screen.getUProfile().get("lang")%>"); var swap = new swaplang(); var titlename = swap.swap2String("SW012088"); setPageTitle(titlename); </script> <section> <div class="container csc-content"> <form name="cscform" class="form-horizontal" method="post" action="?"> <input type="hidden" name="__screen" value="THANDBOOK"> <div class="csc-block-white"> <div class="center"> <h2 swlang code='SW012088'>Handbook</h2> </div> <div class="container"> <table class="table table-head table-hover table-bordered table-title-left table-content-center"> <thead> <tr> <th swlang code='SW001393'>No.</th> <th class="width-name" swlang code='SW002172'>Details</th> <th swlang code='SW001033'>Date</th> <th swlang code='SW000270'>Download File</th> </tr> </thead> <tbody> <% int i =0; screen.referLangOn(); while(screen.nextRec()){ i++; DbInquiry dbi = (DbInquiry) screen.getInquiry(); %> <tr> <td><%=i%></td> <td class="table-title"><%=screen.getString("thandbookname")%></td> <td><%=screen.getString("uploaddate")%></td> <td><a href="<%=dbi.getCurrentDbRecord().getDownloadUrl("attachment")%>"><i class="fa fa-download"></i></a></td> </tr> <% } %> </tbody> </table> </div> <!-- End container --> </div> <!-- End csc-block --> </form> </div> <!-- End csc-content --> <a href="#top" id="top-button"> <i class="fa fa-angle-up"></i> <div class="top-word">Back to top</div> </a> </section> <jsp:include page="FOOTER.jsp" flush="true" /> </body> </html>