<?php
/* Smarty version 4.1.1, created on 2022-09-19 21:59:02
  from '/home/hanzel/public_html/igsdev.net/authserver/Templates/white/admin/createuser.tpl' */

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_31710095863292c76d171c0_39342000', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_31710095863292c76d171c0_39342000 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_31710095863292c76d171c0_39342000',
  ),
);
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="#">User</a></li>
            <li class="breadcrumb-item active" aria-current="page">Create</li>
          </ol>
          <h6 class="slim-pagetitle">Create user</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="<?php echo base_url();?>
/admin/createuser">
          <div class="form-layout">
            <div class="row mg-b-25">

              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Username: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('user');?>
" name="user" placeholder="Enter Username">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Password: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('password');?>
" name="password" placeholder="Enter Email">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Confirm Password: <span class="tx-danger">*</span></label>
                  <input class="form-control" value="<?php echo set_value('confirmpassword');?>
" type="password" name="confirmpassword"  placeholder="Enter Password">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">Email: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('email');?>
" name="email"  placeholder="Email addres">
                </div>
              </div><!-- col-8 -->
              <div class="col-lg-12">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">Status: <span class="tx-danger">*</span></label>
                  <select class="form-control select2" name="ustatus" data-placeholder="Choose status" tabindex="-1" aria-hidden="true">
                    <option label="Choose Status"></option>
                    <option value="0">Desativada</option>
                    <option value="1" selected>Ativada</option>
                    <option value="16">Banned</option>
                  </select>

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

              <div class="col-lg-12">
                <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="ulevel" data-placeholder="Choose status" tabindex="-1" aria-hidden="true">
                    <option label="Choose Level"></option>
                    <option value="0" selected>Normal User</option>
                    <option value="2">Admin</option>
                  </select>

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

            </div><!-- row -->

            <div class="form-layout-footer">
              <button type="submit" id="update" class="btn btn-primary bd-0">Create User</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'} */
}
