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

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1944033723630514e0a469d3_97638676', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_1944033723630514e0a469d3_97638676 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_1944033723630514e0a469d3_97638676',
  ),
);
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="#">User</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">
        
          <div class="table-wrapper">
            <table id="datatable1" class="table display responsive nowrap">
              <thead>
                <tr>
                  <th class="wd-15p">ID</th>
                  <th class="wd-15p">Customer Name</th>
                  <th class="wd-15p">IP</th>
                  <th class="wd-20p">HardwareID</th>
                  <th class="wd-15p">Status</th>
                  <th class="wd-10p">Version</th>
                  <th class="wd-25p">Expire</th>
                  <th class="wd-25p">Action</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['i']->value+1;?>
°</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['user']->value->ClientName;?>
</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['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();?>
/user/license/edit" class="btn btn-success">Editar</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'} */
}
