From d8239f4122f013c95d8b734cf6e94ad17771306b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Ho=CC=88rler?= Date: Thu, 2 Mar 2017 08:14:31 +0100 Subject: [PATCH] im profile bei zeilen ohne Angebote den Button verstecken. --- Website/profile.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Website/profile.php b/Website/profile.php index 8046310..6b280d6 100644 --- a/Website/profile.php +++ b/Website/profile.php @@ -48,18 +48,23 @@ {echo "Fr. " . htmlentities($row['angebot_preis']) . " " . ""; }else{echo - "k. Angeb. bisher" . " " . ""; + "k.A." . " " . ""; } - echo + if (!empty(htmlentities($row['angebot_preis']))) { + echo "" . "
" . "" . "
" . "" . ""; - } + } else { + "" . "" . + "" . + ""; + } + } ?> -