    <br>

    <?php
    $q=mysqli_query($connect,"select * from tb_setting where id_setting='1'");
    $r=mysqli_fetch_array($q);
    ?>


    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          



          <!-- /.col -->
          <div class="col-md-12">
            <div class="card card-info">
              <div class="card-header" style="background:#eb5d99;color:white;">
                <h3 class="card-title">Pengaturan Modul</h3>
              </div>
              <div class="card-body">
                <div class="tab-content">
                  

                  <div class="active tab-pane" id="settings">
                    <form class="form-horizontal" action="updatesetting" method="POST">


                      <div class="form-group row">
                        <label for="inputName" class="col-sm-2 col-form-label">Judul Modul</label>
                        <div class="col-sm-10">
                          <input name="judul_modul" value="<?php echo $r['judul_modul'];?>" type="text" class="form-control" required="required">
                        </div>
                      </div>


                      <div class="form-group row">
                        <label for="inputName" class="col-sm-2 col-form-label">Tagline</label>
                        <div class="col-sm-10">
                          <input name="tagline" value="<?php echo $r['tagline'];?>" type="text" class="form-control" required="required">
                        </div>
                      </div>

                      <div class="form-group row">
                        <label for="inputName" class="col-sm-2 col-form-label">Tentang</label>
                        <div class="col-sm-10">
                          <textarea name="tentang" class="form-control" style="height:120px;"><?php echo $r['tentang'];?></textarea>
                        </div>
                      </div>
                      

                      

                      <div class="form-group row">
                        <div class="offset-sm-2 col-sm-10">
                          <button type="submit" class="btn btn-danger">Update</button>
                        </div>
                      </div>
                    </form>
                  </div>
                  <!-- /.tab-pane -->
                </div>
                <!-- /.tab-content -->
              </div><!-- /.card-body -->
            </div>
            <!-- /.nav-tabs-custom -->
          </div>
          <!-- /.col -->
        </div>
        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>