diff --git a/main.php3 b/main.php3 index 2b0f332f8..bad1ee892 100755 --- a/main.php3 +++ b/main.php3 @@ -132,7 +132,7 @@ if($server > 0) { } ?> "; diff --git a/user_details.php3 b/user_details.php3 index f8a2b5a8d..2e7a09b42 100644 --- a/user_details.php3 +++ b/user_details.php3 @@ -1,7 +1,7 @@ >Grants --> " . $row{"User"}. "" : "$strAny"; ?> - $strNo"; ?> + $strNo"; ?> @@ -756,7 +757,7 @@ function confirm() { if(!isset($message)) { - include("header.inc.php3"); + include("./header.inc.php3"); } else { @@ -766,7 +767,7 @@ else $self = "user_details.php3"; check_rights(); -if ($host) { +if (!empty($host)) { echo "

"; if ($host) echo "$strHost $host - $strUser "; echo ($user) ? $user : "$strAny"; @@ -818,9 +819,11 @@ if (isset($edit) && $edit) { # Edit an user check_operations(); } else { # Users actions + if (!isset($host)) $host = false; + if (!isset($user)) $user = false; table_users($host, $user) || mysql_die($strNoUsersFound); normal_operations(); } -require ("footer.inc.php3"); +require("./footer.inc.php3"); ?>