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