%@ 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", params.get("P_USE_SYSTEM"));
ctx.setUser(user);
MenuManager menuManager = new MenuManager(request);
String USE_SYSTEM = menuManager.getUseSystem();
HelpManager hm = new HelpManager(request);
%>
SGC이앤씨 전자조달 시스템
<% 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 { %>
<% } %>