<?php $r="../";
require_once($r."inc/funciones.php");
validNotSession($r);
$spe=$_SESSION['perfil'];if($spe!=$pad && $spe!=$psu){exit(header("Location:".$r."dashboard.php?error=Tu No Puedes Ingresar un Gasto"));} 
?>
<!DOCTYPE html>
<html lang="en">
  <?php include $r."inc/head.php"; ?>
<body class="fixed-nav sticky-footer  sidenav-toggled  bg-dark" id="page-top">
  <?php include $r."inc/nav.php"; ?>
  
  <div class="content-wrapper">
    <div class="container-fluid">
      <h2 class="text-center"><i class="fa fa-gift"></i> NUEVO CATEGORIA DE GASTO-INVERSION</h2><hr/>
      <form id="formulario" name="cinversion" action="acciones.php" method="post">
        <input type="hidden" name="cinversion" value="cinversion">
        <div class="form-group row">
            <label for="categoria" class="col-sm-2 col-form-label"><span class="text-danger h5">*</span>Nombre de la Categoria.</label>
            <div class="col-sm-9">
                <input type="text" class="form-control" id="categoria" name="categoria" placeholder="Nombre de la Categoria" autocomplete="off" required>
            </div>
        </div>
        <button type="submit" class="btn btn-primary btn-block">Ingresar Categoria</button>
      </form>
    </div>
  </div>
  <? include $r."inc/foot.php"; ?>
</body>
</html>