--- /dev/null
+tenkyuu.dev.geany
RewriteEngine On
-#redirect www to root
-RewriteCond %{HTTP_HOST} ^www\.tenkyuu\.dev [NC]
-RewriteRule ^(.*)$ http://tenkyuu.dev/$1 [R=301,L]
-
-#error pages
-ErrorDocument 401 /error_docs/401.html
-ErrorDocument 403 /error_docs/403.html
-ErrorDocument 404 /error_docs/404.html
-ErrorDocument 500 /error_docs/500.html
-ErrorDocument 502 /error_docs/502.html
-ErrorDocument 503 /error_docs/503.html
-ErrorDocument 504 /error_docs/504.html
\ No newline at end of file
+#Redirect root to www
+RewriteCond %{HTTP_HOST} ^.tenkyuu\.dev [NC]
+RewriteRule ^(.*)$ https://www.tenkyuu.dev/$1 [R=301,L]
+++ /dev/null
-tenkyuu.dev
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="Unathorized access.">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>This page requires authenticaion!</h1>
- <p>Are you just trying to access this page? Smells fishy, huh?!</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="you are not authorized to access this page.">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>Go back, you're not allowed here!</h1>
- <p>Why are you trying to access this page, huh??</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="this page cannot be located on my server.">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>I can't find that page :<</h1>
- <p>There's no such link like that on my site. are you looking for easter eggs?!</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="an error occured on my server.">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>what the... what happened?!</h1>
- <p>I don't know why my server won't work, maybe a hacker tried to attack it! oh no. Can you try refreshing the page?</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="Bad Gateway...">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>The Gateway is BADASS.</h1>
- <p>There's a gate problem, it won't budge. It might been stuck.</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="The server can't serve.">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>Service is unavailable for some reason...</h1>
- <p>Wait, the waiter is still serving other people. Give some time to him, he's doing his best.</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <meta name="description" content="Timeout!">
- <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
- <h1>You're too slow.</h1>
- <p>The gate has a timer, you didn't reached it.</p>
- <a href="/">
- <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
- </a>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<footer>
- <div style="text-align: left">
- <p># of visitors: </p><script type="text/javascript" src="https://counter.websiteout.com/js/14/7/0/1"></script>
- </div>
- <div style="text-align: right">
- <a href="http://www.anybrowser.org/campaign/"><img src="/images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" /></a>
- </div>
-</footer>
-<script src="/scripts/play_audio.js"></script>
-<script data-goatcounter="https://bochard.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
\ No newline at end of file
+++ /dev/null
-<input type="image" id="play-bgm-btn" src="/images/gifs/bevelwood.gif"><span id="play-bgm-txt">click to play music! :)</span>
-<audio id="bg-music" src="/audios/background/rejectedworld.mp3" loop></audio>
-<header style="text-align: center;">
- <img src="/images/gifs/doraemon.gif" alt="doraemon hello gif" width="100">
- <img src="/images/gifs/welcomemovetree.gif" alt="tree with welcome text gif" width="300">
- <p style="font-size: 40px; font-weight: bold;">welcome to my website!</p>
-</header>
\ No newline at end of file
+++ /dev/null
-<nav style="text-align: center;">
- <a href="/">
- <img src="/images/navigation/homepage.png">
- </a>
- <a href="/info.php">
- <img src="/images/navigation/info.png">
- </a>
- <a href="/projects/">
- <img src="/images/navigation/projects.png">
- </a>
- <a href="/links.php">
- <img src="/images/navigation/links.png">
- </a>
- <a href="/sitemap.php">
- <img src="/images/navigation/sitemap.png">
- </a>
- <a href="/files/">
- <img src="/images/navigation/files.png">
- </a>
-</nav>
\ No newline at end of file
+++ /dev/null
-<div align="center">
- <img src="/images/under_construction/underconstructionimg.gif" alt="under construction barrier" width="200">
-</div>
\ No newline at end of file
<!DOCTYPE html>\r
<html lang="en">\r
<head>\r
- <meta charset="UTF-8">\r
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">\r
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\r
<meta name="robots" content="index, follow">\r
- <link rel="icon" type="image/ico" href="/images/">\r
+ <link rel="shortcut icon" href="/images/icons/favicon.ico">\r
\r
<title>bochard's net home</title>\r
- <meta name="description" content="Welcome to my net home! this website are my space to show my hobbies, thoughts, and other fun stuffs. I am a 17 year old Filipino who learned how to code just by myself. Hope you enjoy visiting my site! :)">\r
- <meta property="og:title" content="bochard's net home">\r
- <meta property="og:description" content="I code on paper and create websites out of it.">\r
- <meta property="og:image" content="/images/">\r
+ <meta name="description" content="Welcome to my net home! this website are my space to show my hobbies, thoughts, and other fun stuffs. I am an 18 years old who learned how to code just by myself. Hope you enjoy visiting my site! :)">\r
\r
+<!-- some styles, i want to keep the site simple. -->\r
<link rel="stylesheet" href="/styles/root.css">\r
<style>\r
- h1 {\r
- font-size: 40px;\r
- }\r
- p {\r
- font-size: 20px;\r
- }\r
- section {\r
- margin-top: 40px;\r
- }\r
- h2 {\r
- font-size: 24px;\r
- margin-bottom: 10px;\r
- }\r
- table {\r
- width: 100%;\r
- margin: 0 auto;\r
- }\r
- table, th, td {\r
- border: 1px solid #000000;\r
- }\r
- th, td {\r
- font-size: 18px;\r
- padding: 6px;\r
- }\r
+html, body {\r
+ height: 100%;\r
+ width: 100%;\r
+}\r
+body {\r
+ font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;\r
+ margin: 0 auto;\r
+}\r
+table {\r
+ height: 100%;\r
+ width: 100%;\r
+}\r
+.sidebar {\r
+ background-image: url(./images/backgrounds/backgroundclouds.gif);\r
+ background-repeat: repeat-y;\r
+ vertical-align: top;\r
+ height: 100%;\r
+ width: 120px;\r
+ padding: 15px 10px;\r
+}\r
+.sidebar > ul {\r
+ list-style-type: none;\r
+ margin-top: 0;\r
+ padding-left: 15px;\r
+}\r
+.sidebar p {\r
+ margin-bottom: 5px;\r
+}\r
+.sidebar a {\r
+ text-decoration: none;\r
+ color: inherit;\r
+}\r
+.sidebar-footer {\r
+ width: 10px;\r
+}\r
+.body {\r
+ vertical-align: top;\r
+ padding-left: 15px;\r
+}\r
+.content-wrap {\r
+ width: 700px;\r
+ padding: 0 10px;\r
+}\r
</style>\r
</head>\r
-<body>\r
-<?php include_once($path . '/header.php');?>\r
-\r
- <main>\r
- <img src="/images/gifs/titles/homepageburning.gif" class="page-title">\r
- <?php include_once($path . '/nav.php');?>\r
- <section style="text-align: center;">\r
- <h1>You found my net home!</h1>\r
- <p>Hi! welcome to my net home.</p>\r
- <p>i have nothing to say yet. writing intro is hard. sorry! 😢ðŸ˜</p>\r
- </section>\r
-\r
- <section>\r
- <div style="text-align: center;">\r
- <iframe src="https://bochard.atabook.org/" style="width: 100%; height: 700px" frameBorder="0">Your web browser is not compatible to iframe.</iframe>\r
- </div>\r
- </section>\r
- </main>\r
-\r
- <?php include_once($path . '/footer.php');?>\r
+<body> \r
+ <table> \r
+ <tr>\r
+ <!-- this is for the sidebar -->\r
+ <td class="sidebar">\r
+ <p><strong>Site Menu</strong></p>\r
+ <ul> \r
+ <li><a href="/">home</a></li>\r
+ <li><a href="./about-me.php">about bochard</a></li>\r
+ <li><a href="./files">my files</a></li>\r
+ <li><a href="mailto:mail@tenkyuu.dev">email me</a></li>\r
+ </ul>\r
+ \r
+ <hr>\r
+ <!-- cute badges and other cool things goes here -->\r
+ <!-- hitwebcounter Code START -->\r
+ <a href="https://www.hitwebcounter.com" target="_blank"><img src="https://hitwebcounter.com/counter/counter.php?page=20998791&style=0019&nbdigits=5&type=ip&initCount=231" title="Counter Widget" Alt="Visit counter For Websites" border="0" /></a>\r
+ <a href="http://www.anybrowser.org/campaign/"><img src="/images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" width="100"></a>\r
+ <script data-goatcounter="https://bochard.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>\r
+ </td>\r
+ \r
+ <!-- ...and this is for the content -->\r
+ <td class="body">\r
+ <div class="content-wrap">\r
+ <h1>welcome to bochard's net home!'</h1>\r
+ <p>i don't really have much to say. but try to explore the site. it is not big but, i like it. it is my corner of the internet. here you can see what i do, some fun things, and my thoughts to certain topics. hope you'll have fun! :)</p>\r
+ </div>\r
+ </td>\r
+ </tr>\r
+ </table>\r
</body>\r
-</html>
\ No newline at end of file
+</html>\r
+++ /dev/null
-<?php
- $path = $_SERVER['DOCUMENT_ROOT'];
- $path .= '/includes';
-?>
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="some personal information about me :)">
- <meta name="robots" content="index, follow">
- <title>more about me!</title>
- <link rel="icon" type="image/ico" href="/images/">
-
- <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
- <?php include_once($path . '/header.php');?>
-
- <main>
- <img src="/images/gifs/titles/infopageburning.gif" class="page-title">
- <?php include_once($path . '/nav.php');?>
- <section style="text-align: center;">
- <h1>About me!</h1>
- <p>Sorry, nothing to see here yet :<</p>
- </section>
- <section>
- <?php include_once($path . '/under_construction.php');?>
- </section>
- </main>
-
- <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<?php
- $path = $_SERVER['DOCUMENT_ROOT'];
- $path .= '/includes';
-?>
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="useful links.">
- <meta name="robots" content="index, follow">
- <title>some useful resources</title>
- <link rel="icon" type="image/ico" href="/images/">
-
- <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
- <?php include_once($path . '/header.php');?>
-
- <main>
- <img src="/images/gifs/titles/linkspageburning.gif" class="page-title">
- <?php include_once($path . '/nav.php');?>
- <section style="text-align: center;">
- <h1>Some useful links.</h1>
- <p>Sorry, nothing to see here yet :<</p>
- </section>
- <section>
- <?php include_once($path . '/under_construction.php');?>
- </section>
- </main>
-
- <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-function playBGM(){
- const audio = document.getElementById("bg-music");
- if(audio.paused){
- audio.play()
- updateText("playing");
- }
- else {
- audio.pause();
- updateText("paused");
- }
-}
-
-function updateText(status){
- const playBGMText = document.getElementById("play-bgm-txt");
- switch(status){
- case "playing":
- playBGMText.textContent = "Yay! music is now playing :0";
- break;
- case "paused":
- playBGMText.textContent = "WHY YOU STOPPED THE MUSIC!! :'(";
- break;
- }
-}
-
-document.getElementById("play-bgm-btn").addEventListener("click", function(){
- playBGM();
-})
\ No newline at end of file
+++ /dev/null
-<?php
- $path = $_SERVER['DOCUMENT_ROOT'];
- $path .= '/includes';
-?>
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="my website's sitemap">
- <meta name="robots" content="index, follow">
- <title>bochard's net sitemap</title>
- <link rel="icon" type="image/ico" href="/images/">
-
- <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
- <?php include_once($path . '/header.php');?>
-
- <main>
- <img src="/images/gifs/titles/sitemappageburning.gif" class="page-title">
- <?php include_once($path . '/nav.php');?>
- <section style="text-align: center;">
- <h1>All paths to my site.</h1>
- <p>Sorry, nothing to see here yet :<</p>
- </section>
- <section>
- <?php include_once($path . '/under_construction.php');?>
- </section>
- </main>
-
- <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
-*, ::before, ::after {
- box-sizing: border-box;
-}
-html {
- background-image: url(/images/backgrounds/backgroundclouds.gif);
- background-position: center;
-}
-body {
- font-family: serif;
- margin: 0 auto;
- width: 95%;
- max-width: 1000px;
- height: 100%;
-}
-main {
- background-image: url(/images/backgrounds/bg-canvas.gif);
- background-repeat: repeat;
- background-position: center;
- border: 7px outset #000000;
- border-radius: 8px;
- padding: 20px;
-}
-footer {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: 20px;
- margin-bottom: 200px;
-}
-a {
- text-decoration: none;
-}
-.page-title {
- display: block;
- margin: auto;
- width: 100%;
- max-width: 500px;
-}
\ No newline at end of file
+