<? global $vis_language; ?>


<section id="breadcrumb" class="row m-b m-l-none m-r-none">
  <div class="col-sm-6">
    <h3 class="m-b-xs text-black"><? echo $vis_language['TXTGOTOASSIST'];?></h3>
    <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
      <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME'];?></a></li>
      <li><a class="link" href="#/remoteaccess/gotoassist/<? echo $vis_language['TXTGOTOASSIST'];?>"><? echo $vis_language['TXTGOTOASSIST'];?></a></li>
      <li><? echo $vis_language['TXTGOTOASSISTSESSION'];?></li>
    </ul>
  </div>
</section>
<section class="padder">
  <section class="panel panel-default">
    <div class="wrapper-sm">

    <div class="btn-group">
        <div class="form-group">
          <h5><? echo $vis_language['TXTGOTOASSISTSESSION'];?></h5>
        </div>
      </div>
    <div class="line b-b line-lg pull-in"></div>
    </div>
    <div class="row m-t">
      <div class="col-md-6">

        <div class="row m-b-sm" id="created_session_link"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTJOINURL'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><a class="link" href="<? echo $data['vis_joinurl']; ?>" target="_blank"><? echo $data['vis_joinurl']; ?></a></div>
        </div>
        <div class="row m-b-sm"> <span class="col-xs-3 text-right"><? echo $vis_language['TXTSESSIONTOKEN'];?> :</span>
          <div class=" col-xs-9 text-lt text-muted"><? echo $data['vis_session_token']; ?></div>
        </div>

        <div class="row m-b-sm"> </div>
       <div class="row m-b-sm"> <span class="col-xs-3 text-right"></span>
          <div class=" col-xs-9 text-lt text-muted"><button type="button" class="btn btn-primary" onclick="SelectText('created_session_link')"><? echo $vis_language['TXTCOPYTOCLIPBOARD']; ?></button></div>
        </div>
      </div>
      <div class="col-md-6"></div>
    </div>
  </section>
</section>
<script>
function SelectText(element) {
    var doc = document
        , text = doc.getElementById(element)
        , range, selection
    ;
    if (doc.body.createTextRange) {
        range = document.body.createTextRange();
        range.moveToElementText(text);
        range.select();
    } else if (window.getSelection) {
        selection = window.getSelection();
        range = document.createRange();
        range.selectNodeContents(text);
        selection.removeAllRanges();
        selection.addRange(range);
    }
}

</script>
