Move header and footer to .inc.php
This commit is contained in:
parent
d750dcc4d2
commit
41efcbfbe5
13 changed files with 60 additions and 160 deletions
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Bookmarks</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -22,7 +22,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Bookmarks</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -48,7 +48,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Calculators</title>
|
||||
|
@ -13,7 +13,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -134,7 +134,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Computers</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content"><table class="computers" border="0">
|
||||
|
@ -266,7 +266,7 @@
|
|||
</tr></table></div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Guestbook</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -64,7 +64,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Guestbook</title>
|
||||
|
@ -12,7 +12,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -49,7 +49,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<hr>
|
||||
<div style="text-align: center;">
|
||||
<img src="/res/img/buttons/browser.gif"> <a href="https://www.linux.org/"><img src="/res/img/buttons/linuxnow.gif"></a> <a href="https://www.vim.org/"><img src="/res/img/buttons/vim.gif"></a> <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="/res/img/buttons/vcss-blue" alt="Valid CSS!"></a> <a href=""><img style="border:0;width:88px;height:31px" src="/res/img/buttons/valid-html401-blue.png" alt="Valid HTML 4.01!"></a><br>
|
||||
<img src="/res/img/buttons/browser.gif"> <a href="https://www.linux.org/"><img src="/res/img/buttons/linuxnow.gif"></a> <a href="https://www.vim.org/"><img src="/res/img/buttons/vim.gif"></a> <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="/res/img/buttons/vcss-blue.gif" alt="Valid CSS!"></a> <a href=""><img style="border:0;width:88px;height:31px" src="/res/img/buttons/valid-html401-blue.png" alt="Valid HTML 4.01!"></a><br>
|
||||
Last Modified <span class="date"><?=date('Y-m-d H:i:s', filemtime($file) + 3600);?> GMT</span>
|
||||
</div>
|
|
@ -2,11 +2,6 @@
|
|||
<div class="header">
|
||||
<nav>
|
||||
<div>
|
||||
<!--<a href="/me/">about</a> |
|
||||
<a href="/projects/">projects</a> |
|
||||
<a href="/pics/">pics</a> |-->
|
||||
<!--<a href="/dog/">dog</a> |-->
|
||||
<!--<a href="/pics/">pictures</a> |-->
|
||||
<a href="/projects/">projects</a> |
|
||||
<a href="https://github.com/floppydisk05?tab=repositories">repos</a> |
|
||||
<a href="/calculators/">calculators</a> |
|
113
index.php
113
index.php
|
@ -1,20 +1,23 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('./inc/head.html'); ?>
|
||||
<?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') ?>
|
||||
<?php require('./inc/nav.inc.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>-->
|
||||
|
@ -24,119 +27,21 @@
|
|||
<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>
|
||||
|
||||
<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>-->
|
||||
<?php require('./inc/lastfm.inc.php') ?>
|
||||
|
||||
<h1>Contact</h1>
|
||||
<p><strong>Mail</strong>: floppydisk05@aol.com<br>
|
||||
<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.php'); ?>
|
||||
<?php $file = __FILE__;require('./inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Calculators</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Pictures</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -22,7 +22,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<?php require('../inc/head.html'); ?>
|
||||
<?php require('../inc/header.inc.php'); ?>
|
||||
|
||||
<!-- Page-specific -->
|
||||
<title>Projects</title>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<?php require('../inc/nav.php') ?>
|
||||
<?php require('../inc/nav.inc.php') ?>
|
||||
|
||||
<div id="pagebody">
|
||||
<div id="content">
|
||||
|
@ -39,7 +39,7 @@
|
|||
</div> <!-- content -->
|
||||
|
||||
<div id="footer" class="pagefooter">
|
||||
<?php $file = __FILE__;require('../inc/footer.php'); ?>
|
||||
<?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
|
||||
</div> <!-- footer -->
|
||||
</div> <!-- pagebody -->
|
||||
</div> <!-- page -->
|
||||
|
|
Loading…
Reference in a new issue