<script data-cfasync="false" type="text/javascript">
    productview.ssl = {};
    productview.ssl.certificateId = <?php echo $this->adv_certificateId;?>;
    productview.ssl.certificateText = "<?php echo $this->adv_certificateText;?>";
</script>

<div class="fieldwrapper withcolor">
  <form id="ssl-advanced-form">
    <div class="mb-3">
      <label for="comboRegistrars" class="form-label">
        <?php echo $this->user->lang("SSL Registrar");?>
      </label>
      <select name="comboRegistrars" id="comboRegistrars" class="form-select w-auto" style="min-width:250px;">
        <?php foreach($this->registrars as $registrars) { ?>
          <option value="<?php echo $registrars['name'];?>"
            <?php if($this->adv_registrar == $registrars['name']) echo "selected";?>>
            <?php echo $registrars['name'];?>
          </option>
        <?php } ?>
      </select>
    </div>

<div class="mb-3">
  <label for="comboCertificates" class="form-label d-block">
    <?php echo $this->user->lang("SSL Certificates");?>
  </label>
  <select id="comboCertificates"
        name="comboCertificates"
        class="form-select w-auto"
        style="min-width:250px;"
        <?php if (!$this->hadregistrar) echo "disabled";?>>
         <option></option>
</select>
</div>


    <div class="form-actions text-end">
      <button type="submit" class="submit-ssl-advanced cm-btns orange">
        <?php echo $this->user->lang("Save Changes");?>
      </button>
    </div>
  </form>
</div>
