X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/3bbf318b1618ff9ba0352ff789c1c6ba010cd72d..651ed8fa13a9705676dbfd800639f61dbcbac273:/src/admin.creditos.php?ds=inline diff --git a/src/admin.creditos.php b/src/admin.creditos.php index c04af01..270255f 100644 --- a/src/admin.creditos.php +++ b/src/admin.creditos.php @@ -28,19 +28,19 @@ if (isset($_POST['admin_cred']) and isset($_POST['admin_cred_user']) $u->addCreditos($_POST['admin_cred']); ok('Se agregaron '.$_POST['admin_cred'].' créditos al usuario ' .$u->getNombre().' '.$u->getApellido()); - admin_form_creditos(Usuario::getAll(), $u->getId(),$_POST['admin_cred']); + admin_form_creditos(Usuario::getSocios(), $u->getId(),$_POST['admin_cred']); } else { - admin_form_creditos(Usuario::getAll(), $_POST['admin_cred_user'], + admin_form_creditos(Usuario::getSocios(), $_POST['admin_cred_user'], $_POST['admin_cred']); } } else // Si no llenó el formulario { - admin_form_creditos(Usuario::getAll()); + admin_form_creditos(Usuario::getSocios()); } -marco_pie('Leandro Lucarella', 'llucare@fi.uba.ar'); +marco_pie('Leandro Lucarella', 'llucare@fi.uba.ar', 'img/luca.png'); ?> \ No newline at end of file