<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
  <title>DO-ERP CORINTHIANS</title>
  <link rel="shortcut icon" href="<?= getAssets() ?>images/cutlogo.png"> 
  <!-- Bootstrap core CSS -->
  <link href="<?= getBootstrap() ?>css/bootstrap.min.css" rel="stylesheet">
  <link href="<?= getBootstrap() ?>css/bootstrap-theme.css" rel="stylesheet">

  <link rel="stylesheet" type="text/css" href="<?= getJeasyui() ?>themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="<?= getJeasyui() ?>themes/icon.css">
  <link rel="stylesheet" type="text/css" href="<?= getCss() ?>style.css">
  <style type="text/css">
    body {
      margin: 0px;
      padding: 0px;
    }

    main {
      background-color: #fafafa;
    }

    aside {
      width: 98%;
      height: 98%;
      border: 0px solid #999;
      background-color: transparent;
      -webkit-border-top-right-radius: 5px;
      -webkit-border-bottom-right-radius: 5px;
      -moz-border-radius-topright: 5px;
      -moz-border-radius-bottomright: 5px;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
    }

    #menu {
      background: rgb(240, 249, 255);
      /* Old browsers */
      background: -moz-linear-gradient(top, rgba(240, 249, 255, 1) 0%, rgba(203, 235, 255, 1) 47%, rgba(161, 219, 255, 1) 100%);
      /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(240, 249, 255, 1)), color-stop(47%, rgba(203, 235, 255, 1)), color-stop(100%, rgba(161, 219, 255, 1)));
      /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, rgba(240, 249, 255, 1) 0%, rgba(203, 235, 255, 1) 47%, rgba(161, 219, 255, 1) 100%);
      /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, rgba(240, 249, 255, 1) 0%, rgba(203, 235, 255, 1) 47%, rgba(161, 219, 255, 1) 100%);
      /* Opera 11.10+ */
      background: -ms-linear-gradient(top, rgba(240, 249, 255, 1) 0%, rgba(203, 235, 255, 1) 47%, rgba(161, 219, 255, 1) 100%);
      /* IE10+ */
      background: linear-gradient(top, rgba(240, 249, 255, 1) 0%, rgba(203, 235, 255, 1) 47%, rgba(161, 219, 255, 1) 100%);
      /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f9ff', endColorstr='#a1dbff', GradientType=0);
      /* IE6-9 */
    }

    header {
      text-align: center;
      background: rgb(179, 220, 237);
      /* Old browsers */
      background: -moz-linear-gradient(top, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
      /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(179, 220, 237, 1)), color-stop(50%, rgba(41, 184, 229, 1)), color-stop(100%, rgba(188, 224, 238, 1)));
      /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
      /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
      /* Opera 11.10+ */
      background: -ms-linear-gradient(top, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
      /* IE10+ */
      background: linear-gradient(top, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
      /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0);
      /* IE6-9 */
    }

    footer {
      text-align: center;
      background: rgb(235, 241, 246);
      /* Old browsers */
      background: -moz-linear-gradient(top, rgba(235, 241, 246, 1) 0%, rgba(171, 211, 238, 1) 50%, rgba(137, 195, 235, 1) 51%, rgba(213, 235, 251, 1) 100%);
      /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(235, 241, 246, 1)), color-stop(50%, rgba(171, 211, 238, 1)), color-stop(51%, rgba(137, 195, 235, 1)), color-stop(100%, rgba(213, 235, 251, 1)));
      /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, rgba(235, 241, 246, 1) 0%, rgba(171, 211, 238, 1) 50%, rgba(137, 195, 235, 1) 51%, rgba(213, 235, 251, 1) 100%);
      /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, rgba(235, 241, 246, 1) 0%, rgba(171, 211, 238, 1) 50%, rgba(137, 195, 235, 1) 51%, rgba(213, 235, 251, 1) 100%);
      /* Opera 11.10+ */
      background: -ms-linear-gradient(top, rgba(235, 241, 246, 1) 0%, rgba(171, 211, 238, 1) 50%, rgba(137, 195, 235, 1) 51%, rgba(213, 235, 251, 1) 100%);
      /* IE10+ */
      background: linear-gradient(top, rgba(235, 241, 246, 1) 0%, rgba(171, 211, 238, 1) 50%, rgba(137, 195, 235, 1) 51%, rgba(213, 235, 251, 1) 100%);
      /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebf1f6', endColorstr='#d5ebfb', GradientType=0);
      /* IE6-9 */
    }

    .welcome {
      background: rgb(59, 103, 158);
      /* Old browsers */
      background: -moz-linear-gradient(top, rgba(59, 103, 158, 1) 0%, rgba(43, 136, 217, 1) 50%, rgba(32, 124, 202, 1) 51%, rgba(125, 185, 232, 1) 100%);
      /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(59, 103, 158, 1)), color-stop(50%, rgba(43, 136, 217, 1)), color-stop(51%, rgba(32, 124, 202, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
      /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, rgba(59, 103, 158, 1) 0%, rgba(43, 136, 217, 1) 50%, rgba(32, 124, 202, 1) 51%, rgba(125, 185, 232, 1) 100%);
      /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, rgba(59, 103, 158, 1) 0%, rgba(43, 136, 217, 1) 50%, rgba(32, 124, 202, 1) 51%, rgba(125, 185, 232, 1) 100%);
      /* Opera 11.10+ */
      background: -ms-linear-gradient(top, rgba(59, 103, 158, 1) 0%, rgba(43, 136, 217, 1) 50%, rgba(32, 124, 202, 1) 51%, rgba(125, 185, 232, 1) 100%);
      /* IE10+ */
      background: linear-gradient(top, rgba(59, 103, 158, 1) 0%, rgba(43, 136, 217, 1) 50%, rgba(32, 124, 202, 1) 51%, rgba(125, 185, 232, 1) 100%);
      /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3b679e', endColorstr='#7db9e8', GradientType=0);
      /* IE6-9 */
      color: #003;
    }
    /* Treemenu CSS */
    .nav .firstmenu, .secondmenu, .thirdmenu{
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .nav .secondmenu, .thirdmenu{
      display:none;
      overflow: hidden;
      z-index:1;
      -webkit-transition: 1s 3s ease-out;
      /* transition:0s 5s; */
    }
/* 
    .nav .firstmenu li:hover .secondmenu{
      display: block;
      max-height: 1000px;
      -webkit-transition: 1s;
    } */
    .show{
      display: block;
      max-height: 1000px;
      -webkit-transition: 1s;
    }
    /* .nav .secondmenu li:hover .thirdmenu{
      display: block;
      max-height: 1000px;
      -webkit-transition: 1s;
    } */
    .nav .firstmenu a, .secondmenu a, .thirdmenu a{
      display: block;
      text-decoration: none;
      text-align: left;
      padding: 5px 10px 5px 0;
      color: black;
      font-weight: bold;
    }
    .nav .firstmenu a:hover, .secondmenu a:hover, .thirdmenu a:hover{
      /* color: white;
      background-color: #336e7b; */
    }
    .nav .firstmenu{
      font-weight : 500;
    }
    .nav .firstmenu .secondmenu{
      font-weight : 100;
    }
    .nav .firstmenu .secondmenu .thirdmenu{
      font-weight : 50;
    }
    .nav .secondmenu {
      padding-left : 10px;
    }
    .nav .thirdmenu {
      padding-left : 20px;
    }
    a{
      cursor:pointer;
    }
    #status {
            width: 10px; /* Reduced size */
            height: 10px; /* Reduced size */
            border-radius: 50%;
            display: inline-block;
            margin-left: 10px; /* Gap between day and connection status */
            margin-right: 5px;
          }

    </style>
  <script type="text/javascript" src="<?= getJquery() ?>jquery-2.1.4.min.js"></script>
  <!-- main bootstrap js -->
  <script src="<?= getBootstrap() ?>js/bootstrap.min.js"></script>
  <script type="text/javascript" src="<?= getJeasyui() ?>jquery.easyui.min.js"></script>
  <script type="text/javascript" src="<?= getJeasyui() ?>ext/edatagrid/jquery.edatagrid.js"></script>
  <script type="text/javascript" src="<?= getJS() ?>global.format.js"></script>
  <script language="javascript">
function checkServerConnection(server) {
    const startTime = Date.now();
    
    fetch(server, { method: 'HEAD' , mode: 'no-cors'  })
        .then(response => {
            const endTime = Date.now();
            const ping = endTime - startTime;
            const statusDot = document.getElementById('status');
            const statusText = document.getElementById('statusText');

            if (statusDot && statusText) {
                if (ping > 2000) {
                    statusDot.style.backgroundColor = 'yellow'; // Poor connection due to high ping
                    statusText.textContent = 'Poor Connection';
                } else if (response.ok) {
                    statusDot.style.backgroundColor = 'green'; // Connection good
                    statusText.textContent = 'Connected';
                } else if (response.status >= 500 && response.status < 600) {
                    statusDot.style.backgroundColor = 'yellow'; // Poor connection due to server error
                    statusText.textContent = 'Poor Connection';
                } else {
                    statusDot.style.backgroundColor = 'red'; // Other errors, consider as disconnect
                    statusText.textContent = 'Disconnected';
                }
            }
        })
        .catch(error => {
            const statusDot = document.getElementById('status');
            const statusText = document.getElementById('statusText');
            if (statusDot && statusText) {
                statusDot.style.backgroundColor = 'red'; // Unable to connect, consider as disconnect
                statusText.textContent = 'Disconnected';
            }
        });
}

// Example usage
const server = 'https://corinthian.app/do-erp-core/';
setInterval(() => checkServerConnection(server), 5000); // Check every 5 seconds




    function hari(){
    var months = ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'];
    var myDays = ['Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jum&#39;at', 'Sabtu'];
    var date = new Date();
    var day = date.getDate();
    var month = date.getMonth();
    var thisDay = date.getDay(),
    thisDay = myDays[thisDay];
    var yy = date.getYear();
    var year = (yy < 1000) ? yy + 1900 : yy;
    var jam = date.getHours();
    var menit = date.getMinutes();
    var detik = date.getSeconds();

    if (jam < 10) {
        jam = "0" + jam;
      }
      if (menit < 10) {
        menit = "0" + menit;
      }
      if (detik < 10) {
        detik = "0" + detik;
      }
    // document.write(thisDay + ', ' + day + ' ' + months[month] + ' ' + year);
    var hari_div = document.getElementById('hari');
    hari_div.innerHTML = thisDay + ', ' + day + ' ' + months[month] + ' ' + year + " " + jam + ":" + menit + ":" + detik + "&nbsp; | <a href='https://localhost/do-erp-core/template/Manual_Book.pdf' download>Manual Book</a>|";
    setTimeout("hari()", 1000);
  }

    $(function() {
      height = $(document).height();
      height1 = height - 40;
      theight = height - 51;

      hari();

      $('.easyui-layout').height(height1);
      $('#menu').height(theight);
      $('#content_title').height(theight);
      $('#content').height(theight - 20);

      $('#tm').tree({
        url: 'treemenu/getTreeData',
        onClick: function(node) {
          $(this).tree('toggle', node.target);
        }
      });
    });
    function dropdownFirstMenu1() {
      document.getElementById("SecondMenu").classList.toggle("show");
    }
    function dropdownSecondMenu11() {
      document.getElementById("ThirdMenu11").classList.toggle("show");
    }
    function dropdownSecondMenu12() {
      document.getElementById("ThirdMenu12").classList.toggle("show");
    }
    function dropdownFirstMenu2() {
      document.getElementById("SecondMenu2").classList.toggle("show");
    }
    function dropdownSecondMenu21() {
      document.getElementById("ThirdMenu21").classList.toggle("show");
    }
    function dropdownSecondMenu22() {
      document.getElementById("ThirdMenu22").classList.toggle("show");
    }
    function dropdownSecondMenu23() {
      document.getElementById("ThirdMenu23").classList.toggle("show");
    }
    function dropdownSecondMenu24() {
      document.getElementById("ThirdMenu24").classList.toggle("show");
    }
    function dropdownSecondMenu25() {
      document.getElementById("ThirdMenu25").classList.toggle("show");
    }
    function dropdownFirstMenu3() {
      document.getElementById("SecondMenu3").classList.toggle("show");
    }
    function dropdownSecondMenu31() {
      document.getElementById("ThirdMenu31").classList.toggle("show");
    }
    function dropdownSecondMenu32() {
      document.getElementById("ThirdMenu32").classList.toggle("show");
    }
    function dropdownSecondMenu33() {
      document.getElementById("ThirdMenu33").classList.toggle("show");
    }
    function dropdownFirstMenu4() {
      document.getElementById("SecondMenu4").classList.toggle("show");
    }

    $(document).ready(function() {
      // Master Data
      $('#company').on('click',function(){
           document.title = 'All Company List | DO-ERP CORINTHIANS';
      });
      $('#company_supplier').on('click',function(){
           document.title = 'Supplier List | DO-ERP CORINTHIANS';
      });
      $('#company_customer').on('click',function(){
           document.title = 'Customer List | DO-ERP CORINTHIANS';
      });
      $('#bahanbaku').on('click',function(){
           document.title = 'Item Master List | DO-ERP CORINTHIANS';
      });
      $('#uplbahanbaku').on('click',function(){
           document.title = 'Upload Item Master | DO-ERP CORINTHIANS';
      });
      $('#line').on('click',function(){
           document.title = 'Production Line List | DO-ERP CORINTHIANS';
      });
      $('#matcons').on('click',function(){
           document.title = 'BOM FG List | DO-ERP CORINTHIANS';
      });
      $('#matcons_smt').on('click',function(){
           document.title = 'BOM SMT List | DO-ERP CORINTHIANS';
      });
      $('#matcons_cb').on('click',function(){
           document.title = 'BOM CB List | DO-ERP CORINTHIANS';
      });
      $('#matcons_ml').on('click',function(){
           document.title = 'BOM ML List | DO-ERP CORINTHIANS';
      });
      $('#uplbom').on('click',function(){
           document.title = 'Upload BOM | DO-ERP CORINTHIANS';
      });
      $('#valuta').on('click',function(){
           document.title = 'Valuta List | DO-ERP CORINTHIANS';
      });
      
      // Transaction (SO & PO)
      $('#so').on('click',function(){
           document.title = 'Sales Order List | DO-ERP CORINTHIANS';
      });
      $('#uplso').on('click',function(){
           document.title = 'Upload Sales Order | DO-ERP CORINTHIANS';
      });
      $('#po').on('click',function(){
           document.title = 'Purchase Order List | DO-ERP CORINTHIANS';
      });
      $('#po_loc').on('click',function(){
           document.title = 'Purchase Order Local List | DO-ERP CORINTHIANS';
      });
      $('#po_imp').on('click',function(){
           document.title = 'Purchase Order Import List | DO-ERP CORINTHIANS';
      });
      $('#po_sk').on('click',function(){
           document.title = 'Purchase Order Sub Kontrak List | DO-ERP CORINTHIANS';
      });
      $('#uplpo').on('click',function(){
           document.title = 'Upload Purchase Order | DO-ERP CORINTHIANS';
      });
      
      // Transaction (Incoming)
      $('#matin').on('click',function(){
           document.title = 'Incoming Ciesa List | DO-ERP CORINTHIANS';
      });
      $('#matinsk').on('click',function(){
           document.title = 'Incoming Sub Kontrak List | DO-ERP CORINTHIANS';
      });
      $('#fgin').on('click',function(){
           document.title = 'Production Finished Goods | DO-ERP CORINTHIANS';
      });
      $('#fgin_p').on('click',function(){
           document.title = 'Production Finished Goods | DO-ERP CORINTHIANS';
      });
      $('#macin').on('click',function(){
           document.title = 'Incoming Machine and Equipment List | DO-ERP CORINTHIANS';
      });
      $('#scin').on('click',function(){
           document.title = 'Production Scrap | DO-ERP CORINTHIANS';
      });
      $('#rmsin').on('click',function(){
           document.title = 'Incoming RM Sub Kontrak | DO-ERP CORINTHIANS';
      });
      $('#wipin').on('click',function(){
           document.title = 'Production WIP | DO-ERP CORINTHIANS';
      });
      $('#uplin_scrap').on('click',function(){
           document.title = 'Upload Incoming Scrap| DO-ERP CORINTHIANS';
      });
      
      // Transaction (Outgoing)
      $('#matout').on('click',function(){
           document.title = 'Outgoing Ciesa List | DO-ERP CORINTHIANS';
      });
      $('#fgout').on('click',function(){
           document.title = 'Outgoing Finished Goods List | DO-ERP CORINTHIANS';
      });
      $('#macout').on('click',function(){
           document.title = 'Outgoing Machine and Equipment List | DO-ERP CORINTHIANS';
      });
      $('#scout').on('click',function(){
           document.title = 'Outgoing Scrap | DO-ERP CORINTHIANS';
      });
      $('#rmsout').on('click',function(){
           document.title = 'Outgoing RM Sub Kontrak | DO-ERP CORINTHIANS';
      });
      $('#wipout').on('click',function(){
           document.title = 'Outgoing WIP | DO-ERP CORINTHIANS';
      });
      $('#uplout').on('click',function(){
           document.title = 'Upload Outgoing | DO-ERP CORINTHIANS';
      });

      // Transaction (Stock Opname)
      $('#matopn').on('click',function(){
           document.title = 'Stock Opname Ciesa List | DO-ERP CORINTHIANS';
      });
      $('#fgopn').on('click',function(){
           document.title = 'Stock Opname Finished Goods List | DO-ERP CORINTHIANS';
      });
      $('#macopn').on('click',function(){
           document.title = 'Stock Opname Machine and Equipment List | DO-ERP CORINTHIANS';
      });
      $('#scopn').on('click',function(){
           document.title = 'Stock Opname Scrap | DO-ERP CORINTHIANS';
      });
      $('#wipopn').on('click',function(){
           document.title = 'Stock Opname WIP | DO-ERP CORINTHIANS';
      });
      $('#uplopn').on('click',function(){
           document.title = 'Upload Stock Opname | DO-ERP CORINTHIANS';
      });

      // Transaction (AR & AP)
      $('#ar').on('click',function(){
           document.title = 'Account Receivable List | DO-ERP CORINTHIANS';
      });
      $('#arotm').on('click',function(){
           document.title = 'Account Receivable (OTM) List | DO-ERP CORINTHIANS';
      });
      $('#ap').on('click',function(){
           document.title = 'Account Payable | DO-ERP CORINTHIANS';
      });
      $('#brcr').on('click',function(){
           document.title = 'Bank & Cash Receivable | DO-ERP';
      });
      $('#bpcp').on('click',function(){
           document.title = 'Bank & Cash Payable | DO-ERP';
      });

      // Reports (Stock Card)
      $('#ksmat').on('click',function(){
           document.title = 'Stock Card Ciesa List | DO-ERP CORINTHIANS';
      });
      $('#ksfg').on('click',function(){
           document.title = 'Stock Card Finished Goods List | DO-ERP CORINTHIANS';
      });
      $('#ksmac').on('click',function(){
           document.title = 'Stock Card Machine and Equipment List | DO-ERP CORINTHIANS';
      });
      $('#kssc').on('click',function(){
           document.title = 'Stock Card Scrap | DO-ERP CORINTHIANS';
      });
      $('#kswip').on('click',function(){
           document.title = 'Stock Card WIP | DO-ERP CORINTHIANS';
      });
      
      // Transaction (Mutation)
      $('#mumat').on('click',function(){
           document.title = 'Mutation Ciesa Report | DO-ERP CORINTHIANS';
      });
      $('#mufg').on('click',function(){
           document.title = 'Mutation Finished Goods Report NP | DO-ERP CORINTHIANS';
      });
      $('#mufgp').on('click',function(){
           document.title = 'Mutation Finished Goods Report  | DO-ERP CORINTHIANS';
      });
      $('#mumac').on('click',function(){
           document.title = 'Mutation Machine and Equipment List | DO-ERP CORINTHIANS';
      });
      $('#musc').on('click',function(){
           document.title = 'Mutation Scrap | DO-ERP CORINTHIANS';
      });
      $('#murms').on('click',function(){
           document.title = 'Mutation WIPS RM | DO-ERP CORINTHIANS';
      });
      $('#rmonwip').on('click',function(){
           document.title = 'Mutation WIP  | DO-ERP CORINTHIANS';
      });
      $('#muwip1').on('click',function(){
           document.title = 'Mutation WIP 1 | DO-ERP CORINTHIANS';
      });
      $('#muwip2').on('click',function(){
           document.title = 'Mutation WIP 2 | DO-ERP CORINTHIANS';
      });
      $('#muwip3').on('click',function(){
           document.title = 'Mutation WIP 3 | DO-ERP CORINTHIANS';
      
    });
      

      // Transaction (Bea Cukai Report)
      $('#brpt_masukrm').on('click',function(){
           document.title = 'Laporan Pemasukan Barang Per Dokumen Pabean | DO-ERP CORINTHIANS';
      });
      $('#brpt_keluarbarang').on('click',function(){
           document.title = 'Laporan Pengeluaran Barang Per Dokumen Pabean | DO-ERP CORINTHIANS';
      });
      $('#brpt_rekapbcp').on('click',function(){
        document.title = 'Laporan Pengeluaran Barang Per Dokumen Pabean | DO-ERP CORINTHIANS';
      });

      // Transaction (Grafik)
      $('#grafik').on('click',function(){
           document.title = 'Grafik | DO-ERP CORINTHIANS';
      });

      // User
      $('#user').on('click',function(){
           document.title = 'User List | DO-ERP CORINTHIANS';
      });
      $('#log').on('click',function(){
        document.title = 'User Activity History | DO-ERP CORINTHIANS';
      });

      $('#dbset').on('click',function(){
        document.title = 'Database Settings | DO-ERP CORINTHIANS';
      });

      $('#dbfsi').on('click',function(){
      alert('klik ok dan mohon ditunggu hingga view dashboard muncul.');
      });
    });
  </script>
</head>

<?php
  $this->folder 	= site_url('assets/images/folder.png');
  $this->file 		= site_url('assets/images/file.png');
  $menuSize = "width:7%; height:7%;";
?>

<body>
  <header>
    <div class="container-fluid">
      <div class="row">
        <div class="col-md-2 welcome" style="width: 250px;">
          <b><?= strtoupper($this->session->userdata('username')) ?></b>
        </div>
        <div class="col-md-8" style="width: 880px;">
          <b>DO-ERP CORINTHIANS</b> 
        </div>
        <div class="col-md-2"  style="display:flex; align-items:center;width:auto;">
          <b>
            <div id="hari" style="float:center"></div>
   
          </b>
          <b>   <div id="status"></div>
</b>
<b><div id="statusText"></div></b>
        </div>
      </div>
    </div>
  </header>
  <main>
    <div id="cc" class="easyui-layout" style="height:100%;">
      <div class="col-md-2" id="menu" data-options="region:'west'" title="Menu" style="width: 250px;">
        <!-- <ul id="tm"></ul> -->
        <nav class="nav">
          <ul class="firstmenu">
            <?php if ($this->session->userdata('l1') == 1 ){ ?>
            <li><a onclick="dropdownFirstMenu1()"><img src="<?php echo $this->folder; ?>" alt="" style="width:7%; height:%;"> Master Data </a>
              <ul class="secondmenu" id="SecondMenu">
                <?php if ($this->session->userdata('l2') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu11()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Master Company </a>
                  <ul class="thirdmenu" id="ThirdMenu11">
                    <!-- Menu Company -->
                    <?php if ($this->session->userdata('l3') == 1 ){ ?>
                    <li><a id="company" href="<?php echo site_url('company'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> All Company </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l4') == 1 ){ ?>
                    <li><a id="company_supplier" href="<?php echo site_url('company_supplier'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Supplier </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l5') == 1 ){ ?>
                    <li><a id="company_customer" href="<?php echo site_url('company_customer'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Customer </a></li>
                    <?php } ?>
                  </ul>              
                </li>
                <?php } ?>
                
                <?php if ($this->session->userdata('l6') == 1 ){ ?>
                <li><a id="bahanbaku" href="<?php echo site_url('bahanbaku'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Master Item & UOM </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l68') == 1 ){ ?>

                <!-- <li><a id="valuta" href="<?php echo site_url('valuta'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Master Valuta </a></li> -->
                
                <?php } ?>
                <?php if ($this->session->userdata('l67') == 1 ){ ?>
                
                  <!-- <li><a onclick="dropdownSecondMenu12()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> BOM </a> -->
                  <!-- <ul class="thirdmenu" id="ThirdMenu12"> -->
                    <!-- Menu BOM -->
                    <!-- <?php if ($this->session->userdata('l10') == 1 ){ ?> -->
                    <!-- <li><a id="matcons_wip" href="<?php echo site_url('matcons_wip'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> BOM WIP </a></li> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l8') == 1 ){ ?> -->
                    <!-- <li><a id="matcons" href="<?php echo site_url('matcons'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> BOM FG</a></li> -->
                    <!-- <?php } ?> -->
                           <!-- <?php if ($this->session->userdata('l8') == 1 ){ ?> -->
                    <!-- <li><a id="matcons" href="<?php echo site_url('uplbom'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> BOM UPLOAD</a></li> -->
                    <!-- <?php } ?> -->
                  <!--  -->
                  <!-- </ul>               -->
                <!-- </li> -->

                <?php } ?>
              </ul>            
            </li>
            <?php } ?>
            <?php if ($this->session->userdata('l12') == 1 ){ ?>
            <li><a onclick="dropdownFirstMenu2()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Transactions</a>
              <ul class="secondmenu" id="SecondMenu2">
                <?php if ($this->session->userdata('l13') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu25()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Sales Order Menu </a></li>
                <?php } ?>
                  <ul class="thirdmenu" id="ThirdMenu25">
                    <?php if ($this->session->userdata('l84') == 1 ){ ?>
                    <li><a id="so" href="<?php echo site_url('so'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Main Sales Order</a></li>
                    <?php } ?>
                    <!-- <?php if ($this->session->userdata('l14') == 1 ){ ?>
                    <li><a id="uplso" href="<?php echo site_url('uplso'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Upload Sales Order</a></li>
                    <?php } ?> -->
                  </ul>
                <?php if ($this->session->userdata('l15') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu24()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Purchase Order Menu</a></li>
                <?php } ?>
                  <ul class="thirdmenu" id="ThirdMenu24">
                    <?php if ($this->session->userdata('l80') == 1 ){ ?>
                    <li><a id="po" href="<?php echo site_url('po'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Main Purchase Order </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l81') == 1 ){ ?>
                    <li><a id="po_loc" href="<?php echo site_url('po_loc'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Purchase Order Local </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l82') == 1 ){ ?>
                    <li><a id="po_imp" href="<?php echo site_url('po_imp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Purchase Order Import </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l83') == 1 ){ ?>
                    <li><a id="po_sk" href="<?php echo site_url('po_sk'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Purchase Order Sub Kontrak </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l16') == 1 ){ ?>
                    <li><a id="uplpo" href="<?php echo site_url('uplpo'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Upload Purchase Order</a></li>
                    <?php } ?>
                  </ul>
                <?php if ($this->session->userdata('l17') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu21()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Incoming </a>
                  <ul class="thirdmenu" id="ThirdMenu21">
                    <?php if ($this->session->userdata('l18') == 1 ){ ?>
                    <li><a id="matin" href="<?php echo site_url('matin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Ciesa </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l19') == 1 ){ ?>
                    <li><a id="matinsk" href="<?php echo site_url('matinsk'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Sub Kontrak </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l20') == 1 ){ ?>
                    <li><a id="fgin" href="<?php echo site_url('fgin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods </a></li>
                    <?php } ?>
                    <!-- <?php if ($this->session->userdata('l99') == 1 ){ ?>
                    <li><a id="fgin_p" href="<?php echo site_url('fgin_p'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods () </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l95') == 1 ){ ?>
                    <li><a id="fgin_subkon" href="<?php echo site_url('fgin_subkon'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods (Subkon) </a></li>
                    <?php } ?> -->
                    <?php if ($this->session->userdata('l21') == 1 ){ ?>
                    <li><a id="macin" href="<?php echo site_url('macin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l22') == 1 ){ ?>
                    <li><a id="scin" href="<?php echo site_url('scin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l102') == 1 ){ ?>
                    <li><a id="rmsin" href="<?php echo site_url('rmsin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> RM Sub Kontrak </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l23') == 1 ){ ?>
                    <li><a id="wipin" href="<?php echo site_url('wipin'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l24') == 1 ){ ?>
                    <li><a id="uplin_scrap" href="<?php echo site_url('uplin_scrap'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Cronjob Incoming</a>
                    <?php } ?>
                  </ul>              
                </li>
                <?php } ?>  
                <?php if ($this->session->userdata('l25') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu22()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Outgoing </a>
                  <ul class="thirdmenu" id="ThirdMenu22">
                    <?php if ($this->session->userdata('l26') == 1 ){ ?>
                    <li><a id="matout" href="<?php echo site_url('matout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Ciesa </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l96') == 1 ){ ?>
                    <li><a id="ngout" href="<?php echo site_url('ngout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> NG Out Finished Goods </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l100') == 1 ){ ?>
                    <li><a id="ngout_mat" href="<?php echo site_url('ngout_mat'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> NG Out Ciesa </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l27') == 1 ){ ?>
                    <li><a id="fgout" href="<?php echo site_url('fgout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l28') == 1 ){ ?>
                    <li><a id="macout" href="<?php echo site_url('macout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l29') == 1 ){ ?>
                    <li><a id="scout" href="<?php echo site_url('scout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l101') == 1 ){ ?>
                    <li><a id="rmsout" href="<?php echo site_url('rmsout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> RM Sub Kontrak </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l30') == 1 ){ ?>
                    <li><a id="wipout" href="<?php echo site_url('wipout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l31') == 1 ){ ?>
                    <li><a id="uplout" href="<?php echo site_url('uplout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Cronjob Outgoing </a>
                    <?php } ?>
                  </ul>              
                </li>
                <?php } ?> 
                
                <!-- <?php if ($this->session->userdata('l32') == 1 ){ ?> -->
                <!-- <li><a onclick="dropdownSecondMenu23()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Stok Opname </a> -->
                  <!-- <ul class="thirdmenu" id="ThirdMenu23"> -->
                    <!-- <?php if ($this->session->userdata('l33') == 1 ){ ?> -->
                    <!-- <li><a id="matopn" href="<?php echo site_url('matopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Ciesa </a></li> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l34') == 1 ){ ?> -->
                    <!-- <li><a id="fgopn" href="<?php echo site_url('fgopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods </a></li> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l35') == 1 ){ ?> -->
                    <!-- <li><a id="macopn" href="<?php echo site_url('macopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a></li> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l36') == 1 ){ ?> -->
                    <!-- <li><a id="scopn" href="<?php echo site_url('scopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l37') == 1 ){ ?> -->
                    <!-- <li><a id="wipopn" href="<?php echo site_url('wipopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP </a> -->
                    <!-- <?php } ?> -->
                    <!-- <?php if ($this->session->userdata('l38') == 1 ){ ?> -->
                    <!-- <li><a id="uplopn" href="<?php echo site_url('uplopn'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Upload </a> -->
                    <!-- <?php } ?> -->
                  <!-- </ul>               -->
                <!-- </li> -->
                <!-- <?php } ?>  -->

                <!-- <?php if ($this->session->userdata('l39') == 1 ){ ?>
                <li><a id="ar" href="<?php echo site_url('ar'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> B6 . Account Receivable </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l40') == 1 ){ ?>
                <li><a id="arotm" href="<?php echo site_url('arotm'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> B7 . Account Receivable (OTM) </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l41') == 1 ){ ?>
                <li><a id="ap" href="<?php echo site_url('ap'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> B8 . Account Payable </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l93') == 1 ){ ?>
                <li><a id="brcr" href="<?php echo site_url('brcr'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> B9 . Bank & Cash Receivable </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l94') == 1 ){ ?>
                <li><a id="bpcp" href="<?php echo site_url('bpcp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> B10 . Bank & Cash Payable </a></li>
                <?php } ?>  -->
              </ul>
            </li>
            <?php } ?>
            <?php if ($this->session->userdata('l42') == 1 ){ ?>
            <li><a onclick="dropdownFirstMenu3()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Reports</a>
              <ul class="secondmenu" id="SecondMenu3">
                <?php if ($this->session->userdata('l43') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu31()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Stock Card </a>
                  <ul class="thirdmenu" id="ThirdMenu31">
                    <?php if ($this->session->userdata('l44') == 1 ){ ?>
                    <li><a id="ksmat" href="<?php echo site_url('ksmat'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Ciesa </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l45') == 1 ){ ?>
                    <li><a id="ksfg" href="<?php echo site_url('ksfg'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l46') == 1 ){ ?>
                    <li><a id="ksmac" href="<?php echo site_url('ksmac'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l47') == 1 ){ ?>
                    <li><a id="kssc" href="<?php echo site_url('kssc'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l48') == 1 ){ ?>
                    <li><a id="kswip" href="<?php echo site_url('kswip'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP </a>
                    <?php } ?>
                  </ul>              
                </li>
                <?php } ?>
                <?php if ($this->session->userdata('l49') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu32()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Mutation </a>
                  <ul class="thirdmenu" id="ThirdMenu32">
                    <?php if ($this->session->userdata('l50') == 1 ){ ?>
                    <li><a id="mumat" href="<?php echo site_url('mumat'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Ciesa </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l51') == 1 ){ ?>
                    <li><a id="mufg" href="<?php echo site_url('mufg'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l79') == 1 ){ ?>
                    <li><a id="mufgp" href="<?php echo site_url('mufgp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods  </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l52') == 1 ){ ?>
                    <li><a id="mumac" href="<?php echo site_url('mumac'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l53') == 1 ){ ?>
                    <li><a id="musc" href="<?php echo site_url('musc'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l89') == 1 ){ ?>
                    <li><a id="muwip" href="<?php echo site_url('muwip'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI WIP  </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l88') == 1 ){ ?>
                    <li><a id="muwips" href="<?php echo site_url('muwips'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI WIP SUBCONT </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l85') == 1 ){ ?>
                    <li><a id="muwip1" href="<?php echo site_url('muwip1'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI WIP 1 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l86') == 1 ){ ?>
                    <li><a id="muwip2" href="<?php echo site_url('muwip2'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI WIP 2 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l87') == 1 ){ ?>
                    <li><a id="muwip3" href="<?php echo site_url('muwip3'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI  WIP 3 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l90') == 1 ){ ?>
                    <li><a id="mungp" href="<?php echo site_url('mungp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI   </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l91') == 1 ){ ?>
                    <li><a id="mungnp" href="<?php echo site_url('mungnp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI  NG  </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l92') == 1 ){ ?>
                    <li><a id="mungmat" href="<?php echo site_url('mungmat'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI  NG RMT </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l103') == 1 ){ ?>
                    <li><a id="murms" href="<?php echo site_url('murms'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> MUTASI  WIP SUBCONT RM </a>
                    <?php } ?>
                  </ul>              
                </li>
                <?php } ?>
                <?php if ($this->session->userdata('l55') == 1 ){ ?>
                <li><a onclick="dropdownSecondMenu33()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> Bea Cukai Report </a>
                  <ul class="thirdmenu" id="ThirdMenu33">
                    <?php if ($this->session->userdata('l56') == 1 ){ ?>
                    <li><a id="brpt_masukrm" href="<?php echo site_url('brpt_masukrm'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Pemasukan Barang </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l57') == 1 ){ ?>
                    <li><a id="brpt_keluarbarang" href="<?php echo site_url('brpt_keluarbarang'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Pengeluaran Barang </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l58') == 1 ){ ?>
                    <li><a id="mumat" href="<?php echo site_url('mumat'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Mutasi Bahan Baku dan Bahan Penolong </a></li>
                    <?php } ?>
                    <?php if ($this->session->userdata('l54') == 1 ){ ?>
                    <li><a id="muwip" href="<?php echo site_url('muwip'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP  </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l78') == 1 ){ ?>
                    <li><a id="muwips" href="<?php echo site_url('muwips'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP SUBCONT </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l78') == 1 ){ ?>
                    <li><a id="murms" href="<?php echo site_url('murms'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP SUBCONT RM </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l75') == 1 ){ ?>
                    <li><a id="muwip1" href="<?php echo site_url('muwip1'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP 1 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l76') == 1 ){ ?>
                    <li><a id="muwip2" href="<?php echo site_url('muwip2'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP 2 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l77') == 1 ){ ?>
                    <li><a id="muwip3" href="<?php echo site_url('muwip3'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> WIP 3 </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l60') == 1 ){ ?>
                    <li><a id="mufg" href="<?php echo site_url('mufg'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods  </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l98') == 1 ){ ?>
                    <li><a id="mufgp" href="<?php echo site_url('mufgp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Finished Goods  </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l61') == 1 ){ ?>
                    <li><a id="musc" href="<?php echo site_url('musc'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Scrap </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l62') == 1 ){ ?>
                    <li><a id="mumac" href="<?php echo site_url('mumac'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Machine and Equipment </a>
                    <?php } ?>
                    <?php if ($this->session->userdata('l63') == 1 ){ ?>
                    <li><a id="brpt_rekapbcp" href="<?php echo site_url('brpt_rekapbcp'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Rekapitulasi BCP </a>
                    <?php } ?>



                  </ul>              
                </li>
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
            <?php if ($this->session->userdata('l64') == 1 ){ ?>
            <li><a onclick="dropdownFirstMenu4()"><img src="<?php echo $this->folder; ?>" alt="" style="<?php echo $menuSize ?>"> User Administration</a>
              <ul class="secondmenu" id="SecondMenu4">
                <?php if ($this->session->userdata('l65') == 1 ){ ?>
                <li><a id="user" href="<?php echo site_url('user'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> User </a></li>
                <?php } ?>
                <?php if ($this->session->userdata('l66') == 1 ){ ?>
                <li><a id="log" href="<?php echo site_url('log'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> User Activity History </a>
                <?php } ?>
                <?php if ($this->session->userdata('l97') == 1 ){ ?>
                <li><a id="dbset" href="<?php echo site_url('dbset'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Database Settings </a>
                <?php } ?>
              </ul>
            </li>
            <?php } ?>
          
           

            <li><a href="<?php echo site_url('main/logout'); ?>" target="content"><img src="<?php echo $this->file; ?>" alt="" style="<?php echo $menuSize ?>"> Logout</a></li>
          </ul>
        </nav>
      </div>
      <div class="col-md-10" name="content_title" id="content_title" data-options="region:'center'" title="<?= $this->title ?>" style="position:relative;overflow:auto;height:100%;padding:0px;">
        <iframe frameborder="0" name="content" id="content" scrolling="yes" src="<?= site_url('main/warning') ?>" style="width:100%; padding:0"></iframe>
      </div>
    </div>
  </main>

  <footer>
    <div class="container-fluid">
      <div class="row">
        <div class="col-md-2 welcome">
          <b>V.8.8.0-May</b>
        </div>
        <div class="col-md-8">
          <b>© 2025 DIGITAL OPTIMA INTEGRA</b>
        </div>
        <div class="col-md-2">
        

        
        </div>
      </div>
    </div>

  </footer>
</body>

</html>
