site-web-le-plus-beau-des-v.../index.php

56 lines
2 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="fr">
<head>
<!-- favicons -->
<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">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="favicon" type="ico" href="assets/favicons/favicon.ico">
<!-- head data -->
<title>Le plus beau des voyages</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="scss/styles.css" />
<!-- bootstrap css -->
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity=
"sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous">
</head>
<body>
<?php // phpcs:ignoreFile
require_once "podcast.php";
$podcast = new Podcast(
"https://feeds.acast.com/public/shows/le-plus-beau-des-voyages"
);
?>
<div class="Title">
<h1><?php echo $podcast->title ?></h1>
<p>Animé par Pauline</p>
</div>
<p class="Podcast-desc">
<?php echo $podcast->description ?>
</p>
<hr>
<!-- Last episode -->
<div class="Last-episode">
<h2>Le dernier épisode :</h2>
<h3 class="Last-episode-title"><?php echo $podcast->latestEpTitle ?></h3>
<?php echo $podcast->latestEpPublicationDate ?>
<audio controls=true <?php echo $podcast->latestEpAudioData ?>></audio>
<p class="Last-episode-desc"><?php echo $podcast->latestEpDescription ?></p>
</div>
</body>
</html>