<?php include 'include/header.php'; ?> 
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
  <!-- Content Header (Page header) -->
  <section class="content-header">
    <div class="container-fluid">
      <div class="row mb-2">
        <div class="col-sm-6">
          <h1>Kod Ayarları</h1>
        </div>
        <div class="col-sm-6">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="#">Görsel Panel</a></li>
            <li class="breadcrumb-item active">Kod Ayarları</li>
          </ol>
        </div>
      </div>
    </div><!-- /.container-fluid -->
  </section>

  <!-- Main content -->
  <section class="content">

    <!-- Default box -->
    <div class="card card-info">
      <div class="card-header">
        <h3 class="card-title">Kod Ayarları</h3>
      </div>
      <!-- /.card-header -->
      <!-- form start -->
      <form action="" method="post" enctype="multipart/form-data">
        <div class="card-body">
         <div class="row">
           <div class="col-lg-4">
            <div class="form-group">
              <label>Google Analytics</label>
              <textarea class="form-control" name="analytics" rows="4"><?= $row['analytics'] ?></textarea>
            </div>
          </div>

          <div class="col-lg-4">
            <div class="form-group">
              <label>Google Maps</label>
              <textarea class="form-control" name="maps" rows="4"><?= $row['maps'] ?></textarea>
            </div>
          </div>

          <div class="col-lg-4">
            <div class="form-group">
              <label>Canlı Destek</label>
              <textarea class="form-control" name="support" rows="4"><?= $row['support'] ?></textarea>
            </div>
          </div> 
        </div> 
      </div>
      <!-- /.card-body -->
      <div class="col-lg-6">
        <p>Güncelleme: <?= tarih('j F Y - H:i:s',$row['edit_date']); ?> tarihinde güncellediniz.</p>
      </div>
      <div class="card-footer">
        <button type="submit" name="kodlaredit" class="btn btn-info">Güncelle</button> 
      </div>
      <!-- /.card-footer -->
    </form>
  </div>
  <!-- /.card -->

</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->

<?php include 'include/footer.php'; ?>  
