<?php
/* Smarty version 4.1.1, created on 2022-09-19 21:23:34
  from '/home/hanzel/public_html/igsdev.net/authserver/Templates/default/layout/layout.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.1.1',
  'unifunc' => 'content_63292426e894b8_42305586',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '5564d7e65638a9d7f8683f0ea51ce73098c30e19' => 
    array (
      0 => '/home/hanzel/public_html/igsdev.net/authserver/Templates/default/layout/layout.tpl',
      1 => 1661313158,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_63292426e894b8_42305586 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_loadInheritance();
$_smarty_tpl->inheritance->init($_smarty_tpl, false);
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>AuthPanel - <?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>

    <!-- vendor css -->
    <link href="<?php echo base_url();?>
/assets/lib/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="<?php echo base_url();?>
/assets/lib/Ionicons/css/ionicons.css" rel="stylesheet">
    <link href="<?php echo base_url();?>
/assets/lib/datatables/css/jquery.dataTables.css" rel="stylesheet">
    <link href="<?php echo base_url();?>
/assets/lib/select2/css/select2.min.css" rel="stylesheet">

    <!-- Slim CSS -->
    <link rel="stylesheet" href="<?php echo base_url();?>
/assets/css/slim.css">
<link rel="stylesheet" href="<?php echo base_url();?>
/assets/css/slim.one.css">

  </head>
  <body>
    <div class="slim-header">
      <div class="container">
        <div class="slim-header-left">
          <h2 class="slim-logo"><a href="index.html">AUTH<span>PANEL</span></a></h2>

        </div><!-- slim-header-left -->
        <div class="slim-header-right">
          <div class="dropdown dropdown-a">
            <a href="" class="header-notification" data-toggle="dropdown">
              <i class="icon ion-ios-bolt-outline"></i>
            </a>
          
          </div><!-- dropdown -->
          <?php if ($_SESSION['isLoggedIn']) {?>
          <div class="dropdown dropdown-c">
            <a href="#" class="logged-user" data-toggle="dropdown">
              
              <span><?php echo $_SESSION['name'];?>
</span>
              <i class="fa fa-angle-down"></i>
            </a>
            <div class="dropdown-menu dropdown-menu-right">
              <nav class="nav">
                <a href="<?php echo base_url();?>
/user/settings" class="nav-link"><i class="icon ion-ios-gear"></i> Account Settings</a>
                <a href="<?php echo base_url();?>
/user/logout" class="nav-link"><i class="icon ion-forward"></i> Sign Out</a>
              </nav>
            </div><!-- dropdown-menu -->
          </div><!-- dropdown -->
        <?php }?>
        </div><!-- header-right -->
      </div><!-- container -->
    </div><!-- slim-header -->

    <div class="slim-navbar">
      <div class="container">
        <ul class="nav">
          <li class="nav-item">
            <a class="nav-link" href="/">
              <i class="icon ion-ios-home-outline"></i>
              <span>Home</span>
              <span class="square-8"></span>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="<?php echo base_url();?>
/panel/plans">
              <i class="icon ion-ios-bolt-outline"></i>
              <span>Plans</span>
            </a>
          </li>

          <li class="nav-item">
            <a class="nav-link" href="<?php echo base_url();?>
/help">
              <i class="icon ion-help"></i>
              <span>Help</span>
            </a>
          </li>
          <?php if ($_SESSION['isLoggedIn']) {?>

          <li class="nav-item">
            <a class="nav-link" href="<?php echo base_url();?>
/user/licenses">
              <i class="icon ion-key"></i>
              <span>Licenses</span>
            </a>
          </li>
          <li class="nav-item with-sub">
            <a class="nav-link" href="#">
              <i class="icon ion-grid"></i>
              <span>Misc</span>
            </a>
            <div class="sub-item">
              <ul>
                <li><a href="<?php echo base_url();?>
/user/downloads">Server Files</a></li>
              </ul>
            </div><!-- sub-item -->
          </li>
        <?php if ($_SESSION['Nivel'] == 2) {?>
          <li class="nav-item with-sub">
            <a class="nav-link" href="#">
              <i class="icon ion-grid"></i>
              <span>Admin</span>
            </a>
            <div class="sub-item">
              <ul>
                <li><a href="<?php echo base_url();?>
/admin/users">Users</a></li>
                <li><a href="<?php echo base_url();?>
/admin/licenses">Licences</a></li>
                <li><a href="<?php echo base_url();?>
/admin/addlicense">Create License</a></li>
                <li><a href="<?php echo base_url();?>
/admin/createuser">Create User</a></li>
              </ul>
            </div><!-- sub-item -->
          </li>
        <?php }?>
          <?php } else { ?>

          <li class="nav-item">
            <a class="nav-link" href="<?php echo base_url();?>
/user/signup">
              <i class="icon ion-person-add"></i>
              <span>Registro</span>
            </a>
          </li>

          <li class="nav-item">
            <a class="nav-link" href="<?php echo base_url();?>
/user/signin">
              <i class="icon ion-person"></i>
              <span>Login</span>
            </a>
          </li>
        <?php }?>

        </ul>
      </div><!-- container -->
    </div><!-- slim-navbar -->
    <?php 
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_177305309163292426e87007_56564675', 'main');
?>

    <div class="slim-footer">
      <div class="container">
        <p>Copyright 2022 &copy; All Rights Reserved. Vinicius Oliveira</p>
      </div><!-- container -->
    </div><!-- slim-footer -->

    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/jquery/js/jquery.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/popper.js/js/popper.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/bootstrap/js/bootstrap.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/jquery.cookie/js/jquery.cookie.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/datatables/js/jquery.dataTables.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/datatables-responsive/js/dataTables.responsive.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/lib/select2/js/select2.min.js"><?php echo '</script'; ?>
>


    <?php echo '<script'; ?>
 src="<?php echo base_url();?>
/assets/js/slim.js"><?php echo '</script'; ?>
>
      <?php echo '<script'; ?>
>
      $(function(){

        // showing modal with effect
        $('.modal-effect').on('click', function(e){
          e.preventDefault();
          var effect = $(this).attr('data-effect');
          $('#modaldemo8').addClass(effect);
        });

        // hide modal with effect
        $('#modaldemo8').on('hidden.bs.modal', function (e) {
          $(this).removeClass (function (index, className) {
              return (className.match (/(^|\s)effect-\S+/g) || []).join(' ');
          });
        });
      });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>
      $(function(){
        'use strict';

        $('#datatable1').DataTable({
          responsive: true,
          language: {
            searchPlaceholder: 'Search...',
            sSearch: '',
            lengthMenu: '_MENU_ items/page',
          }
        });

        $('#datatable2').DataTable({
          bLengthChange: false,
          searching: false,
          responsive: true
        });

        // Select2
        $('.dataTables_length select').select2({ minimumResultsForSearch: Infinity });

      });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>
      $(function(){
        'use strict';

        $('.select2').select2({
          minimumResultsForSearch: Infinity
        });

        // Select2 by showing the search
        $('.select2-show-search').select2({
          minimumResultsForSearch: ''
        });

        // Colored Hover
        $('#select2').select2({
          dropdownCssClass: 'hover-success',
          minimumResultsForSearch: Infinity // disabling search
        });

        $('#select3').select2({
          dropdownCssClass: 'hover-danger',
          minimumResultsForSearch: Infinity // disabling search
        });

        // Outline Select
        $('#select4').select2({
          containerCssClass: 'select2-outline-success',
          dropdownCssClass: 'bd-success hover-success',
          minimumResultsForSearch: Infinity // disabling search
        });

        $('#select5').select2({
          containerCssClass: 'select2-outline-info',
          dropdownCssClass: 'bd-info hover-info',
          minimumResultsForSearch: Infinity // disabling search
        });

        // Full Colored Select Box
        $('#select6').select2({
          containerCssClass: 'select2-full-color select2-primary',
          minimumResultsForSearch: Infinity // disabling search
        });

        $('#select7').select2({
          containerCssClass: 'select2-full-color select2-danger',
          dropdownCssClass: 'hover-danger',
          minimumResultsForSearch: Infinity // disabling search
        });

        // Full Colored Dropdown
        $('#select8').select2({
          dropdownCssClass: 'select2-drop-color select2-drop-primary',
          minimumResultsForSearch: Infinity // disabling search
        });

        $('#select9').select2({
          dropdownCssClass: 'select2-drop-color select2-drop-indigo',
          minimumResultsForSearch: Infinity // disabling search
        });

        // Full colored for both box and dropdown
        $('#select10').select2({
          containerCssClass: 'select2-full-color select2-primary',
          dropdownCssClass: 'select2-drop-color select2-drop-primary',
          minimumResultsForSearch: Infinity // disabling search
        });

        $('#select11').select2({
          containerCssClass: 'select2-full-color select2-indigo',
          dropdownCssClass: 'select2-drop-color select2-drop-indigo',
          minimumResultsForSearch: Infinity // disabling search
        });
      });
    <?php echo '</script'; ?>
>
  </body>
</html>
<?php }
/* {block 'main'} */
class Block_177305309163292426e87007_56564675 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_177305309163292426e87007_56564675',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block 'main'} */
}
