    <div class="container">
      <div class="col-lg-12">
          <div class="bs-component" id="content">
            <div class="row">
            <div class="col-lg-6">
                        
            <div class="well bs-component">
              <form class="form-horizontal" action="#form">
                <fieldset>
                  <legend><?=$GLOBALS['lang']['f36'];?></legend>

                  <!-- Textarea: JS code -->
                  <div class="form-group">
                    <label for="jsTextarea" class="col-lg-2 control-label">JS <?=$GLOBALS['lang']['f35'];?> <font color="red">*</font></label>
                    <div class="col-lg-10">
                      <textarea class="form-control" name="jsCode" rows="10" id="jsTextarea"></textarea>
                    </div>
                  </div>



                  <!-- Buttons -->
                  <div class="form-group">
                    <div class="col-lg-10 col-lg-offset-2">
                      <button type="reset" class="btn btn-default">Cancel</button>
                      <button type="button" onclick="obfuscate();" class="btn btn-primary">Submit</button>
                    </div>
                  </div>
                </fieldset>
              </form>
            </div>
            </div>

            <div class="col-lg-4 col-lg-offset-1">
              <form class="bs-component">
                <div id="result" class="form-group">
                  
                </div>
              </form>
            </div>

            </div>
          </div>
      </div>
    </div>

<script language="JavaScript">
  var login="<?=$_COOKIE['login'];?>", session="<?=$_COOKIE['SESSION'];?>";
  var preload='<div style="margin-left: 43%;"><img src="./img/load.gif" /></div>';

  function obfuscate(){
    $('#result').html(preload);
    window.scrollTo(0, 0);

     const getValue = (name) => document.getElementsByName(name)[0]?.value || '';

    $.post("./inc/ajax/obfuscate/getobf.php",{
      login: login,
      SESSION: session,
      jsCode: getValue("jsCode")
    }).done(function(data){
      $('#result').html('<h4><?=$GLOBALS['lang']['mes8'];?>:</h4><textarea class="form-control" rows="11">'+data+'</textarea>');
    });
  }
</script>