%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/manager_for_cms/include/manager_head.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"));
String c_relation= r_call(request.getParameter("c_relation"));
String c_relation2= r_call(request.getParameter("c_relation2"));
if(board_no == null || board_no.equals("")){
%>
<%
}else{
%>
<%
String board_name = "BMC Notice";
if(c_relation2.equals("1074")){
board_name = "BMC Data";
}
if(c_relation2.equals("1075")){
board_name = "BMC Clicp";
}
%>
[ <%=board_name%> ] Board Management
<%
String para_t = "c_home=" + c_home + "&c_maker=" + c_maker + "&board_no=" + board_no + "&c_relation=" + c_relation + "&c_relation2=" + c_relation2;
%>
|
<%
String nowPage = r_call(request.getParameter("nowPage"));
String c_no = r_call(request.getParameter("c_no"));
if(c_no.equals("")){
}else{
String sql_ok = "";
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)%>
|
<%=rst.getString("c_content").replaceAll("\n\r"," ")%>
|
File. <%=rst.getString("c_file")%>
|
<%
}
rst.close();
}
%>
<%}%>
<%@ include file="/manager_for_cms/include/manager_bottom.jsp"%>