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

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_64679301662c235c4310656_40447538', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_64679301662c235c4310656_40447538 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_64679301662c235c4310656_40447538',
  ),
);
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">Edit</li>
          </ol>
          <h6 class="slim-pagetitle">Edit Licenses</h6>
        </div><!-- slim-pageheader -->

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

          </div><br>
          <?php }?>
          <?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 }?>
          <form method="POST" action="/admin/license/edit/<?php echo $_smarty_tpl->tpl_vars['user']->value->UserID;?>
">
          <div class="form-layout">
            <div class="row mg-b-25">
              <div class="col-lg-4">
                <div class="form-group">
                  <label class="form-control-label">Machine IP: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" name="ip" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->Information1;?>
" placeholder="Enter firstname">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-4">
                <div class="form-group">
                  <label class="form-control-label">Update: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" name="updaten" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->PackageIndex;?>
" placeholder="Enter lastname">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-4">
                <div class="form-group">
                  <label class="form-control-label">Expire Date: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" name="expire" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->Expire;?>
" placeholder="Enter email address">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-8">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">HarwareID: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" name="hdid" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->Information2;?>
" placeholder="HardwareID">
                </div>
              </div><!-- col-8 -->
              <div class="col-lg-4">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">Level: <span class="tx-danger">*</span></label>
                  <select class="form-control select2" name="status" data-placeholder="Choose status" tabindex="-1" aria-hidden="true">
                    <option label="Choose Level"></option>
                    <option value="0" <?php echo $_smarty_tpl->tpl_vars['user']->value->Status === 0 ? 'selected' : '';?>
>Desativada</option>
                    <option value="1" <?php echo $_smarty_tpl->tpl_vars['user']->value->Status === 1 ? 'selected' : '';?>
>Ativada</option>
                  </select>

              </div>
              </div><!-- col-4 -->
              <div class="col-lg-4">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">Version: <span class="tx-danger">*</span></label>
                  <select class="form-control select2" name="plan" data-placeholder="Choose plan" tabindex="-1" aria-hidden="true">
                    <option label="Choose Level"></option>
                    <option value="16" <?php echo $_smarty_tpl->tpl_vars['user']->value->ProductId === 16 ? 'selected' : '';?>
>Season 2</option>
                    <option value="12" <?php echo $_smarty_tpl->tpl_vars['user']->value->ProductId === 12 ? 'selected' : '';?>
>Season 4</option>
                    <option value="4"  <?php echo $_smarty_tpl->tpl_vars['user']->value->ProductId === 4 ? 'selected' : '';?>
>Season 6</option>
                    <option value="8"  <?php echo $_smarty_tpl->tpl_vars['user']->value->ProductId === 8 ? 'selected' : '';?>
>Season 8</option>
                  </select>

              </div>
              </div><!-- col-4 -->
            </div><!-- row -->

            <div class="form-layout-footer">
              <button type="submit" id="update" class="btn btn-primary bd-0">Update</button>
              <button class="btn btn-secondary bd-0">Cancel</button>
            </div><!-- form-layout-footer -->
          </div><!-- form-layout -->
                    <input type="hidden" name="<?php echo csrf_token();?>
" value="<?php echo csrf_hash();?>
" />
        </form>
        </div><!-- section-wrapper -->

      </div><!-- container -->
    </div>
<?php
}
}
/* {/block 'main'} */
}
