'; echo $form; } /* Creates Table that shows all lends */ $table = ""; $table .= ' '; if ($_SESSION['admin']==1) { $table .= ''; if (($_SESSION['admin']==1) or ($this->r_user_ID = $_SESSION['user_ID'])){ $table .= ''; } } $table .= ''; foreach ($this->aUser as $user_ID => $aResult) { $table .= ''; if ($_SESSION['admin']==1){ $table .= ''; if (($_SESSION['admin']==1) or ($this->r_user_ID = $_SESSION['user_ID'])){ $table .=' '; } } $table .= ''; } $table = $table."
'.$this->oLang->texts['USER_ID'].' '.$this->oLang->texts['SURNAME'].' '.$this->oLang->texts['FORENAME'].' '.$this->oLang->texts['EMAIL'].' '.$this->oLang->texts['UID'].''.$this->oLang->texts['BUTTON_CHANGE'].' '.$this->oLang->texts['BUTTON_DELETE'].''.$this->oLang->texts['BUTTON_SHOW_LOANS'].'
'.$aResult['user_ID'].' '.$aResult['forename'].' '.$aResult['surname'].' '.$aResult['email'].' '.$aResult['UID'].' '.$this->oLang->texts['BUTTON_CHANGE'].' '.$this->oLang->texts['BUTTON_DELETE'].' '.$this->oLang->texts['BUTTON_SHOW_LOANS'].'
"; echo $table; ?>