<style>
  body{
    background-image: url(images/boxed-bg.jpg);
  }
  .tnavbar{
    background-color: #830b0b;

  }
  .drop-out-icon{
    position: relative;
    top:8px;
    left:-15.5px;
  }
  .right-menu{
    position: relative;
    top:20px;
    right:10px;
  }
  .drop-out-icon button{
    
    padding: 10px 10px;
    background-color: transparent;
    border-color: transparent;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    
  }
  .drop-out-icon button:hover{
    background-color:#337ab7;
  }
</style>
<div class="container hidden-sm hidden-xs" style="background-color:#830b0b;">
  <div class="row">
    <div class="col-sm-12">
      <div class="tnavbar">
        <div class="row">
          <div class="col-sm-2" style="background-color: #fff;">
            <br>
            <a href="dashboard.php"><img src="https://eagleonlinebnk.com/images/LabetteBank_horzlogo-alt.png" class="img-responsive" style=""></a>
            <br>
          </div>
          <div class="col-sm-10">
            <div class="row">
              <div class="col-sm-2" align="left">
                <div class="drop-out-icon">
                  <button>
                    <i class="fa fa-bars"></i>
                  </button>
                </div>
              </div>
              <div class="col-sm-10" align="right">
                <style>
                  .right-menu ul li{
                    text-decoration: none;
                    list-style: none;
                    display: inline;
                  }
                  .right-menu ul li a{
                    color:#f8f8f8;
                    padding:10px 15px;
                  }
                  .right-menu ul li a:hover {
                    background-color: #570000;
                    text-decoration: none;
                  }
                </style>
                <div class="right-menu">
                  
                  <ul>
                    <!-- GTranslate: https://gtranslate.io/ -->
<a href="#" onclick="doGTranslate('en|en');return false;" title="English" class="gflag nturl" style="background-position:-0px -0px;"><img src="//gtranslate.net/flags/blank.png" height="16" width="16" alt="English" /></a>

<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url(//gtranslate.net/flags/16a.png);}
a.gflag img {border:0;}
a.gflag:hover {background-image:url(//gtranslate.net/flags/16a.png);}
#goog-gt-tt {display:none !important;}
.goog-te-banner-frame {display:none !important;}
.goog-te-menu-value:hover {text-decoration:none !important;}
body {top:0 !important;}
#google_translate_element2 {display:none!important;}
-->
</style>

 <select onchange="doGTranslate(this);"><option value="">Select Language</option><option value="en|zh-CN">Chinese (Simplified)</option><option value="en|en">English</option><option value="en|de">German</option><option value="en|ja">Japanese</option><option value="en|ko">Korean</option><option value="en|ru">Russian</option><option value="en|sv">Swedish</option></select><div id="google_translate_element2"></div>
<script type="text/javascript">
function googleTranslateElementInit2() {new google.translate.TranslateElement({pageLanguage: 'en',autoDisplay: false}, 'google_translate_element2');}
</script><script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script>


<script type="text/javascript">
/* <![CDATA[ */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 7(a,b){n{4(2.9){3 c=2.9("o");c.p(b,f,f);a.q(c)}g{3 c=2.r();a.s(\'t\'+b,c)}}u(e){}}6 h(a){4(a.8)a=a.8;4(a==\'\')v;3 b=a.w(\'|\')[1];3 c;3 d=2.x(\'y\');z(3 i=0;i<d.5;i++)4(d[i].A==\'B-C-D\')c=d[i];4(2.j(\'k\')==E||2.j(\'k\').l.5==0||c.5==0||c.l.5==0){F(6(){h(a)},G)}g{c.8=b;7(c,\'m\');7(c,\'m\')}}',43,43,'||document|var|if|length|function|GTranslateFireEvent|value|createEvent||||||true|else|doGTranslate||getElementById|google_translate_element2|innerHTML|change|try|HTMLEvents|initEvent|dispatchEvent|createEventObject|fireEvent|on|catch|return|split|getElementsByTagName|select|for|className|goog|te|combo|null|setTimeout|500'.split('|'),0,{}))
/* ]]> */
</script>
                    <li><a href="">Last Login: <?php echo date("d/m/Y"); ?></a></li>
                    <li><a href="logout.php"><i class="fa fa-sign-out"></i>&nbsp; Logout</a></li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>


<!------------------------------------MOBILE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
<style>
  .mright-menu{
    position: relative;
    top:15px;
    right:0px;
  }
  .mright-menu ul li{
    text-decoration: none;
    list-style: none;
    display: inline;
  }
  .mright-menu ul li a{
    color:#f8f8f8;
    padding:10px 15px;
  }
  .mright-menu ul li a:hover {
    background-color: #570000;
    text-decoration: none;
    display: inline;
  }
  .mdrop-out-icon{
    position: absolute;
    top:3px;
    left:10px;
  }
  .mdrop-out-icon button{
    
    padding: 10px 10px;
    background-color: transparent;
    border-color: transparent;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    
  }
  .mdrop-out-icon button:hover{
    background-color:#337ab7;
  }
</style>
<div class="container hidden-lg hidden-md">
  <div class="row">
    <div class="col-sm-12">
      <div class="mtnavbar">
        <div class="row">
          <div class="col-sm-12" style="background-color: #fff;">
            <img src="https://eagleonlinebnk.com/images/LabetteBank_horzlogo-alt.png" class="img-responsive">
          </div>
        </div>

        <div class="row" style="background-color: #830b0b;">
          <div class="col-xs-3" align="left">
            <div class="rop-out-icon" align="center">
              <button class="openbtn" id="opensidevar" onclick="openNav()">☰</button> 
            </div>
          </div>
          <div class="col-xs-9" align="right">
            <div class="mright-menu">
              <ul>
                <li style="display: inline;"><a href="">English</a></li>
                <li style="display: inline;"><a href=""><i class="fa fa-sign-out"></i></a></li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<div>
  <style>
  .sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #830b0b;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }

  .sidebar a:hover {
    color: #f1f1f1;
  }

  .sidebar .closebtn {
    position: absolute;
    top: -5;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
  }

  .openbtn {
    position: relative;
    left:10px;
    font-size: 20px;
    cursor: pointer;
    background-color:transparent;
    color: white;
    padding: 10px 10px;
    border: none;
  }

  .openbtn:hover {
    background-color: #444;
  }

  #mm {
    transition: margin-left .5s;
    padding: 16px;
  }

  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
  }
  </style>

  <div id="mySidebar" class="sidebar">
    <a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="color:#fff;">×</a>
    <div align="center">
      <?php
      $user_photo2 = $user_photo;
      if($user_photo2 == "NULL"){
        $user_photo2 = "images/female_male.jpg";
      }else{
        $user_photo2 = "userphotos/$user_photo";
      }
      ?>
      <img src="<?php echo $user_photo2; ?>" class="img-responsive" style="border-radius: 100%" width="100">
      <span style="color:#fff; font-size: 15px;"><?php echo $firstname ."&nbsp;". $lastname; ?></span><br>
      <span style="color:#fff; font-size: 10px;"><span style="color:darkgreen; font-size:10px; font-weight: bolder;"><i class="fa fa-circle"></i> </span> Online</span>
    </div>
    <style>
      .i-side{
        background-color: #000;
        padding: 10px 20px;
        color:#ca9730;
        font-weight: bold;
      }
      .j-side{
        background-color: #830b0b;
        padding: 10px 20px;
        color:#b8c7ce;
      }
      .j-active{
        color:#fff;
        background-color: #570000;
        border-left:4px solid #fff;
      }
      .j-side a{
        font-size:14px;
      }
    </style>
<br>
    <div class="i-side">MAIN NAVIGATION</div>
    <div class="j-side j-active"><a href="dashboard.php" style="font-size: 16px;"><i class="fa fa-dashboard"></i>&nbsp;&nbsp;Dashboard</a></div>
    <div class="j-side"><a href="transfer.php" style="font-size: 16px;"><i class="fa fa-send"></i>&nbsp;&nbsp;Transfer Funds</a></div>
    <div class="j-side"><a href="bill-pay.php" style="font-size: 16px;"><i class="fa fa-credit-card"></i>&nbsp;&nbsp;Bill Pay</a></div>

    <div class="i-side">ACCOUNT</div>
    <div class="j-side"><a href="summary.php" style="font-size: 16px;"><i class="fa fa-book"></i>&nbsp;&nbsp;Account Summary</a></div>
    <div class="j-side"><a href="history.php" style="font-size: 16px;"><i class="fa fa-history"></i>&nbsp;&nbsp;Transaction History</a></div>
    <div class="j-side"><a href="details.php" style="font-size: 16px;"><i class="fa fa-file-text-o"></i>&nbsp;&nbsp;Account Details</a></div>

    <div class="i-side">SECURITY</div>
    <div class="j-side"><a href="security.php" style="font-size: 16px;"><i class="fa fa-lock"></i>&nbsp;&nbsp;Change Password</a></div>
    <div class="j-side"><a href="security.php" style="font-size: 16px;"><i class="fa fa-key"></i>&nbsp;&nbsp;Change Pin</a></div>
    <div class="j-side"><a href="support.php" style="font-size: 16px;"><i class="fa fa-users"></i>&nbsp;&nbsp;Customer Support</a></div>

    <div class="i-side">LOGOUT</div>
    <div class="j-side"><a href="logout.php" style="font-size: 16px;"><i class="fa fa-sign-out"></i>&nbsp;&nbsp;Logout</a></div>

    
  </div>

  

  <script>
  function openNav() {
    document.getElementById("mySidebar").style.width = "250px";
    document.getElementById("main").style.marginLeft = "250px";
  }

  function closeNav() {
    document.getElementById("mySidebar").style.width = "0";
    document.getElementById("main").style.marginLeft= "0";
  }
  </script>
</div>
        <br><br><br>