<%@ page contentType="text/html; charset=utf-8" %> <%@ page import="com.vizensoft.board.common.*" %> <%@ page import="com.vizensoft.config.SiteProperty" %> <%@ page import="com.vizensoft.management.hospital.*" %> <%@ page import="com.vizensoft.util.*" %> <%@ page import="com.vizensoft.lang.*" %> <%@ page import="java.util.*" %> <%@ page import="org.apache.log4j.*" %> <%@ include file="config.jsp" %> <% if (boardgrade == 3) { // 게시판 접근 권한 처리 %> <% } %> <% //DAO, param, VO 생성 HospitalDAO hdao = HospitalDAO.getInstance(); // 병원 DAO 인스턴스 생성 ClinicDAO cdao = ClinicDAO.getInstance(); // 진료과목 DAO 인스턴스 생성 CommonDAO cd = CommonDAO.getInstance(); // 온라인상담 DAO 인스턴스 생성 CommonVO param = CommonVO.getParam(pageRows, tablename, request); // 온라인상담 param 담기 param.setFileobject("imagename1"); param.setOrderbyString(orderby); //정렬 배열 선언 ArrayList list = cd.list(param); int[] rowPageCount = cd.count(param); %> <%@ include file="/include/headHtml.jsp" %>
<%@ include file="/include/header.jsp" %> <%@ include file="sub_visual/sub_visual.jsp" %>
<% if(rowPageCount[0] > 0){ for(int i=0; i < list.size(); i++){ String readUrl = "style='cursor:pointer;' onclick=\"location.href='"+param.getTargetURLParam("read.jsp", param, list.get(i).getNo())+"'\""; //(지점 > 진료과목) 체크 로직 String firstTitle = ""; if(branch && !"".equals(Function.checkNull(list.get(i).getHospital_name()))){ firstTitle += "" + Function.checkNull(list.get(i).getHospital_name()) + ""; } if(clinic && !"".equals(Function.checkNull(list.get(i).getClinic_name()))){ if(!"[".equals(firstTitle)){ firstTitle+=""; } firstTitle+= "" + Function.checkNull(list.get(i).getClinic_name()) + ""; } firstTitle+=""; if("".equals(firstTitle)){ firstTitle = ""; } %> "> <% } }else{ %> <% } %>
<%=LanguageProperty.getMsg("th.no")%>   <%=LanguageProperty.getMsg("th.title")%> <%=LanguageProperty.getMsg("th.name")%> <%=LanguageProperty.getMsg("th.registdate")%> <%=LanguageProperty.getMsg("th.userCon")%>
<% if("1".equals(list.get(i).getTop())){ %> <%=LanguageProperty.getMsg("lable.td.notice")%> <%}else{%> <%=unickNum ? list.get(i).getNo() : rowPageCount[0] - ((param.getReqPageNo()-1)*pageRows) - i%> <%}%> >
<% if(listImageResize) { %> <% if(Function.getIsImageFileBoolean(request.getRealPath(uploadPath+list.get(i).getListimage()))){ %> <% }else{ %> <%if("/img/no_image.png".equals( Function.RegexImgIgnore(list.get(i).getContents(),editImgUse) ) && !useNoImg ){ %> <% }else { %> <%-- --%> <% } %> <% } %> <% } else {%> <% if (!"".equals(Function.checkNull(list.get(i).getListfilename()))) { %> <%-- <%=Function.checkNull(list.get(i).getImage1_alt())%> --%> <% }else{ %> <%if("/img/no_image.png".equals( Function.RegexImgIgnore(list.get(i).getContents(),editImgUse) ) && !useNoImg ){ %> <% }else { %> <%-- --%> <% } %> <% } %> <% } %>
> <% if("1".equals(list.get(i).getTop())){ %> <%=LanguageProperty.getMsg("lable.td.notice")%> <%}%> <%=firstTitle%> <% if(DateUtil.getNewIcon(list.get(i).getRegistdate(), list.get(i).getNewicon(), 1)) { %> <%=LanguageProperty.getMsg("lable.td.new")%> <%}%>

<%=Function.checkNull(list.get(i).getTitle()) %> <% if(DateUtil.getNewIcon(list.get(i).getRegistdate(), list.get(i).getNewicon(), 1)) { %> <%=LanguageProperty.getMsg("lable.td.new")%> <%}%>

<%=Function.checkNull(list.get(i).getName()) %>

<% //날짜만 보여지는지 시간까지 보여지는지에 체크 if(timeDate){ %> <%=DateUtil.getDateTimeFormatToday(list.get(i).getRegistdate()) %> <% }else{ %> <%=DateUtil.getDateFormat(list.get(i).getRegistdate()) %> <% } %> 조회수 아이콘<%=list.get(i).getReadno()%>
<%=LanguageProperty.getMsg("message.tbody.data")%>
<% if(rowPageCount[0] > pageRows){ %> <% } %> <%=Page.indexUserList(param.getReqPageNo(), rowPageCount[1], request)%>
<%@ include file="sub_footer/sub_footer.jsp" %> <%@ include file="/include/footer.jsp" %>