2024-05-01 00:48:31 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
2024-05-06 12:52:55 +02:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-05-01 00:48:31 +02:00
|
|
|
<!-- favicons -->
|
2024-05-06 12:52:55 +02:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="/assets/favicons/site.webmanifest">
|
|
|
|
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
|
|
|
|
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
|
|
|
|
<meta name="msapplication-TileColor" content="#00aba9">
|
|
|
|
<meta name="msapplication-config" content="/assets/favicons/browserconfig.xml">
|
2024-05-01 00:48:31 +02:00
|
|
|
<meta name="theme-color" content="#ffffff">
|
2024-05-06 12:52:55 +02:00
|
|
|
<!-- bootstrap -->
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
2024-05-01 00:48:31 +02:00
|
|
|
<!-- head data -->
|
2024-05-06 12:52:55 +02:00
|
|
|
<link rel="stylesheet" href="assets/style.css" />
|
2024-05-01 00:48:31 +02:00
|
|
|
<title>Le plus beau des voyages</title>
|
2024-05-01 18:45:29 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-05-06 12:52:55 +02:00
|
|
|
<?php
|
|
|
|
require_once "tools/podcast.php";
|
|
|
|
$podcast = new feed\Podcast;
|
|
|
|
?>
|
2024-05-02 18:49:34 +02:00
|
|
|
<div class="container">
|
2024-05-06 12:52:55 +02:00
|
|
|
<!-- Header -->
|
|
|
|
<h1 class="cursive_font_bold text-center pt-3 pb-2">
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
</h1>
|
2024-05-02 18:49:34 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm"></div>
|
|
|
|
<div class="col-sm">
|
|
|
|
<p class="cursive_font fs-6 fw-lighter text-end">animé par Pauline</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm"></div>
|
2024-05-01 18:45:29 +02:00
|
|
|
</div>
|
2024-05-06 12:52:55 +02:00
|
|
|
<p class="podcast_desc text-center">
|
|
|
|
<?= $podcast->desc ?>
|
|
|
|
</p>
|
2024-05-02 18:49:34 +02:00
|
|
|
<hr class="ms-2 me-2">
|
|
|
|
<!-- Episodes -->
|
2024-05-01 18:45:29 +02:00
|
|
|
<div>
|
2024-05-08 00:47:53 +02:00
|
|
|
<select class="form-select form-select-lg mb-3" name="" id="episode-selection" autocomplete="off">
|
|
|
|
<option value="0" selected><?= $podcast->episodes[0]->title; ?></option>
|
|
|
|
<?php foreach ($podcast->episodes as $key => $ep) {
|
|
|
|
if ($key != 0) {
|
|
|
|
echo "<option value={$key}>Episode {$key} - {$podcast->episodes[$key]->title}</option>";
|
|
|
|
};
|
|
|
|
} ?>
|
|
|
|
</select>
|
|
|
|
<div class="dPubDate"><?= $podcast->episodes[0]->pubDate; ?></div>
|
|
|
|
<div class="dDesc"><?= $podcast->episodes[0]->desc ?></div>
|
|
|
|
<audio controls class="dAudio">
|
|
|
|
<source <?= $podcast->episodes[0]->audioData; ?>>
|
|
|
|
</audio>
|
2024-05-01 18:45:29 +02:00
|
|
|
</div>
|
2024-05-01 00:48:31 +02:00
|
|
|
</div>
|
2024-05-06 12:52:55 +02:00
|
|
|
<script type="text/javascript" src="tools/script.js"></script>
|
2024-05-08 00:47:53 +02:00
|
|
|
<div class="epData" hidden>
|
2024-05-06 18:27:06 +02:00
|
|
|
<?php foreach ($podcast->episodes as $key => $ep) {
|
2024-05-08 00:47:53 +02:00
|
|
|
echo "<div class=\"ep{$key}\">
|
|
|
|
<div class=\"ep{$key}-title\">{$ep->title}</div>
|
|
|
|
<div class=\"ep{$key}-pubDate\">{$ep->pubDate}</div>
|
|
|
|
<div class=\"ep{$key}-desc\">{$ep->desc}</div>
|
|
|
|
<audio class=\"ep{$key}-audio\">
|
|
|
|
<source {$ep->audioData}>
|
|
|
|
</audio>
|
2024-05-06 18:27:06 +02:00
|
|
|
</div>";
|
|
|
|
} ?>
|
2024-05-02 18:49:34 +02:00
|
|
|
</div>
|
2024-05-06 12:52:55 +02:00
|
|
|
</body>
|
|
|
|
</html>
|