<?php
/* Smarty version 4.1.1, created on 2022-09-26 11:45:21
  from '/home/hanzel/public_html/igsdev.net/authserver/Templates/white/user/overview.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.1.1',
  'unifunc' => 'content_6331bb0135aeb9_97686812',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '87b6cf9782164ccf24ba58923e5a780ae2a35d97' => 
    array (
      0 => '/home/hanzel/public_html/igsdev.net/authserver/Templates/white/user/overview.tpl',
      1 => 1664202130,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6331bb0135aeb9_97686812 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
?>

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_14540437836331bb01353f99_89615772', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_14540437836331bb01353f99_89615772 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_14540437836331bb01353f99_89615772',
  ),
);
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="#">Overview</a></li>
          </ol>
          <h6 class="slim-pagetitle">Client Area</h6>
        </div><!-- slim-pageheader -->
		<div class="section-wrapper">
		<div class="table-responsive">
            <table class="table table-striped mg-b-0">
              <thead>
                <tr>
				        <th>ID</th>
                  <th>Name</th>
                  <th>Customer Name</th>
                  <th>Email</th>
				        <th>Cadastro</th>
                </tr>
              </thead>
              <tbody>
              <tr>
				    <td><?php echo $_smarty_tpl->tpl_vars['user']->value->Id;?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['user']->value->Name;?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['user']->value->ClientName;?>
</td>
				  <td><?php echo $_smarty_tpl->tpl_vars['user']->value->Mail;?>
</td>
				  <td><?php echo $_smarty_tpl->tpl_vars['user']->value->Date_Create;?>
</td>
                </tr>
              </tbody>
            </table>
          </div>

			</br>

			<table class="table mg-b-0">
              <thead>
                <tr>
                  <th class="wd-10p">LicenseId</th>
                  <th class="wd-20p">Product</th>
                  <th class="wd-20p">Plan</th>
                  <th class="wd-20p">Expire</th>
                  <th class="wd-20p">Status</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['LicenseId'];?>
</td>
				          <td><?php echo $_smarty_tpl->tpl_vars['plans']->value[$_smarty_tpl->tpl_vars['k']->value['ProductId']];?>
 - <?php echo $_smarty_tpl->tpl_vars['packed']->value[$_smarty_tpl->tpl_vars['k']->value['PackageIndex']];?>
</td>
				          <?php if ($_smarty_tpl->tpl_vars['k']->value['PackageIndex'] === (0)) {?><td><?php echo $_smarty_tpl->tpl_vars['plansmall']->value[$_smarty_tpl->tpl_vars['k']->value['PlanIndex']];?>
</td><?php }?>
                  <?php if ($_smarty_tpl->tpl_vars['k']->value['PackageIndex'] === (1)) {?><td><?php echo $_smarty_tpl->tpl_vars['planmedium']->value[$_smarty_tpl->tpl_vars['k']->value['PlanIndex']];?>
</td><?php }?>
                  <?php if ($_smarty_tpl->tpl_vars['k']->value['PackageIndex'] === (2)) {?><td><?php echo $_smarty_tpl->tpl_vars['planlarge']->value[$_smarty_tpl->tpl_vars['k']->value['PlanIndex']];?>
</td><?php }?>
                  <td><?php echo $_smarty_tpl->tpl_vars['k']->value['Expire'];?>
</td>
                  <?php ob_start();
echo $_smarty_tpl->tpl_vars['k']->value['Status'] === (0);
$_prefixVariable1 = ob_get_clean();
if ($_prefixVariable1) {?><td><button style="height:25px;width:92px;padding:0px 13px;font-size:13px;" class="btn btn-oblong btn-danger active">Suspended</button></td><?php }?>
                  <?php ob_start();
echo $_smarty_tpl->tpl_vars['k']->value['Status'] === (1);
$_prefixVariable2 = ob_get_clean();
if ($_prefixVariable2) {?><td><button style="height:25px;width:66px;padding:0px 13px;font-size:13px;" class="btn btn-oblong btn-success active">Active</button></td><?php }?>
                </tr>
              <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
              </tbody>
            </table>
          </div>

          </div><!-- manager-right -->
        </div><!-- manager-wrapper -->
      </div><!-- container -->
    </div><!-- slim-mainpanel -->
<?php
}
}
/* {/block 'main'} */
}
