View file Live Chat 3/5.0_complete/operator/template/leads.php

File size: 4.8Kb
<?php include_once 'header.php';?>

<div class="content">

<!-- Small boxes (Stat box) -->
<div class="row">
  <div class="col-md-9">
    <div class="card card-stats">
      <div class="card-body">
        <div class="statistics statistics-horizontal">
          <div class="info info-horizontal">
            <div class="row">
              <div class="col-2">
                <div class="icon icon-success icon-circle">
                  <i class="fa fa-history"></i>
                </div>
              </div>
              <div class="col-10 text-right">
                <h3 class="info-title"><?php echo secondsToTime($total_support, $jkl['g230']);?></h3>
                <h6 class="stats-title"><?php echo $jkl["stat_s6"];?></h6>
              </div>
            </div>
          </div>
        </div>
      </div>
      <hr>
      <div class="card-footer">
        <div class="stats">
          <i class="fa fa-history"></i> <?php echo $jkl["stat_s6"];?>
        </div>
      </div>
    </div>
  </div><!-- ./col -->
  <div class="col-md-3 hidden-xs hidden-sm">
    <div class="card card-stats">
      <div class="card-body">
        <div class="statistics statistics-horizontal">
          <div class="info info-horizontal">
            <div class="row">
              <div class="col-5">
                <div class="icon icon-warning icon-circle">
                  <i class="fa fa-vote-nay"></i>
                </div>
              </div>
              <div class="col-7 text-right">
                <h3 class="info-title"><?php echo $bounce_percentage;?>%</h3>
                <h6 class="stats-title"><?php echo $jkl["stat_s19"];?></h6>
              </div>
            </div>
          </div>
        </div>
      </div>
      <hr>
      <div class="card-footer">
        <div class="stats">
          <i class="fa fa-history"></i> <?php echo $jkl["stat_s19"];?>
        </div>
      </div>
    </div>
  </div><!-- ./col -->
</div><!-- /.row -->

<div class="row">
  <div class="col-md-12">
    <p><span class="badge badge-info"><i class="fa fa-comments-o"></i> <?php echo $jkl['g225'];?></span>
    <span class="badge badge-danger"><i class="fa fa-file-text-o"></i> <?php echo $jkl['g226'];?></span></p>
  </div>
</div>

<?php if (isset($totalAll) && $totalAll != 0) { ?>

<div class="row">
  <div class="col-md-12">
<form method="post" class="jak_form" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<div class="card">
<div class="card-body">


<?php if (JAK_SUPERADMINACCESS) { ?>
<p class="pull-right">
<a class="btn btn-warning btn-sm btn-confirm" href="<?php echo JAK_rewrite::jakParseurl('leads', 'truncate');?>" data-title="<?php echo addslashes($jkl["g48"]);?>" data-text="<?php echo addslashes($jkl["e40"]);?>" data-type="warning" data-okbtn="<?php echo addslashes($jkl["g279"]);?>" data-cbtn="<?php echo addslashes($jkl["g280"]);?>"><i class="fa fa-exclamation-triangle"></i></a> <button class="btn btn-danger btn-sm btn-confirm" data-action="delete" data-title="<?php echo addslashes($jkl["g48"]);?>" data-text="<?php echo addslashes($jkl["e30"]);?>" data-type="warning" data-okbtn="<?php echo addslashes($jkl["g279"]);?>" data-cbtn="<?php echo addslashes($jkl["g280"]);?>"><i class="fa fa-trash-alt"></i></button>
</p>
<div class="clearfix"></div>
<?php } ?>

<table id="dynamic-data" class="table table-striped" cellspacing="0" width="100%">
<thead>
  <tr>
    <th style="width: 4%">#</th>
    <th style="width: 3%"><input type="checkbox" id="jak_delete_all"></th>
    <th><i class="fal fa-user" title="<?php echo $jkl["g54"];?>"></i></th>
    <th><i class="fal fa-envelope" title="<?php echo $jkl["l5"];?>"></i></th>
    <th><i class="fal fa-user-headset" title="<?php echo $jkl["g130"];?>"></i></th>
    <th><i class="fal fa-building" title="<?php echo $jkl["g131"];?>"></i></th>
    <th><i class="fal fa-sticky-note" title="<?php echo $jkl["g181"];?>"></i></th>
    <th><i class="fal fa-comments"></i></th>
    <th><i class="fal fa-calendar-day" title="<?php echo $jkl["g13"];?>"></i></th>
  </tr>
</thead>
<tfoot>
  <tr>
    <th style="width: 4%">#</th>
    <th style="width: 3%"></th>
    <th><i class="fal fa-user" title="<?php echo $jkl["g54"];?>"></i></th>
    <th><i class="fal fa-envelope" title="<?php echo $jkl["l5"];?>"></i></th>
    <th><i class="fal fa-user-headset" title="<?php echo $jkl["g130"];?>"></i></th>
    <th><i class="fal fa-building" title="<?php echo $jkl["g131"];?>"></i></th>
    <th><i class="fal fa-sticky-note" title="<?php echo $jkl["g181"];?>"></i></th>
    <th><i class="fal fa-comments"></i></th>
    <th><i class="fal fa-calendar-day" title="<?php echo $jkl["g13"];?>"></i></th>
  </tr>
</tfoot>
<tbody></tbody>
</table>

</div>
</div>
<input type="hidden" name="action" id="action">
</form>
</div>
</div>

<?php } else { ?>

<div class="alert alert-info">
<?php echo $jkl['i3'];?>
</div>

<?php } ?>

</div>
    
<?php include_once 'footer.php';?>