
<%  /**
     * **********************************************************
     * @@ Program Name : total_reports.jsp
     * @@ Description  : /집계자/내문서함/진행함/집계현황
     * @@ Author       : 강원중
     * @@ Create Date  : 2004.10.11
     * @@ History      : 2014.10.07 Update by KWON,HAN :
     * @@***********************************************************
     */
%>
<%@ page contentType="text/html; charset=UTF-8"
         import="java.net.URLEncoder"
         import="kr.co.kihyun.beans.user.HttpSSOLogin"
         import="kr.co.kihyun.lang.MLong" 
         import="kr.co.kihyun.moumi.Moumi"
         import="kr.co.kihyun.moumi.doc.MDoc"%>
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>
<%    try {
        /**
         * ******** session내의 userId *********
         */
        String usID = HttpSSOLogin.getLoginID(request);

        /**
         * **** Parameter *****
         */
        Long docID = MLong.parseLong(request.getParameter("docID"), null);
        Long deptID = MLong.parseLong(request.getParameter("deptID"), null);
%>

<HTML>
    <HEAD>
        <TITLE><%=Moumi.getTitle()%></TITLE>
        <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
        <link rel="stylesheet" href="/totsys/common/css/text.css" type="text/css">
        <link rel="stylesheet" href="/totsys/common/css/kecttep.css" type="text/css">
        <link rel="stylesheet" href="/totsys/common/css/tabs.css" type="text/css">
        <script src="/totsys/common/js/rollover.js"></script>
        <script>
            function modify() {
                location.href = "/totsys/sysadm/prssbox/doc_modify.jsp?docID=<%= docID%>&url=mmprss";
            }

            function formView() {
                location.href = "/totsys/sysadm/prssbox/doc_form_view.jsp?docID=<%=docID%>";
            }

            function reports() {
                location.href = "/totsys/sysadm/prssbox/reports/report_list.jsp?docID=<%= docID%>";
            }

            function totReports() {
                location.href = "/totsys/sysadm/prssbox/tot_reports/total_reports.jsp?docID=<%= docID%>";
            }

            function totReport() {
                location.href = "/totsys/sysadm/prssbox/tot_report/total_report.jsp?docID=<%= docID%>";
            }
        </script>
    </HEAD>
    <BODY style='' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
        <div>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <!---- top menu 시작 ---->
                <jsp:include page="/totsys/common/inc/totper/top/top.jsp" flush="true" />
                <jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" />
            </table>
        </div>

        <div id="header">
            <ul id="primary">
                <li><a href="#" onclick="modify();">기본정보</a></li>
                <li><a href="#" onclick="formView();">양식정보</a></li>
                <li><a href="#" onclick="reports();">제출현황</a></li>
                <li><span class="kecttep_menu_focous">집계현황</span></li>
                <li><a href="#" onclick="totReport();">집계표</a></li>
            </ul>
        </div>

        <div id="main">
            <div id="contents">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <jsp:include page="/totsys/common/inc/documents/tot_reports/total_reports.jsp" flush="true">
                        <jsp:param name="docID" value="<%= docID%>" />
                        <jsp:param name="deptID" value="<%= deptID%>" />
                    </jsp:include>
                </table>
            </div>
        </div>

        <%@ include file="/totsys/common/inc/buttom/buttom.jsp"%>
    </BODY>
</HTML>
<%
    } catch (Exception ex) {
        ex.printStackTrace();
        out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';"));
    } finally {
    }
%>
