<?php
  $askData=$db->prepare("SELECT * FROM webmaster where webmaster_id=:webmaster_id");
  $askData->execute(array(
    'webmaster_id' => 1
    ));
  $checkData=$askData->fetch(PDO::FETCH_ASSOC);
?>
<div class="card">
  <div class="card-body">
    <form action="system/operation.php" method="post">
      <input type="hidden" name="webmaster_id" value="<?=$checkData["webmaster_id"] ?>">
      <div class="row">
        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PAGES_TITLE']; ?></label>
            <select class="form-control" name="wm_pages">
              <option <?php echo $checkData['wm_pages'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_pages'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['POST_TITLE']; ?></label>
            <select class="form-control" name="wm_post">
              <option <?php echo $checkData['wm_post'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_post'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['MENU_TITLE']; ?></label>
            <select class="form-control" name="wm_menu">
              <option <?php echo $checkData['wm_menu'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_menu'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PROJECT_TITLE']; ?></label>
            <select class="form-control" name="wm_project">
              <option <?php echo $checkData['wm_project'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_project'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['SERVICES_TITLE']; ?></label>
            <select class="form-control" name="wm_service">
              <option <?php echo $checkData['wm_service'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_service'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PACKET_TITLE']; ?></label>
            <select class="form-control" name="wm_packet">
              <option <?php echo $checkData['wm_packet'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_packet'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group 
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PRODUCT_TITLE']; ?></label>
            <select class="form-control" name="wm_product">
              <option <?php echo $checkData['wm_product'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_product'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>-->

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['SLIDER_TITLE']; ?></label>
            <select class="form-control" name="wm_slider">
              <option <?php echo $checkData['wm_slider'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_slider'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['BRANCH_DEALER']; ?></label>
            <select class="form-control" name="wm_bd">
              <option <?php echo $checkData['wm_bd'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_bd'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['BANK_TITLE']; ?></label>
            <select class="form-control" name="wm_bank">
              <option <?php echo $checkData['wm_bank'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_bank'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['FAQ_TITLE']; ?></label>
            <select class="form-control" name="wm_faq">
              <option <?php echo $checkData['wm_faq'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_faq'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PERSON_TITLE']; ?></label>
            <select class="form-control" name="wm_personal">
              <option <?php echo $checkData['wm_personal'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_personal'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['CATALOG_TITLE']; ?></label>
            <select class="form-control" name="wm_catalog">
              <option <?php echo $checkData['wm_catalog'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_catalog'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['DOCUMENT_TITLE']; ?></label>
            <select class="form-control" name="wm_document">
              <option <?php echo $checkData['wm_document'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_document'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['NOTICE_TITLE']; ?></label>
            <select class="form-control" name="wm_notice">
              <option <?php echo $checkData['wm_notice'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_notice'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['REF_TITLE']; ?></label>
            <select class="form-control" name="wm_ref">
              <option <?php echo $checkData['wm_ref'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_ref'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['COUNTER_TITLE']; ?></label>
            <select class="form-control" name="wm_counter">
              <option <?php echo $checkData['wm_counter'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_counter'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['SKILL_TITLE']; ?></label>
            <select class="form-control" name="wm_skill">
              <option <?php echo $checkData['wm_skill'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_skill'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['PROCCESS_TITLE']; ?></label>
            <select class="form-control" name="wm_proccess">
              <option <?php echo $checkData['wm_proccess'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_proccess'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['SOCIAL_TITLE']; ?></label>
            <select class="form-control" name="wm_social">
              <option <?php echo $checkData['wm_social'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_social'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['CUSTOMER_COMMET_TITLE']; ?></label>
            <select class="form-control" name="wm_cuscom">
              <option <?php echo $checkData['wm_cuscom'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_cuscom'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <!-- #form-group -->
        <div class="col-md-4">
          <div class="form-group">
            <label for="bank_name"><?php echo $langArray['GALLERY_TITLE']; ?></label>
            <select class="form-control" name="wm_gallery">
              <option <?php echo $checkData['wm_gallery'] == "0" ? 'selected=""' : ''; ?> value="0"><?php echo $langArray['OPTION_CLOSE']; ?></option>
              <option <?php echo $checkData['wm_gallery'] == "1" ? 'selected=""' : ''; ?> value="1"><?php echo $langArray['OPTION_OPEN']; ?></option>
            </select>
          </div>
        </div>

        <div class="col-12">
          <input type="submit" value="<?php echo $langArray['UPDATE_FORM']; ?>" class="btn btn-warning float-right" name="webmasterUpdate">
        </div>
      </div>
    </form>
  </div>
</div>
