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

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_378994562c2344f216321_14731252', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_378994562c2344f216321_14731252 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_378994562c2344f216321_14731252',
  ),
);
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="#">Users</a></li>
            <li class="breadcrumb-item active" aria-current="page">List</li>
          </ol>
          <h6 class="slim-pagetitle">USERS</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">UserID</th>
                  <th class="wd-15p">Username</th>
                  <th class="wd-20p">Email</th>
                  <th class="wd-15p">Password</th>
                  <th class="wd-10p">Status</th>
                  <th class="wd-25p">CustomerName</th>
                  <th class="wd-25p">Action</th>
                </tr>
              </thead>
              <tbody>
                 <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['users']->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['Id'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Name'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Mail'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Password'];?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Status'] === 1 ? 'Ativada' : 'Desativada';?>
</td>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['ClientName'];?>
</td>
                  <td><a href="/admin/user/edit/<?php echo $_smarty_tpl->tpl_vars['k']->value['Id'];?>
" 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'} */
}
