<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%request.setCharacterEncoding("utf-8");%> <%@include file="/include/include.jsp"%> <% login_tag = 1; %> <%@include file="/include/head.jsp"%> <%@include file="/cms_for_bcb/show_top.jsp"%> <% String para_t = "show_no="+ show_no +"&check_no="+ check_no + "&c_relation=" + c_relation + "&c_relation2=" + c_relation2; String c_no = r_call(request.getParameter("c_no")); String c_board_no = r_call(request.getParameter("c_board_no")); if(!c_board_no.equals("")){ %>
<% String sql_c = "select a.* , b.c_name as m_name, b.c_id as m_id "; sql_c = sql_c + ", (select count(c_no) as m_number from tbl_community_member where c_community_no = a.c_no and c_use = 0 and c_now in (0,1) ) as m_number "; sql_c = sql_c + " from tbl_community a "; sql_c = sql_c + " inner join tbl_member b on b.c_no = a.c_member_no "; sql_c = sql_c + " where a.c_no = "+ c_no +" and a.c_use = 0 and a.c_home = "+ c_home +" and c_member_no = "+ session.getAttribute("member_no") +" "; ResultSet rs_c = stmt.executeQuery(sql_c); if (rs_c.next()) { %>
◎ Community information
Name <%=rs_c.getString("c_name")%>
Target <%=rs_c.getString("c_target")%>
Date <%=rs_c.getString("c_date").substring(0,10)%>
Master <%=rs_c.getString("m_name")%> / <%=rs_c.getString("m_id")%>
<%=rs_c.getString("c_exp").replaceAll("\n","
")%>
◎ Edit Community Board
<% String sql_b = "select * from tbl_community_board where c_no = "+ c_board_no +" and c_community_no = " + c_no; ResultSet rs_b = stmt.executeQuery(sql_b); if (rs_b.next()) { %>
*Board Name " style="width:80%;height:30px;border:solid 1px #cdcdcd" maxlength="300">
*Write authority checked<%}%>> Members escriben         checked<%}%>> Solo escritura maestra
* Board Use checked<%}%>> Use         checked<%}%>> No Use
<%} rs_b.close(); %>
<%}else{%> <%} rs_c.close(); %>
<% }else{%> <%}%> <%@include file="/cms_for_bcb/show_bottom.jsp"%> <%@include file="/include/bottom.jsp"%> <%@include file="/include/include_b.jsp"%>