%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/include/db/db_connect.jsp"%> <%@include file="/include/function/function.jsp"%> <% String c_home = r_call(request.getParameter("c_home")); String c_maker = r_call(request.getParameter("c_maker")); String board_no = r_call(request.getParameter("board_no")); if(board_no == null || board_no.equals("")){ %> <% }else{ %>
<%
int c_relation = 0;
int c_relation2 = 0;
String sql_ok2 = "select * from tbl_menu where c_no = " + board_no;
ResultSet rss = stmt.executeQuery(sql_ok2);
if(rss.next()){
c_relation= rss.getInt("c_relation");
c_relation2= rss.getInt("c_relation2");
%>
[ <%=rss.getString("c_name")%> ] board management
<%
}
rss.close();
c_relation = 0;
c_relation2 = 1;
String para_t = "c_home=" + c_home + "&c_maker=" + c_maker + "&board_no=" + board_no + "&c_relaton=" + c_relation + "&c_relation2=" + c_relation2;
%>
|