<%@ 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="제목을 입력해 주세요.">
Name. <%=rst.getString("c_name")%>
File. <%=rst.getString("c_file")%> " type="hidden"> <%if(!rst.getString("c_file").equals("")){%>   삭제 <%}%>
<%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"%>