= strtotime($ten_days_before_expiry) && strtotime($current_date) <= strtotime($expiration_date)) {
echo " class='expiring'"; // Klasse 'expiring' hinzufügen
}
echo ">";
echo "= strtotime($ten_days_before_expiry) && strtotime($current_date) <= strtotime($expiration_date)) {
echo " style='color: red;'"; // Schriftfarbe auf Rot setzen
}
echo ">" . $row["item_name"] . " | ";
echo "" . $row["manufacturer"] . " | ";
echo "" . $row["location"] . " | ";
echo "" . $row["amount_should"] . " | ";
echo "" . $row["amount_is"] . " | ";
echo "" . $expiration_date . " | ";
echo "" . $notification_days . " | ";
echo "" . $row["barcode"] . " | ";
echo "";
if (!empty($row["image"])) {
echo " ";
} else {
echo " ";
}
echo " | ";
echo " |  | ";
echo "
";
// Bearbeitungsformular für jedes Element einfügen
echo "