diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-12-26 16:25:39 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-12-26 16:25:39 +0100 |
commit | 278dc8e5b0c3830e661fd8297a65e71a66eed4ce (patch) | |
tree | 2c8a9657f177e012df14cd9e6fadc74ca4d2d222 /includes | |
parent | 0d37e85f347a59e51a94c0bc7443c0377f6efba6 (diff) |
changed angel types table layout
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/guest_login.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index a210a7ce..afcc2cf5 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -20,6 +20,12 @@ function guest_register() { $comment = ""; $tshirt_size = 'S'; $password_hash = ""; + $selected_angel_types = array (); + + $angel_types_source = sql_select("SELECT * FROM `AngelTypes` ORDER BY `name`"); + $angel_types = array (); + foreach ($angel_types_source as $angel_type) + $angel_types[$angel_type['id']] = $angel_type['name'] . ($angel_type['restricted'] ? " (restricted)" : ""); if (isset ($_REQUEST['submit'])) { $ok = true; |