aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorFrankie B <floppydisk05@aol.com>2022-11-15 22:20:35 +0000
committerFrankie B <floppydisk05@aol.com>2022-11-15 22:20:35 +0000
commit41efcbfbe5be1aafea665332f55cce74b27d6a3d (patch)
tree948cd688a7530d45c00d7c79f79e50e22027d5f6 /index.php
parentd750dcc4d266ed5576599fcca4c9a996efc83ec4 (diff)
Move header and footer to .inc.php
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php167
1 files changed, 36 insertions, 131 deletions
diff --git a/index.php b/index.php
index 54be31a..ff8e6ee 100755
--- a/index.php
+++ b/index.php
@@ -1,143 +1,48 @@
+
<!DOCTYPE html>
<html lang="en">
<head>
- <!-- Global -->
- <?php require('./inc/head.html'); ?>
-
- <!-- Page-specific -->
- <title>~floppydisk</title>
- <meta property="og:title" content="~floppydisk">
- <meta property="og:description" content="This is the personal homepage of floppydisk. Every now and then, I dabble in software/hardware projects, take pictures, or write blogposts.">
- <meta property="og:image" content="/favicon.png">
+ <!-- Global -->
+ <?php require('./inc/header.inc.php'); ?>
+
+ <!-- Page-specific -->
+ <title>~floppydisk</title>
+ <meta property="og:title" content="~floppydisk">
+ <meta property="og:description" content="This is the personal homepage of floppydisk. Every now and then, I dabble in software/hardware projects, take pictures, or write blogposts.">
+ <meta property="og:image" content="/favicon.png">
+ <style>td{padding:0px;}</style>
</head>
<body>
<div class="page">
-<?php require('./inc/nav.php') ?>
-<div id="pagebody">
- <div id="content">
- <!--<br><table class="banner"><tr><td class="banner"><b>Service Message:</b> This is more related to <a class="bannerlink" href="//www.nickandfloppy.com/">nickandfloppy.com</a> but our Gitea service is currently in the process of being migrated to a new VPS. Due to the lengthly migration process, <a class="bannerlink" href="//git.nickandfloppy.com/">git.nickandfloppy.com</a> may periodically be unavailable, though this isn't expected until the final transition.<br><br>~ nick and floppy</td></tr></table>-->
- <p>Hi!</p>
- <p>This is the personal homepage of <a href="./me/">floppydisk</a>. Every now and then, I
- dabble in software/hardware <a href="./projects/">projects</a>, take <a href="./pics/">pictures</a>, or write
- <a href="./interblag/">blogposts</a>.
- </p>
-
- <h1>Music <small>(that I like)</small></h1>
- <table class="skami">
- <tr>
- <td><img src="https://ia804502.us.archive.org/8/items/mbid-b1d2802a-73a9-43e0-a704-f3641cdd8841/mbid-b1d2802a-73a9-43e0-a704-f3641cdd8841-29578599476.jpg" width="64" ></td>
- <td width="500"><pre class="music"><b>Title:</b> Goodbye
-<b>Album:</b> Inside (The Songs)
-<b>Artist:</b> Bo Burnham
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://geo-media.beatsource.com/image_size/64x64/2/1/9/21919d1e-4c70-4525-864e-73be29a56f2c.jpg"></td>
- <td width="500"><pre class="music"><b>Title:</b> Enjoy the Silence
-<b>Album:</b> The Singles 86>98
-<b>Artist:</b> Depeche Mode
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Bizarre Love Triangle
-<b>Album:</b> album
-<b>Artist:</b> New Order
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Crying in the Rain
-<b>Album:</b> album
-<b>Artist:</b> a-ha
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Drama!
-<b>Album:</b> album
-<b>Artist:</b> Erasure
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Stop!
-<b>Album:</b> album
-<b>Artist:</b> Erasure
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Is This Love?
-<b>Album:</b> album
-<b>Artist:</b> Alisson Moyet
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Two Birds
-<b>Album:</b> Far
-<b>Artist:</b> Regina Spektor
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://via.placeholder.com/64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Maid Of Orleans
-<b>Album:</b> album
-<b>Artist:</b> Orchestral Manoeuvres in the Dark
- </pre></td>
- </tr>
- <tr>
- <td><img src="https://ia600508.us.archive.org/15/items/mbid-08159cda-2db5-4bd4-94ca-8d6c75522cb7/mbid-08159cda-2db5-4bd4-94ca-8d6c75522cb7-9970486444.jpg" width="64"></td>
- <td width="500"><pre class="music"><b>Title:</b> Go!
-<b>Album:</b> The Race For Space
-<b>Artist:</b> Public Service Broadcasting
- </pre></td>
- </tr>
- </table>
-
- <!--<h1>Projects <small>(Individual project pages TBD)</small></h1>
- <p>Various Projects I've worked on</p>
- <h2>Personal Projects</h2>
- <p>Projects I prefer to work on solo</p>
- <div class="project">
- <span class="name"><a href="http://weather.diskfloppy.me/">weather.diskfloppy.me</a></span>
- <br>
- <a href="/projects/weatherdata">A page to display data from my weather station</a>
- </div>
+<?php require('./inc/nav.inc.php') ?>
- <div class="project">
- <span class="name"><a href="http://trivia.diskfloppy.me/">trivia.diskfloppy.me</a></span>
- <br>
- <a href="/projects/trivia-api">A REST API to get trivia questions</a>
- </div>
-
- <h2>Group Projects</h2>
- <p>Projects I do/have done with friends</p>
- <div class="project">
- <span class="name"><a href="https://drivers.nickandfloppy.com/">drivers.nickandfloppy.com</a> (<a href="http://drivers.nickandfloppy.com/">HTTP</a>)</span>
- <br>
- <a href="/projects/netdrivers/">Driver indexing and storage website</a>
- </div>
-
- <h1>News</h1>
- <p>No news... <i>yet!</i></p>-->
-
- <h1>Contact</h1>
- <p><strong>Mail</strong>: floppydisk05@aol.com<br>
- <strong>IRC</strong>: floppydisk @ r-type<br>
- </p>
-
- <h1>Elsewhere</h1>
- <p><strong>Twitter</strong>: <a href="https://twitter.com/floppydisk__">@floppydisk__</a><br>
- <strong>GitHub</strong>: <a href="https://github.com/floppydisk05">floppydisk05</a><br>
- </p>
- </div> <!-- content -->
- <div id="footer" class="pagefooter">
- <?php $file = __FILE__;require('./inc/footer.php'); ?>
- </div> <!-- footer -->
+<div id="pagebody">
+ <div id="content">
+ <!--<br><table class="banner"><tr><td class="banner"><b>Service Message:</b> This is more related to <a class="bannerlink" href="//www.nickandfloppy.com/">nickandfloppy.com</a> but our Gitea service is currently in the process of being migrated to a new VPS. Due to the lengthly migration process, <a class="bannerlink" href="//git.nickandfloppy.com/">git.nickandfloppy.com</a> may periodically be unavailable, though this isn't expected until the final transition.<br><br>~ nick and floppy</td></tr></table>-->
+ <p>Hi!</p>
+ <p>This is the personal homepage of <a href="./me/">floppydisk</a>. Every now and then, I
+ dabble in software/hardware <a href="./projects/">projects</a>, take <a href="./pics/">pictures</a>, or write
+ <a href="./interblag/">blogposts</a>.
+ </p>
+
+ <?php require('./inc/lastfm.inc.php') ?>
+
+ <h1>Contact</h1>
+ <p><strong>Mail</strong>: contact@diskfloppy.me<br>
+ <strong>IRC</strong>: floppydisk @ r-type<br>
+ </p>
+
+ <h1>Elsewhere</h1>
+ <p><strong>Twitter</strong>: <a href="https://twitter.com/floppydisk__">@floppydisk__</a><br>
+ <strong>GitHub</strong>: <a href="https://github.com/floppydisk05">floppydisk05</a><br>
+ <strong>SDF</strong>: <a href="http://floppydisk.sdf.org/">floppydisk.sdf.
+ </p>
+ </div> <!-- content -->
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('./inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
</body>