<?php include_once 'header.php';?>

<div class="row">
  <div class="col-md-12">

    <ul class="nav nav-pills nav-pills-warning">
  <li class="nav-item">
    <a class="nav-link<?php if (!in_array($page1, array("support", "faq"))) echo ' active';?>" href="<?php echo JAK_rewrite::jakParseurl('widget');?>"><?php echo $jkl["hd15"];?></a>
  </li>
  <?php if (jak_get_access("support", $jakuser->getVar("permissions"), JAK_MAIN_OP)){?>
  <li class="nav-item">
    <a class="nav-link<?php if ($page1 == 'support') echo ' active';?>" href="<?php echo JAK_rewrite::jakParseurl('widget', 'support');?>"><?php echo $jkl["hd16"];?></a>
  </li>
  <?php } ?>
  <?php if (jak_get_access("faq", $jakuser->getVar("permissions"), JAK_MAIN_OP)){?>
  <li class="nav-item">
    <a class="nav-link<?php if ($page1 == 'faq') echo ' active';?>" href="<?php echo JAK_rewrite::jakParseurl('widget', 'faq');?>"><?php echo $jkl["hd17"];?></a>
  </li>
  <?php } ?>
</ul>
    <hr>
  </div>
</div>

<p><?php echo $jkl['cw8'];?> <a href="javascript:void(0)" data-clipboard-target="#widget-code" class="btn btn-rose btn-round btn-fab clipboard"><i class="fa fa-clipboard"></i></a></p>

<div class="row">
  <div class="col-md-12">
    <div class="card border-success text-center">
      <div class="card-body">
      <textarea rows="11" class="form-control" id="widget-code" readonly="readonly"><?php echo htmlentities('<!-- CloudDesk 3 widget -->
<script type="text/javascript">
  (function(w, d, s, u) {
    w.id = '.$opcacheid.'; w.lcjUrl = u; w.catID = \'\';
    var h = d.getElementsByTagName(s)[0], j = d.createElement(s);
    j.async = true; j.src = \''.BASE_URL_ORIG.'js/jaklcp'.$page1.'.js\';
    h.parentNode.insertBefore(j, h);
  })(window, document, \'script\', \''.BASE_URL_ORIG.'\');
</script>
<div id="jaklcp-'.$page1.'-container"></div>
<!-- end CloudDesk 3 widget -->');?></textarea>
      </div>
    </div>
  </div>
</div>
    
<?php include_once 'footer.php';?>
