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

<!-- Small boxes (Stat box) -->
<div class="row">
  <div class="col-md-2">
    <div class="card card-stats">
      <div class="card-header card-header-warning card-header-icon">
        <div class="card-icon">
          <i class="material-icons">assignment</i>
        </div>
        <p class="card-category"><?php echo $jkl["hd23"];?></p>
        <h3 class="card-title"><?php echo $totalAll;?></h3>
      </div>
      <div class="card-footer">
      </div>
    </div>
  </div>
</div>

<?php if (!$faqaccess) { ?>
<div class="alert alert-danger"><?php echo $jkl['i13'];?></div>
<?php } else { ?>

<p><a class="btn btn-primary" href="<?php echo JAK_rewrite::jakParseurl('faq', 'new');?>"><?php echo $jkl["hd27"];?></a></p>

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

<form method="post" class="jak_form" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<div class="card">
  <div class="card-header card-header-icon card-header-rose">
    <div class="card-icon">
      <i class="material-icons">textsms</i>
    </div>
    <h4 class="card-title "><?php echo $jkl["hd1"];?></h4>
  </div>
  <div class="card-body">


<?php if (JAK_SUPERADMINACCESS) { ?>
<p class="pull-right">
<button class="btn btn-default btn-sm btn-confirm" data-action="status" data-title="<?php echo addslashes($jkl["hd25"]);?>" data-text="<?php echo addslashes($jkl["hd26"]);?>" data-type="warning" data-okbtn="<?php echo addslashes($jkl["g279"]);?>" data-cbtn="<?php echo addslashes($jkl["g280"]);?>"><i class="material-icons">check</i> / <i class="material-icons">clear</i></button> <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"></i></button>
</p>
<div class="clearfix"></div>
<?php } ?>

<table id="dynamic-data" class="table table-striped" cellspacing="0" width="100%">
<thead>
<tr>
<th>#</th>
<th><input type="checkbox" id="jak_delete_all"></th>
<th><?php echo $jkl["g16"];?></th>
<th><?php echo $jkl["g22"];?></th>
<th><?php echo $jkl["hd24"];?></th>
<th><?php echo $jkl["g102"];?></th>
<th><?php echo $jkl["g101"];?></th>
<th><?php echo $jkl["g13"];?></th>
</tr>
</thead>
</table>

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

<?php } else { ?>

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

<?php } } ?>
    
<?php include_once 'footer.php';?>
