From ab1afa29a358c405ce7c2256f0f5120f27517a40 Mon Sep 17 00:00:00 2001 From: pbbfa23cse Date: Fri, 11 Jul 2025 23:33:11 +0200 Subject: [PATCH] good changes --- Model/Database.php | 6 +++--- Views/Event/showUpdateEvent.phtml | 8 +------- Views/Ticket/buyTicket.phtml | 6 ------ Views/Ticket/buyTicketForm.phtml | 8 +------- Views/Tickets/showTickets.phtml | 8 +------- Views/header.phtml | 1 + 6 files changed, 7 insertions(+), 30 deletions(-) diff --git a/Model/Database.php b/Model/Database.php index 19cfcf5..6bc235f 100644 --- a/Model/Database.php +++ b/Model/Database.php @@ -10,10 +10,10 @@ abstract class Database { /** * Zugangsdaten für die Datenbank */ - private $dbName = "bibarts"; //Datenbankname + private $dbName = "pbbfa23csc_bibarts"; //Datenbankname private $linkName = "localhost"; //Datenbank-Server - private $user = "root"; //Benutzername - private $pw = ""; //Passwort + private $user = "pbbfa23csc"; //Benutzername + private $pw = "gfDVACEQ9BZr"; //Passwort /** * Stellt eine Verbindung zur Datenbank her diff --git a/Views/Event/showUpdateEvent.phtml b/Views/Event/showUpdateEvent.phtml index f10e9cd..7319a64 100644 --- a/Views/Event/showUpdateEvent.phtml +++ b/Views/Event/showUpdateEvent.phtml @@ -1,7 +1,3 @@ - -

Event bearbeiten

@@ -32,6 +28,4 @@ include dirname(__DIR__).'/header.phtml'; Zurück zur Übersicht
-
- - \ No newline at end of file + \ No newline at end of file diff --git a/Views/Ticket/buyTicket.phtml b/Views/Ticket/buyTicket.phtml index a158473..267fece 100644 --- a/Views/Ticket/buyTicket.phtml +++ b/Views/Ticket/buyTicket.phtml @@ -1,7 +1,3 @@ - -

Ticket erfolgreich gekauft!

@@ -29,5 +25,3 @@ include dirname(__DIR__).'/header.phtml';
- - \ No newline at end of file diff --git a/Views/Ticket/buyTicketForm.phtml b/Views/Ticket/buyTicketForm.phtml index 85f40a8..4f8eb36 100644 --- a/Views/Ticket/buyTicketForm.phtml +++ b/Views/Ticket/buyTicketForm.phtml @@ -1,7 +1,3 @@ - -

Ticket kaufen

@@ -49,6 +45,4 @@ include dirname(__DIR__).'/header.phtml'; - - - \ No newline at end of file + \ No newline at end of file diff --git a/Views/Tickets/showTickets.phtml b/Views/Tickets/showTickets.phtml index 27df9d3..e39798c 100644 --- a/Views/Tickets/showTickets.phtml +++ b/Views/Tickets/showTickets.phtml @@ -1,7 +1,3 @@ - -
@@ -54,6 +50,4 @@ include dirname(__DIR__).'/header.phtml'; - - - \ No newline at end of file + \ No newline at end of file diff --git a/Views/header.phtml b/Views/header.phtml index 50b7ce9..2d4b725 100644 --- a/Views/header.phtml +++ b/Views/header.phtml @@ -15,6 +15,7 @@ Event Infos + Tickets Profil Gutscheine