<%@ page language="java" contentType="text/html;charset=euc-kr"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="com.eactive.eai.batch.rule.kikwanInfo.KikwanInfoManager"%>
<%@ page import="com.eactive.eai.batch.rule.kikwanInfo.KikwanInfoVO"%>

<%
    
	KikwanInfoManager manager  = KikwanInfoManager.getInstance();

	String[] al = manager.getAllKikwanCodes();
	
%>

<html>
    <head>
        <title>
            FTManager 기관 정보
        </title>
        <script>
        function doAction() {
        	
            document.frm.submit();
        } 
        </script>
    </head>
    <body>
        <p style="font-size:12pt;">
        <b>FTManager 기관 정보</b> <br><br>
        </p>

        <form name="frm" action="" method="POST">
        
        <%
        	if (al != null && al.length > 0) {
        		KikwanInfoVO vo = null;
                %>
                <table width="800" border=0 bgcolor='black' cellpadding="1" cellspacing="1">
        <tr bgcolor='white'>
            <td align='right' bgcolor="#ccccff">&nbsp; 기관코드 &nbsp;</td>
            <td align='right' bgcolor="#ccccff">&nbsp; 기관명   &nbsp;</td>
            <td align='right' bgcolor="#ccccff">&nbsp; 시스템 IP   &nbsp;</td>
            <td align='right' bgcolor="#ccccff">&nbsp; 암호화 IP   &nbsp;</td>
        </tr>           
                <%
        		for (int j=0; j < al.length; j++) {
        			vo = manager.getKikwanInfo(al[j]);
        %>

		<tr bgcolor='white'>
		<tr bgcolor='white'>
		    <td align='left'>&nbsp;<%=vo.getKikwanCd()%></td>
		    <td align='left'>&nbsp;<%=vo.getKikwanName()%></td>
		    <td align='left'>&nbsp;<%=vo.getSysIp()%></td>
		    <td align='left'>&nbsp;<%=vo.getEncIp()%></td>
		</tr>     
		
      <%
        		}
                %></table><br><% 
        	}
      %>
        </form>
    </body>
</html>