Sponsorenverwaltung - Team StarCraft e.V.
 All Data Structures Files Functions Variables
users.php File Reference

Handles most of the user-management tasks. More...

Go to the source code of this file.

Detailed Description

Handles most of the user-management tasks.

This file is under access-control!

Simply calling users.php without any GET-parameters will display an overview of all the users currently known to the system. Assuming that there are users of all types (active, not yet activated and deleted) you will see three tables. One for each of the mentioned types.

Given an GET-variable with name id followed by an number will display a view of the user with this id (if he exists). Therefore the script is taking the rank of the current user, the rank and the status of the selected user into account to present the appropriate view. For more details please consider reading the commented source code of this file and the source code of the four template files user_edit.tpl, user_readonly.tpl, user_selfinformation.tpl and users.tpl. You will see that it handles a number of POST-variables as well if they were set.

This file depends on inc/common.php, inc/templates/users.tpl, inc/templates/user_readonly.tpl, inc/templates/user_edit.tpl and inc/templates/user_selfinformation.tpl.

Version
1.0.0
Author
Daniel Seichter
Alexander Vorndran
Date
02.07.2013

Definition in file users.php.