'."\n"; $GlobalContent.=' '."\n"; $GlobalContent.=' Id'."\n"; $GlobalContent.=' Login'."\n"; $GlobalContent.=' Password'."\n"; for ($i=1;$i'."\n"; } $GlobalContent.=' '."\n"; $GlobalContent.=' '."\n"; $GlobalContent.=' '."\n"; //existing users while ($UserRecord=mysqli_fetch_array($UserQuery)) { $GlobalContent.=' '."\n"; $GlobalContent.='
'."\n"; $GlobalContent.=' '.$UserRecord['Id'].''."\n"; $GlobalContent.=' '."\n"; $GlobalContent.=' '."\n"; $RightsQuery="SELECT * FROM `UserRights` WHERE `Id` = ".$UserRecord['Id']." LIMIT 1"; if (!$RightsQuery=mysqli_query($GlobalMysqlHandler, $RightsQuery)) ErrorLog('[edit_users.php-$RightsQuery] Database error or user id '.$UserRecord['Id'].' not found in UserRights'); $RightsRecord=mysqli_fetch_row($RightsQuery); for ($i=1;$i<(mysqli_num_fields($RightsQuery));$i++) { $GlobalContent.=' '."\n"; } $GlobalContent.=' '."\n"; $GlobalContent.=' '.OtherGetIcon('Delete',0).''."\n"; $GlobalContent.='
'."\n"; $GlobalContent.=' '."\n"; } //new user entry $GlobalContent.=' '."\n"; $GlobalContent.='
'."\n"; $GlobalContent.=' '.$UserRecord[$i].''."\n"; $GlobalContent.=' '."\n"; $GlobalContent.=' '."\n"; for ($i=1;$i<(mysqli_num_fields($RightsQuery));$i++) { $GlobalContent.=' '."\n"; } $GlobalContent.=' '."\n"; $GlobalContent.=' '."\n"; $GlobalContent.='
'."\n"; $GlobalContent.=' '."\n"; $GlobalContent.=''."\n"; } else { MessageError(LangSpell("ScentenceNoUserRights")); } ?>