= $ten_days_before_expiry && $current_date <= $expiration_date) {
echo " class='expiring'";
}
echo ">";
echo "" . $row["item_name"] . " | ";
echo "" . $row["manufacturer"] . " | ";
echo "" . $row["location"] . " | ";
echo "" . $row["amount_should"] . " | ";
echo "" . $row["amount_is"] . " | ";
echo "" . $row["expiration_date"] . " | ";
echo "" . $row["barcode"] . " | ";
echo "";
if (!empty($row["image"])) {
echo "";
} else {
echo "";
}
echo " | ";
echo " | | ";
echo "
";
// Bearbeitungsformular für jedes Element einfügen
echo "