<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/include/include.jsp"%> <%@include file="/include/head.jsp"%> <%@include file="/cms_for_bcb/show_top.jsp"%>

<% String nowPage = r_call(request.getParameter("nowPage")); String c_no = r_call(request.getParameter("c_no")); if(c_no.equals("")){ }else{ String sql_ok = "update tbl_board set c_click = c_click + 1 where c_no = " + c_no; stmt2.execute(sql_ok); String sql1 = " select * from tbl_board where c_no = " + c_no; ResultSet rst = stmt.executeQuery(sql1); if (rst.next()) { %>
Title. <%=rst.getString("c_title")%>
Name. <%=rst.getString("c_name")%>
Clicks <%=rst.getString("c_click")%>
date <%=rst.getString("c_date").substring(0,10)%>
To. <% String sql12 = " select a.*,(select c_team_name from tbl_team where c_no = a.c_group_no) as team_name from tbl_board_to a where a.c_board_no = " + c_no; ResultSet rst2 = stmt.executeQuery(sql12); int ty = 0; while (rst2.next()) { ty = ty + 1; %> <%if(rst2.getInt("c_group_type") == 0){%> <%if(rst2.getInt("c_group_no") == 0){%> <%if(ty>1){%>/ <%}%>All Members    <%}%> <%if(rst2.getInt("c_group_no") == 1){%> <%if(ty>1){%>/ <%}%>All Instructors   <%}%> <%if(rst2.getInt("c_group_no") == 2){%> <%if(ty>1){%>/ <%}%>All Mentors    <%}%> <%if(rst2.getInt("c_group_no") == 3){%> <%if(ty>1){%>/ <%}%>All Observers    <%}%> <%}else{%> <%if(ty>1){%>/ <%}%>Members of team[<%=rst2.getString("team_name") %>]    <%}%> <% } rst2.close(); %>
<%=rst.getString("c_content").replaceAll("\n\r","
")%>
<%if(rst.getString("c_member_no").equals(session.getAttribute("member_no") ) && !session.getAttribute("member_type").equals("0")){%> Edit Delete <%}%> List
<% } rst.close(); } %> <%@include file="/cms_for_bcb/show_bottom.jsp"%> <%@include file="/include/bottom.jsp"%> <%@include file="/include/include_b.jsp"%>