aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rwxr-xr-xblank/index.php30
-rwxr-xr-xbookmarks/index.php56
-rwxr-xr-xcalculators/index.php6
-rwxr-xr-xcomputers/index.php477
-rwxr-xr-xguestbook/index.php91
-rwxr-xr-xguestbook/submit.php57
-rw-r--r--inc/config.example.inc.php5
-rw-r--r--inc/footer.inc.php5
-rw-r--r--inc/header.inc.php (renamed from inc/head.html)2
-rw-r--r--inc/lastfm.inc.php65
-rw-r--r--inc/nav.inc.php (renamed from inc/nav.php)9
-rwxr-xr-xindex.php91
-rwxr-xr-xme/index.php4
-rwxr-xr-xpics/index.php20
-rwxr-xr-xprojects/index.php37
-rwxr-xr-xres/css/dark.css11
-rwxr-xr-xres/css/global.css39
-rwxr-xr-xres/css/light.css286
-rw-r--r--res/img/buttons/browser.gifbin0 -> 2565 bytes
-rw-r--r--res/img/buttons/linuxnow.gifbin0 -> 3978 bytes
-rw-r--r--res/img/buttons/valid-html401-blue.pngbin0 -> 1669 bytes
-rw-r--r--res/img/buttons/vcss-blue.gifbin0 -> 1759 bytes
-rw-r--r--res/img/buttons/vim.gifbin0 -> 3879 bytes
-rwxr-xr-xres/img/calculatorssmol.7zbin3346738 -> 0 bytes
-rwxr-xr-xres/js/themeswap.js26
26 files changed, 721 insertions, 600 deletions
diff --git a/.gitignore b/.gitignore
index 707640c..91f2e22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
ignore/
discord/
oreilly/
-publicfiles/ \ No newline at end of file
+publicfiles/
+inc/config.inc.php
+files/ \ No newline at end of file
diff --git a/blank/index.php b/blank/index.php
new file mode 100755
index 0000000..ae08eb1
--- /dev/null
+++ b/blank/index.php
@@ -0,0 +1,30 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <!-- Global -->
+ <?php require('../inc/header.inc.php'); ?>
+
+ <!-- Page-specific -->
+ <title>Bookmarks</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <meta property="og:title" content="title">
+ <meta property="og:description" content="description">
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
+</head>
+<body>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
+
+<div id="pagebody">
+ <div id="content">
+
+ </div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
+</div> <!-- pagebody -->
+</div> <!-- page -->
+</body>
+</html>
diff --git a/bookmarks/index.php b/bookmarks/index.php
new file mode 100755
index 0000000..cdfa7bc
--- /dev/null
+++ b/bookmarks/index.php
@@ -0,0 +1,56 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <!-- Global -->
+ <?php require('../inc/header.inc.php'); ?>
+
+ <!-- Page-specific -->
+ <title>Bookmarks</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <meta property="og:title" content="Bookmarks">
+ <meta property="og:description" content="friends' websites or sites I just find cool">
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
+</head>
+<body>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
+
+<div id="pagebody">
+ <div id="content">
+ <h1>Friends' Websites</h1>
+ <ul>
+ <li><a href="http://www.nick99nack.com/">nick99nack</a> - Currently in the process of taking over the internet. I <i>Totally</i> didn't steal any of his stuff.</li>
+ <li><a href="http://dkay.xyz/">dkay</a> - The land of norton.</li>
+ <li><a href="https://campos02.me/">Vbc</a> - Cool brazilian dude, does programming and stuff</li>
+ <li><a href="https://kickfacehq.com/">KickfaceHQ</a> - The interwebz home of Daniel Kickface and Team Kickface! Uses a totally rad FrontPage 2003 theme.</li>
+ <li><a href="https://joshuaalto.com/">Sashi</a> - Site redesign #8! I'll find a website style I enjoy eventually, I swear!</li>
+ <li><a href="http://strangenessnetworks.com/">noone</a> - Strangeness Network, noone's website.</li>
+ <li><a href="https://notashelf.dev/">raf</a> - is a shelf</li>
+ <li><a href="https://starman0620.neocities.org/">CamK06</a> - Now with more outdated HTML!</li>
+ <li><a href="https://hiden.pw/">HIDEN</a> - Moar buttons!</li>
+ <li><a href="http://cocomark.neocities.org/">Coco</a> - needs to go to the brain store</li>
+ <li><a href="http://toxi.pw/">Toxidations</a> - h (idk if this is his actual domain he has like 5)</li>
+ <li><a href="http://xproot.pw/">xproot</a> - a random internet person on this very random planet</li>
+ </ul>
+ <h1>Computing / Technology</h1>
+ <ul>
+ <li><a href="http://www.winworldpc.com/">WinWorld</a> - WinWorld is an online museum dedicated to the preservation and sharing of vintage, abandoned, and pre-release software.</li>
+ <li><a href="http://nina.chat/">NINA</a> - Upcoming revival of the America Online service.</li>
+ <li><a href="http://escargot.chat/">Escargot</a> - MSN & Yahoo Messenger Revival</li>
+ </ul>
+ <h1>Other Cool Stuff</h1>
+ <ul>
+ <li><a href="http://toastytech.com/">ToastyTech</a> - Nathan's Toasty Technology Page</li>
+ <li><a href="http://www.hoary.org/browse/">Optimized for no one</a> - Optimized for no one, but pretty much OK with . . .</li>
+ <li><a href="http://www.cameronsworld.net/">Cameron's World</a> - A love letter to the Internet of old.</li>
+ </ul>
+ </div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
+</div> <!-- pagebody -->
+</div> <!-- page -->
+</body>
+</html>
diff --git a/calculators/index.php b/calculators/index.php
index e7ca785..c320f46 100755
--- a/calculators/index.php
+++ b/calculators/index.php
@@ -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">
- <!-- Created <span class="date">Sat 26 Mar 2011 03:11:41 PM CET</span> -->
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
</div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
diff --git a/computers/index.php b/computers/index.php
index 7ffadc3..e140dd4 100755
--- a/computers/index.php
+++ b/computers/index.php
@@ -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,208 +14,289 @@
</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">
- <tr>
+ <div id="content"><table class="computers" border="0">
+ <tr>
+ <!-- Lenovo ThinkPad T430 -->
<td class="computer">
- <h1>Lenovo ThinkPad T430 (2012)</h1>
- <h2>Specifications</h2>
- <table class="skami">
- <tr>
- <td><b>OS</b></td>
- <td>Arch Linux x86_64 / Windows 7 Pro</td>
- </tr>
- <tr>
- <td><b>LCD Resolution</b></td>
- <td>1600x900</td>
- </tr>
- <tr>
- <td><b>CPU</b></td>
- <td>Intel i7-3520M (4 cores) @ 3.6GHz</td>
- </tr>
- <tr>
- <td><b>GPU</b></td>
- <td>Intel 3rd Gen Core processor Graphics Controller</td>
- </tr>
- <tr>
- <td><b>Memory</b></td>
- <td>16GB</td>
- </tr>
- <tr>
- <td><b>HDD0</b></td>
- <td>Crucial CT500MX500SSD1 (500GB, Linux)</td>
- </tr>
- <tr>
- <td><b>HDD1</b></td>
- <td>Crucial CT250MX500SSD1 (250GB, Windows)</td>
- </tr>
- </table>
- </td>
- <td class="computer">
- <h1>Macbook Pro (2018)</h1>
- <h2>Specifications</h2>
- <table class="skami">
- <tr>
- <td><b>OS</b></td>
- <td>macOS 12.5.1</td>
- </tr>
- <tr>
- <td><b>LCD Resolution</b></td>
- <td>2560x1600 (Retina)</td>
- </tr>
- <tr>
- <td><b>CPU</b></td>
- <td>Intel i5-8259U (8 cores) @ 2.3GHz</td>
- </tr>
- <tr>
- <td><b>GPU</b></td>
- <td>Intel Iris Plus Graphics 655</td>
- </tr>
- <tr>
- <td><b>Memory</b></td>
- <td>8GB</td>
- </tr>
- <tr>
- <td><b>HDD</b></td>
- <td>Apple SSD AP0256M (250GB)</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="computer">
- <h1>IBM ThinkPad T40 (2003)</h1>
- <h2>Specifications</h2>
- <table class="skami">
- <tr>
- <td><b>OS</b></td>
- <td>Windows XP Pro / Windows 2000 Pro (Extended)</td>
- </tr>
- <tr>
- <td><b>LCD Resolution</b></td>
- <td>1024x768</td>
- </tr>
- <tr>
- <td><b>CPU</b></td>
- <td>Intel Pentium M (single core) @ 1.3GHz</td>
- </tr>
- <tr>
- <td><b>GPU</b></td>
- <td>ATI Mobility Radeon 7500 (32MB)</td>
- </tr>
- <tr>
- <td><b>Memory</b></td>
- <td>1GB (DDR SDRAM)</td>
- </tr>
- <tr>
- <td><b>HDD</b></td>
- <td>Fujitsu MHS2030AT (30GB)</td>
- </tr>
- </table>
- </td>
- <td class="computer">
- <h1>IBM ThinkPad X41 (2005)</h1>
- <h2>Specifications</h2>
- <table class="skami">
- <tr>
- <td><b>OS</b></td>
- <td>Windows XP Tablet PC Edition (2005, SP3)</td>
- </tr>
- <tr>
- <td><b>LCD Resolution</b></td>
- <td>1024x768 (TFT)</td>
- </tr>
- <tr>
- <td><b>CPU</b></td>
- <td>Intel Pentium M (single core) @ 1.6GHz</td>
- </tr>
- <tr>
- <td><b>GPU</b></td>
- <td>Mobile Intel 915GM/GMS 910GML Express Chipset Family (128MB)</td>
- </tr>
- <tr>
- <td><b>Memory</b></td>
- <td>1.5GB (DDR SDRAM)</td>
- </tr>
- <tr>
- <td><b>HDD</b></td>
- <td>Hitachi HTC426040G9AT00 (40GB)</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="computer">
- <h1>Dell OptiPlex GX1 (400L+, 1999)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- <td class="computer">
- <h1>Dell Inspiron 1525 (2008)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- </tr>
- <tr>
- <td class="computer">
- <h1>Dell OptiPlex 745 (USFF, 2007, x3)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- <td class="computer">
- <h1>Compaq Armada M300 (2000)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- </tr>
- <tr>
- <td class="computer">
- <h1>Random Whitebox (???)</h1>
- <h2>Specifications</h2>
- <table class="skami">
- <tr>
- <td><b>OS</b></td>
- <td>Windows XP Pro (SP3)</td>
- </tr>
- <tr>
- <td><b>CPU</b></td>
- <td>AMD Athon-PECM (Thunderbird, 4 cores, 1.2GHz)</td>
- </tr>
- <tr>
- <td><b>GPU</b></td>
- <td>Hercules 3D Propher 9000 PCI (ATI Radeon 9000, 64MB)</td>
- </tr>
- <tr>
- <td><b>Memory</b></td>
- <td>500MB</td>
- </tr>
- <tr>
- <td><b>HDD</b></td>
- <td>Seagate ST3160215ACE (150GB)</td>
- </tr>
- </table>
- </td>
- <td class="computer">
- <h1>Mac mini (2014)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- </tr>
- <tr>
- <td class="computer">
- <h1>Fujitsu Milan (1996)</h1>
- <h2>Specifications</h2>
- <p>TBD</p>
- </td>
- </tr>
- </table>
- </div> <!-- content -->
+ <h1>Lenovo ThinkPad T430 (2012)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Arch Linux x86_64 / Windows 7 Pro</td>
+ </tr>
+ <tr>
+ <td><b>LCD Resolution</b></td>
+ <td>1600x900</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel i7-3520M (4 cores) @ 3.6GHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>Intel 3rd Gen Core processor Graphics Controller</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>16GB</td>
+ </tr>
+ <tr>
+ <td><b>HDD0</b></td>
+ <td>Crucial CT500MX500SSD1 (500GB, Linux)</td>
+ </tr>
+ <tr>
+ <td><b>HDD1</b></td>
+ <td>Crucial CT250MX500SSD1 (250GB, Windows)</td>
+ </tr>
+ </table>
+ </td>
+ <!-- Macbook Pro (2018) -->
+ <td class="computer">
+ <h1>Macbook Pro (2018)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>macOS 12.5.1</td>
+ </tr>
+ <tr>
+ <td><b>LCD Resolution</b></td>
+ <td>2560x1600 (Retina)</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel i5-8259U (8 cores) @ 2.3GHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>Intel Iris Plus Graphics 655</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>8GB</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Apple SSD AP0256M (250GB)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <!-- IBM ThinkPad T40 (2003) -->
+ <td class="computer">
+ <h1>IBM ThinkPad T40 (2003)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Windows XP Pro / Windows 2000 Pro (Extended)</td>
+ </tr>
+ <tr>
+ <td><b>LCD Resolution</b></td>
+ <td>1024x768</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel Pentium M (single core) @ 1.3GHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>ATI Mobility Radeon 7500 (32MB)</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>1GB (DDR SDRAM)</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Fujitsu MHS2030AT (30GB)</td>
+ </tr>
+ </table>
+ </td>
+ <!-- IBM ThinkPad X41 (2005) -->
+ <td class="computer">
+ <h1>IBM ThinkPad X41 (2005)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Windows XP Tablet PC Edition (2005, SP3)</td>
+ </tr>
+ <tr>
+ <td><b>LCD Resolution</b></td>
+ <td>1024x768 (TFT)</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel Pentium M (single core) @ 1.6GHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>Mobile Intel 915GM/GMS 910GML Express Chipset Family (128MB)</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>1.5GB (DDR SDRAM)</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Hitachi HTC426040G9AT00 (40GB)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <!-- Dell OptiPlex GX1 (400L+, 1999) -->
+ <td class="computer">
+ <h1>Dell OptiPlex GX1 (400L+, 1999)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Windows NT 4.0 (SP6)</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel Pentium II (Deschutes) @ 400 MHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>ATI 3D Rage Pro (4MB)</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>639MB (SDR SDRAM)</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Maxtor 2F020J0 (20GB)</td>
+ </tr>
+ </table>
+ </td>
+ <!-- Dell Inspiron 1525 (2008) -->
+ <td class="computer">
+ <h1>Dell Inspiron 1525 (2008)</h1>
+ <h2>Specifications</h2>
+ <p>TBD</p>
+ </td>
+ </tr>
+ <tr>
+ <!-- Dell OptiPlex 745 (USFF, 2007, x3) -->
+ <td class="computer">
+ <h1>Dell OptiPlex 745 (USFF, 2007, x3)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Various</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel Pentium Dual Core</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>4GB</td>
+ </tr>
+ </table>
+ </td>
+ <!-- Compaq Armada M300 (2000) -->
+ <td class="computer">
+ <h1>Compaq Armada M300 (2000)</h1>
+ <h2>Specifications</h2>
+ <p>TBD</p>
+ </td>
+ </tr>
+ <tr>
+ <!-- Random Whitebox (???) -->
+ <td class="computer">
+ <h1>Random Whitebox (???)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Windows XP Pro (SP3)</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>AMD Athon-PECM (Thunderbird, 4 cores, 1.2GHz)</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>Hercules 3D Propher 9000 PCI (ATI Radeon 9000, 64MB)</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>500MB</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Seagate ST3160215ACE (150GB)</td>
+ </tr>
+ </table>
+ </td>
+ <!-- Mac mini (2014) -->
+ <td class="computer">
+ <h1>Mac mini (2014)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>VMware ESXi 6.7.0u3</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel i5-4278U (4 cores) @ 2.6GHz</td>
+ </tr>
+ <tr>
+ <td><b>GPU</b></td>
+ <td>Intel Iris Graphics</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>8GB</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>Apple HDD HTS541 (1TB)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <!-- Fujitsu Milan (1996) -->
+ <td class="computer">
+ <h1>Fujitsu Milan (1996)</h1>
+ <h2>Specifications</h2>
+ <table class="skami">
+ <tr>
+ <td><b>OS</b></td>
+ <td>Windows 98 SE</td>
+ </tr>
+ <tr>
+ <td><b>CPU</b></td>
+ <td>Intel Pentium</td>
+ </tr>
+ <tr>
+ <td><b>Memory</b></td>
+ <td>32MB</td>
+ </tr>
+ <tr>
+ <td><b>HDD</b></td>
+ <td>IBM DPRA-21215 (1215MB)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </tr></table></div> <!-- content -->
<div id="footer" class="pagefooter">
- <!-- Created <span class="date">Sat 26 Mar 2011 03:11:41 PM CET</span> -->
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
</div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
diff --git a/guestbook/index.php b/guestbook/index.php
new file mode 100755
index 0000000..f8e3085
--- /dev/null
+++ b/guestbook/index.php
@@ -0,0 +1,91 @@
+<?php $db = new PDO("sqlite:/mnt/data1/webdata/floppydisk/guestbook.db"); ?>
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <!-- Global -->
+ <?php require('../inc/header.inc.php'); ?>
+
+ <!-- Page-specific -->
+ <title>Guestbook</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <meta property="og:title" content="Guestbook">
+ <meta property="og:description" content="h">
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
+</head>
+<body>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
+
+<div id="pagebody">
+ <div id="content">
+ <br>
+ <form action="submit.php" method="post">
+ <fieldset>
+ <legend>Add Entry</legend>
+ <table class="form">
+ <tr>
+ <td class="form"><label for="name">Name: </label></td>
+ <td class="form"><input type="text" name="name"></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="message">Message: </label></td>
+ <td class="form"><textarea name="message"></textarea></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="showip">Show IP: </label></td>
+ <td class="form"><input type="checkbox" name="showip" value="yes"></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="showinfo">Show info: </label></td>
+ <td class="form"><input type="checkbox" name="showinfo" value="yes" checked></td>
+ </tr>
+ <tr>
+ <td class="form" colspan="2"><input type="submit"></td>
+ </tr>
+ </table>
+ </fieldset>
+ </form>
+
+ <?php
+ // Pain
+ $count_query = $db->prepare('SELECT COUNT(*) FROM Entries');
+ $count_query->execute();
+ $count = $count_query->fetch()[0];
+ echo '<h1>Entries <small>(' . $count . ' total)</small></h1>';
+ // Prepare SELECT statement.
+ $select = "SELECT name, message, show_info, show_ip, ip, submitted, browser_info FROM Entries ORDER BY id DESC";
+ $stmt = $db->prepare($select);
+
+ // Execute statement.
+ $stmt->execute(); // ID between 1 and 3.
+
+ // Get the results.
+ $results = $stmt->fetchAll(PDO::FETCH_ASSOC);
+
+ foreach($results as $row) {
+ echo '<table border="1" width="500"><tr><td><pre>';
+ $submittedRaw = $row['submitted'];
+ $submittedDT = new DateTime("@$submittedRaw");
+ $submitted = $submittedDT->format('H:i:s - Y-m-d');
+
+ $browser = get_browser(null, true);
+ $sys = $browser['parent'] . ' (' . $browser['platform_description'] . ' ' . $browser['platform_version'] . ')';
+
+ echo 'Name: ' . $row['name'] . PHP_EOL;
+ if ($row['show_ip']) echo 'IP: ' . $row['ip'] . PHP_EOL;
+ if ($row['show_info']) echo 'Sys: ' . $row['browser_info'] . PHP_EOL;
+ echo 'Date: ' . $submitted . PHP_EOL . PHP_EOL;
+ echo $row['message'];
+ echo '</pre></td></tr></table><br>';
+ }
+ ?>
+
+ </div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
+</div> <!-- pagebody -->
+</div> <!-- page -->
+</body>
+</html>
diff --git a/guestbook/submit.php b/guestbook/submit.php
new file mode 100755
index 0000000..6c377b3
--- /dev/null
+++ b/guestbook/submit.php
@@ -0,0 +1,57 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <!-- Global -->
+ <?php require('../inc/header.inc.php'); ?>
+
+ <!-- Page-specific -->
+ <title>Guestbook</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
+</head>
+<body>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
+
+<div id="pagebody">
+ <div id="content">
+ <?php
+ $name = strip_tags($_POST["name"]);
+ $msg = strip_tags($_POST["message"]);
+ if ($msg === "" || $name === "" || strip_tags(htmlspecialchars_decode($msg)) === "") {
+ echo '<b>You must provide both a name and message!</b>';
+ } else {
+ $db = new PDO("sqlite:/mnt/data1/webdata/floppydisk/guestbook.db");
+
+ $showinfo = isset($_POST["showinfo"]) ? true : false;
+ $showip = isset($_POST["showip"]) ? true : false;
+ $ip = $_SERVER['REMOTE_ADDR'];
+ $browser = get_browser(null, true);
+ $sys = $browser['parent'] . ' (' . $browser['platform_description'] . ' ' . $browser['platform_version'] . ')';
+
+ $data = array('name' => $name, 'message' => $msg, 'show_info' => $showinfo, 'show_ip' => $showip, 'ip' => $ip, 'submitted' => time(), 'sys' => $sys);
+
+ $insert = "INSERT INTO Entries (name, message, show_info, show_ip, ip, submitted, browser_info) VALUES (:name, :message, :show_info, :show_ip, :ip, :submitted, :browser)";
+ $stmt = $db->prepare($insert);
+ $stmt->bindParam(':name', $data['name'], PDO::PARAM_STR);
+ $stmt->bindParam(':message', $data['message'], PDO::PARAM_STR);
+ $stmt->bindParam(':show_info', $data['show_info'], PDO::PARAM_STR);
+ $stmt->bindParam(':show_ip', $data['show_ip'], PDO::PARAM_STR);
+ $stmt->bindParam(':ip', $data['ip'], PDO::PARAM_STR);
+ $stmt->bindParam(':submitted', $data['submitted'], PDO::PARAM_STR);
+ $stmt->bindParam(':browser', $data['sys'], PDO::PARAM_STR);
+ $stmt->execute();
+ echo '<b>Success!</b>';
+ }
+ ?><br><br>
+ <a href="./">Back</a>
+ </div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
+</div> <!-- pagebody -->
+</div> <!-- page -->
+</body>
+</html>
diff --git a/inc/config.example.inc.php b/inc/config.example.inc.php
new file mode 100644
index 0000000..433a60d
--- /dev/null
+++ b/inc/config.example.inc.php
@@ -0,0 +1,5 @@
+<?php
+// Create a constant array with config variables
+const CONF = array(
+ "lastfm_key" => "key"
+);
diff --git a/inc/footer.inc.php b/inc/footer.inc.php
new file mode 100644
index 0000000..59babfc
--- /dev/null
+++ b/inc/footer.inc.php
@@ -0,0 +1,5 @@
+<hr>
+ <div style="text-align: center;">
+ <img src="/res/img/buttons/browser.gif" alt="Any Damn Browser">&nbsp;<a href="https://www.linux.org/"><img src="/res/img/buttons/linuxnow.gif" alt="Linux NOW!"></a>&nbsp;<a href="https://www.vim.org/"><img src="/res/img/buttons/vim.gif" alt="vim"></a>&nbsp;<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>&nbsp;<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>
diff --git a/inc/head.html b/inc/header.inc.php
index 93953e9..f891dca 100644
--- a/inc/head.html
+++ b/inc/header.inc.php
@@ -1,4 +1,6 @@
<meta charset="utf-8">
<meta property="og:type" content="website">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="theme-color" content="#333333">
<link rel="stylesheet" id="theme" href="/res/css/dark.css" type="text/css">
+ <script defer data-domain="diskfloppy.me" src="https://analytics.nickandfloppy.com/js/plausible.js"></script>
diff --git a/inc/lastfm.inc.php b/inc/lastfm.inc.php
new file mode 100644
index 0000000..b7bbde4
--- /dev/null
+++ b/inc/lastfm.inc.php
@@ -0,0 +1,65 @@
+<h1>Last.fm <small><a href="https://www.last.fm/user/floppydisk_">Profile</a></small></h1>
+<?php
+require('inc/config.inc.php');
+
+$curl_current = curl_init();
+
+curl_setopt_array($curl_current, [
+ CURLOPT_URL => "https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=".CONF['lastfm_user']."&nowplaying=true&format=json&api_key=".CONF['lastfm_key'],
+ CURLOPT_RETURNTRANSFER => true,
+ CURLOPT_ENCODING => "",
+ CURLOPT_MAXREDIRS => 10,
+ CURLOPT_TIMEOUT => 30,
+ CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
+ CURLOPT_CUSTOMREQUEST => "GET",
+]);
+
+$current_response = curl_exec($curl_current);
+$err = curl_error($curl_current);
+
+curl_close($curl_current);
+
+if ($err) {
+ die("cURL Error #:" . $err);
+}
+$current_response = json_decode($current_response, true);
+$nowplaying = $current_response['recenttracks']['track'][0];
+
+echo ' <b>Last/Current Track:</b> <a href="'.$nowplaying['url'].'">'.$nowplaying['name'].' • '.$nowplaying['artist']['#text'].'</a>'.PHP_EOL;
+
+$tracks_to_show = 10;
+
+$curl = curl_init();
+
+curl_setopt_array($curl, [
+ CURLOPT_URL => "https://ws.audioscrobbler.com/2.0/?method=user.gettoptracks&user=".CONF['lastfm_user']."&format=json&period=7day&api_key=".CONF['lastfm_key'],
+ CURLOPT_RETURNTRANSFER => true,
+ CURLOPT_ENCODING => "",
+ CURLOPT_MAXREDIRS => 10,
+ CURLOPT_TIMEOUT => 30,
+ CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
+ CURLOPT_CUSTOMREQUEST => "GET",
+]);
+
+$toptracks_response = curl_exec($curl);
+$err = curl_error($curl);
+
+curl_close($curl);
+
+if ($err) {
+ die("cURL Error #:" . $err);
+}
+echo ' <h2>Top '.$tracks_to_show.' Tracks (Last 7 days)</h2>'.PHP_EOL;
+echo ' <ol>'.PHP_EOL;
+$toptracks_response = json_decode($toptracks_response, true);
+$tracks = $toptracks_response['toptracks']['track'];
+$count = 0;
+foreach ($tracks as $track) {
+ echo ' <li>'.PHP_EOL;
+ echo ' <a href="'.$track['url'].'">'.$track['name'].' • '.$track['artist']['name'].'</a>'.PHP_EOL;
+ echo ' <small>('.$track['playcount'].' plays)</small>'.PHP_EOL;
+ echo ' </li>'.PHP_EOL;
+ if ($count >= $tracks_to_show - 1) break;
+ $count++;
+}
+echo ' </ol>'; \ No newline at end of file
diff --git a/inc/nav.php b/inc/nav.inc.php
index 3f14fff..e75445c 100644
--- a/inc/nav.php
+++ b/inc/nav.inc.php
@@ -1,16 +1,12 @@
-<script lang="javascript" src="/res/js/themeswap.js"></script>
<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="https://github.com/floppydisk05?tab=repositories">repos</a> |
<a href="/calculators/">calculators</a> |
<a href="/computers/">computers</a> |
<a href="/bookmarks/">bookmarks</a> |
- <a href="https://blog.diskfloppy.me/">blog</a>
+ <a href="/guestbook/">guestbook</a>
</div>
</nav>
<div class="pagetree">
@@ -39,6 +35,5 @@
?>
</span>
- <div style="float: right;"><a onclick="javascript:toggleTheme()">dark / light mode</a></div>
- </div>
+ </div> <!-- pagetree -->
</div> <!-- header --> \ No newline at end of file
diff --git a/index.php b/index.php
index 7b56965..b1160c2 100755
--- a/index.php
+++ b/index.php
@@ -1,68 +1,47 @@
+
<!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.">
+ <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">
- <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>Projects</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">
- <!-- Created <span class="date">Sat 26 Mar 2011 11:39:56 AM CET</span> -->
- </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 floppydisk.
+ </p>
+
+ <?php require('./inc/lastfm.inc.php') ?>
+
+ <h1>Contact</h1>
+ <p><strong>Mail</strong>: <a href="mailto:contact@diskfloppy.me">contact@diskfloppy.me</a><br>
+ <strong>IRC</strong>: <a href="https://r-type.ca/page.php?id=1034">floppydisk @ r-type</a><br>
+ </p>
+
+ <h1>Elsewhere</h1>
+ <p><strong>Mastodon:</strong> <a rel="me" href="https://mastodon.sdf.org/@floppydisk_">@floppydisk_@mastodon.sdf.org</a><br>
+ <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</a>
+ </p>
+ </div> <!-- content -->
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('./inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
</body>
diff --git a/me/index.php b/me/index.php
index 3b634cd..7cfdff3 100755
--- a/me/index.php
+++ b/me/index.php
@@ -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">
diff --git a/pics/index.php b/pics/index.php
index 089cfbd..7d578c2 100755
--- a/pics/index.php
+++ b/pics/index.php
@@ -3,21 +3,27 @@
<html lang="en">
<head>
<!-- Global -->
- <?php require('../inc/head.html'); ?>
+ <?php require('../inc/header.inc.php'); ?>
<!-- Page-specific -->
- <title>Calculators</title>
- <link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">
- <meta property="og:description" content="C a l c u l a t o r s">
- <meta property="og:image" content="/res/img/icons/png/calc.png">
+ <title>Pictures</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <meta property="og:title" content="Pictures">
+ <meta property="og:description" content="description">
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
</head>
<body>
-<div class="page">
-<?php require('../inc/nav.php') ?>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
<div id="pagebody">
<div id="content">
+ TBD
</div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
</body>
diff --git a/projects/index.php b/projects/index.php
index 79c6244..52f1e3c 100755
--- a/projects/index.php
+++ b/projects/index.php
@@ -3,21 +3,44 @@
<html lang="en">
<head>
<!-- Global -->
- <?php require('../inc/head.html'); ?>
+ <?php require('../inc/header.inc.php'); ?>
<!-- Page-specific -->
- <title>Calculators</title>
- <link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">
- <meta property="og:title" content="Calculators">
- <meta property="og:description" content="C a l c u l a t o r s">
- <meta property="og:image" content="/res/img/icons/png/calc.png">
+ <title>Projects</title>
+ <!--<link rel="shortcut icon" href="../res/img/icons/ico/calc.ico" type="image/x-icon">-->
+ <meta property="og:title" content="Projects">
+ <meta property="og:description" content="Personal and group projects">
+ <!--<meta property="og:image" content="/res/img/icons/png/computer.png">-->
</head>
<body>
-<?php require('../inc/nav.php') ?>
+<div class="page">
+<?php require('../inc/nav.inc.php') ?>
<div id="pagebody">
<div id="content">
+ <h1>Personal Projects</h1>
+ <p>Projects I prefer to work on solo</p>
+ <span class="name"><a href="http://weather.diskfloppy.me/"><b>weather.diskfloppy.me</b></a></span><br>
+ A page to display data from my weather station</a><br><br>
+
+ <span class="name"><a href="http://trivia.diskfloppy.me/"><b>trivia.diskfloppy.me</b></a></span><br>
+ A REST API to get trivia questions<br>
+
+ <h1>Group Projects (<a href="//ndfnet.com/">NDFNet</a> / <a href="//nickandfloppy.com/">nickandfloppy</a>)</h1>
+ <p>Projects I do/have done with friends</p>
+ <span class="name"><a href="//drivers.nickandfloppy.com/"><b>drivers.nickandfloppy.com</a></b> <small>(nickandfloppy)</small></span><br>
+ Driver indexing and storage website<br><br>
+
+ <span class="name"><a href="https://github.com/NDFNet/PlexBot"><b>PlexBot</b></a> <small>(NDFNet)</small></span><br>
+ A basic bot to play music from the configured Plex server in a Discord voice channel.<br><br>
+
+ <span class="name"><a href="https://github.com/nickandfloppy/NetRunner"><b>NetRunner</b></a> <small>(nickandfloppy)</small></span><br>
+ A fork of Starman0620's WinBot, modified for use in nick and floppy's corner.<br>
</div> <!-- content -->
+
+ <div id="footer" class="pagefooter">
+ <?php $file = __FILE__;require('../inc/footer.inc.php'); ?>
+ </div> <!-- footer -->
</div> <!-- pagebody -->
</div> <!-- page -->
</body>
diff --git a/res/css/dark.css b/res/css/dark.css
index 5c66ade..1eeaf43 100755
--- a/res/css/dark.css
+++ b/res/css/dark.css
@@ -31,8 +31,6 @@ h3 {
color: #fff;
}
-
-
div.preview pre, div.project pre {
background-color: #222;
color: #ccc;
@@ -55,7 +53,14 @@ a {
color: #fff
}
+/*table td {
+ border: 1px solid black
+}*/
+
+/*table.skami {
+ border-color: #eeeeee
+}*/
table.skami .semiused {
color: #ccc;
background-color: #444;
@@ -69,4 +74,4 @@ table.skami .unused {
table {
border-color: #fff
-} \ No newline at end of file
+}
diff --git a/res/css/global.css b/res/css/global.css
index 52d8d9e..693452b 100755
--- a/res/css/global.css
+++ b/res/css/global.css
@@ -6,9 +6,36 @@ ul {
list-style-type: square;
}
+table.banner {
+ margin-left: auto;
+ margin-right: auto;
+ border: 2px solid #E04A38;
+ background-color: #E6897E;
+ width: 95%;
+ /* Passes both WCAG AA and WCAG AAA contrast tests */
+ color: #0F0F0F;
+}
+
+td.banner {
+ padding: 5px;
+}
+
+a.bannerlink {
+ color: #0F0F0F;
+}
+
+a.bannerlink:hover {
+ text-decoration: underline;
+}
+
div.page {
- margin-left: 0.5em;
- margin-right: 0.5em
+ min-width: 700px;
+ max-width: 1024px;
+ /*margin-left: 0.5em;
+ margin-right: 0.5em;*/
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ margin: auto
}
h1.inline {
@@ -49,7 +76,7 @@ h1, h2, h3 {
img {
border: none;
- max-width: 100%
+ max-width: 100%;
}
img.right {
@@ -57,6 +84,10 @@ img.right {
margin-left: 0.5em
}
+table.form, td.form {
+ border: none;
+}
+
div.preview {
display: inline-block;
width: 30em;
@@ -277,4 +308,4 @@ table.computers {
td.computer {
width: 50%;
border: 0px;
-} \ No newline at end of file
+}
diff --git a/res/css/light.css b/res/css/light.css
deleted file mode 100755
index 96b5b4d..0000000
--- a/res/css/light.css
+++ /dev/null
@@ -1,286 +0,0 @@
-@import url('global.css');
-
-body {
- font-family: sans-serif;
- color: #000;
- background-color: #fff;
- margin: 0px;
-}
-
-div.page {
- margin-left: 0.5em;
- margin-right: 0.5em
-}
-
-h1.inline {
- font-family: sans-serif;
- font-weight: normal;
- margin-top: 0em;
- clear: none;
- font-size: 100%;
- display: inline
-}
-
-h1.inline:before {
- content: ""
-}
-
-h1:before {
- content: "> "
-}
-
-h1, h2, h3 {
- font-family: Monospace;
- font-weight: normal;
- margin-top: 1em;
- clear: left
-}
-
-h1 {
- color: #333;
- font-size: 150%
-}
-
-h2:before {
- content: ">> "
-}
-
-h2 {
- color: #333;
- font-size: 130%
-}
-
-h3:before {
- content: ">>> "
-}
-
-h3 {
- color: #333;
- font-size: 115%
-}
-
-img {
- border: none;
- max-width: 100%
-}
-
-img.right {
- float: right;
- margin-left: 0.5em
-}
-
-div.preview {
- display: inline-block;
- width: 30em;
- max-width: 100%;
- text-align: center;
- vertical-align: top;
- margin-bottom: 2em
-}
-
-div.project {
- display: inline-block;
- width: 40em;
- max-width: 100%;
- text-align: center;
- vertical-align: top;
- margin-bottom: 2em
-}
-
-div.preview .heading .name, div.project .heading .name {
- font-size: 120%
-}
-
-div.preview img, div.project img {
- width: auto;
- max-width: 90%;
- max-height: 15em
-}
-
-div.preview pre, div.project pre {
- display: inline-block;
- text-align: left;
- background-color: #333;
- color: #fff;
- padding: 0.2em;
- max-width: 90%
-}
-
-div.preview pre.small, div.project pre.small {
- font-size: 75%;
- overflow: hidden
-}
-
-a {
- color: #009;
- text-decoration: none
-}
-
-pre {
- max-width: 95%;
- overflow: auto
-}
-
-.header {
- font-size: 100%;
- font-weight: normal;
- color: #333;
- padding-bottom: 0em;
- border-bottom: 1px solid #cccccc;
- text-align: center
-}
-
-.header a {
- text-decoration: none
-}
-
-nav {
- margin-bottom: 0.3em
-}
-
-div.ddate {
- text-align: center
-}
-
-.header .pagetree {
- font-size: 80%;
- color: #333;
- display: block;
- text-align: center;
- width: 100%;
- padding-top: 0.1em;
- padding-bottom: 0.1em;
- border-top: 1px solid #cccccc
-}
-
-.header .pagetree .title {
- color: #333
-}
-
-div.note {
- font-style: italic
-}
-
-table {
- border-collapse: collapse
-}
-
-table td {
- border: 1px solid black
-}
-
-table.noborder td {
- border: none
-}
-
-table.skami {
- border-color: #eeeeee
-}
-
-table.skami .semiused {
- color: #111;
- background-color: #eee
-}
-
-table.skami .unused {
- color: #222;
- background-color: #ddd
-}
-
-table.skami a {
- text-decoration: none
-}
-
-table.weather th {
- font-weight: normal
-}
-
-table.weather td {
- font-weight: bold;
- text-align: right
-}
-
-.project .name {
- font-weight: bold
-}
-
-.project .attributes {
- font-style: italic
-}
-
-.project .attribbracket {
- margin-left: 0.5em
-}
-
-.toplinks {
- line-height: 140%;
- width: 100%;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- border-bottom: 1px solid #cccccc
-}
-
-.toplinks span {
- display: block;
- text-align: right;
- float: left;
- width: 8em;
- margin-right: 0.5em
-}
-
-.toplinks span:after {
- content: " >"
-}
-
-.toplinks a {
- margin-right: 0.5em;
- text-decoration: none
-}
-
-.deprecated {
- line-height: 140%;
- width: 100%;
- color: #aa0000;
- text-align: center;
- padding-bottom: 0.5em;
- border-bottom: 2px dashed #aa0000
-}
-
-div.inlinepage {
- margin-top: 2em;
- border: 0;
- padding: 0
-}
-
-div.pheader {
- font-size: 120%
-}
-
-div.pheader span.date {
- margin-right: 1em;
- font-weight: normal
-}
-
-div.pheader a {
- font-weight: bold;
- text-decoration: none
-}
-
-div.rss {
- position: absolute;
- top: 1em;
- right: 1em
-}
-
-div.archived {
- margin-top: 0.5em
-}
-
-div.archived span.date {
- font-style: italic;
- margin-right: 0.2em
-}
-
-video {
- max-width: 100%
-} \ No newline at end of file
diff --git a/res/img/buttons/browser.gif b/res/img/buttons/browser.gif
new file mode 100644
index 0000000..28a63e3
--- /dev/null
+++ b/res/img/buttons/browser.gif
Binary files differ
diff --git a/res/img/buttons/linuxnow.gif b/res/img/buttons/linuxnow.gif
new file mode 100644
index 0000000..9851014
--- /dev/null
+++ b/res/img/buttons/linuxnow.gif
Binary files differ
diff --git a/res/img/buttons/valid-html401-blue.png b/res/img/buttons/valid-html401-blue.png
new file mode 100644
index 0000000..dd20e49
--- /dev/null
+++ b/res/img/buttons/valid-html401-blue.png
Binary files differ
diff --git a/res/img/buttons/vcss-blue.gif b/res/img/buttons/vcss-blue.gif
new file mode 100644
index 0000000..c373b2a
--- /dev/null
+++ b/res/img/buttons/vcss-blue.gif
Binary files differ
diff --git a/res/img/buttons/vim.gif b/res/img/buttons/vim.gif
new file mode 100644
index 0000000..01f09f1
--- /dev/null
+++ b/res/img/buttons/vim.gif
Binary files differ
diff --git a/res/img/calculatorssmol.7z b/res/img/calculatorssmol.7z
deleted file mode 100755
index 9aaccef..0000000
--- a/res/img/calculatorssmol.7z
+++ /dev/null
Binary files differ
diff --git a/res/js/themeswap.js b/res/js/themeswap.js
deleted file mode 100755
index e619471..0000000
--- a/res/js/themeswap.js
+++ /dev/null
@@ -1,26 +0,0 @@
-function addStyleSheet(name, id) {
- var path = '/res/css/' + name + '.css';
- var old = document.getElementById(id);
- if (old && (old.href != path)) {
- old.href = path;
- }
-}
-
-var otherTheme = {
- 'dark': 'light',
- 'light': 'dark',
-};
-
-var currentTheme = localStorage.getItem('theme');
-
-if (!otherTheme.hasOwnProperty(currentTheme)) {
- currentTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
-}
-
-addStyleSheet(currentTheme, 'theme');
-
-function toggleTheme() {
- currentTheme = otherTheme[currentTheme] || 'light';
- localStorage.setItem('theme', currentTheme);
- addStyleSheet(currentTheme, 'theme');
-}