<%@ page contentType="text/html; charset=utf-8" %> <%@ page import="kr.co.udapsoft.common.menu.*" %> <%@ page import="kr.co.udapsoft.common.util.*" %> <%@ page import="kr.co.hsnc.common.util.*" %> <%@ page import="com.udapsoft.waf.common.util.*" %> <%@ page import="kr.co.hsnc.common.config.WAFConfig;" %> <% ctx.init(request, response); String strTitle = WAFConfig.get("waf.ServerType"); %> <% if( ctx.isSignedOn() ) { %> <% ValueObject params = ctx.getParams(); ValueObject user = ctx.getUser(); user.set("USE_SYSTEM", "10"); ctx.setUser(user); PotalMenuManager menuManager = new PotalMenuManager(request); String USE_SYSTEM = menuManager.getUseSystem(); %> <%= strTitle %>ETEC E&C Plant Material Management System
  <%=user.get("user_name") %>'s online.
<%-- --%>
etecePMS    <%=user.get("user_name") %>'s online.
<% if( menuManager.getSystemSize() > 0 ) { %> <% for( int i = 0 ; i < menuManager.getSystemSize() ; i++ ) { %> <% ValueObject row = menuManager.getSystemValue(i); %> <% for( int j = 0 ; j < menuManager.getMenuGroupSize() ; j++ ) { ValueObject row2 = menuManager.getMenuGroupValue(j); %> <%-- --%> <% } %> <% } %> <% } %>
<%= row2.get("PGM_GR_NAME") %>" index="<%= j %>" onmouseover="showSubMenu('pgm_group_<%= j %>');" onmouseout ="hideSubMenu('pgm_group_<%= j %>');" style="cursor:pointer;" border="0" alt="<%= row2.get("PGM_GR_NAME") %>">
 
<%-- <% String paramStr = ""; %> <% if( menuManager.getSystemSize() > 0 ) { %> <% for( int i = 0 ; i < menuManager.getSystemSize() ; i++ ) { %> <% ValueObject row = menuManager.getSystemValue(i); %> <% } %> <% } %> --%> <% for( int i = 0 ; i < menuManager.getMenuGroupSize() ; i++ ) { %> <% ValueObject row = menuManager.getMenuGroupValue(i); %> <% int subRowSetSize = menuManager.getSubMenuRowSetSize(i); int cnt_big = 0; int cnt_small = 0; for( int j = 0 ; j < subRowSetSize ; j++ ) { ValueObject subRow = menuManager.getSubMenuRowValue(i, j); if( subRow.get("GUBUN").equals("P") ) cnt_big ++; else if( subRow.get("GUBUN").equals("L") && j != 0 && j != subRowSetSize - 1 ) cnt_small ++; } int height = cnt_big * 22 + cnt_small * 10 + 2; %> <% } %> <% }else { %> <% } %>