0)
{
$moduleurl = substr($moduleurl,0,$urlcut);
}
else
{
if(strpos($moduleurl, "?") == 0)
{
$moduleurl = $_SERVER["REQUEST_URI"]."?site=1";
}
}
$mode = $_REQUEST["uebergabe"];
$status = $_REQUEST["uebergabe2"];
echo"
Home
| Add new User
| Edit User
| Delete User
| View Users
";
switch($status)
{
case 1:
echo "User added successfully!";
break;
case 2:
echo "User edited successfully!";
break;
case 3:
echo "User deleted successfully!";
break;
default:
break;
}
switch($mode)
{
case 1:
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/adduser_index.php");
break;
case 2:
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/edituser_index.php");
break;
case 3:
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/deleteuser_index.php");
break;
case 4:
include ($_SERVER["DOCUMENT_ROOT"]."/Admin/Modules/Usermanagement/include/viewuser_index.php");
break;
default:
echo"User Management
Choose an action:
# Add new User
# Edit User
# Delete User
# View Users
";
break;
}
?>