Commit Bulk

This commit is contained in:
2023-08-28 15:26:15 +00:00
parent 6c15e330c4
commit 674fe5f264
54 changed files with 2838 additions and 1490 deletions

View File

@@ -9,7 +9,7 @@ if (!isset($_SESSION['user'])){
else
$user = unserialize($_SESSION['user']);
$user->access();
if(!$user->admin && $user->acceso == 'n'){
if($user->acceso == null){
header('Location: main.php?error=1');
}else{
$user->print_to_log('Roles');
@@ -40,11 +40,7 @@ echo $fac;
"Gestión de Checador "
);
$user->access();
$fs_roles = query(
"SELECT * FROM rol ORDER BY rol_titulo",
null,
false
);
$fs_roles = $db->orderBy('rol_titulo')->get('rol');
?>
<main class="content marco">
<?php if($user->acceso == 'w'){?>
@@ -60,7 +56,7 @@ echo $fac;
<div class="col-12 table-responsive">
<table class="table table-sm table-striped table-white">
<thead class="thead-dark">
<th>Titulo</th>
<th>Título</th>
<?php if($user->acceso == 'w'){?>
<th>Acciones</th>
<?php }?>