<% /*- ------------------------------------------------------------- -* *- ÇÁ·Î±×·¥¸í : elw_daily.jsp *- ÇÁ·Î±×·¥³»¿ë : ELW ÀϺ° È­¸é *- ÀÛ¼ºÀÚ : ±èâ¼ø *- ÀÛ¼ºÀÏ : 2006.09.16 *- ------------------------------------------------------------- -*/ %> <%@ page contentType="text/html;charset=euc-kr"%> <%@ page import="java.util.*,common.*,ShmManager.*,sise.koscom.*,sise.koscom.comm.*,sise.koscom.code.*,sise.koscom.util.*,java.text.*,dbManager.*"%> <% try{ String code = Common.convertNull(request.getParameter("code")); if(code.equals("")){ try{ code = CodeUtil.getRandomCode(2); }catch(Exception e){ e.printStackTrace(); code = "J596007"; } } Elw elw1 = (Elw)(CodeMaster.getCodeMap("elw").get(code)); if ( elw1 == null) { %> <% return; } // ElwMast elwmast = new ElwMast(); elwmast.setMemType(Common.DELAY_READ); elwmast.setCode(code); elwmast.setData(); ShmMap_ELWJMAST shm_elwjmast = new ShmMap_ELWJMAST(); shm_elwjmast.setCommarea(elwmast.getData()); elwmast = null; String base_date = request.getParameter("base_date"); //°Ë»ö³¯Â¥ String before_date = ""; //ÇÑ´Þ Àü ³¯Â¥ /*----------------------------------------------------------------------------------*/ /* ³¯Â¥ °è»êÇÏ´Â ºÎºÐ */ Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); if(base_date==null){ base_date = sdf.format(cal.getTime()); }else{ String year = base_date.substring(0,4); String mon = base_date.substring(4,6); String day = base_date.substring(6,8); cal.set(Integer.parseInt(year),Integer.parseInt(mon)-1,Integer.parseInt(day)); } cal.add(cal.MONTH,-1); before_date = sdf.format(cal.getTime()); JONGMOKJONGGA elw = new JONGMOKJONGGA(); ArrayList arr = (ArrayList)elw.getDailyList("ELWJJONGGA",code,before_date,base_date); int arrLen = arr.size(); %> Koscom / Áõ±ÇÁ¤º¸ / ELW Á¤º¸ / ÀϺ° È­¸é <%@ include file="/include/move_menu.js" %> <%@ include file="/include/koscom_top.inc" %>
<%@ include file="/include/sise_left_menu.inc" %> <%@ include file="/include/koscom_top_ad.inc" %>

<%=Common.getNavigation()%> ELW  

<%@ include file="/include/elw_hyun_menu.inc" %>

(ÀÔ·ÂÀÏ ÀÌÀü 1°³¿ùºÐ Á¶È¸)

<% int i = 0; int day[] = new int[arrLen]; int close[] = new int[arrLen]; int open[] = new int[arrLen]; int high[] = new int[arrLen]; int low[] = new int[arrLen]; long vol[] = new long[arrLen]; long amt[] = new long[arrLen]; int daebi[] = new int[arrLen]; int daebi_rate[] = new int[arrLen]; String dung_bit[]= new String[arrLen]; Hashtable h = null; for(int x=0;x <% }//end of for %>
ÀÏÀÚ Á¾°¡ ÀüÀÏ´ëºñ(µî¶ôÀ²) ½Ã°¡ °í°¡ Àú°¡ °Å·¡·® °Å·¡´ë±Ý
<%=DateTime.addDateFormat(String.valueOf(day[z]),".")%>  <%=Common.setPriceColorFromSign(String.valueOf(close[z]),dung_bit[z])%>  <%=Common.signToSymbol(dung_bit[z])%> <%=Common.setPriceColorFromSign(String.valueOf(daebi[z]),dung_bit[z])%> <%=Common.setPriceColorFromSignRate(String.valueOf(daebi_rate[z]/100f),dung_bit[z],"F","(%)")%>  <%=Common.setPriceColorFromCompare(kijun,String.valueOf(open[z]),"I")%>  <%=Common.setPriceColorFromCompare(kijun,String.valueOf(high[z]),"I")%>  <%=Common.setPriceColorFromCompare(kijun,String.valueOf(low[z]),"I")%>  <%=Common.dformat(String.valueOf(vol[z]))%>  <%=Common.dformat(String.valueOf(amt[z]))%> 


<%@ include file="/include/used_notice.inc" %>
<%@ include file="/include/koscom_bottom.inc" %>
<% }catch(Exception e){ e.printStackTrace(); } %>