AuthUser(); if($Usr['type'] != 'admin' && $Usr['type'] != 'direccion' && $Usr['type'] != 'almacen' && $Usr['type'] != 'centralizador'){ header('Location: '.WEB_ROOT); exit; } $cuentaBancaria->SetPage($_GET["p"]); $cuentasBancarias = $cuentaBancaria->Enumerate(); $smarty->assign('cuentasBancarias', $cuentasBancarias); ?>