
<body id="page-top" class="index">

    <!-- Navigation -->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header page-scroll">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <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="navbar-brand page-scroll" href="index.php">
                    <?php
    $query=mysql_query("SELECT * FROM setting WHERE id=8") or die (mysql_error());
    $data=mysql_fetch_array($query);
    if ($data['value'] == NULL) 
    {
      $logo = "";
  }else{
      $logo = $data['value'];
  }
    ?>
                <img alt="Brand" width="70px"src="asset/img/<?php echo $logo;?>">
        		</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right " style="background-color: #000" >
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    
                   <li>
                    <a class="page-scroll " href="#portfolio" >Berita</a>
                   </li>
                    <li>
                        <a class="page-scroll" href="#contact">Hubungi Kami</a>
                    </li>
               
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>