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 * Zugangsdaten für die Datenbank
*/ */
private $dbName = "pbbfa23csc_bibarts"; //Datenbankname private $dbName = "bibarts"; //Datenbankname
private $linkName = "localhost"; //Datenbank-Server private $linkName = "localhost"; //Datenbank-Server
private $user = "pbbfa23csc"; //Benutzername private $user = "root"; //Benutzername
private $pw = "gfDVACEQ9BZr"; //Passwort private $pw = ""; //Passwort
/** /**
* Stellt eine Verbindung zur Datenbank her * Stellt eine Verbindung zur Datenbank her

View File

@ -1,3 +1,7 @@
<?php
include dirname(__DIR__).'/header.phtml';
?>
<div class="inhalt"> <div class="inhalt">
<div class="form-container"> <div class="form-container">
<h1>Event bearbeiten</h1> <h1>Event bearbeiten</h1>
@ -28,4 +32,6 @@
</form> </form>
<a href="?controller=Event&do=showEvents">Zurück zur Übersicht</a> <a href="?controller=Event&do=showEvents">Zurück zur Übersicht</a>
</div> </div>
</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="inhalt">
<div class="form-container"> <div class="form-container">
<h1>Ticket erfolgreich gekauft!</h1> <h1>Ticket erfolgreich gekauft!</h1>
@ -25,3 +29,5 @@
<?php endif; ?> <?php endif; ?>
</div> </div>
</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="inhalt">
<div class="form-container"> <div class="form-container">
<h1>Ticket kaufen</h1> <h1>Ticket kaufen</h1>
@ -45,4 +49,6 @@
<script> <script>
window.location.href = '<?= $redirect ?>'; window.location.href = '<?= $redirect ?>';
</script> </script>
<?php endif; ?> <?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="inhalt">
<div class="content-container"> <div class="content-container">
<div class="event-header"> <div class="event-header">
@ -50,4 +54,6 @@
<script> <script>
window.location.href = '<?= $redirect ?>'; window.location.href = '<?= $redirect ?>';
</script> </script>
<?php endif; ?> <?php endif; ?>
<?php include dirname(__DIR__).'/footer.phtml'; ?>

View File

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