<?php
/* Smarty version 4.1.1, created on 2022-08-23 10:27:56
  from 'C:\xampp\htdocs\Templates\default\admin\createuser.tpl' */

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

<?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_1936392776304f1fceb0076_42115125', 'main');
$_smarty_tpl->inheritance->endChild($_smarty_tpl, "layout/layout.tpl");
}
/* {block 'main'} */
class Block_1936392776304f1fceb0076_42115125 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_1936392776304f1fceb0076_42115125',
  ),
);
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 class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Customer Name: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('customername');?>
" name="customername" placeholder="Enter CustomerName">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Machine IP: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('ip');?>
" name="ip" placeholder="Enter Machine IP">
                </div>
              </div><!-- col-4 -->

              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Update: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('updaten');?>
" name="updaten" placeholder="Enter Update pack">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group">
                  <label class="form-control-label">Days: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" value="<?php echo set_value('days');?>
" name="days"  placeholder="Enter days max 365">
                </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <div class="form-group mg-b-10-force">
                  <label class="form-control-label">HardwareID: <span class="tx-danger">*</span></label>
                  <input class="form-control" type="text" name="hdid" value="<?php echo set_value('hdid');?>
" placeholder="HardwareID">
                </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="status" 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>
                  </select>

              </div>
              </div><!-- col-4 -->
              <div class="col-lg-12">
                <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 Version"></option>
                    <option value="16">Season 2</option>
                    <option value="12">Season 4</option>
                    <option value="4" selected>Season 6</option>
                    <option value="8">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">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'} */
}
