EMV_HR.jsp 1.24 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<%@ 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.*"  %>
<%@ page import="java.util.*,org.apache.commons.lang.StringUtils"  %>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="main" class="com.csc.library.system.Task" scope="page" />
<jsp:setProperty name="main" property="appname" value="EMPVIEW" />
<%
	main.setChannel(request,response);
	main.checkProfile();
	UProfile uprofile=main.getUProfile();
	String data="";
	if( uprofile == null ){
		response.sendRedirect("../hr/EMPVIEW/INDEX.jsp");
	}else{
			DbRecord rec=new InitialRecord(uprofile).getDbRecord("mfckeditor");
		rec.setColumn("*");
		rec.set("FCKID",(String)uprofile.get("companyid"));
		rec.search();
		data = rec.getString("fckdata");
	}
	%>

<div class="content-box2">
  <div class="content-header">
    <h2><script type="text/javascript">swapLang("Announcement");</script></h2>
  </div>
  
    <table width="100%" border="0" cellpadding="3" cellspacing="3" bgcolor="#CADCE6">
      <tr>   
        <td valign="top"><%=data%>     
        </td>
      </tr>
  </table>
 
</div>