<?php
error_reporting(0);
require("koneksi/koneksi.php");
include 'layouts/header.php';
// include 'layouts/menu_awal.php';
?>

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

    <!-- Navigation -->
    <nav class="navbar navbar-inverse navbar-fixed-top" style="padding-bottom:12px">
        <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 -->
           
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>


 <section id="portfolio" class="bg-light-gray">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center">
                    <h2 class="section-heading">Syarat Ketentuan</h2>
                </div>
            </div>
            <div class="row">
            <div class="col-md-12">
                <?php
                $query=mysql_query("SELECT * FROM setting WHERE id=7") or die (mysql_error());
                $data=mysql_fetch_array($query);
                if ($data['value'] == NULL) 
                {
                 
              }else{
                  echo $data['value'];
              }
              ?>

            </div>
            </div>
        </div>
    </section>
   <?php
include 'layouts/footer.php';
?>