good changes
This commit is contained in:
parent
906ca76332
commit
ab1afa29a3
@ -10,10 +10,10 @@ abstract class Database {
|
|||||||
/**
|
/**
|
||||||
* Zugangsdaten für die Datenbank
|
* Zugangsdaten für die Datenbank
|
||||||
*/
|
*/
|
||||||
private $dbName = "bibarts"; //Datenbankname
|
private $dbName = "pbbfa23csc_bibarts"; //Datenbankname
|
||||||
private $linkName = "localhost"; //Datenbank-Server
|
private $linkName = "localhost"; //Datenbank-Server
|
||||||
private $user = "root"; //Benutzername
|
private $user = "pbbfa23csc"; //Benutzername
|
||||||
private $pw = ""; //Passwort
|
private $pw = "gfDVACEQ9BZr"; //Passwort
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stellt eine Verbindung zur Datenbank her
|
* Stellt eine Verbindung zur Datenbank her
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
<?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>
|
||||||
@ -32,6 +28,4 @@ include dirname(__DIR__).'/header.phtml';
|
|||||||
</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'; ?>
|
|
@ -1,7 +1,3 @@
|
|||||||
<?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>
|
||||||
@ -29,5 +25,3 @@ include dirname(__DIR__).'/header.phtml';
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
|
@ -1,7 +1,3 @@
|
|||||||
<?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>
|
||||||
@ -49,6 +45,4 @@ include dirname(__DIR__).'/header.phtml';
|
|||||||
<script>
|
<script>
|
||||||
window.location.href = '<?= $redirect ?>';
|
window.location.href = '<?= $redirect ?>';
|
||||||
</script>
|
</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
|
@ -1,7 +1,3 @@
|
|||||||
<?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">
|
||||||
@ -54,6 +50,4 @@ include dirname(__DIR__).'/header.phtml';
|
|||||||
<script>
|
<script>
|
||||||
window.location.href = '<?= $redirect ?>';
|
window.location.href = '<?= $redirect ?>';
|
||||||
</script>
|
</script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
|
@ -15,6 +15,7 @@
|
|||||||
<?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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user