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