<%@ 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 sql1 = " select a.* "; sql1 = sql1 + ", (select count(c_no) from tbl_board_to where c_board_no = a.c_no and c_group_type=0 and c_group_no = 0 ) as c1_no "; sql1 = sql1 + ", (select count(c_no) from tbl_board_to where c_board_no = a.c_no and c_group_type=0 and c_group_no = 1 ) as c2_no "; sql1 = sql1 + ", (select count(c_no) from tbl_board_to where c_board_no = a.c_no and c_group_type=0 and c_group_no = 2 ) as c3_no "; sql1 = sql1 + ", (select count(c_no) from tbl_board_to where c_board_no = a.c_no and c_group_type=0 and c_group_no = 3 ) as c4_no "; sql1 = sql1 + " from tbl_board a where a.c_no = " + c_no; ResultSet rst = stmt.executeQuery(sql1); if (rst.next()) { if(rst.getString("c_member_no").equals(session.getAttribute("member_no") ) && !session.getAttribute("member_type").equals("0")){ %>
" style="width:100%;height:30px" placeholder="Insert Title.">
Name. <%=rst.getString("c_name")%>
To.
0){%>checked<%}%> onclick="check_check()"> All Members of Teams
0){%>checked<%}%>> All Instructors
0){%>checked<%}%>> All Mentors
All Observers
 
<%String sql2 = " select a.c_no, c_team_name "; sql2 = sql2 + ", (select count(c_no) from tbl_board_to where c_board_no = " + c_no +" and c_group_type= 1 and c_group_no = a.c_no ) as b_count"; sql2 = sql2 + " from tbl_team a where a.c_use = 0 and a.c_project_no = " + session.getAttribute("member_project_no") + " order by a.c_team_name asc"; ResultSet rst2 = stmt.executeQuery(sql2); while (rst2.next()) { %> " <%if(rst2.getInt("b_count") > 0 ){%>checked<%}%> type="checkbox" onclick="check_check2()"> Members in team [<%=rst2.getString("c_team_name")%>]    <%} rst2.close(); %>
File. <%=rst.getString("c_file")%> " type="hidden"> <%if(!rst.getString("c_file").equals("")){%>   del <%}%>
<%if(rst.getString("c_member_no").equals(session.getAttribute("member_no") ) && !session.getAttribute("member_type").equals("0")){%> Edit <%}%> View
<% }else{ %> <% } } rst.close(); } %> <%@include file="/cms_for_bcb/show_bottom.jsp"%> <%@include file="/include/bottom.jsp"%> <%@include file="/include/include_b.jsp"%>