diff --git a/M2/Werbeseite/gerichte.php b/M2/Werbeseite/gerichte.php index 65bf846..826be87 100644 --- a/M2/Werbeseite/gerichte.php +++ b/M2/Werbeseite/gerichte.php @@ -9,19 +9,23 @@ $gerichte = [ 1 => ['name' => 'Rindfleich mit Bambus, Kaiserschoten und roter Paprika, dazu Mie Nudeln', 'priceint' => 3.50, - "priceex" => 6.20 + "priceex" => 6.20, + "img" =>"img/bambus.jpg" ], 2 => ['name' => 'Spinatrisotto mit kleinen Samosateigecken und gemischter Salat', 'priceint' => 2.90, - "priceex" => 5.30 + "priceex" => 5.30, + "img" =>"img/risotto.jpg" ], 3 => ['name' => 'Spaghetti Bolognese', 'priceint' => 3, - "priceex" => 5 + "priceex" => 5, + "img" =>"img/bolo.jpg" ], 4 => ['name' => 'Spaghetti Carbonara', 'priceint' => 3, - "priceex" => 5 + "priceex" => 5, + "img" =>"img/carbonara.jpg" ] ] ?> \ No newline at end of file diff --git a/M2/Werbeseite/img/bambus.jpg b/M2/Werbeseite/img/bambus.jpg new file mode 100644 index 0000000..83a2cb5 Binary files /dev/null and b/M2/Werbeseite/img/bambus.jpg differ diff --git a/M2/Werbeseite/img/bolo.jpg b/M2/Werbeseite/img/bolo.jpg new file mode 100644 index 0000000..5fcab51 Binary files /dev/null and b/M2/Werbeseite/img/bolo.jpg differ diff --git a/M2/Werbeseite/img/carbonara.jpg b/M2/Werbeseite/img/carbonara.jpg new file mode 100644 index 0000000..a9c990b Binary files /dev/null and b/M2/Werbeseite/img/carbonara.jpg differ diff --git a/M2/Werbeseite/img/risotto.jpg b/M2/Werbeseite/img/risotto.jpg new file mode 100644 index 0000000..a9ae088 Binary files /dev/null and b/M2/Werbeseite/img/risotto.jpg differ diff --git a/M2/Werbeseite/index.php b/M2/Werbeseite/index.php index 23df1b2..6a5ec11 100644 --- a/M2/Werbeseite/index.php +++ b/M2/Werbeseite/index.php @@ -37,6 +37,9 @@ include "gerichte.php"; .speisen td { border: solid; border-collapse: collapse; + border-radius: 4px; + padding: 5px; + width: 150px; } .speisen td:not(:first-of-type) { @@ -139,6 +142,7 @@ include "gerichte.php";