Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 40 lines (37 sloc) 1.33 KB
<!DOCTYPE html>
<title>Slippy Slides Repository</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body {
font: 12px Arial, sans-serif;
.download {
font-size: 0.6em;
<h1>This is a Slippy Repository</h1>
<p>You can find the sources for this application on <a href="">github</a>, and browse the available slide decks in the list below.</p>
foreach ($decks as $deck) {
echo '<li>';
echo '<h2>
<a href="?file='.htmlspecialchars(urlencode(basename($deck['file']))).'">'.$deck['topic'].'</a>
<a rel="nofollow" class="download" href="?file='.htmlspecialchars(urlencode(basename($deck['file']))).'&download=1">Download</a>
if (isset($deck['date'])) {
echo $deck['date'];
if (isset($deck['venue'])) {
echo ' @ '.$deck['venue'];
echo '</li>';