initial commit

This commit is contained in:
Thies Mueller
2026-04-25 23:00:38 +02:00
commit bbcfaf32f7
21 changed files with 2695 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
images/
vendor/
config.inc.php
mailconfig.php
location.json
assets/logo/
+115
View File
@@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fotobox Beschreibung</title>
<link href="/assets/tailwind.css" rel="stylesheet">
<link href="/assets/material-icons.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-gray-200 font-sans">
<header class="bg-gray-800 shadow-md">
<div class="max-w-5xl mx-auto px-4 py-6 text-center">
<h1 class="text-3xl font-bold text-white">Unsere Fotobox</h1>
<p class="text-gray-400 mt-2">Spaß, Erinnerungen & Sofortdruck für dein Event</p>
</div>
</header>
<main class="max-w-5xl mx-auto px-4 py-10 space-y-10">
<section class="text-center">
<h2 class="text-2xl font-semibold text-white mb-4">Unvergessliche Momente festhalten</h2>
<p class="text-gray-400">
Unsere moderne Fotobox sorgt für Unterhaltung auf jedem Event ob Hochzeit, Geburtstag oder Firmenfeier.
Einfach bedienen, sofort Ergebnisse sehen und Erinnerungen für immer festhalten.
</p>
</section>
<section class="grid md:grid-cols-2 gap-8">
<div class="bg-gray-800 p-6 rounded-2xl shadow-lg">
<div class="flex items-center gap-3 mb-3">
<span class="material-icons text-blue-400">photo_camera</span>
<h3 class="text-xl font-semibold text-white">Fotos aufnehmen</h3>
</div>
<p class="text-gray-400">
Mache hochwertige Fotos mit nur einem Knopfdruck. Perfekt für spontane und lustige Momente.
</p>
</div>
<div class="bg-gray-800 p-6 rounded-2xl shadow-lg">
<div class="flex items-center gap-3 mb-3">
<span class="material-icons text-blue-400">print</span>
<h3 class="text-xl font-semibold text-white">Ausdruck optional</h3>
</div>
<p class="text-gray-400">
Entscheide selbst: Fotos direkt vor Ort ausdrucken oder digital speichern ganz flexibel nach deinen Wünschen.
</p>
</div>
<div class="bg-gray-800 p-6 rounded-2xl shadow-lg">
<div class="flex items-center gap-3 mb-3">
<span class="material-icons text-blue-400">view_comfy</span>
<h3 class="text-xl font-semibold text-white">Collagen erstellen</h3>
</div>
<p class="text-gray-400">
Mehrere Bilder in einer kreativen Collage kombinieren ideal für Gruppen und besondere Erinnerungen.
</p>
</div>
<div class="bg-gray-800 p-6 rounded-2xl shadow-lg">
<div class="flex items-center gap-3 mb-3">
<span class="material-icons text-blue-400">collections</span>
<h3 class="text-xl font-semibold text-white">Collagen mit Druckoption</h3>
</div>
<p class="text-gray-400">
Auch Collagen können direkt ausgedruckt oder digital gespeichert werden für maximale Flexibilität.
</p>
</div>
<div class="bg-gray-800 p-6 rounded-2xl shadow-lg md:col-span-2">
<div class="flex items-center gap-3 mb-3">
<span class="material-icons text-blue-400">cloud_upload</span>
<h3 class="text-xl font-semibold text-white">Online veröffentlichen</h3>
</div>
<p class="text-gray-400">
Bilder können optional online bereitgestellt werden. Gäste können ihre Fotos bequem abrufen, teilen oder herunterladen.
</p>
</div>
</section>
<section class="text-center">
<h2 class="text-2xl font-semibold text-white mb-4">Bereit für dein Event?</h2>
<p class="text-gray-400 mb-6">
Buche jetzt unsere Fotobox und sorge für unvergessliche Momente auf deiner Veranstaltung.
</p>
<a href="/contact.html" class="bg-blue-600 hover:bg-blue-500 text-white px-6 py-3 rounded-xl transition">
Jetzt anfragen
</a>
</section>
</main>
<footer class="bg-gray-800 text-gray-400 py-6 mt-10">
<div class="max-w-5xl mx-auto px-4 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-sm text-center md:text-left">
© <?php echo date("Y"); ?> Thies Mueller Service Solutions
</div>
<div class="flex flex-wrap justify-center gap-4 text-sm">
<a href="/about.html" class="hover:text-white transition">Über die Fotobox</a>
<a href="/contact.html" class="hover:text-white transition">Kontakt / Anfragen</a>
<a href="/delete/" class="hover:text-white transition">Ich möchte mein Bild löschen lassen</a>
<a href="https://legal.tservic.es" target="_blank" class="hover:text-white transition">Impressum / Datenschutz</a>
<a href="https://thiesmueller.de" target="_blank" class="hover:text-white transition">Thies Mueller Service Solutions</a>
<a href="https://regattatech.de" target="_blank" class="hover:text-white transition">RegattaTech.DE</a>
</div>
</div>
</footer>
</body>
</html>
Binary file not shown.
Binary file not shown.
+661
View File
@@ -0,0 +1,661 @@
/* required styles */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
position: absolute;
left: 0;
top: 0;
}
.leaflet-container {
overflow: hidden;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-drag: none;
}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
image-rendering: -webkit-optimize-contrast;
}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
width: 1600px;
height: 1600px;
-webkit-transform-origin: 0 0;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
display: block;
}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
max-width: none !important;
max-height: none !important;
}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
max-width: none !important;
max-height: none !important;
width: auto;
padding: 0;
}
.leaflet-container img.leaflet-tile {
/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
mix-blend-mode: plus-lighter;
}
.leaflet-container.leaflet-touch-zoom {
-ms-touch-action: pan-x pan-y;
touch-action: pan-x pan-y;
}
.leaflet-container.leaflet-touch-drag {
-ms-touch-action: pinch-zoom;
/* Fallback for FF which doesn't support pinch-zoom */
touch-action: none;
touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
-ms-touch-action: none;
touch-action: none;
}
.leaflet-container {
-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
filter: inherit;
visibility: hidden;
}
.leaflet-tile-loaded {
visibility: inherit;
}
.leaflet-zoom-box {
width: 0;
height: 0;
-moz-box-sizing: border-box;
box-sizing: border-box;
z-index: 800;
}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
-moz-user-select: none;
}
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }
.leaflet-vml-shape {
width: 1px;
height: 1px;
}
.lvml {
behavior: url(#default#VML);
display: inline-block;
position: absolute;
}
/* control positioning */
.leaflet-control {
position: relative;
z-index: 800;
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto;
}
.leaflet-top,
.leaflet-bottom {
position: absolute;
z-index: 1000;
pointer-events: none;
}
.leaflet-top {
top: 0;
}
.leaflet-right {
right: 0;
}
.leaflet-bottom {
bottom: 0;
}
.leaflet-left {
left: 0;
}
.leaflet-control {
float: left;
clear: both;
}
.leaflet-right .leaflet-control {
float: right;
}
.leaflet-top .leaflet-control {
margin-top: 10px;
}
.leaflet-bottom .leaflet-control {
margin-bottom: 10px;
}
.leaflet-left .leaflet-control {
margin-left: 10px;
}
.leaflet-right .leaflet-control {
margin-right: 10px;
}
/* zoom and fade animations */
.leaflet-fade-anim .leaflet-popup {
opacity: 0;
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
opacity: 1;
}
.leaflet-zoom-animated {
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
}
svg.leaflet-zoom-animated {
will-change: transform;
}
.leaflet-zoom-anim .leaflet-zoom-animated {
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
-webkit-transition: none;
-moz-transition: none;
transition: none;
}
.leaflet-zoom-anim .leaflet-zoom-hide {
visibility: hidden;
}
/* cursors */
.leaflet-interactive {
cursor: pointer;
}
.leaflet-grab {
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
cursor: crosshair;
}
.leaflet-popup-pane,
.leaflet-control {
cursor: auto;
}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
pointer-events: none;
}
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto;
}
/* visual tweaks */
.leaflet-container {
background: #ddd;
outline-offset: 1px;
}
.leaflet-container a {
color: #0078A8;
}
.leaflet-zoom-box {
border: 2px dotted #38f;
background: rgba(255,255,255,0.5);
}
/* general typography */
.leaflet-container {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 12px;
font-size: 0.75rem;
line-height: 1.5;
}
/* general toolbar styles */
.leaflet-bar {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
border-radius: 4px;
}
.leaflet-bar a {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
}
.leaflet-bar a,
.leaflet-control-layers-toggle {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
background-color: #f4f4f4;
}
.leaflet-bar a:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.leaflet-bar a:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: none;
}
.leaflet-bar a.leaflet-disabled {
cursor: default;
background-color: #f4f4f4;
color: #bbb;
}
.leaflet-touch .leaflet-bar a {
width: 30px;
height: 30px;
line-height: 30px;
}
.leaflet-touch .leaflet-bar a:first-child {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.leaflet-touch .leaflet-bar a:last-child {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: bold 18px 'Lucida Console', Monaco, monospace;
text-indent: 1px;
}
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
font-size: 22px;
}
/* layers control */
.leaflet-control-layers {
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
background: #fff;
border-radius: 5px;
}
.leaflet-control-layers-toggle {
background-image: url(images/layers.png);
width: 36px;
height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
background-image: url(images/layers-2x.png);
background-size: 26px 26px;
}
.leaflet-touch .leaflet-control-layers-toggle {
width: 44px;
height: 44px;
}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
display: none;
}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
display: block;
position: relative;
}
.leaflet-control-layers-expanded {
padding: 6px 10px 6px 6px;
color: #333;
background: #fff;
}
.leaflet-control-layers-scrollbar {
overflow-y: scroll;
overflow-x: hidden;
padding-right: 5px;
}
.leaflet-control-layers-selector {
margin-top: 2px;
position: relative;
top: 1px;
}
.leaflet-control-layers label {
display: block;
font-size: 13px;
font-size: 1.08333em;
}
.leaflet-control-layers-separator {
height: 0;
border-top: 1px solid #ddd;
margin: 5px -10px 5px -6px;
}
/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
background-image: url(images/marker-icon.png);
}
/* attribution and scale controls */
.leaflet-container .leaflet-control-attribution {
background: #fff;
background: rgba(255, 255, 255, 0.8);
margin: 0;
}
.leaflet-control-attribution,
.leaflet-control-scale-line {
padding: 0 5px;
color: #333;
line-height: 1.4;
}
.leaflet-control-attribution a {
text-decoration: none;
}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
text-decoration: underline;
}
.leaflet-attribution-flag {
display: inline !important;
vertical-align: baseline !important;
width: 1em;
height: 0.6669em;
}
.leaflet-left .leaflet-control-scale {
margin-left: 5px;
}
.leaflet-bottom .leaflet-control-scale {
margin-bottom: 5px;
}
.leaflet-control-scale-line {
border: 2px solid #777;
border-top: none;
line-height: 1.1;
padding: 2px 5px 1px;
white-space: nowrap;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.8);
text-shadow: 1px 1px #fff;
}
.leaflet-control-scale-line:not(:first-child) {
border-top: 2px solid #777;
border-bottom: none;
margin-top: -2px;
}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
border-bottom: 2px solid #777;
}
.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
box-shadow: none;
}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
}
/* popup */
.leaflet-popup {
position: absolute;
text-align: center;
margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
padding: 1px;
text-align: left;
border-radius: 12px;
}
.leaflet-popup-content {
margin: 13px 24px 13px 20px;
line-height: 1.3;
font-size: 13px;
font-size: 1.08333em;
min-height: 1px;
}
.leaflet-popup-content p {
margin: 17px 0;
margin: 1.3em 0;
}
.leaflet-popup-tip-container {
width: 40px;
height: 20px;
position: absolute;
left: 50%;
margin-top: -1px;
margin-left: -20px;
overflow: hidden;
pointer-events: none;
}
.leaflet-popup-tip {
width: 17px;
height: 17px;
padding: 1px;
margin: -10px auto 0;
pointer-events: auto;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background: white;
color: #333;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
.leaflet-container a.leaflet-popup-close-button {
position: absolute;
top: 0;
right: 0;
border: none;
text-align: center;
width: 24px;
height: 24px;
font: 16px/24px Tahoma, Verdana, sans-serif;
color: #757575;
text-decoration: none;
background: transparent;
}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
color: #585858;
}
.leaflet-popup-scrolled {
overflow: auto;
}
.leaflet-oldie .leaflet-popup-content-wrapper {
-ms-zoom: 1;
}
.leaflet-oldie .leaflet-popup-tip {
width: 24px;
margin: 0 auto;
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}
.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
border: 1px solid #999;
}
/* div icon */
.leaflet-div-icon {
background: #fff;
border: 1px solid #666;
}
/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
position: absolute;
padding: 6px;
background-color: #fff;
border: 1px solid #fff;
border-radius: 3px;
color: #222;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.leaflet-tooltip.leaflet-interactive {
cursor: pointer;
pointer-events: auto;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
position: absolute;
pointer-events: none;
border: 6px solid transparent;
background: transparent;
content: "";
}
/* Directions */
.leaflet-tooltip-bottom {
margin-top: 6px;
}
.leaflet-tooltip-top {
margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
left: 50%;
margin-left: -6px;
}
.leaflet-tooltip-top:before {
bottom: 0;
margin-bottom: -12px;
border-top-color: #fff;
}
.leaflet-tooltip-bottom:before {
top: 0;
margin-top: -12px;
margin-left: -6px;
border-bottom-color: #fff;
}
.leaflet-tooltip-left {
margin-left: -6px;
}
.leaflet-tooltip-right {
margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
top: 50%;
margin-top: -6px;
}
.leaflet-tooltip-left:before {
right: 0;
margin-right: -12px;
border-left-color: #fff;
}
.leaflet-tooltip-right:before {
left: 0;
margin-left: -12px;
border-right-color: #fff;
}
/* Printing */
@media print {
/* Prevent printers from removing background-images of controls. */
.leaflet-control {
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
}
File diff suppressed because one or more lines are too long
+20
View File
@@ -0,0 +1,20 @@
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(/assets/fonts/material-icons.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
}
+848
View File
@@ -0,0 +1,848 @@
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
:root, :host {
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
--color-red-400: oklch(70.4% 0.191 22.216);
--color-red-600: oklch(57.7% 0.245 27.325);
--color-red-700: oklch(50.5% 0.213 27.518);
--color-green-500: oklch(72.3% 0.219 149.579);
--color-green-600: oklch(62.7% 0.194 149.214);
--color-blue-400: oklch(70.7% 0.165 254.624);
--color-blue-500: oklch(62.3% 0.214 259.815);
--color-blue-600: oklch(54.6% 0.245 262.881);
--color-blue-700: oklch(48.8% 0.243 264.376);
--color-gray-100: oklch(96.7% 0.003 264.542);
--color-gray-200: oklch(92.8% 0.006 264.531);
--color-gray-300: oklch(87.2% 0.01 258.338);
--color-gray-400: oklch(70.7% 0.022 261.325);
--color-gray-600: oklch(44.6% 0.03 256.802);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-800: oklch(27.8% 0.033 256.848);
--color-gray-900: oklch(21% 0.034 264.665);
--color-gray-950: oklch(13% 0.028 261.692);
--color-black: #000;
--color-white: #fff;
--spacing: 0.25rem;
--container-md: 28rem;
--container-3xl: 48rem;
--container-5xl: 64rem;
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--text-2xl: 1.5rem;
--text-2xl--line-height: calc(2 / 1.5);
--text-3xl: 1.875rem;
--text-3xl--line-height: calc(2.25 / 1.875);
--text-4xl: 2.25rem;
--text-4xl--line-height: calc(2.5 / 2.25);
--font-weight-semibold: 600;
--font-weight-bold: 700;
--radius-xl: 0.75rem;
--radius-2xl: 1rem;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
}
}
@layer base {
*, ::after, ::before, ::backdrop, ::file-selector-button {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0 solid;
}
html, :host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
tab-size: 4;
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
font-feature-settings: var(--default-font-feature-settings, normal);
font-variation-settings: var(--default-font-variation-settings, normal);
-webkit-tap-highlight-color: transparent;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
b, strong {
font-weight: bolder;
}
code, kbd, samp, pre {
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
font-feature-settings: var(--default-mono-font-feature-settings, normal);
font-variation-settings: var(--default-mono-font-variation-settings, normal);
font-size: 1em;
}
small {
font-size: 80%;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
table {
text-indent: 0;
border-color: inherit;
border-collapse: collapse;
}
:-moz-focusring {
outline: auto;
}
progress {
vertical-align: baseline;
}
summary {
display: list-item;
}
ol, ul, menu {
list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
display: block;
vertical-align: middle;
}
img, video {
max-width: 100%;
height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
color: inherit;
border-radius: 0;
background-color: transparent;
opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
::file-selector-button {
margin-inline-end: 4px;
}
::placeholder {
opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
::placeholder {
color: currentcolor;
@supports (color: color-mix(in lab, red, red)) {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
}
textarea {
resize: vertical;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-date-and-time-value {
min-height: 1lh;
text-align: inherit;
}
::-webkit-datetime-edit {
display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-moz-ui-invalid {
box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
display: none !important;
}
}
@layer utilities {
.absolute {
position: absolute;
}
.fixed {
position: fixed;
}
.relative {
position: relative;
}
.static {
position: static;
}
.sticky {
position: sticky;
}
.inset-0 {
inset: calc(var(--spacing) * 0);
}
.start {
inset-inline-start: var(--spacing);
}
.end {
inset-inline-end: var(--spacing);
}
.container {
width: 100%;
@media (width >= 40rem) {
max-width: 40rem;
}
@media (width >= 48rem) {
max-width: 48rem;
}
@media (width >= 64rem) {
max-width: 64rem;
}
@media (width >= 80rem) {
max-width: 80rem;
}
@media (width >= 96rem) {
max-width: 96rem;
}
}
.mx-auto {
margin-inline: auto;
}
.mt-2 {
margin-top: calc(var(--spacing) * 2);
}
.mt-6 {
margin-top: calc(var(--spacing) * 6);
}
.mt-10 {
margin-top: calc(var(--spacing) * 10);
}
.mb-3 {
margin-bottom: calc(var(--spacing) * 3);
}
.mb-4 {
margin-bottom: calc(var(--spacing) * 4);
}
.mb-6 {
margin-bottom: calc(var(--spacing) * 6);
}
.contents {
display: contents;
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.hidden {
display: none;
}
.inline {
display: inline;
}
.inline-flex {
display: inline-flex;
}
.table {
display: table;
}
.max-h-\[65vh\] {
max-height: 65vh;
}
.min-h-screen {
min-height: 100vh;
}
.w-20 {
width: calc(var(--spacing) * 20);
}
.w-96 {
width: calc(var(--spacing) * 96);
}
.w-auto {
width: auto;
}
.w-full {
width: 100%;
}
.max-w-3xl {
max-width: var(--container-3xl);
}
.max-w-5xl {
max-width: var(--container-5xl);
}
.max-w-md {
max-width: var(--container-md);
}
.flex-1 {
flex: 1;
}
.flex-grow {
flex-grow: 1;
}
.border-collapse {
border-collapse: collapse;
}
.transform {
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
}
.resize {
resize: both;
}
.flex-col {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.justify-center {
justify-content: center;
}
.gap-2 {
gap: calc(var(--spacing) * 2);
}
.gap-3 {
gap: calc(var(--spacing) * 3);
}
.gap-4 {
gap: calc(var(--spacing) * 4);
}
.gap-8 {
gap: calc(var(--spacing) * 8);
}
.space-y-4 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-y-5 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-y-6 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-y-10 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 10) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 10) * calc(1 - var(--tw-space-y-reverse)));
}
}
.overflow-hidden {
overflow: hidden;
}
.rounded-2xl {
border-radius: var(--radius-2xl);
}
.rounded-xl {
border-radius: var(--radius-xl);
}
.border {
border-style: var(--tw-border-style);
border-width: 1px;
}
.border-gray-800 {
border-color: var(--color-gray-800);
}
.bg-black {
background-color: var(--color-black);
}
.bg-blue-500 {
background-color: var(--color-blue-500);
}
.bg-blue-600 {
background-color: var(--color-blue-600);
}
.bg-gray-600 {
background-color: var(--color-gray-600);
}
.bg-gray-700 {
background-color: var(--color-gray-700);
}
.bg-gray-800 {
background-color: var(--color-gray-800);
}
.bg-gray-900 {
background-color: var(--color-gray-900);
}
.bg-gray-950 {
background-color: var(--color-gray-950);
}
.bg-green-500 {
background-color: var(--color-green-500);
}
.bg-red-600 {
background-color: var(--color-red-600);
}
.bg-red-700 {
background-color: var(--color-red-700);
}
.bg-white {
background-color: var(--color-white);
}
.object-contain {
object-fit: contain;
}
.object-cover {
object-fit: cover;
}
.p-2 {
padding: calc(var(--spacing) * 2);
}
.p-4 {
padding: calc(var(--spacing) * 4);
}
.p-5 {
padding: calc(var(--spacing) * 5);
}
.p-6 {
padding: calc(var(--spacing) * 6);
}
.p-8 {
padding: calc(var(--spacing) * 8);
}
.px-4 {
padding-inline: calc(var(--spacing) * 4);
}
.px-5 {
padding-inline: calc(var(--spacing) * 5);
}
.px-6 {
padding-inline: calc(var(--spacing) * 6);
}
.py-2 {
padding-block: calc(var(--spacing) * 2);
}
.py-3 {
padding-block: calc(var(--spacing) * 3);
}
.py-6 {
padding-block: calc(var(--spacing) * 6);
}
.py-10 {
padding-block: calc(var(--spacing) * 10);
}
.pt-2 {
padding-top: calc(var(--spacing) * 2);
}
.text-center {
text-align: center;
}
.font-sans {
font-family: var(--font-sans);
}
.text-2xl {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
}
.text-3xl {
font-size: var(--text-3xl);
line-height: var(--tw-leading, var(--text-3xl--line-height));
}
.text-4xl {
font-size: var(--text-4xl);
line-height: var(--tw-leading, var(--text-4xl--line-height));
}
.text-lg {
font-size: var(--text-lg);
line-height: var(--tw-leading, var(--text-lg--line-height));
}
.text-sm {
font-size: var(--text-sm);
line-height: var(--tw-leading, var(--text-sm--line-height));
}
.text-xl {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
}
.font-bold {
--tw-font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-bold);
}
.font-semibold {
--tw-font-weight: var(--font-weight-semibold);
font-weight: var(--font-weight-semibold);
}
.text-black {
color: var(--color-black);
}
.text-blue-400 {
color: var(--color-blue-400);
}
.text-gray-100 {
color: var(--color-gray-100);
}
.text-gray-200 {
color: var(--color-gray-200);
}
.text-gray-300 {
color: var(--color-gray-300);
}
.text-gray-400 {
color: var(--color-gray-400);
}
.text-red-400 {
color: var(--color-red-400);
}
.text-white {
color: var(--color-white);
}
.underline {
text-decoration-line: underline;
}
.shadow {
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-2xl {
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-lg {
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-md {
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.ring {
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.outline {
outline-style: var(--tw-outline-style);
outline-width: 1px;
}
.blur {
--tw-blur: blur(8px);
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.filter {
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
.transition {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.\[hostname\:port\] {
hostname: port;
}
.hover\:bg-blue-500 {
&:hover {
@media (hover: hover) {
background-color: var(--color-blue-500);
}
}
}
.hover\:bg-blue-600 {
&:hover {
@media (hover: hover) {
background-color: var(--color-blue-600);
}
}
}
.hover\:bg-blue-700 {
&:hover {
@media (hover: hover) {
background-color: var(--color-blue-700);
}
}
}
.hover\:bg-gray-200 {
&:hover {
@media (hover: hover) {
background-color: var(--color-gray-200);
}
}
}
.hover\:bg-green-600 {
&:hover {
@media (hover: hover) {
background-color: var(--color-green-600);
}
}
}
.hover\:text-white {
&:hover {
@media (hover: hover) {
color: var(--color-white);
}
}
}
.md\:col-span-2 {
@media (width >= 48rem) {
grid-column: span 2 / span 2;
}
}
.md\:grid-cols-2 {
@media (width >= 48rem) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.md\:flex-row {
@media (width >= 48rem) {
flex-direction: row;
}
}
.md\:text-left {
@media (width >= 48rem) {
text-align: left;
}
}
}
@property --tw-rotate-x {
syntax: "*";
inherits: false;
}
@property --tw-rotate-y {
syntax: "*";
inherits: false;
}
@property --tw-rotate-z {
syntax: "*";
inherits: false;
}
@property --tw-skew-x {
syntax: "*";
inherits: false;
}
@property --tw-skew-y {
syntax: "*";
inherits: false;
}
@property --tw-space-y-reverse {
syntax: "*";
inherits: false;
initial-value: 0;
}
@property --tw-border-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-font-weight {
syntax: "*";
inherits: false;
}
@property --tw-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-inset-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-inset-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-ring-color {
syntax: "*";
inherits: false;
}
@property --tw-ring-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
syntax: "*";
inherits: false;
}
@property --tw-inset-ring-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
syntax: "*";
inherits: false;
}
@property --tw-ring-offset-width {
syntax: "<length>";
inherits: false;
initial-value: 0px;
}
@property --tw-ring-offset-color {
syntax: "*";
inherits: false;
initial-value: #fff;
}
@property --tw-ring-offset-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-outline-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-blur {
syntax: "*";
inherits: false;
}
@property --tw-brightness {
syntax: "*";
inherits: false;
}
@property --tw-contrast {
syntax: "*";
inherits: false;
}
@property --tw-grayscale {
syntax: "*";
inherits: false;
}
@property --tw-hue-rotate {
syntax: "*";
inherits: false;
}
@property --tw-invert {
syntax: "*";
inherits: false;
}
@property --tw-opacity {
syntax: "*";
inherits: false;
}
@property --tw-saturate {
syntax: "*";
inherits: false;
}
@property --tw-sepia {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-drop-shadow-size {
syntax: "*";
inherits: false;
}
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
--tw-rotate-x: initial;
--tw-rotate-y: initial;
--tw-rotate-z: initial;
--tw-skew-x: initial;
--tw-skew-y: initial;
--tw-space-y-reverse: 0;
--tw-border-style: solid;
--tw-font-weight: initial;
--tw-shadow: 0 0 #0000;
--tw-shadow-color: initial;
--tw-shadow-alpha: 100%;
--tw-inset-shadow: 0 0 #0000;
--tw-inset-shadow-color: initial;
--tw-inset-shadow-alpha: 100%;
--tw-ring-color: initial;
--tw-ring-shadow: 0 0 #0000;
--tw-inset-ring-color: initial;
--tw-inset-ring-shadow: 0 0 #0000;
--tw-ring-inset: initial;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-outline-style: solid;
--tw-blur: initial;
--tw-brightness: initial;
--tw-contrast: initial;
--tw-grayscale: initial;
--tw-hue-rotate: initial;
--tw-invert: initial;
--tw-opacity: initial;
--tw-saturate: initial;
--tw-sepia: initial;
--tw-drop-shadow: initial;
--tw-drop-shadow-color: initial;
--tw-drop-shadow-alpha: 100%;
--tw-drop-shadow-size: initial;
}
}
}
+39
View File
@@ -0,0 +1,39 @@
let map;
let marker;
async function loadConfig() {
const res = await fetch("./location.json");
return await res.json();
}
function initMap(lat, lng) {
map = L.map('map').setView([lat, lng], 13);
L.tileLayer('https://tiles.tservic.es/{z}/{x}/{y}.png', {
attribution: '&copy; OpenStreetMap &copy; <a href="https://tile.openstreetmap.de" target="_blank">tile.openstreetmap.de</a> - via tiles.tservic.es',
subdomains: 'abcd',
maxZoom: 19
}).addTo(map);
marker = L.marker([lat, lng]).addTo(map);
}
function setLinks(lat, lng) {
document.getElementById("gmaps").href =
`https://www.google.com/maps?q=${lat},${lng}`;
document.getElementById("applemaps").href =
`https://maps.apple.com/?ll=${lat},${lng}`;
}
async function main() {
const config = await loadConfig();
const { name, lat, lng } = config;
document.getElementById("title").innerText = "Finde den Standort der Fotobox";
initMap(lat, lng);
setLinks(lat, lng);
}
main();
+5
View File
@@ -0,0 +1,5 @@
{
"require": {
"phpmailer/phpmailer": "^7.0"
}
}
Generated
+101
View File
@@ -0,0 +1,101 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "826f515f5ef16946d3e3ee3e3205b25e",
"packages": [
{
"name": "phpmailer/phpmailer",
"version": "v7.0.2",
"source": {
"type": "git",
"url": "https://github.com/PHPMailer/PHPMailer.git",
"reference": "ebf1655bd5b99b3f97e1a3ec0a69e5f4cd7ea088"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/ebf1655bd5b99b3f97e1a3ec0a69e5f4cd7ea088",
"reference": "ebf1655bd5b99b3f97e1a3ec0a69e5f4cd7ea088",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"ext-filter": "*",
"ext-hash": "*",
"php": ">=5.5.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"doctrine/annotations": "^1.2.6 || ^1.13.3",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcompatibility/php-compatibility": "^10.0.0@dev",
"squizlabs/php_codesniffer": "^3.13.5",
"yoast/phpunit-polyfills": "^1.0.4"
},
"suggest": {
"decomplexity/SendOauth2": "Adapter for using XOAUTH2 authentication",
"directorytree/imapengine": "For uploading sent messages via IMAP, see gmail example",
"ext-imap": "Needed to support advanced email address parsing according to RFC822",
"ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses",
"ext-openssl": "Needed for secure SMTP sending and DKIM signing",
"greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication",
"hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
"league/oauth2-google": "Needed for Google XOAUTH2 authentication",
"psr/log": "For optional PSR-3 debug logging",
"symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)",
"thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication"
},
"type": "library",
"autoload": {
"psr-4": {
"PHPMailer\\PHPMailer\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-2.1-only"
],
"authors": [
{
"name": "Marcus Bointon",
"email": "phpmailer@synchromedia.co.uk"
},
{
"name": "Jim Jagielski",
"email": "jimjag@gmail.com"
},
{
"name": "Andy Prevost",
"email": "codeworxtech@users.sourceforge.net"
},
{
"name": "Brent R. Matzelle"
}
],
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"support": {
"issues": "https://github.com/PHPMailer/PHPMailer/issues",
"source": "https://github.com/PHPMailer/PHPMailer/tree/v7.0.2"
},
"funding": [
{
"url": "https://github.com/Synchro",
"type": "github"
}
],
"time": "2026-01-09T18:02:33+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {},
"platform-dev": {},
"plugin-api-version": "2.9.0"
}
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'home_page_text' => 'Fotobox',
'home_page_logo' => 'assets/logo/logo1.png',
'home_page_logo2' => 'assets/logo/logo2.png',
'home_button_text' => 'Fotobox finden',
'home_button_link' => '/woistdiebox.html',
'share_text' => 'Schau dir das Bild an was ich mit der Fotobox gemacht hab!'
];
+87
View File
@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fotobox Anfrage</title>
<link href="/assets/tailwind.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-white">
<div class="max-w-3xl mx-auto p-6">
<h1 class="text-3xl font-bold mb-6">Fotobox Anfrage</h1>
<form method="POST" action="send.php" class="space-y-4">
<input type="text" name="name" placeholder="Name" required class="w-full p-2 bg-gray-800">
<input type="text" name="firma" placeholder="Firma" class="w-full p-2 bg-gray-800">
<input type="email" name="email" placeholder="E-Mail" required class="w-full p-2 bg-gray-800">
<label>Datum Beginn</label>
<input type="date" name="start" required class="w-full p-2 bg-gray-800">
<label>Datum Ende</label>
<input type="date" name="end" required class="w-full p-2 bg-gray-800">
<select name="drucker" required class="w-full p-2 bg-gray-800">
<option value="">Drucker?</option>
<option value="Ja">Ja</option>
<option value="Nein">Nein</option>
</select>
<select name="betreuung" required class="w-full p-2 bg-gray-800">
<option value="">Betreuung?</option>
<option value="Ja">Ja</option>
<option value="Nein">Nein</option>
</select>
<select name="aufbau" required class="w-full p-2 bg-gray-800">
<option value="">Auf / Abbau?</option>
<option value="Ja">Ja</option>
<option value="Nein">Nein</option>
</select>
<textarea name="kommentar" placeholder="Kommentar" class="w-full p-2 bg-gray-800"></textarea>
<div class="flex items-center gap-2">
<span id="captchaText"></span>
<input type="number" name="captcha" required class="p-2 bg-gray-800 w-20">
</div>
<input type="hidden" name="captcha_result" id="captchaResult">
<input type="hidden" name="website" value="">
<label class="flex items-center gap-2 text-sm">
<input type="checkbox" required>
Ich stimme der Verarbeitung meiner Daten zu
</label>
<button class="bg-blue-600 px-4 py-2">Absenden</button>
</form>
</div>
<footer class="bg-gray-800 text-gray-400 py-6 mt-10">
<div class="max-w-5xl mx-auto px-4 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-sm text-center md:text-left">
© <span id="year"></span> Thies Mueller Service Solutions
</div>
<div class="flex flex-wrap justify-center gap-4 text-sm">
<a href="/about.html" class="hover:text-white transition">Über die Fotobox</a>
<a href="/contact.html" class="hover:text-white transition">Kontakt / Anfragen</a>
<a href="/delete/" class="hover:text-white transition">Ich möchte mein Bild löschen lassen</a>
<a href="https://legal.tservic.es" target="_blank" class="hover:text-white transition">Impressum / Datenschutz</a>
<a href="https://thiesmueller.de" target="_blank" class="hover:text-white transition">Thies Mueller Service Solutions</a>
<a href="https://regattatech.de" target="_blank" class="hover:text-white transition">RegattaTech.DE</a>
</div>
</div>
</footer>
<script>
const a = Math.floor(Math.random() * 10) + 1;
const b = Math.floor(Math.random() * 10) + 1;
document.getElementById('captchaText').innerText = `${a} + ${b} = ?`;
document.getElementById('captchaResult').value = a + b;
document.getElementById('year').innerText = new Date().getFullYear();
</script>
</body>
</html>
+310
View File
@@ -0,0 +1,310 @@
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
:root, :host {
--font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
--color-red-600: oklch(57.7% 0.245 27.325);
--color-red-700: oklch(50.5% 0.213 27.518);
--color-blue-600: oklch(54.6% 0.245 262.881);
--color-gray-400: oklch(70.7% 0.022 261.325);
--color-gray-600: oklch(44.6% 0.03 256.802);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-800: oklch(27.8% 0.033 256.848);
--color-gray-900: oklch(21% 0.034 264.665);
--color-white: #fff;
--spacing: 0.25rem;
--container-md: 28rem;
--container-5xl: 64rem;
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--radius-xl: 0.75rem;
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
}
}
@layer base {
*, ::after, ::before, ::backdrop, ::file-selector-button {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0 solid;
}
html, :host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
tab-size: 4;
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
font-feature-settings: var(--default-font-feature-settings, normal);
font-variation-settings: var(--default-font-variation-settings, normal);
-webkit-tap-highlight-color: transparent;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
b, strong {
font-weight: bolder;
}
code, kbd, samp, pre {
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
font-feature-settings: var(--default-mono-font-feature-settings, normal);
font-variation-settings: var(--default-mono-font-variation-settings, normal);
font-size: 1em;
}
small {
font-size: 80%;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
table {
text-indent: 0;
border-color: inherit;
border-collapse: collapse;
}
:-moz-focusring {
outline: auto;
}
progress {
vertical-align: baseline;
}
summary {
display: list-item;
}
ol, ul, menu {
list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
display: block;
vertical-align: middle;
}
img, video {
max-width: 100%;
height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
color: inherit;
border-radius: 0;
background-color: transparent;
opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
::file-selector-button {
margin-inline-end: 4px;
}
::placeholder {
opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
::placeholder {
color: currentcolor;
@supports (color: color-mix(in lab, red, red)) {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
}
textarea {
resize: vertical;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-date-and-time-value {
min-height: 1lh;
text-align: inherit;
}
::-webkit-datetime-edit {
display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-moz-ui-invalid {
box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
display: none !important;
}
}
@layer utilities {
.mx-auto {
margin-inline: auto;
}
.mt-10 {
margin-top: calc(var(--spacing) * 10);
}
.mb-4 {
margin-bottom: calc(var(--spacing) * 4);
}
.flex {
display: flex;
}
.hidden {
display: none;
}
.min-h-screen {
min-height: 100vh;
}
.w-full {
width: 100%;
}
.max-w-5xl {
max-width: var(--container-5xl);
}
.max-w-md {
max-width: var(--container-md);
}
.flex-grow {
flex-grow: 1;
}
.flex-col {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.justify-center {
justify-content: center;
}
.gap-2 {
gap: calc(var(--spacing) * 2);
}
.gap-4 {
gap: calc(var(--spacing) * 4);
}
.rounded-xl {
border-radius: var(--radius-xl);
}
.bg-blue-600 {
background-color: var(--color-blue-600);
}
.bg-gray-600 {
background-color: var(--color-gray-600);
}
.bg-gray-700 {
background-color: var(--color-gray-700);
}
.bg-gray-800 {
background-color: var(--color-gray-800);
}
.bg-gray-900 {
background-color: var(--color-gray-900);
}
.bg-red-600 {
background-color: var(--color-red-600);
}
.bg-red-700 {
background-color: var(--color-red-700);
}
.p-2 {
padding: calc(var(--spacing) * 2);
}
.p-6 {
padding: calc(var(--spacing) * 6);
}
.px-4 {
padding-inline: calc(var(--spacing) * 4);
}
.py-2 {
padding-block: calc(var(--spacing) * 2);
}
.py-6 {
padding-block: calc(var(--spacing) * 6);
}
.text-center {
text-align: center;
}
.text-sm {
font-size: var(--text-sm);
line-height: var(--tw-leading, var(--text-sm--line-height));
}
.text-xl {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
}
.text-gray-400 {
color: var(--color-gray-400);
}
.text-white {
color: var(--color-white);
}
.transition {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.hover\:text-white {
&:hover {
@media (hover: hover) {
color: var(--color-white);
}
}
}
.md\:flex-row {
@media (width >= 48rem) {
flex-direction: row;
}
}
.md\:text-left {
@media (width >= 48rem) {
text-align: left;
}
}
}
+117
View File
@@ -0,0 +1,117 @@
<?php
$id = '';
$error = '';
$step = 'input';
function sanitizeId($input) {
$input = trim($input);
if (str_ends_with($input, '.jpg')) {
$input = substr($input, 0, -4);
}
return $input;
}
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($_POST['confirm_delete_final'])) {
$id = sanitizeId($_POST['id']);
$file = __DIR__ . "/../images/$id.jpg";
if (file_exists($file)) {
rename($file, __DIR__ . "/../images/deleted_$id.jpg");
$step = 'deleted';
} else {
$error = 'Bild nicht gefunden';
$step = 'input';
}
} elseif (isset($_POST['confirm_delete'])) {
$id = sanitizeId($_POST['id']);
$step = 'confirm2';
} else {
$id = sanitizeId($_POST['id']);
if (!preg_match('/^[a-zA-Z0-9]{32}$/', $id)) {
$error = 'Ungültige ID';
} else {
$file = __DIR__ . "/../images/$id.jpg";
if (file_exists($file)) {
$step = 'confirm1';
} else {
$error = 'Bild nicht gefunden oder bereits gelöscht';
}
}
}
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bild löschen</title>
<link href="assets/tailwind.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-white min-h-screen flex flex-col justify-between">
<div class="flex items-center justify-center flex-grow">
<div class="bg-gray-800 p-6 rounded-xl w-full max-w-md">
<?php if ($step === 'input'): ?>
<h1 class="text-xl mb-4">Bild löschen</h1>
<p class="text-sm mb-4">Die ID ist der hintere Teil des QR-Code Links.</p>
<p class="text-sm mb-4">Wenn du sie nicht hast, schreibe an support@thiesmueller.de</p>
<?php if ($error): ?>
<div class="bg-red-600 p-2 mb-4"><?php echo $error; ?></div>
<?php endif; ?>
<form method="POST">
<input name="id" placeholder="Bild-ID" required class="w-full p-2 bg-gray-700 mb-4">
<button class="bg-blue-600 px-4 py-2 w-full">Weiter</button>
</form>
<?php elseif ($step === 'confirm1'): ?>
<h1 class="text-xl mb-4">Dieses Bild?</h1>
<img src="/images/<?php echo $id; ?>.jpg" class="mb-4">
<form method="POST" class="flex gap-2">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<button name="confirm_delete" class="bg-red-600 px-4 py-2 w-full">Ja löschen</button>
<a href="" class="bg-gray-600 px-4 py-2 w-full text-center">Nein, anderes Bild</a>
</form>
<?php elseif ($step === 'confirm2'): ?>
<h1 class="text-xl mb-4">Sicher? Diese Aktion kann nicht rückgängig gemacht werden!</h1>
<form method="POST" class="flex gap-2">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<button name="confirm_delete_final" class="bg-red-700 px-4 py-2 w-full">Ja, Sicher</button>
<a href="" class="bg-gray-600 px-4 py-2 w-full text-center">Abbrechen</a>
</form>
<?php elseif ($step === 'deleted'): ?>
<h1 class="text-xl">Erfolgreich gelöscht</h1>
<?php endif; ?>
</div>
</div>
<footer class="bg-gray-800 text-gray-400 py-6 mt-10">
<div class="max-w-5xl mx-auto px-4 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-sm text-center md:text-left">
© <?php echo date("Y"); ?> Thies Mueller Service Solutions
</div>
<div class="flex flex-wrap justify-center gap-4 text-sm">
<a href="/about.html" class="hover:text-white transition">Über die Fotobox</a>
<a href="/contact.html" class="hover:text-white transition">Kontakt / Anfragen</a>
<a href="/delete/" class="hover:text-white transition">Ich möchte mein Bild löschen lassen</a>
<a href="https://legal.tservic.es" target="_blank" class="hover:text-white transition">Impressum / Datenschutz</a>
<a href="https://thiesmueller.de" target="_blank" class="hover:text-white transition">Thies Mueller Service Solutions</a>
<a href="https://regattatech.de" target="_blank" class="hover:text-white transition">RegattaTech.DE</a>
</div>
</div>
</footer>
</body>
</html>
+167
View File
@@ -0,0 +1,167 @@
<?php
function isValidHash($str) {
return preg_match('/^([a-fA-F0-9]{32})(\.jpg)?$/', $str);
}
$config = require __DIR__ . '/config.inc.php';
$imgParam = $_GET['img'] ?? null;
$imageExists = false;
$imagePath = "";
$error = "";
if ($imgParam) {
if (!isValidHash($imgParam)) {
$error = "Ungültiger Bildlink.";
} else {
$imgFile = preg_replace('/\.jpg$/i', '', $imgParam);
$imagePath = "images/" . $imgFile . ".jpg";
if (file_exists($imagePath)) {
$imageExists = true;
} else {
$error = "Das Bild wurde nicht gefunden. Es wurde möglicherweise noch nicht hochgeladen oder nach 48 Stunden gelöscht.";
}
}
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Fotobox</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/tailwind.css">
<link href="assets/material-icons.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-white min-h-screen flex flex-col">
<main class="flex-grow flex items-center justify-center">
<?php if (!$imgParam): ?>
<div class="text-center space-y-6">
<img src="/<?php echo $config['home_page_logo'] ?>" class="w-96 object-cover" >
<img src="/<?php echo $config['home_page_logo2'] ?>" class="w-96 object-cover" >
<h1 class="text-4xl font-bold">📸 Fotobox</h1>
<p class="text-gray-300"><?php echo htmlspecialchars($config['home_page_text']); ?></p>
<a href="<?php echo htmlspecialchars($config['home_button_link']); ?>"
class="inline-flex items-center gap-2 bg-blue-500 hover:bg-blue-600 px-6 py-3 rounded-xl text-lg shadow-lg transition">
<span class="material-icons">photo_camera</span>
<?php echo htmlspecialchars($config['home_button_text']); ?>
</a>
</div>
<?php else: ?>
<?php if ($imageExists): ?>
<div class="fixed inset-0 bg-black bg-opacity-90 flex items-center justify-center p-4">
<div class="bg-gray-800 rounded-2xl shadow-2xl p-6 flex flex-col items-center max-w-5xl w-full">
<img src="<?php echo htmlspecialchars($imagePath); ?>"
class="max-h-[65vh] w-auto object-contain rounded-xl mb-6">
<div class="flex gap-4">
<a href="<?php echo htmlspecialchars($imagePath); ?>" download
class="bg-green-500 hover:bg-green-600 px-5 py-3 rounded-xl shadow-lg transition flex items-center gap-2">
<span class="material-icons">download</span>
<span>Download</span>
</a>
<button onclick="shareImage()"
class="bg-blue-500 hover:bg-blue-600 px-5 py-3 rounded-xl shadow-lg transition flex items-center gap-2">
<span class="material-icons">share</span>
<span>Teilen</span>
</button>
</div>
<a href="/"
class="mt-6 text-gray-400 hover:text-white transition flex items-center gap-2">
<span class="material-icons">close</span>
Schließen
</a>
</div>
</div>
<script>
async function shareImage() {
const imageUrl = "<?php echo htmlspecialchars($imagePath); ?>";
const shareText = "<?php echo addslashes($config['share_text']); ?>";
try {
const response = await fetch(imageUrl);
const blob = await response.blob();
const file = new File([blob], "fotobox.jpg", { type: blob.type });
if (navigator.canShare && navigator.canShare({ files: [file] })) {
await navigator.share({
title: 'Fotobox Bild',
text: shareText,
files: [file]
});
} else if (navigator.share) {
await navigator.share({
title: 'Fotobox Bild',
text: shareText,
url: window.location.href
});
} else {
await navigator.clipboard.writeText(window.location.href);
alert("Link wurde kopiert!");
}
} catch (e) {
console.error(e);
alert("Teilen nicht möglich.");
}
}
</script>
<?php else: ?>
<div class="text-center space-y-6">
<h1 class="text-3xl font-bold text-red-400">⚠️ Bild nicht verfügbar</h1>
<p class="text-gray-300 max-w-md mx-auto">
<?php echo htmlspecialchars($error); ?>
</p>
<a href="/"
class="inline-flex items-center gap-2 bg-blue-500 hover:bg-blue-600 px-6 py-3 rounded-xl shadow-lg transition">
<span class="material-icons">arrow_back</span>
Zurück zur Startseite
</a>
</div>
<?php endif; ?>
<?php endif; ?>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-gray-400 py-6 mt-10">
<div class="max-w-5xl mx-auto px-4 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-sm text-center md:text-left">
© <?php echo date("Y"); ?> Thies Mueller Service Solutions
</div>
<div class="flex flex-wrap justify-center gap-4 text-sm">
<a href="/about.html" class="hover:text-white transition">Über die Fotobox</a>
<a href="/contact.html" class="hover:text-white transition">Kontakt / Anfragen</a>
<a href="/delete/" class="hover:text-white transition">Ich möchte mein Bild löschen lassen</a>
<a href="https://legal.tservic.es" target="_blank" class="hover:text-white transition">Impressum / Datenschutz</a>
<a href="https://thiesmueller.de" target="_blank" class="hover:text-white transition">Thies Mueller Service Solutions</a>
<a href="https://regattatech.de" target="_blank" class="hover:text-white transition">RegattaTech.DE</a>
</div>
</div>
</footer>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
{
"name": "Fotobox",
"lat": 12.234567,
"lng": 34.567890
}
+11
View File
@@ -0,0 +1,11 @@
<?php
return [
'from' => 'absender@example.org',
'from_name' => 'Fotobox',
'receipient' => 'anfragen@example.org',
'company_name' => 'Fotobox GmbH',
'smtp_host' => 'mx.example.org',
'smtp_user' => 'mailuser',
'smtp_pass' => 'mailpassword',
'smtp_port' => 587
];
+125
View File
@@ -0,0 +1,125 @@
<?php
$config = require 'mailconfig.php';
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
require 'vendor/autoload.php';
function buildHtmlMail($data) {
$rows = '';
foreach ($data as $key => $value) {
if (!in_array($key, ['captcha','captcha_result','website'])) {
$rows .= "
<tr>
<td style='padding:10px;border:1px solid #374151;color:#9ca3af;background:#1f2937;'>
" . ucfirst($key) . "
</td>
<td style='padding:10px;border:1px solid #374151;color:#f9fafb;background:#111827;'>
" . htmlspecialchars($value) . "
</td>
</tr>";
}
}
return "
<div style='background:#0f172a;padding:20px;font-family:Arial,sans-serif;color:#f9fafb;'>
<div style='max-width:600px;margin:0 auto;background:#111827;border-radius:12px;padding:24px;'>
<h2 style='color:#ffffff;margin-bottom:20px;'>
Neue Fotobox Anfrage
</h2>
<table style='width:100%;border-collapse:collapse;margin-bottom:20px;'>
$rows
</table>
<hr style='border:0;border-top:1px solid #374151;margin:20px 0;'>
<div style='font-size:12px;color:#9ca3af;line-height:1.6;'>
Thies Mueller Service Solutions<br>
Schwarzenbergstr. 70, 21073 Hamburg<br><br>
Ust.ID: DE340124938
</div>
</div>
</div>";
}
function sendMail($data, $config) {
$mail = new PHPMailer(true);
$mail->CharSet = 'UTF-8';
$mail->isSMTP();
$mail->Host = $config['smtp_host'];
$mail->SMTPAuth = true;
$mail->Username = $config['smtp_user'];
$mail->Password = $config['smtp_pass'];
$mail->SMTPSecure = 'tls';
$mail->Port = $config['smtp_port'];
$mail->setFrom($config['from'], $config['from_name']);
$html = buildHtmlMail($data);
$mail->addAddress($config['receipient']);
$mail->addReplyTo($data['email']);
$mail->isHTML(true);
$mail->Subject = 'Neue Fotobox Anfrage';
$mail->Body = $html;
$mail->AltBody = strip_tags($html);
$mail->send();
$mail->clearAddresses();
$mail->clearReplyTos();
$mail->addAddress($data['email']);
$mail->addReplyTo($config['receipient']);
$mail->Subject = 'Deine Anfrage bei'.$config['company_name'];
$mail->Body = "<div style='font-family:sans-serif;background:#111;color:#fff;padding:20px;'>
<h2>Danke für deine Anfrage</h2>
<p>Wir haben deine Anfrage erhalten und melden uns zeitnah.</p>
<hr>
$html
</div>";
$mail->AltBody = 'Danke für deine Anfrage';
$mail->send();
}
$status = null;
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['website'])) {
die('Spam erkannt');
}
if ($_POST['captcha'] != $_POST['captcha_result']) {
$status = 'error';
} else {
try {
sendMail($_POST, $config);
header('Location: success.html');
exit;
} catch (Exception $e) {
$status = 'error';
}
}
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fehler</title>
<link href="/assets/tailwind.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-white flex items-center justify-center min-h-screen">
<div class="bg-gray-800 p-8 rounded-2xl text-center">
<h1 class="text-2xl mb-4">Fehler beim Senden</h1>
<a href="contact.html" class="bg-blue-600 px-4 py-2">Zurück</a>
</div>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Erfolg</title>
<link href="/assets/tailwind.css" rel="stylesheet">
</head>
<body class="bg-gray-900 text-white flex items-center justify-center min-h-screen">
<div class="bg-gray-800 p-8 rounded-2xl text-center">
<h1 class="text-2xl mb-4">Anfrage gesendet</h1>
<p class="mb-6">Wir melden uns zeitnah bei dir.</p>
<a href="contact.html" class="bg-blue-600 px-4 py-2">Zurück</a>
</div>
</body>
</html>
+45
View File
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Wo ist die Fotobox?</title>
<link rel="stylesheet" href="/assets/tailwind.css" />
<link rel="stylesheet" href="/assets/material-icons.css" />
<link rel="stylesheet" href="/assets/leaflet.css" />
<script src="/assets/leaflet.js"></script>
<style>
#map {
height: 420px;
border-radius: 16px;
}
</style>
</head>
<body class="bg-gray-950 text-gray-100">
<div class="max-w-3xl mx-auto p-6 space-y-5">
<h1 class="text-2xl font-bold text-white">Wo ist die Fotobox?</h1>
<div class="bg-gray-900 border border-gray-800 p-5 rounded-2xl shadow-lg space-y-4">
<div>
<p id="title" class="text-lg font-semibold text-white">Lade...</p>
</div>
<div id="map" class="overflow-hidden"></div>
<div class="flex gap-3 pt-2">
<a id="gmaps" target="_blank" class="flex-1 text-center bg-blue-600 text-white py-2 rounded-xl hover:bg-blue-700 transition">Google Maps</a>
<a id="applemaps" target="_blank" class="flex-1 text-center bg-white text-black py-2 rounded-xl hover:bg-gray-200 transition">Apple Maps</a>
</div>
</div>
</div>
<script src="/assets/woistdiebox.js"></script>
</body>
</html>