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

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.1.1',
  'unifunc' => 'content_62c23678d76ad1_96411898',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '0ffd2a336fcfd8ba9beb2d2c19b69b8ea330f9b6' => 
    array (
      0 => 'C:\\xampp\\htdocs\\public\\Templates\\default\\layout\\layout.tpl',
      1 => 1656895092,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62c23678d76ad1_96411898 (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="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/lib/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/lib/Ionicons/css/ionicons.css" rel="stylesheet">
    <link href="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/lib/datatables/css/jquery.dataTables.css" rel="stylesheet">
    <link href="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/lib/select2/css/select2.min.css" rel="stylesheet">

    <!-- Slim CSS -->
    <link rel="stylesheet" href="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/css/slim.css">
    <link rel="stylesheet" href="/Templates/<?php echo getenv('TEMPLATE');?>
/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="/user/settings" class="nav-link"><i class="icon ion-ios-gear"></i> Account Settings</a>
                <a href="/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="/user/buy">
              <i class="icon ion-ios-bolt-outline"></i>
              <span>Plans</span>
            </a>
          </li>

          <li class="nav-item">
            <a class="nav-link" href="/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="/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="/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="/admin/users">Users</a></li>
                <li><a href="/admin/licenses">Licences</a></li>
                <li><a href="/admin/createlicenses">Create License</a></li>
                <li><a href="/admin/createuser">Create User</a></li>
              </ul>
            </div><!-- sub-item -->
          </li>
        <?php }?>
          <?php } else { ?>

          <li class="nav-item">
            <a class="nav-link" href="/user/signup">
              <i class="icon ion-person-add"></i>
              <span>Registro</span>
            </a>
          </li>

          <li class="nav-item">
            <a class="nav-link" href="/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_200639669362c23678d6da01_38256812', 'main');
?>

    <div class="slim-footer">
      <div class="container">
        <p>Copyright 2022 &copy; All Rights Reserved. Vinicius Oliveira</p>
        <p>Designed by: <a href="">ThemePixels - Slim</a></p>
      </div><!-- container -->
    </div><!-- slim-footer -->

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

    <?php echo '<script'; ?>
 src="/Templates/<?php echo getenv('TEMPLATE');?>
/assets/js/slim.js"><?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'; ?>
>
  </body>
</html>
<?php }
/* {block 'main'} */
class Block_200639669362c23678d6da01_38256812 extends Smarty_Internal_Block
{
public $subBlocks = array (
  'main' => 
  array (
    0 => 'Block_200639669362c23678d6da01_38256812',
  ),
);
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
}
}
/* {/block 'main'} */
}
