support.tianex.com Open in urlscan Pro
45.79.207.59  Public Scan

URL: https://support.tianex.com/
Submission: On July 19 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 1 forms found in the DOM

POST /index.php/chat/startchat/(vid)/1088312f2692f6e54f7e/(theme)/4

<form id="form-start-chat" method="post" action="/index.php/chat/startchat/(vid)/1088312f2692f6e54f7e/(theme)/4" onsubmit="return lhinst.addCaptcha('1721363610',$(this))">
  <input type="hidden" name="onlyBotOnline" value="0">
  <div class="form-group">
    <label class="col-form-label">Phone*</label>
    <input autofocus="autofocus" aria-required="true" required="" aria-label="Enter your phone" placeholder="Enter your phone" class="form-control" type="text" name="Phone" value="">
  </div>
  <div class="form-group">
    <label class="col-form-label">Your question*</label>
    <textarea autofocus="autofocus" aria-required="true" required="" aria-label="Enter your message" class="form-control form-control-sm" placeholder="Type your message here and hit enter to send..." name="Question"></textarea>
  </div>
  <input type="hidden" name="user_timezone" value="2">
  <script>
    $(document).ready(function() {
      Date.prototype.stdTimezoneOffset = function() {
        var jan = new Date(this.getFullYear(), 0, 1);
        var jul = new Date(this.getFullYear(), 6, 1);
        return Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset());
      };
      Date.prototype.dst = function() {
        return this.getTimezoneOffset() < this.stdTimezoneOffset();
      };
      var today = new Date();
      var timeZoneOffset = 0;
      if (today.dst()) {
        timeZoneOffset = today.getTimezoneOffset();
      } else {
        timeZoneOffset = today.getTimezoneOffset() - 60;
      };
      $('input[name=user_timezone]').val(((timeZoneOffset) / 60) * -1);
    });
  </script>
  <div class="form-group">
    <label class="col-form-label" id="label-department"> Department </label>
    <select aria-labelledby="label-department" class="form-control form-control-sm" name="DepartamentID" id="id_DepartamentID">
      <option data-attr-online="true" value="2">After Sales</option>
      <option data-attr-online="true" value="3">Before Sales</option>
      <option data-attr-online="true" value="1">Support Team</option>
    </select>
  </div>
  <div class="btn-group" role="group" aria-label="...">
    <input type="submit" class="btn btn-primary btn-sm startchat" value="Start chat" name="StartChatAction">
  </div>
  <input type="hidden" value="" name="URLRefer">
  <input type="hidden" value="" name="r">
  <input type="hidden" value="0" name="operator">
  <input type="hidden" value="1" name="StartChat">
  <div id="offline-modal" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title" id="myModalLabel">Department is offline</h4>
        </div>
        <div class="modal-body">
          <div class="btn-group" role="group" aria-label="...">
            <a href="#" class="btn btn-secondary btn-xs" title="Go to leave a message form" onclick="return lhinst.switchToOfflineForm();">Leave a message</a>
            <a href="#" class="btn btn-secondary btn-xs" title="Cancel and choose another department" onclick="closeRevealForm();return $('#offline-modal').modal('hide');">Cancel</a>
          </div>
        </div>
      </div>
    </div>
  </div>
  <script>
    function closeRevealForm() {
      $('#id_DepartamentID').find('option').removeAttr('selected');
      $('#id_DepartamentID').find("[data-attr-online='true']").attr('selected', 'selected');
    };
    $('#id_DepartamentID').change(function() {
      if ($(this).find('option:selected').attr('data-attr-online') == 'false') {
        $('#offline-modal').modal({
          'show': true,
          keyboard: false,
          backdrop: 'static'
        });
      };
    });
    $(document).ready(function() {
      if ($('#id_DepartamentID').find('option:selected').attr('data-attr-online') == 'false') {
        $('#offline-modal').modal({
          'show': true,
          keyboard: false,
          backdrop: 'static'
        });
      };
    });
  </script>
</form>

Text Content

close

FILL OUT THIS FORM TO START A CHAT

Phone*
Your question*
Department After Sales Before Sales Support Team


DEPARTMENT IS OFFLINE

Leave a message Cancel

Live Helper Chat © 2024

TiaNex.com