<?php include 'include/header.php'; ?> 
<!-- Content Wrapper. Contains page content -->
<!-- summernote -->
<link rel="stylesheet" href="<?= admin_public_url(); ?>plugins/summernote/summernote-bs4.css">
<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>Android App Ayarlar</h1>
        </div>
        <div class="col-sm-6">
          <ol class="breadcrumb float-sm-right">
            <li class="breadcrumb-item"><a href="index">Görsel Panel</a></li>
            <li class="breadcrumb-item active">Android App 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"><i class="fa fa-info-circle fa-lg" aria-hidden="true"></i> Android Uygulama Yayın Bilgileri</h3>
      </div>
      <!-- /.card-header -->
      <!-- form start -->
     <form action="" method="post" enctype="multipart/form-data">
        <div class="card-body"> 



          <div class="form-group row">
            <label for="radio_image" class="col-sm-2 col-form-label"></label>
            <div class="col-sm-6">
              <img class="img-thumbnail" src="<?=public_url()."".$row['radio_image'] ?>" width="150" >
            </div> 
          </div> 



          <div class="form-group row">
            <label for="radio_image" class="col-sm-2 col-form-label">App Logo:</label>
            <div class="col-sm-6"> 
              <input type="file" class="form-control" name="radio_image">  
              <p style="margin-left:10px;font-size:13px;margin-top:5px;">Tavsiye edilen görselin boyutları 500x500 px olmalıdır.</p>
            </div> 
          </div>  
          <div class="form-group row">
            <label for="inputEmail3" class="col-sm-2 col-form-label">Radyo Adı:</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="radio_name" value="<?= $row['radio_name'] ?>" placeholder="Radyonuzun ismini yazınız">
            </div>
          </div>  
          <div class="form-group row">
            <label for="inputEmail3" class="col-sm-2 col-form-label">Radyo Yayın Url:</label>
            <div class="col-sm-8">
              <input type="text" class="form-control" name="radio_url" value="<?= $row['radio_url'] ?>">
              <p style="margin-left:10px;font-size:13px;margin-top:5px;">https://sp.radyotescil.com:8052/stream</p>
            </div>
          </div>  
          <div class="form-group row">
            <label for="inputEmail3" class="col-sm-2 col-form-label">Gizlilik Politikası</label>
            <div class="col-sm-8">  
             <textarea class="textarea" name="privacy_policy" required=""><?= $row['privacy_policy'] ?></textarea>
           </div>
         </div>  
       </div>
       <!-- /.card-body -->

       <div class="card-footer">
        <button type="submit" name="editapp" class="btn btn-info">Güncelle</button> 
      </div>
      <!-- /.card-footer -->
    </form>
  </div>
  <!-- /.card -->

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

<?php include 'include/footer.php'; ?>  
<!-- Summernote -->
<script src="<?= admin_public_url(); ?>plugins/summernote/summernote-bs4.min.js"></script>
<script>
  $(function () {
    // Summernote
    $('.textarea').summernote()
  })
</script>