<?php
  // Slider
  $offerFormAskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $offerFormAskData->execute(array(
    'module_id' => 1
    ));
  $offerFormCheckData=$offerFormAskData->fetch(PDO::FETCH_ASSOC);

  // Slider
  $ServicesaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $ServicesaskData->execute(array(
    'module_id' => 2
    ));
  $ServicescheckData=$ServicesaskData->fetch(PDO::FETCH_ASSOC);

  // Portfolio
  $PortaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $PortaskData->execute(array(
    'module_id' => 3
    ));
  $PortcheckData=$PortaskData->fetch(PDO::FETCH_ASSOC);

  // Product
  $ProductaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $ProductaskData->execute(array(
    'module_id' => 4
    ));
  $ProductcheckData=$ProductaskData->fetch(PDO::FETCH_ASSOC);

  // Packet
  $PacketaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $PacketaskData->execute(array(
    'module_id' => 5
    ));
  $PacketcheckData=$PacketaskData->fetch(PDO::FETCH_ASSOC);

  // Testimonial
  $TestiaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $TestiaskData->execute(array(
    'module_id' => 6
    ));
  $TesticheckData=$TestiaskData->fetch(PDO::FETCH_ASSOC);

  // Counter
  $CounteraskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $CounteraskData->execute(array(
    'module_id' => 7
    ));
  $CountercheckData=$CounteraskData->fetch(PDO::FETCH_ASSOC);

  // Counter
  $BlogaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $BlogaskData->execute(array(
    'module_id' => 8
    ));
  $BlogcheckData=$BlogaskData->fetch(PDO::FETCH_ASSOC);

  // Team
  $TeamaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $TeamaskData->execute(array(
    'module_id' => 9
    ));
  $TeamcheckData=$TeamaskData->fetch(PDO::FETCH_ASSOC);

  // Client
  $ClientaskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $ClientaskData->execute(array(
    'module_id' => 10
    ));
  $ClientcheckData=$ClientaskData->fetch(PDO::FETCH_ASSOC);

  // About
  $AboutasdData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $AboutasdData->execute(array(
    'module_id' => 11
    ));
  $AboutcheckData=$AboutasdData->fetch(PDO::FETCH_ASSOC);

  // Proccess
  $ProccessAskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $ProccessAskData->execute(array(
    'module_id' => 12
    ));
  $ProccessCheckData=$ProccessAskData->fetch(PDO::FETCH_ASSOC);

  // Skills
  $SkillAskData=$db->prepare("SELECT * FROM modules where module_id=:module_id");
  $SkillAskData->execute(array(
    'module_id' => 13
    ));
  $SkillCheckData=$SkillAskData->fetch(PDO::FETCH_ASSOC);
 ?>
<div class="card">
  <div class="card-body">
    <div class="row">
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$AboutcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Hakkımızda
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $AboutcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$AboutcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$offerFormCheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Teklif Formu
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $offerFormCheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$offerFormCheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$ServicescheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Hizmetler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $ServicescheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$ServicescheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$PortcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Projeler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $PortcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$PortcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module 
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$ProductcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Ürünler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $ProductcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$ProductcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>-->
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$PacketcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Paketler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $PacketcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$PacketcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$TesticheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Müşteri Yorumları
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $TesticheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$TesticheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$CountercheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Sayaç
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $CountercheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$CountercheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$BlogcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Blog
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $BlogcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$BlogcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$TeamcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Ekibimiz
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $TeamcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$TeamcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$ClientcheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Referanslar
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $ClientcheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$ClientcheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$ProccessCheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Süreçler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $ProccessCheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$ProccessCheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
      <!-- #Module -->
      <div class="col-md-4">
        <form action="system/operation.php" method="post" enctype="multipart/form-data" data-parsley-validate>
          <input type="hidden" name="module_id" value="<?=$SkillCheckData["module_id"] ?>">
          <div class="col-md-12">
            <div class="card card-warning">
              <div class="card-header">
                Yetenekler
              </div>
              <div class="card-body">
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $langArray['TABLE_STATUS']; ?></label>
                  <div class="input-group">
                    <input type="checkbox" id="status" name="status[]" <?php echo $SkillCheckData['status'] == "1" ? 'checked=""' : ''; ?> data-bootstrap-switch data-off-color="danger" data-on-color="success">
                  </div>
                </div>
                <div class="form-group">
                  <label for="order_sort"><?php echo $langArray['TABLE_ORDER_SORT']; ?></label>
                  <div class="input-group">
                    <input type="number" name="order_sort" class="form-control" value="<?=$SkillCheckData["order_sort"] ?>">
                  </div>
                </div>
              </div>
              <div class="card-footer">
                <input class="btn btn-block btn-warning" type="submit" name="modulUpdate" value="<?php echo $langArray['UPDATE_FORM']; ?>">
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
