<%@ page contentType="text/html;charset=euc-kr" %> <%@ include file="/common/_common.jsp" %> <%@ page errorPage = "/common/_error.jsp"%> <%@ include file="/common/_try.jsp" %> <% String sHost = request.getServerName().toLowerCase(); if(sHost.equals("ipt.xener.com") || sHost.equals("ipt.xener.net") || sHost.equals("ipt.xener.co.kr")){ response.sendRedirect("/newproduct/Front/"); return; } if(sHost.equals("tise.xener.com") || sHost.equals("tise.xener.net") || sHost.equals("tise.xener.co.kr")){ response.sendRedirect("/tise"); return; } if(sHost.equals("career.xener.com")){ %> <% return; } if(sHost.equals("blog.xener.com")){ %> <% } //if(sHost.equals("edu.xener.com") || sHost.equals("edu.xener.net") || sHost.equals("edu.xener.co.kr")){ //response.sendRedirect("/edu01/"); //return; //} %> Xener Systems <% StringBuffer sqlBuffer = new StringBuffer(); sqlBuffer.append(" AND LANGUAGE='K' "); Argument.setProperty("p_search", sqlBuffer.toString());//sqlBuffer.toString() -> p_search ´ã±â %> <% GlobalEntities newsCountEntity = null; GlobalEntities pressCountEntity = null; GlobalEntities newsCountEntity2 = uniQuery.executeQuery("WEB2/newsCount4OnlyOne", Argument); GlobalEntities pressCountEntity2 = uniQuery.executeQuery("WEB2/pressCount4OnlyOne", Argument); %>
<% // ¸ñ·Ï°¹¼ö int iTotCount_pop = 0; // ÃÑ Ä«¿îÅÍ GlobalEntities totEntity_pop = uniQuery.executeQuery("WEB2/popup_List_main_cnt", Argument); iTotCount_pop = totEntity_pop.getInt(); GlobalEntities listEntity_pop = uniQuery.executeQuery("WEB2/popup_List_main", Argument); %> <% if(iTotCount_pop > 0){ %>
px; height:<%=listEntity_pop.get(0,"HEIGHT")%>px; z-index:1; visibility:visible; background-color:white;visibility:hidden"> <% if("F".equals(listEntity_pop.get(0,"GB"))){ %> <% }else{ %> " border="0" usemap="#Map_Pop" > <%=listEntity_pop.get(0,"CONTENT")%> <% } %>
<% } %>
<% Date today = new Date(); DateFormat df = new SimpleDateFormat("yyyyMMdd"); String str_Today = df.format(today); String newicon = ""; int new_icon = 0; if( newsCountEntity2.getRowCount()>0 ){ // String content=toLocalEncoding(newsCountEntity2.get("CONTENT2")); String content=getListSubject(toLocalEncoding(newsCountEntity2.get("CONTENT").replaceAll("<(/)?([a-zA-Z]*)(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>", "")), 45); //new_icon = Integer.parseInt(str_Today) - Integer.parseInt(usf_replace(toLocalEncoding(newsCountEntity2.get("REGDATE")),"-","")); if("Y".equals(newsCountEntity2.get("NEW_IMAGE"))){ newicon =""; }else{ newicon =""; } content=content; //content=toLocalEncoding(newsCountEntity2.get("CONTENT2")); //content.substring(0,200); %> <%}%> <% if(newsCountEntity2.getRowCount()>0){ newsCountEntity = uniQuery.executeQuery("WEB2/newsCount3", Argument); }else{ newsCountEntity = uniQuery.executeQuery("WEB2/newsCount4", Argument); } for(int i=0; i <% } if(newsCountEntity.getRowCount() == 0){ %> <% } %>
')"> <%=getListSubject(toLocalEncoding(newsCountEntity2.get("SUBJECT")), 20)%> <%=newicon%>
" width="58" height="50" border="0">
')"> <%=content%>
')"><%=getListSubject(toLocalEncoding(newsCountEntity.get(i, "SUBJECT")), 14)%> <%=newicon%> <%=toLocalEncoding(newsCountEntity.get(i, "REGDATE"))%>
µ¥ÀÌŸ°¡ ¾ø½À´Ï´Ù.
<% // ¸ñ·Ï°¹¼ö int iTotCount = 0; // ÃÑ Ä«¿îÅÍ GlobalEntities totEntity = uniQuery.executeQuery("WEB2/noticeTotCnt2", Argument); iTotCount = totEntity.getInt(); GlobalEntities listEntity = uniQuery.executeQuery("WEB2/noticeList2", Argument); for(int i=0; i<2; i++){ // listEntity ÆäÀÌÁö ¸®½ºÆ® int ssTYPE = listEntity.getInt(i, "TYPE"); %> <% } if(iTotCount == 0){ %> <% } %>
<%if(ssTYPE==1){%><%if( (listEntity.getInt(i, "CLOSE")==0) || ( (listEntity.getInt(i, "past"))==1 ) ){%> <%}else if(listEntity.getInt(i, "ALLWAYS")==1) {%><%}}%> <%if( (listEntity.getInt(i, "CLOSE")==0) || ( (listEntity.getInt(i, "past"))==1 ) ){%> <%=getListSubject(toLocalEncoding(listEntity.get(i, "SUBJECT1")), 18)%> <%}else{%> "><%=toLocalEncoding(listEntity.get(i, "SUBJECT1"))%> <%}%>
µ¥ÀÌÅͰ¡ ¾ø½À´Ï´Ù.
<%@ include file="/common/_catch.jsp" %>