<?php if (isset($_SESSION['user'])) { ?>
  <div class="menu-bottom">
    <!-- color bg -->
    <nav class="navbar-inverse navbar-fixed-bottom">
      <div class=" ">
        <div class="flex-row  text-center">
          <div class="  footericon-single">
            <a href="/"><i class="icon-home"></i><div>HOME</div></a>
          </div>
          <div class="  footericon-single">
            <a href="/promo/my-promo"><i class="icon-gift"></i> <div style="text-transform:uppercase;">Promo saya</div></a>
          </div>
          <div class=" footericon-single">
            <a href="javascript:void(0);" class="text-uppercase togglemenu-trigger footer-funds" data-showID="#fundshover_menu"><i class="icon-transfer"></i> <div>Dana</div></a>
            <ul class="list-inline horizontal-hover togglemenu-content" id="fundshover_menu">
              <li>
                <a href="/account/qris" (click)="closeNav($event);">
                  <div class="fs-sm mt-1" i18n>Deposit</div>
                </a>
              </li>
              <li>
                <a href="/account/withdrawal" (click)="closeNav($event);">
                  <div class="fs-sm mt-1" i18n>Withdraw</div>
                </a>
              </li>
              <li>
                <a href="/account/history" (click)="closeNav($event);">
                  <div class="fs-sm mt-1" i18n="@History">Pernyataan &nbsp;</div>
                </a>
              </li>
            </ul>
          </div>
          <div class=" footericon-single">
            <a href="/memo" style="position:relative;"><i class="icon-mail_outline"></i> <div>MEMO</div>
              <div class="mail_icon" style="display:none;">
                0
              </div>
            </a>
          </div>
          <div class=" footericon-single" style="position: relative">
            <a  href="#"    class="text-uppercase togglemenu-trigger" data-showID="#livechathover_menu" ><i class="icon-chat1"></i><div>LIVE CHAT</div></a>
            <ul class="list-inline vertical-hover togglemenu-content" id="livechathover_menu">
              <li>
                <a  href="<?php echo $s1a['livechat']; ?>" ><i class="icon-chat1"></i></a>
              </li>
              <li>
                <a href="https://api.whatsapp.com/send?phone=<?php echo $s1a['wa']; ?>" target="_blank "><i class="icon-whatsapp"></i></a>
              </li>   
            </ul>
          </div>
        </div>
      </div>
    </nav>
  </div>
<?php } else { ?>
  <div class="menu-bottom">
    <!-- color bg -->
    <nav class="navbar-inverse navbar-fixed-bottom" >
      <div class=" ">
        <div class="flex-row  text-center">
          <div class="  footericon-single">
            <a href="/"><i class="icon-home"></i><div>HOME</div></a>
          </div>
          <div class="  footericon-single">
            <a href="/promotion"><i class="icon-gift"></i> <div>PROMOSI</div></a>
          </div>
          <div class=" footericon-single" style="position: relative">
            <a  href="#"    class="text-uppercase togglemenu-trigger" data-showID="#livechathover_menu" ><i class="icon-chat1"></i><div>LIVE CHAT</div></a>
            <ul class="list-inline vertical-hover togglemenu-content" id="livechathover_menu">
              <li>
                <a  href="<?php echo $s1a['livechat']; ?>"><i class="icon-chat1"></i></a>
              </li>
              <li>
                <a href="https://api.whatsapp.com/send?phone=<?php echo $s1a['wa']; ?>" target="_blank "><i class="icon-whatsapp"></i></a>
              </li>    
            </ul>
          </div>
        </div>
      </div>
    </nav>
  </div>
<?php } ?>
