+
";
}
}
-
+
if (isset($_GET["delete"])) {
if ($_GET["delete"]=="true") {
echo "
@@ -110,7 +110,7 @@ if ($user->isAdmin()) {
$odd=false;
$rs = $user->getUsers();
if ($db->contarRegistros()>0) {
- while ($register = mysql_fetch_array($rs)) {
+ while ($register = $rs->fetch()) {
?>
-".__("The user has been added successfully.")."
".__("The user has been eliminated successfully.")."
";
}
}
-
+
if (isset($_GET["modified"])) {
if ($_GET["modified"]=="true") {
echo "".__("The user has been modified successfully.")."
";
}
}
-
+
if (isset($_GET["error"])) {
if ($_GET["error"]==1) {
echo "".__("The username is not available.")."
";
} elseif ($_GET["error"]==2) {
echo "".__("Error on the database server:.")." ".$_GET["des"]."
";
}
- } ?>
+ } ?>
| - | "> | +"> | ">"> | - +|