<%@ page contentType="text/html; charset=utf-8" %> <% request.setCharacterEncoding("utf-8"); %> <%@ page import = "java.util.*,b2b.*,b2b.beans.*,Beans.util.*,org.apache.commons.lang.*"%> <% NoticeListSearch actbean = new NoticeListSearch(); NoticeListSearchInf post_search_inf = new NoticeListSearchInf(); post_search_inf.pageno = "1"; //NullCHK.isNES(request.getParameter("post_pageno")); post_search_inf.pagesize = "3"; //NullCHK.isNES(request.getParameter("post_pagesize")); post_search_inf.sort_type1 = ""; //NullCHK.isNES(request.getParameter("sort_type1")); post_search_inf.sort_type2 = ""; //NullCHK.isNES(request.getParameter("sort_type2")); post_search_inf.searchtype = "title"; //NullCHK.isNES(request.getParameter("post_searchtype")); //searchtype post_search_inf.searchword = ""; //NullCHK.isNES(request.getParameter("post_searchword")); //검색어 post_search_inf.sosok_party_id = ""; //sosok_party_id; //주문매장 ReturnBean post_rtn; post_rtn = actbean.noticelist_search(post_search_inf); // 메소드 호출 int post_pagesize = Integer.parseInt(post_search_inf.pagesize==null?"3":post_search_inf.pagesize); int post_rtn_cnt = 0; if (post_rtn != null) { post_rtn_cnt = post_rtn.result.size(); } %> <% String formName = "loginFrm"; %> <% String session_yn = ""; if (session.getAttribute("user_id") == null) { session_yn = "N"; } else { session_yn = "Y"; } //System.out.println("session_yn is " + session_yn); //Cookie 처리방식 Cookie[] cookies = request.getCookies(); String B2B_Language = ""; if(cookies == null){ }else{ for(int i=0; i < cookies.length; i++){ if(cookies[i].getName().equals("B2B_Language")){ B2B_Language = cookies[i].getValue(); //System.out.println("[쿠키] : " + B2B_Language); //확인 } } } if(session_yn.equals("N")) { %> <%if (B2B_Language.equals("eng")) {%>Media SYNNARA - B2B<%}else{%>미디어신나라 - B2B<%}%>
<% //공지사항 String post_end_dt = null; for(int i=0; i <% } else { %> <% } } %>
 
<%= StringUtils.abbreviate(((ItemNoticeListInf)post_rtn.result.elementAt(i)).title,45) %> <%=post_end_dt%>
   
<%if (B2B_Language.equals(온라인몰 신나라레코드<%}else{%>온라인몰 신나라레코드<%}%>"> <% } else { %> <%if (B2B_Language.equals("eng")) {%>Media SYNNARA - B2B<%}else{%>미디어신나라 - B2B<%}%> <% } %>