%PDF-1.4
Directory : /var/www/vhosts/lautnusantara.com/httpdocs/web/app/Views/theme/spirit/sistem/ |
<!-- <nav class="navbar navbar-default my_nav"> <div class="container">--> <!-- Brand and toggle get grouped for better mobile display --> <!-- <div class="row"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav_list" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="main_logo col-xs-8 col-sm-10" href="/" id="logo_ssn"> <img src='<?= $url_logo ?>' width="100%" height="60px" alt='<?= $nama_perus ?>' style="height:60px" > </a> </div>--> <!-- Collect the nav links, forms, and other content for toggling --> <!-- <div class="collapse navbar-collapse" id="nav_list"> <ul class="nav navbar-nav navbar-right"> <?php foreach ($mainmenu as $data): ?> <li class=""><a href="<?= $data['link'] ?>" style="text-transform: none;"><?= $data['title'] ?></a></li> <?php endforeach; ?> </ul> </div>--> <!-- /.navbar-collapse --> <!-- </div> </div>--> <!-- /.container --> <!-- </nav>--> <link rel="stylesheet" href="/theme/assets/css/menu.css" media="all"> <nav class="navbar navbar-default my_nav"> <div class="container_menu"> <!-- Brand and toggle get grouped for better mobile display --> <div class="row"> <div class="navbar-header col-xs-12 col-sm-6 col-lg-4"> <a href="/" style="padding-top: 0px;" class="warna"><img class="warna" src='<?= $url_logo ?>' alt='<?= $nama_perus ?>' aria-label="Home Page" width="100%" style="max-width:330px;margin-top:15px; margin-bottom:15px;"></a> </div> <div class="topnav1 jarakGambar2" id="mytopnav1" style="text-align:center"> <?php foreach ($mainmenu as $data): if ($data['have_child'] == 0 && $data['parent_id'] == 0) { ?> <a class="title" href="<?= $data['link'] ?>" aria-label="<?= $data['title'] ?>"><b> <?= $data['title'] ?> </b></a> <?php } else if ($data['have_child'] == 1) { ?> <div class="dropdown1"> <button class="dropbtn1" onclick="window.location = '<?= $data['link'] ?>'"><b> <?= $data['title'] ?> </b> <i class="fa fa-caret-down"></i> </button> <div class="dropdown1-content"> <?php foreach ($mainmenu as $data2): if ($data2['parent_id'] == $data['id']) { ?> <a href="<?= base_url(); ?><?= $data2['link'] ?>" <?= $data['title'] ?>><b> <?= $data2['title'] ?> </b></a> <?php } endforeach; ?> </div> </div> <?php }endforeach; ?> <a href="/search" class="search" aria-label="Search Button"> <b class="label-cari"> Pencarian </b> <i class="fa fa-search"></i> </a> <button class="icon" onclick="myFunction()" role="button" type="button" aria-label="Menu Button"><i class="fa fa-bars"></i></button> </div> <!-- /.navbar-collapse --> </div> </div> <!-- /.container --> </nav> <script> function myFunction() { var x = document.getElementById("mytopnav1"); if (x.className === "topnav1 jarakGambar2") { x.className += " responsive"; } else { x.className = "topnav1 jarakGambar2"; } } </script>