<%@ page contentType="text/html; charset=utf-8" %> <%@ page import="com.vizensoft.board.common.*" %> <%@ page import="com.vizensoft.management.hospital.*" %> <%@ page import="com.vizensoft.attachefile.*" %> <%@ page import="com.vizensoft.util.*" %> <%@ page import="com.vizensoft.lang.*" %> <%@ page import="java.net.*" %> <%@ page import="org.apache.log4j.*" %> <%@ include file="config.jsp" %> <% if (boardgrade == 3 || boardgrade == 2) { // 게시판 접근 권한 처리 %> <%@ include file="/include/gradeCheck.jsp" %> <% } %> <% // DAO, param, VO 생성 ClinicDAO cdao = ClinicDAO.getInstance(); // 진료과목 DAO 인스턴스 생성 CommonDAO cd = CommonDAO.getInstance(); // 온라인상담 DAO 인스턴스 생성 CommonVO param = CommonVO.getParam(pageRows, tablename, request); // 온라인상담 param 담기 param.setOrderbyString(orderby); CommonVO vo = cd.read(param, userCon); AttacheFileDAO ad = AttacheFileDAO.getInstance(); param.setCommon_fk(String.valueOf(vo.getNo())); ArrayList fileList = ad.uploadFileList(param); %> <%@ include file="/include/headHtml.jsp" %>
<%@ include file="/include/header.jsp" %> <%@ include file="sub_visual/sub_visual.jsp" %>
<% //(지점 > 진료과목) 체크 로직 String firstTitle = ""; if(branch && !"".equals(Function.checkNull(vo.getHospital_name()))){ firstTitle += "" + Function.checkNull(vo.getHospital_name()) + ""; } if(clinic && !"".equals(Function.checkNull(vo.getClinic_name()))){ if(!"".equals(firstTitle)){ firstTitle+=""; } firstTitle+= "" + Function.checkNull(vo.getClinic_name()) + ""; } firstTitle+=""; if("".equals(firstTitle)){ firstTitle = ""; } %>

<%=firstTitle%> <%=Function.checkNull(vo.getTitle())%>

<%=vo.getName()%> <% //날짜만 보여지는지 시간까지 보여지는지에 체크 if(timeDate){ %> <%=DateUtil.getDateTimeFormat(vo.getRegistdate()) %> <% }else{ %> <%=DateUtil.getDateFormat(vo.getRegistdate()) %> <% } %> 조회수 아이콘 <%=vo.getReadno()%> <% if(likeUp){ %> <% } %>

<% if (useMovie){ %> <% HashMap movie1 = (HashMap)Function.getArrayToObject(fileList, "moviename"); if (movie1 != null) { %>

<% } %> <% } %> <%=vo.getContents()%>
<% ArrayList map1 = (ArrayList)Function.getArrayToObject(fileList, "filenames"); %> <% if ( (useFile || useRelationurl) && map1 != null || !"".equals(Function.checkNull(vo.getRelation_url()))) { %>
<% if (useFile) { %> <% if(map1 != null){ for(int i=0; i < map1.size(); i++){ HashMap map = (HashMap)map1.get(i); %>

파일첨부   " target="_blank"> <%=Function.checkNull(Function.checkNull(String.valueOf(map.get("filename_org"))))%> [<%=Function.getFileSize(Function.getLongParameter(String.valueOf(map.get("filesize"))))%>]

<% } } } %> <% if (useRelationurl) { %> <% if(vo.getRelation_url() != null && !"".equals(vo.getRelation_url())){ %>

<%=LanguageProperty.getMsg(" /> <%=vo.getRelation_url() %>

<% } %> <% } %>
<% } %>
<%=LanguageProperty.getMsg("th.prev")%> <% if(vo.getPrev_no() > 0) { %> "><%=Function.getHtmlRemoveTextReSize(vo.getPrev_title(), 30) %> <% }else{ %> <%=LanguageProperty.getMsg("message.tbody.prev")%> <%}%>
<%=LanguageProperty.getMsg("th.next")%> <% if (vo.getNext_no() > 0) { %> "><%=Function.getHtmlRemoveTextReSize(vo.getNext_title(), 30) %> <% }else{ %> <%=LanguageProperty.getMsg("message.tbody.next")%> <%}%>
"><%=LanguageProperty.getMsg("btn.list")%>
<%@ include file="sub_footer/sub_footer.jsp" %> <%@ include file="/include/footer.jsp" %>