Compare commits

..

No commits in common. "35fff7cc59b605634433a0b175c41edacc3cd647" and "baf57fec49b7b7833d1fe99133b11ffb9541b43b" have entirely different histories.

6 changed files with 30 additions and 7 deletions

View File

@ -10,10 +10,10 @@ abstract class Database {
/**
* Zugangsdaten für die Datenbank
*/
private $dbName = "pbbfa23csc_bibarts"; //Datenbankname
private $dbName = "bibarts"; //Datenbankname
private $linkName = "localhost"; //Datenbank-Server
private $user = "pbbfa23csc"; //Benutzername
private $pw = "gfDVACEQ9BZr"; //Passwort
private $user = "root"; //Benutzername
private $pw = ""; //Passwort
/**
* Stellt eine Verbindung zur Datenbank her

View File

@ -1,3 +1,7 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="inhalt">
<div class="form-container">
<h1>Event bearbeiten</h1>
@ -29,3 +33,5 @@
<a href="?controller=Event&do=showEvents">Zurück zur Übersicht</a>
</div>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@ -1,3 +1,7 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="inhalt">
<div class="form-container">
<h1>Ticket erfolgreich gekauft!</h1>
@ -25,3 +29,5 @@
<?php endif; ?>
</div>
</div>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@ -1,3 +1,7 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="inhalt">
<div class="form-container">
<h1>Ticket kaufen</h1>
@ -46,3 +50,5 @@
window.location.href = '<?= $redirect ?>';
</script>
<?php endif; ?>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@ -1,3 +1,7 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="inhalt">
<div class="content-container">
<div class="event-header">
@ -51,3 +55,5 @@
window.location.href = '<?= $redirect ?>';
</script>
<?php endif; ?>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

@ -15,7 +15,6 @@
<?php if (isset($_SESSION['user'])): ?>
<a id="link-tickets" class="links" href="?controller=Event&do=showEvents">Event</a>
<a id="link-infos" class="links" href="?controller=News&do=showNews">Infos</a>
<a id="link-tickets" class="links" href="?controller=Tickets&do=showTickets">Tickets</a>
<a id="link-profil" class="links" href="?controller=Profile&do=showProfile">Profil</a>
<?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
<a id="link-gutscheinverwaltung" class="links" href="?controller=Gutschein&do=adminVerwaltung">Gutscheine</a>