<%@ 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>