<?php
/* Smarty version 4.1.1, created on 2022-08-23 12:54:19
  from 'C:\xampp\htdocs\Templates\default\admin\licenses.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.1.1',
  'unifunc' => 'content_6305144baf1611_13625768',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '4f32573655dc8855843d376959045419671ea3ff' => 
    array (
      0 => 'C:\\xampp\\htdocs\\Templates\\default\\admin\\licenses.tpl',
      1 => 1661217533,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6305144baf1611_13625768 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4546616316305144b40a458_76142225', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_4546616316305144b40a458_76142225 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_4546616316305144b40a458_76142225',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
?>

    <div class="slim-mainpanel">
      <div class="container">
        <div class="slim-pageheader">
          <ol class="breadcrumb slim-breadcrumb">
            <li class="breadcrumb-item"><a href="#">Admin</a></li>
            <li class="breadcrumb-item"><a href="#">License</a></li>
            <li class="breadcrumb-item active" aria-current="page">List</li>
          </ol>
          <h6 class="slim-pagetitle">LICENSES</h6>
        </div><!-- slim-pageheader -->

        <div class="section-wrapper">
             <?php if ($_smarty_tpl->tpl_vars['msg']->value) {?>
          <div class="alert alert-success mg-b-0" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
              <span aria-hidden="true">×</span>
            </button>
            <strong>[SUCCESS]</strong> <?php echo $_smarty_tpl->tpl_vars['msg']->value;?>

          </div><br>
          <?php }?>      
          <div class="table-wrapper">
            <table id="datatable1" class="table display responsive nowrap">
              <thead>
                <tr>
                  <th class="wd-15p">UserID</th>
                  <th class="wd-15p">IP</th>
                  <th class="wd-20p">HardwareID</th>
                  <th class="wd-15p">Status</th>
                  <th class="wd-10p">Update</th>
                  <th class="wd-25p">Version</th>
                  <th class="wd-25p">Expire</th>
                  <th class="wd-25p">Action</th>
                  <th class="wd-25p">Delet</th>
                </tr>
              </thead>
              <tbody>

                 
                 <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['license']->value, 'k', false, 'i');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['i']->value => $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
                <tr>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['UserID'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Information1'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Information2'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Status'] === 1 ? 'Ativada' : 'Desativada';?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['PackageIndex'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['plans']->value[$_smarty_tpl->tpl_vars['k']->value['ProductId']];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Expire'];?>
</td>
                  <td><a href="<?php echo base_url();?>
/admin/license/edit/<?php echo $_smarty_tpl->tpl_vars['k']->value['UserID'];?>
" class="btn btn-success">Editar</button></td>
                  <td><a href="<?php echo base_url();?>
/admin/license/delete/<?php echo $_smarty_tpl->tpl_vars['k']->value['UserID'];?>
" class="btn btn-success">Delet</button></td>
                </tr>
              <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
              </tbody>
            </table>
          </div><!-- table-wrapper -->
        </div><!-- section-wrapper -->
      </div><!-- container -->
    </div><!-- slim-mainpanel -->
    <?php
}
}
/* {/block 'main'} */
}
