16 lines
384 B
PHP
Executable File
16 lines
384 B
PHP
Executable File
<?php
|
|
|
|
$empresa->AuthUser();
|
|
|
|
if($Usr['type'] != 'admin' && $Usr['type'] != 'direccion' && $Usr['type'] != 'compras' && $Usr['type'] != 'almacen' && $Usr['type'] != 'centralizador'){
|
|
header('Location: '.WEB_ROOT);
|
|
exit;
|
|
}
|
|
|
|
$p = intval($_GET["p"] ?? 0);
|
|
$temporada->SetPage($p);
|
|
$temporadas = $temporada->Enumerate();
|
|
|
|
$smarty->assign('temporadas', $temporadas);
|
|
|
|
?>
|