-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
91 lines (83 loc) · 4.85 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
require_once("functions/functions.php");
?>
<!DOCTYPE html>
<html lang="de" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Die drei Fragezeichen Einschlafhilfe ist ein Tool um dir eine Folge des Hörspiels vorzuschlagen, wenn du dich mal nicht entscheiden kannst.">
<meta name="author" content="Marvin Stelter">
<meta name="generator" content="Hugo 0.88.1">
<title>Die drei Fragezeichen Einschlafhilfe</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="icon" href="icons/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">
<meta name="theme-color" content="#000000">
<link href="css/custom.css" rel="stylesheet">
</head>
<body class="d-flex flex-column h-100">
<?php
include("includes/navbar.php");
?>
<main class="flex-shrink-0">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="pb-3">
<div class="btn-group" style="margin: 10px;">
<a href="?option=" <?php if(isset($_GET['option'])){ echo 'class="btn btn-dark"'; }else{ echo 'class="btn btn-dark active" aria-current="page"';}?>>Die drei ???</a>
<a href="?option=kids" <?php if($_GET['option'] == "kids"){ echo 'class="btn btn-dark active" aria-current="page"'; }else{ echo 'class="btn btn-dark"';}?>>Die drei ??? - Kids</a>
<a href="?option=dr3i" <?php if($_GET['option'] == "dr3i"){ echo 'class="btn btn-dark active" aria-current="page"'; }else{ echo 'class="btn btn-dark"';}?>>Die Dr3i</a>
</div>
<?php
if($_GET['option'] == "dr3i"){
echo diedr3i("https://api.citroncode.com/android/ddf/v5/folgen_dd_php.json");
}else if($_GET['option'] == "kids"){
echo selectFromSpotify("https://api.citroncode.com/android/ddf/v5/folgen_kids_php.json");
}else{
echo selectFromSpotify("https://api.citroncode.com/android/ddf/v4/folgen_php.json");
}
?>
<div class="d-flex justify-content-center">
<a href="<?php echo "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>" style="margin-top: 10px" type="button" class="btn btn-dark form-control">Folge auswählen</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 100%;">
<img src="https://citroncode.com/apps/6-drei-fragezeichen-einschlafhilfe/screen.png" class="card-img-top" alt="Android App Preview Banner">
<div class="card-body">
<h5 class="card-title">Einschhalfhilfe Android App</h5>
<p class="card-text">Die drei Fragezeichen Einschlafhilfe gibt es auch als native Android App mit einem größeren Funktionsumfang.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">Android 6.0+</li>
<li class="list-group-item">Keine sensitiven Berechtigungen!</li>
<li class="list-group-item">Quelloffen</li>
<li class="list-group-item">Kostenlos und Werbefrei</li>
</ul>
<div class="card-body">
<a href="https://play.google.com/store/apps/details?id=de.msdevs.einschlafhilfe" class="card-link">Herunterladen</a>
</div>
</div>
<div style="margin-top: 10px" class="card text-white bg-dark mb-3" style="max-width: 100%;">
<div class="card-header">Information:</div>
<div class="card-body">
<p class="card-text">
„Die drei ???“ sind eine eingetragene Marke der Franckh-Kosmos Verlags-GmbH & Co. KG, Stuttgart.
Diese Internetseite und unsere App ist NICHT im Besitz von Kosmos, Europa, der Familie Roberts oder anderen Personen, die in die Produktion der Serie Die drei ??? eingebunden sind.
Alle Schutzmarken, Logos und Copyrights gehören ihren jeweiligen Besitzern.
Alle Bilder © copyright by Kosmos, Europa, Studios Hamburg, USM oder Random House.
</p>
</div>
</div>
</div>
</div>
</div>
</main>
<?php
include("includes/footer.php");
?>
</body>
</html>