-<?php
- require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
- $pgtitle = "About me";
- $pgdescription = "Who and what am I?";
- head($pgtitle, $pgdescription);
-?>
-<body>
- <table id="tablewrapper" cellspacing="10">
- <tbody>
- <tr>
- <td id="content">
- <table>
- <tbody>
- <tr>
- <?php include_once("$parts/sidebar.php");?>
- <td id="body">
- <?php include_once("$parts/underconstruction.php");?>
- </td>
- </tr>
-
- <?php include_once("$parts/footer.php");?>
- </tbody>
- </table>
- </td>
- <td id="rightbox">
- <?php include_once("$parts/rightbox.php");?>
- </td>
- </tr>
- </tbody>
- </table>
-</body>
-</html>
-<?php
- require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
- $pgtitle = "My site's guestbook";
- $pgdescription = "please fill the guestbook before you leave the site.";
- $pgcss = ["guestbook.css"];
- head($pgtitle, $pgdescription, $pgcss);
-?>
-<body>
- <table id="tablewrapper" cellspacing="10">
- <tbody>
- <tr>
- <td id="content">
- <table>
- <tbody>
- <tr>
- <?php include_once("$parts/sidebar.php");?>
-
- <td id="body">
- <iframe src="https://bochard.atabook.org"></iframe>
- </td>
- </tr>
-
- <?php include_once("$parts/footer.php");?>
- </tbody>
- </table>
- </td>
- <td id="rightbox">
- <?php include_once("$parts/rightbox.php");?>
- </td>
- </tr>
- </tbody>
- </table>
-</body>
-</html>
+
-<?php
- require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
- $pgtitle = "How To...";
- $pgdescription = "some tutorials made by me.";
- head($pgtitle, $pgdescription);
-?>
-<body>
- <table id="tablewrapper" cellspacing="10">
- <tbody>
- <tr>
- <td id="content">
- <table>
- <tbody>
- <tr>
- <?php include_once("$parts/sidebar.php");?>
-
- <td id="body">
- <?php include_once("$parts/underconstruction.php");?>
- </td>
- </tr>
-
- <?php include_once("$parts/footer.php");?>
- </tbody>
- </table>
- </td>
- <td id="rightbox">
- <?php include_once("$parts/rightbox.php");?>
- </td>
- </tr>
- </tbody>
- </table>
-</body>
-</html>
+
<?php\r
- require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");\r
- $pgtitle = "My net home";\r
- $pgdescription = "Welcome to my site!";\r
- head($pgtitle, $pgdescription);\r
+ require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");\r
+ $pgtitle = "bochard's net home";\r
+ head($pgtitle);\r
?>\r
-<body> \r
- <table id="tablewrapper" cellspacing="10">\r
- <tbody>\r
- <tr>\r
- <td id="content">\r
- <table>\r
- <tbody>\r
- <tr>\r
- <?php include_once("$parts/sidebar.php");?>\r
- \r
- <td id="body">\r
- <img src="/images/gifs/bulblights.gif" alt="bulb lights" width="100%">\r
- <h1>Welcome to my net home!</h1>\r
- <blockquote>“...At the right time, I, the Lord, will make it happen”</blockquote>\r
- <p align="right">–Isaiah 60:22 (NLT)</p>\r
- <p>This small site is solely used for personal purpose. I publish here my personal thoughts about every day, photos I took from my own camera, recipes (soon), programming, books I love to read, and many other things that I utmost enjoy doing in my tiny simple life. Sometimes—completely random things.</p>\r
- <p>All things in here are created by me (some images are not mine though hahaha), but you can freely copy and use them on your site too, just don't <a href="https://simple.wikipedia.org/wiki/Hotlinking">hotlink</a>.</p>\r
- <p>If you ever seen that there are empty contents, it could be that because you are using an adblocker. If you will, please disable your adblocker for the meantime. Some certain things vanishes like the third-party visitor counter on the sidebar (will create my own visitor counter soon). I would remove those things that rely on third-party websites that has trackers soon, but I'll still use them for now. Thank you!</p>\r
- <img src="/images/gifs/chicken-ani.gif" alt="chicken" title="chikin">\r
- <p>If ur wondering what is this chicken for...well yeah, I don't know either. It's just freaking cool.</p>\r
- <p>Don't forget to <em>Sign the <a href="/guestbook.php">guestbook</a></em> before you leave :)</p>\r
- </td>\r
- </tr>\r
- \r
- <?php include_once("$parts/footer.php");?>\r
- </tbody>\r
- </table>\r
- </td>\r
- <td id="rightbox">\r
- <?php include_once("$parts/rightbox.php");?>\r
- </td>\r
- </tr>\r
- </tbody>\r
- </table>\r
+<body>\r
+ <center>\r
+ <table id="theholderofthings" cellspacing="0" cellpadding="0">\r
+ <tbody>\r
+ <tr>\r
+ <td valign="top" id="maintable" cellpadding="5" width="600">\r
+ <table width="600" cellpadding="3">\r
+ <tbody>\r
+ <tr>\r
+ <td colspan="2">\r
+ <center>\r
+ <h1>welcome to bochard's net home!</h1>\r
+ </center>\r
+ </td>\r
+ </tr> \r
+ </tbody>\r
+ </table>\r
+ </td>\r
+ </tr>\r
+ </tbody>\r
+ </table>\r
+ </center>\r
</body>\r
</html>\r
<?php
$parts = "{$_SERVER['DOCUMENT_ROOT']}/parts";
-function head($pgtitle, $pgdescription = null, $pgcss = []){?>
- <!DOCTYPE html>
+function head($pgtitle, $pgdescription = null, $pgcss = [], $pgjs = []){?>
+ <!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<?php foreach($pgcss as $filename):?>
<link rel="stylesheet" href="<?= htmlspecialchars("/stylesheets/$filename?v="), filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/$filename");?>">
<?php endforeach;?>
+
+ <script type="text/javascript" src="/scripts/root.js?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/scripts/root.js");?>">
+ <?php foreach($pgjs as $filename):?>
+ <script type="text/javascript" src="<?= htmlspecialchars("/scripts/$filename?v="), filemtime("{$_SERVER['DOCUMENT_ROOT']}/scripts/$filename");?>">
+ <?php endforeach;?>
</head>
<?php }
+++ /dev/null
-<table>
- <tbody>
- <tr>
- <td>
- <strong>Tutorials</strong>
- <ul>
- <li><a href="/how-to" title="I haven't though of anything to teach yet. If you have suggestions, consider sending an email.">Nothing yet...</a></li>
- </ul>
- <hr>
- <strong>New Photos!</strong>
- <ul>
- <li><a href="/photo-album" title="pix">Nothing yet...</a></li>
- </ul>
- </td>
- </tr>
- </tbody>
-</table>
+++ /dev/null
-<?php
- // $journals = glob("{$_SERVER['DOCUMENT_ROOT']}/journal/*");
-
- // foreach($journals as $journal){
- // $strippedURL = strstr($journal, 'journal/');
- // $fileName = pathinfo($journal, PATHINFO_FILENAME);
- // echo "<li><a href=\"http://www.bochard.net/{$strippedURL}\">$fileName</a></li>\n";
- // }
-?>
-<?php
- require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
- $pgtitle = "My Photo Album";
- $pgdescription = "collection of snaps taken from my camera of various things I see in my life.";
- head($pgtitle, $pgdescription);
-?>
-<body>
- <table id="tablewrapper" cellspacing="10">
- <tbody>
- <tr>
- <td id="content">
- <table>
- <tbody>
- <tr>
- <?php include_once("$parts/sidebar.php");?>
- <td id="body">
- <?php include_once("$parts/underconstruction.php");?>
- </td>
- </tr>
-
- <?php include_once("$parts/footer.php");?>
- </tbody>
- </table>
- </td>
- <td id="rightbox">
- <?php include_once("$parts/rightbox.php");?>
- </td>
- </tr>
- </tbody>
- </table>
-</body>
-</html>
-
+* {
+ font-family: Monospace;
+}
+body {
+ background-image: url('/images/backgrounds/clouds.gif');
+ background-repeat: repeat;
+}