'.$aResult['loan_ID'].' |
'.$aResult['pickup_date'].' |
';
if($aResult['return_date'] == 0000-00-00){
$table .= $this->oLang->texts['STATUS_LENT'];
}
else{
$table.= $aResult['return_date'];
}
$table .= ' |
'.$this->all_book[$aResult['ID']]['title'].$this->all_material[$aResult['ID']]['name'].' |
'.$aResult['ID'].' |
'.$this->all_user[$aResult['user_ID']]['forename'].' |
'.$this->all_user[$aResult['user_ID']]['surname'].' |
'.$aResult['user_ID'].' | ';
if($_SESSION['admin']==1){
$table .=
' '.$this->oLang->texts['BUTTON_CHANGE'].' <> |
';
if ($aResult['return_date']==000-00-00){
$table .='
'.$this->oLang->texts['BUTTON_RETURN'].' <> | ';
}
else{
$table .='
'.$this->oLang->texts['ALREADY_RETURNED'].' | ';
}
$table .='
';
}
}
$table = $table."";
echo $table;
$form ='