add eventname to headers
This commit is contained in:
parent
470bf5a494
commit
91f7f1daf4
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Admin <?php echo EVENTNAME ?></title>
|
||||||
<link rel="stylesheet" href="css/style_common.css"/>
|
<link rel="stylesheet" href="css/style_common.css"/>
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -53,7 +53,8 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
|
|
||||||
<table class="commontable">
|
<table class="commontable">
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> <b>Admin HelferDB</b>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> <b>Admin HelferDB <?php echo EVENTNAME; ?>
|
||||||
|
</b>
|
||||||
</th>
|
</th>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See Alle Schichten</title>
|
<title>Helfer <?php echo EVENTNAME ?> Alle Schichten</title>
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
|
|
@ -27,7 +27,8 @@ if ($AdminStatus != 1) {
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button>
|
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button>
|
||||||
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Admin <?php echo EVENTNAME ?></title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Admin <?php echo EVENTNAME ?></title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_common.css"/>
|
<link rel="stylesheet" href="css/style_common.css"/>
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See - Schichten editieren</title>
|
<title>Admin <?php echo EVENTNAME ?> - Schichten editieren</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -23,7 +23,9 @@ if ($AdminStatus != 1) {
|
||||||
<meta name="viewport" content="width=480" />
|
<meta name="viewport" content="width=480" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <h4 style="display: inline;">Admin: Schichten editieren</h4>
|
<div><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <h4 style="display: inline;">Admin: Schichten editieren -
|
||||||
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
|
</h4>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,16 +39,14 @@ HelferAuswahlButton($db_link, $AliasHelferID);
|
||||||
$_SESSION["AliasHelferID"] = $AliasHelferID;
|
$_SESSION["AliasHelferID"] = $AliasHelferID;
|
||||||
$AdminID = $_SESSION["AdminID"];
|
$AdminID = $_SESSION["AdminID"];
|
||||||
|
|
||||||
echo "Admin=$AdminID<br>";
|
//debug output: echo "Admin=$AdminID<br>"; echo "Helfer=$HelferID<br>"; echo "Alias=$AliasHelferID<br>";
|
||||||
echo "Helfer=$HelferID<br>";
|
|
||||||
echo "Alias=$AliasHelferID<br>";
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Drop am See Helferdaten ändern</title>
|
<title><?php echo EVENTNAME ?> Helferdaten ändern</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -129,7 +127,7 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||||
<table id="customers">
|
<table id="customers">
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> Helferdaten</th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> Helferdaten</th>
|
||||||
</tr>
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td></tr><tr><td>
|
<td>Name</td></tr><tr><td>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,15 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See Alle Schichten</title>
|
<title>Helfer <?php echo EVENTNAME ?> Alle Schichten</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -15,26 +23,11 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button>
|
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button>
|
||||||
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
<h1> Alle Schichten / Schichten hinzufügen </h1>
|
<h1> Alle Schichten / Schichten hinzufügen </h1>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
require '_login.php';
|
|
||||||
|
|
||||||
|
|
||||||
/// Detailinformation zu ausgewaehlten Schicht Holen
|
/// Detailinformation zu ausgewaehlten Schicht Holen
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
if (isset($_POST['CloseInfo'])) {
|
if (isset($_POST['CloseInfo'])) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,16 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Admin <?php echo EVENTNAME ?></title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -14,33 +23,12 @@
|
||||||
|
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
|
|
||||||
<?php
|
|
||||||
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
DatenbankAufDeutsch($db_link);
|
|
||||||
|
|
||||||
require '_login.php';
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<table id="customers" >
|
<table id="customers" >
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Dienst DAS 2023</b></th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'Admin.php';"><b>↩</b></button> <b>Übersicht Dienst DAS 2023</b></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
echo '<table id="customers" >';
|
echo '<table id="customers" >';
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if ($AdminStatus != 1) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Admin <?php echo EVENTNAME ?></title>
|
||||||
<link rel="stylesheet" href="css/style_common.css"/>
|
<link rel="stylesheet" href="css/style_common.css"/>
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -28,8 +28,6 @@ if ($AdminStatus != 1) {
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
DatenbankAufDeutsch($db_link);
|
|
||||||
|
|
||||||
$AliasHelferID = 0;
|
$AliasHelferID = 0;
|
||||||
|
|
||||||
if (isset($_SESSION["AliasHelferID"])) {
|
if (isset($_SESSION["AliasHelferID"])) {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -12,18 +21,6 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
SESSION_START();
|
|
||||||
//$HelferID = $_SESSION["HelferId"];
|
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
|
|
||||||
if (isset($_POST['sent'])) {
|
if (isset($_POST['sent'])) {
|
||||||
$messages = [];
|
$messages = [];
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,15 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head></head>
|
<head></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once 'konfiguration.php';
|
|
||||||
|
|
||||||
if (isset($_GET['token'])) {
|
if (isset($_GET['token'])) {
|
||||||
// E-Mail-Adresse des Nutzers
|
// E-Mail-Adresse des Nutzers
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,16 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See</title>
|
<title>Helfer <?php echo EVENTNAME ?></title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -9,35 +18,10 @@
|
||||||
<meta name="viewport" content="width=480" />
|
<meta name="viewport" content="width=480" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
|
||||||
//<button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button><br>
|
|
||||||
?>
|
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once ('konfiguration.php');
|
|
||||||
//require_once ('SQL.php');
|
|
||||||
include 'SQL.php';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$db_link = mysqli_connect (
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// Detailinformation zu ausgewaehlten Schicht Holen
|
/// Detailinformation zu ausgewaehlten Schicht Holen
|
||||||
////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(isset($_GET['InfoAlleSchichtID']))
|
if(isset($_GET['InfoAlleSchichtID']))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ if (isset($_POST['helfer-status'])) {
|
||||||
|
|
||||||
// nicht sicher, wo so ein default-text herkommen sollte
|
// nicht sicher, wo so ein default-text herkommen sollte
|
||||||
// oder ob es tatsächlich einen geben sollte
|
// oder ob es tatsächlich einen geben sollte
|
||||||
$email_subject = "Drop am See beginnt bald!";
|
$email_subject = "<?php echo EVENTNAME ?> beginnt bald!";
|
||||||
if (isset($_POST['email-subject'])) {
|
if (isset($_POST['email-subject'])) {
|
||||||
$email_subject = $_POST['email-subject'];
|
$email_subject = $_POST['email-subject'];
|
||||||
}
|
}
|
||||||
|
|
@ -68,7 +68,7 @@ XXtokenXX
|
||||||
Du kannst dich auch später wieder über den Link einloggen und die Schicht ändern.
|
Du kannst dich auch später wieder über den Link einloggen und die Schicht ändern.
|
||||||
|
|
||||||
Viele Grüße,
|
Viele Grüße,
|
||||||
dein Drop am See Team
|
dein <?php echo EVENTNAME ?> Team
|
||||||
";
|
";
|
||||||
|
|
||||||
if (isset($_POST['email-text'])) {
|
if (isset($_POST['email-text'])) {
|
||||||
|
|
@ -84,7 +84,7 @@ if (isset($_POST['sendmail'])) {
|
||||||
?>
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See: Email Tokens generieren</title>
|
<title>Helfer <?php echo EVENTNAME ?>: Email Tokens generieren</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,16 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See Home</title>
|
<title>Helfer <?php echo EVENTNAME ?> Home</title>
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
<meta http-equiv="Refresh" content="0; url=<?php require_once 'konfiguration.php';
|
<meta http-equiv="Refresh" content="0; url=<?php echo INFORMATIONS_URL;?>" />
|
||||||
echo INFORMATIONS_URL;?>" />
|
|
||||||
<meta name="viewport" content="width=480" />
|
<meta name="viewport" content="width=480" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -38,7 +47,6 @@
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
</style-->
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,27 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Admin Drop am See</title>
|
<title>Meine Schichten <?php echo EVENTNAME ?></title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
<meta name="viewport" content="width=480" />
|
<meta name="viewport" content="width=480" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button>
|
<button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button>
|
||||||
|
<?php echo "<b>" . EVENTNAME . "</b>"; ?>
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
//require_once ('SQL.php');
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// Detailinformation zu ausgewaehlten Schicht Holen
|
/// Detailinformation zu ausgewaehlten Schicht Holen
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
if (isset($_POST['CloseInfo'])) {
|
if (isset($_POST['CloseInfo'])) {
|
||||||
|
|
@ -275,9 +267,9 @@ echo '<table id="customers">';
|
||||||
|
|
||||||
echo "<thead>";
|
echo "<thead>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<th colspan=4>" . "Meine Schichten (" . $iSQLCount . " Schichten)</th>";
|
echo "<th colspan=4>" . "Meine Schichten (" . $iSQLCount . " Schichten) - " . EVENTNAME . "</th>";
|
||||||
echo "</tr><tr>";
|
echo "</tr><tr>";
|
||||||
echo "<th></th>";
|
echo "<th>Dienst</th>";
|
||||||
echo "<th style='width:180px'>" . "Von" . "</th>";
|
echo "<th style='width:180px'>" . "Von" . "</th>";
|
||||||
echo "<th style='width:180px'>" . "Bis" . "</th>";
|
echo "<th style='width:180px'>" . "Bis" . "</th>";
|
||||||
echo "<th style='width:90px'>" . "Del" . "</th>";
|
echo "<th style='width:90px'>" . "Del" . "</th>";
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -7,18 +16,11 @@
|
||||||
|
|
||||||
<!--meta name="viewport" content="width=480" /-->
|
<!--meta name="viewport" content="width=480" /-->
|
||||||
<?php
|
<?php
|
||||||
require_once 'konfiguration.php';
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
|
|
||||||
// if we are not logged in, we redirect in the header back to the main page
|
|
||||||
if (!isset($_SESSION["HelferID"]) || ! $_SESSION["HelferID"] > 0) {
|
|
||||||
echo ' <meta http-equiv="Refresh" content="0; URL=index.php" />
|
|
||||||
';
|
|
||||||
}
|
|
||||||
// print top of page if we are logged in and not redirecting
|
// print top of page if we are logged in and not redirecting
|
||||||
echo " </head> \n <body> \n";
|
echo " </head> \n <body> \n";
|
||||||
echo '<button name="BackHelferdaten" value="1" onclick="window.location.href = \'index.php\';"><b>↩</b></button><br>' . "\n";
|
echo '<button name="BackHelferdaten" value="1" onclick="window.location.href = \'index.php\';"><b>↩</b></button>' . "\n";
|
||||||
|
echo "<b>" . EVENTNAME . "</b><br>";
|
||||||
echo '<H1> Helferdaten - Log </H1>';
|
echo '<H1> Helferdaten - Log </H1>';
|
||||||
echo '<p>Hier werden alle Aktionen, die einen Helfer betreffen aufgelistet</p>';
|
echo '<p>Hier werden alle Aktionen, die einen Helfer betreffen aufgelistet</p>';
|
||||||
echo '<table id="customers">' . "\n";
|
echo '<table id="customers">' . "\n";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
require_once 'konfiguration.php';
|
||||||
|
|
@ -11,6 +10,7 @@ function ConnectDB()
|
||||||
MYSQL_KENNWORT,
|
MYSQL_KENNWORT,
|
||||||
MYSQL_DATENBANK
|
MYSQL_DATENBANK
|
||||||
);
|
);
|
||||||
|
DatenbankAufDeutsch($db_link);
|
||||||
return $db_link;
|
return $db_link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
if ($AdminStatus != 1) {
|
||||||
|
//Seite nur fuer Admins. Weiter zu index.php und exit, wenn kein Admin
|
||||||
|
echo '<!doctype html><head><meta http-equiv="Refresh" content="0; URL=index.php" /></head></html>';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
@ -12,19 +26,6 @@
|
||||||
<!--h1> Alle Schichten Ausdruck</h1-->
|
<!--h1> Alle Schichten Ausdruck</h1-->
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<?php
|
<?php
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once('konfiguration.php');
|
|
||||||
include 'SQL.php';
|
|
||||||
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
include '_login.php';
|
|
||||||
|
|
||||||
/// Detailinformation zu ausgewaehlten Schicht Holen
|
/// Detailinformation zu ausgewaehlten Schicht Holen
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
SESSION_START();
|
SESSION_START();
|
||||||
|
|
||||||
|
|
@ -10,13 +9,8 @@ require '_crypt.php';
|
||||||
$head = "<!doctype html>
|
$head = "<!doctype html>
|
||||||
<head></head> <body> ";
|
<head></head> <body> ";
|
||||||
$foot = "</body></html>";
|
$foot = "</body></html>";
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
// ist jetzt in _crypt.php, aber aus der anderen Datei, deshalb hier erst
|
// ist jetzt in _crypt.php, aber aus der anderen Datei, deshalb hier erst
|
||||||
// nur auskommentiert
|
// nur auskommentiert
|
||||||
// function Entschluessle($encrypted_data,$secret_verification,$secret_key){
|
// function Entschluessle($encrypted_data,$secret_verification,$secret_key){
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,16 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Drop am See Helferdaten ändern</title>
|
<title><?php echo EVENTNAME ?> Helferdaten ändern</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
|
@ -11,24 +20,10 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
$HelferID = $_SESSION["HelferID"];
|
$HelferID = $_SESSION["HelferID"];
|
||||||
$AdminID = $_SESSION["AdminID"];
|
$AdminID = $_SESSION["AdminID"];
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
//require_once ('SQL.php');
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// Helferdaten Aendern
|
/// Helferdaten Aendern
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|
@ -117,7 +112,7 @@ if (isset($_POST['login'])) {
|
||||||
|
|
||||||
<table id="customers">
|
<table id="customers">
|
||||||
<tr>
|
<tr>
|
||||||
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> Helferdaten</th>
|
<th><button name="BackHelferdaten" value="1" onclick="window.location.href = 'index.php';"><b>↩</b></button> Helferdaten <?php echo EVENTNAME; ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require_once 'SQL.php';
|
||||||
|
|
||||||
/// Logout
|
/// Logout
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
if (isset($_GET['logout']) || isset($_POST['logout'])) {
|
if (isset($_GET['logout']) || isset($_POST['logout'])) {
|
||||||
|
|
@ -39,6 +42,16 @@ if (isset($_POST['login'])) {
|
||||||
|
|
||||||
if (!isset($_SESSION["HelferID"])) {
|
if (!isset($_SESSION["HelferID"])) {
|
||||||
?>
|
?>
|
||||||
|
<!doctype html>
|
||||||
|
<html lang=de>
|
||||||
|
<head>
|
||||||
|
<title>Helfer <?php echo EVENTNAME ?> Home</title>
|
||||||
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
|
<meta name="viewport" content="width=480" />
|
||||||
|
<meta charset="utf-8">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
<form method="post" action="#Info">
|
<form method="post" action="#Info">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
@ -67,6 +80,8 @@ if (!isset($_SESSION["HelferID"])) {
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
<?php
|
<?php
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,21 @@
|
||||||
|
<?php
|
||||||
|
// Login und Admin Status testen. Wenn kein Admin-Status, Weiterleiten auf index.php und beenden
|
||||||
|
SESSION_START();
|
||||||
|
require_once 'konfiguration.php';
|
||||||
|
require 'SQL.php';
|
||||||
|
$db_link = ConnectDB();
|
||||||
|
require '_login.php';
|
||||||
|
|
||||||
|
if ($AdminStatus != 1) {
|
||||||
|
//Seite nur fuer Admins. Weiter zu index.php und exit, wenn kein Admin
|
||||||
|
echo '<!doctype html><head><meta http-equiv="Refresh" content="0; URL=index.php" /></head></html>';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang=de>
|
<html lang=de>
|
||||||
<head>
|
<head>
|
||||||
<title>Helfer Drop am See Home</title>
|
<title>Helfer <?php echo EVENTNAME ?> Home</title>
|
||||||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||||
<script src=js/helferdb.js></script>
|
<script src=js/helferdb.js></script>
|
||||||
|
|
@ -9,40 +23,11 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php
|
|
||||||
SESSION_START();
|
|
||||||
|
|
||||||
require_once 'konfiguration.php';
|
|
||||||
require 'SQL.php';
|
|
||||||
|
|
||||||
$db_link = mysqli_connect(
|
|
||||||
MYSQL_HOST,
|
|
||||||
MYSQL_BENUTZER,
|
|
||||||
MYSQL_KENNWORT,
|
|
||||||
MYSQL_DATENBANK
|
|
||||||
);
|
|
||||||
|
|
||||||
DatenbankAufDeutsch($db_link);
|
|
||||||
|
|
||||||
require '_login.php';
|
|
||||||
|
|
||||||
// wird von _login.php miterledigt
|
|
||||||
// TODO: hier wird HelferIsAdmin verwendet, woanders ist es AdminStatus
|
|
||||||
//$db_erg = Helferdaten($db_link,$HelferID);
|
|
||||||
//while ($zeile = mysqli_fetch_array( $db_erg, MYSQLI_ASSOC))
|
|
||||||
//{
|
|
||||||
// $HelferName=$zeile['Name'];
|
|
||||||
// $HelferIsAdmin=$zeile['Admin'];
|
|
||||||
//}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
|
|
||||||
<table id="customers" >
|
<table id="customers" >
|
||||||
<tr onclick="window.location.href='Info.php';">
|
<tr onclick="window.location.href='Info.php';">
|
||||||
<th><img src="Bilder/Info.jpeg" style="width:30px;height:30px;"> <b>Drop am See 2023</b></th>
|
<th><img src="Bilder/Info.jpeg" style="width:30px;height:30px;"> <b><?php echo EVENTNAME ?></b></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr onclick="window.location.href='Userdaten.php';">
|
<tr onclick="window.location.href='Userdaten.php';">
|
||||||
<td > <img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;">
|
<td > <img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;">
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ require_once '/etc/helferdb_konfiguration.php';
|
||||||
// define( 'MYSQL_KENNWORT', 'passwort_des_db_nutzers' );
|
// define( 'MYSQL_KENNWORT', 'passwort_des_db_nutzers' );
|
||||||
// define( 'MYSQL_DATENBANK', 'name_der_datenbank' );
|
// define( 'MYSQL_DATENBANK', 'name_der_datenbank' );
|
||||||
// define( 'LOGFILE', "/pfad/zu/einer/www-schreibbaren/datei");
|
// define( 'LOGFILE', "/pfad/zu/einer/www-schreibbaren/datei");
|
||||||
// define( VERANSTALTUNGSNAME, "dubbelcon");
|
define( 'EVENTNAME', "dubbelcon");
|
||||||
// define( INFORMATIONS_URL, "http://drop-am-see.de/Gelaende");
|
// define( 'INFORMATIONS_URL', "http://drop-am-see.de/Gelaende");
|
||||||
|
|
||||||
date_default_timezone_set('Europe/Berlin');
|
date_default_timezone_set('Europe/Berlin');
|
||||||
setlocale(LC_TIME, "de_DE.UTF-8");
|
setlocale(LC_TIME, "de_DE.UTF-8");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue