<%@ page contentType="text/html; charset=EUC-KR" %> <%@ page import="java.math.*"%> <%@ page import="java.util.*"%> <%@ page import="java.sql.*"%> <%@ page import="com.jdf.*"%> <%@ page import="com.jdf.basis.*"%> <%@ page import="com.jdf.html.*"%> <%@ page import="com.jdf.msg.*"%> <%@ page import="com.jdf.db.*"%> <%@ page import="dm.*"%> <%@ page import="odm.*"%> <%@ include file="/includes/pages/cacheControl.jsp"%> <%@ include file="/includes/pages/memberCheck.jsp" %> <%@ include file="/includes/pages/listUpper.jsp" %> <%@ include file="/member/certify.jsp" %> <% MessageInfo msgInfo = null; PageProperties pp = new PageProperties(request); int aT = NumberUtil.toInt(StringUtil.verify(pp.getProperty("aT"))); int rtn = Const.E_ERROR; // 󸮰Ǽö int errorCode = Const.E_ERROR; // ¿¡·¯ÄÚµå %> <%@ include file="/includes/pages/hospitalUpper.jsp" %> <% String where = "after"; pgSize = 6; GeneralBroker broker = null; CSkc02DM dm = null; CSkc02ODM odm = null; RecordModel rm[] = null; pgSize = 10 ; try { broker = new GeneralBroker("Skc02"); if(aT != Const.P_NONE) { dm = new CSkc02DM(pp); rtn = broker.process(aT, dm); if(rtn > 0) errorCode = Const.E_OK; } odm = new CSkc02ODM(pp); odm.setBbsid("after"); odm.setUid(StringUtil.verify((String)session.getAttribute("uid"))); try { pg = Integer.parseInt(pp.getProperty("pg")); } catch(Exception e) { pg = 1;} rm = broker.getList(odm,pg,pgSize); rm[0].next(); totCount = ((Integer)rm[0].get(1)).intValue(); totPage = totCount/pgSize; if(totCount%pgSize > 0) totPage++; rtn = totCount; if(rtn >= 0) errorCode = Const.E_OK; } catch (Exception e) { e.printStackTrace(); errorCode = Const.E_ERROR; if(msgInfo == null) msgInfo = new com.jdf.msg.MessageInfo(); msgInfo.setException(e); } %> CNP Â÷¾Ø¹Ú ÇǺΰú¿¡ ¿À½Å°ÍÀ» ȯ¿µÇÕ´Ï´Ù. <%String top_title="my";%>
<%@ include file="/includes/pages/top.jsp"%>
<%@ include file="left.jsp"%> <% if(aT != Const.P_NONE) { %> <% } %> <% if(totCount == 0) { %> <% } // pgSize = 6 ; if(rtn != Const.E_ERROR) { int i = totCount - (pg-1)*pgSize; while(rm != null && rm[1].next()) { %>
<%=dm.getSubject()%> <%= DateTime.getDateString(dm.getReg_date())%> <%=NumberUtil.verify(dm.getVisited())%>
<%=StringUtil.toLine(dm.getContent())%>
°í°´´Ô²²¼­ ÀÛ¼ºÇϽŠġ·áÈıⰡ ¾ø½À´Ï´Ù.
<% } //while } //if %>
<%=i--%> &pg=<%=pg%>"> <% for(int j = 0; j < NumberUtil.verify((Integer)rm[1].get("re_level")).intValue() ; j++) { %> <% } %> <%=StringUtil.verify((String)rm[1].get("subject"))%>  <% if(DateTime.getDateString((Timestamp)rm[1].get("reg_date")).equals(DateTime.getDateString())) { %><% } %> <%= DateTime.getDateString((Timestamp)rm[1].get("reg_date"))%> <%=NumberUtil.verify((Integer)rm[1].get("visited"))%>
<%@ include file="/includes/pages/listLower.jsp" %>
<%@ include file="/includes/pages/bottom.jsp"%>