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