forked from tilderadio/site
initial schedule work
This commit is contained in:
parent
2e8a4bf2cd
commit
c1d42e189b
|
@ -8,7 +8,7 @@
|
|||
</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/css/hacker.css">
|
||||
|
||||
<link rel="icon" type="image/png" href="https://tilderadio.org/logos/tilderadio-green.png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php include 'header.php'; ?>
|
||||
|
||||
<h1><a href="https://tilderadio.org"><img style="width:75px;" src="./logos/tilderadio-green.png">tilderadio.org</a></h1>
|
||||
|
||||
<br>
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
<?php include '../header.php'; ?>
|
||||
<?php
|
||||
include '../header.php';
|
||||
$schedule = json_decode(file_get_contents("https://radio.tildeverse.org/api/station/1/schedule"), true);
|
||||
?>
|
||||
|
||||
<h1><a href="https://tilderadio.org"><img style="width:75px;" src="../logos/tilderadio-green.png">tilderadio.org</a></h1>
|
||||
<br>
|
||||
<br>
|
||||
<p>
|
||||
New Schedule Announcement Coming Soon!
|
||||
</p>
|
||||
<h4>upcoming broadcasts</h4>
|
||||
|
||||
<?php foreach ($schedule as $item): ?>
|
||||
<p><?=$item["name"]?> - <?=$item["start"]?>-<?=$item["end"]?></p>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php include '../footer.php'; ?>
|
||||
|
|
Loading…
Reference in New Issue