<?php
/* Smarty version 4.1.1, created on 2022-07-03 19:22:28
  from 'C:\xampp\htdocs\public\Templates\default\user\licenses.tpl' */

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_94588732162c232c45d6b34_68791164', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_94588732162c232c45d6b34_68791164 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_94588732162c232c45d6b34_68791164',
  ),
);
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="/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'} */
}
