]> git.bochard.net Git - mysite.git/commitdiff
some update
authorbochard <mail@tenkyuu.dev>
Mon, 30 Jun 2025 10:54:49 +0000 (18:54 +0800)
committerbochard <mail@tenkyuu.dev>
Mon, 30 Jun 2025 10:54:49 +0000 (18:54 +0800)
27 files changed:
.gitignore
files/index.php [deleted file]
files/musics/childhood2.mp3 [deleted file]
files/musics/index.php [deleted file]
files/musics/rejectedworld.mp3 [deleted file]
files/musics/sfx/index.php [deleted file]
files/wallpapers/Bliss_(Windows_XP).png [deleted file]
files/wallpapers/index.php [deleted file]
files/youtube_LZgeIReY04c_720x480_h264.mp4 [deleted file]
files/youtube_xvFZjo5PgG0_640x360_h264.mp4 [deleted file]
images/gifs/under_construction/underconstructionimg.gif [new file with mode: 0755]
images/gifs/under_construction/underconstructiontxt.gif [new file with mode: 0755]
images/puma.jpeg [new file with mode: 0644]
images/under_construction/underconstructionimg.gif [deleted file]
images/under_construction/underconstructiontxt.gif [deleted file]
index.php
parts/sidebar.php [new file with mode: 0644]
projects/basic-calc [deleted submodule]
projects/drum-ka-dum [deleted submodule]
projects/index.php [deleted file]
projects/palindrome-checker [deleted submodule]
projects/roman-numeral-converter [deleted submodule]
projects/signup-login-system [deleted submodule]
projects/simple-cash-register [deleted submodule]
projects/temperature-converter [deleted submodule]
styles/root.css [deleted file]
stylesheets/root.css [new file with mode: 0644]

index eedc5d75dcc8be287e4712d962e95be150757f13..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1 +0,0 @@
-tenkyuu.dev.geany
diff --git a/files/index.php b/files/index.php
deleted file mode 100755 (executable)
index 3921ebc..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-$urlPath = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
-$urlPath = rtrim($urlPath, "/");
-$fullPath = $urlPath === "" ? "/" : $urlPath;
-
-if ($handle = opendir(".")) {
-  echo "<html>";
-  echo "<head><title>Index of $fullPath</title></head>";
-  echo "<body>";
-  echo "<h1>Index of $fullPath</h1><hr><pre>";
-  echo '<a href="../">../</a>' . PHP_EOL;
-
-  $items = [];
-  while (false !== ($entry = readdir($handle))) {
-    if ($entry != "." && $entry != ".." && $entry != "index.php") {
-      $items[] = $entry;
-    }
-  }
-  closedir($handle);
-
-  sort($items);
-
-  foreach ($items as $entry) {
-    $filePath = "./" . $entry;
-    $lastModified = date("d-M-Y H:i", filemtime($filePath));
-    $size = is_dir($filePath) ? "-" : filesize($filePath);
-    $link = htmlspecialchars($entry);
-
-    if (is_dir($filePath)) {
-      $link .= '/';
-    }
-
-    echo "<a href=\"$entry\">$link</a>" . str_repeat(" ", 50 - strlen($link)) . "$lastModified" . str_repeat(" ", 10 - strlen($size)) . "$size" . PHP_EOL;
-  }
-
-  echo "</pre><hr>";
-  echo "</body>";
-  echo "</html>";
-} else {
-  echo "Unable to open directory.";
-}
-?>
\ No newline at end of file
diff --git a/files/musics/childhood2.mp3 b/files/musics/childhood2.mp3
deleted file mode 100755 (executable)
index 068a74e..0000000
Binary files a/files/musics/childhood2.mp3 and /dev/null differ
diff --git a/files/musics/index.php b/files/musics/index.php
deleted file mode 100644 (file)
index 59ec2e4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/files';
-?>
-<?php include_once($path . '/index.php');?>
\ No newline at end of file
diff --git a/files/musics/rejectedworld.mp3 b/files/musics/rejectedworld.mp3
deleted file mode 100755 (executable)
index 4c624ef..0000000
Binary files a/files/musics/rejectedworld.mp3 and /dev/null differ
diff --git a/files/musics/sfx/index.php b/files/musics/sfx/index.php
deleted file mode 100644 (file)
index 59ec2e4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/files';
-?>
-<?php include_once($path . '/index.php');?>
\ No newline at end of file
diff --git a/files/wallpapers/Bliss_(Windows_XP).png b/files/wallpapers/Bliss_(Windows_XP).png
deleted file mode 100755 (executable)
index 22ceab5..0000000
Binary files a/files/wallpapers/Bliss_(Windows_XP).png and /dev/null differ
diff --git a/files/wallpapers/index.php b/files/wallpapers/index.php
deleted file mode 100644 (file)
index 59ec2e4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/files';
-?>
-<?php include_once($path . '/index.php');?>
\ No newline at end of file
diff --git a/files/youtube_LZgeIReY04c_720x480_h264.mp4 b/files/youtube_LZgeIReY04c_720x480_h264.mp4
deleted file mode 100644 (file)
index 2432771..0000000
Binary files a/files/youtube_LZgeIReY04c_720x480_h264.mp4 and /dev/null differ
diff --git a/files/youtube_xvFZjo5PgG0_640x360_h264.mp4 b/files/youtube_xvFZjo5PgG0_640x360_h264.mp4
deleted file mode 100644 (file)
index aa2b881..0000000
Binary files a/files/youtube_xvFZjo5PgG0_640x360_h264.mp4 and /dev/null differ
diff --git a/images/gifs/under_construction/underconstructionimg.gif b/images/gifs/under_construction/underconstructionimg.gif
new file mode 100755 (executable)
index 0000000..93b8c0d
Binary files /dev/null and b/images/gifs/under_construction/underconstructionimg.gif differ
diff --git a/images/gifs/under_construction/underconstructiontxt.gif b/images/gifs/under_construction/underconstructiontxt.gif
new file mode 100755 (executable)
index 0000000..bedc540
Binary files /dev/null and b/images/gifs/under_construction/underconstructiontxt.gif differ
diff --git a/images/puma.jpeg b/images/puma.jpeg
new file mode 100644 (file)
index 0000000..ebb6f03
Binary files /dev/null and b/images/puma.jpeg differ
diff --git a/images/under_construction/underconstructionimg.gif b/images/under_construction/underconstructionimg.gif
deleted file mode 100755 (executable)
index 93b8c0d..0000000
Binary files a/images/under_construction/underconstructionimg.gif and /dev/null differ
diff --git a/images/under_construction/underconstructiontxt.gif b/images/under_construction/underconstructiontxt.gif
deleted file mode 100755 (executable)
index bedc540..0000000
Binary files a/images/under_construction/underconstructiontxt.gif and /dev/null differ
index 15d1d3d4cde11d6293be9da2fe557dc8fa4baa26..d198889eafd03282ca68799c0acc827f14196c0f 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,5 @@
 <?php\r
-  $path = $_SERVER['DOCUMENT_ROOT'];\r
-  $path .= '/includes';\r
+  $parts = $_SERVER['DOCUMENT_ROOT'] . '/parts';\r
 ?>\r
 <!DOCTYPE html>\r
 <html lang="en">\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 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
-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
-  margin-top: 0;\r
-  padding-left: 20px;\r
-}\r
-.sidebar p {\r
-  margin-bottom: 5px;\r
-}\r
-.sidebar a {\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
+  <!-- stylesheet/s i use -->\r
+  <link rel="stylesheet" href="/stylesheets/root.css">\r
 </head>\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
-        <p><strong>Stuffs I Made</strong></p>\r
-        <ul>  \r
-          <li><a href="https://questlog.tenkyuu.dev">QuestLog</a></li>\r
-          <li><a href="./projects/temperature-converter">temperature converter</a></li>\r
-          <li><a href="./projects/roman-numeral-converter">roman numeral converter</a></li>\r
-          <li><a href="./projects/palindrome-checker">palindrome checker</a></li>\r
-          <li><a href="./projects">check all here...</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" width="100"></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
-        <img src="./images/gifs/badges/handcode.png" alt="completely hand-coded" width="100">\r
-        <img src="./images/gifs/badges/mullvad.avif" alt="hand coded" width="100">\r
-      </td>\r
+      <?php include_once($parts . '/sidebar.php');?>\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! :&rpar;</p>\r
+      <td id="body">\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 usually do, some fun things, and my thoughts to certain topics. hope you'll have some fun! :&rpar;</p>\r
+        <hr>\r
+        <p>If you want to continue viewing my site. Please consider disabling your adblocker. some cool stuffs cannot be seen if you enable that thing. tnx. and...if you got lost for some reason. just go the homepage!</p>\r
+        \r
+        <div style="width: 300px;">\r
+          <script async src="https://cse.google.com/cse.js?cx=41bb325316c57447c">\r
+          </script>\r
+          <b>Search my site here...</b>\r
+          <div class="gcse-search"></div>\r
         </div>\r
       </td>\r
     </tr>\r
diff --git a/parts/sidebar.php b/parts/sidebar.php
new file mode 100644 (file)
index 0000000..51acfde
--- /dev/null
@@ -0,0 +1,26 @@
+<!-- this is for the sidebar -->
+<td id="sidebar">
+  <p><strong>Site Menu</strong></p>
+  <ul>  
+    <li><a href="/">homepage</a></li>
+    <li><a href="/about-me.php">about me...</a></li>
+    <li><a href="/files">my files</a></li>
+    <li><a href="mailto:mail@tenkyuu.dev">email me!</a></li>
+  </ul>
+  <p><strong>Stuffs I Made</strong></p>
+  <ul>  
+    <li><a href="https://questlog.tenkyuu.dev">QuestLog</a></li>
+    <li><a href="/works/temperature-converter">temperature converter</a></li>
+    <li><a href="/works/roman-numeral-converter">roman numeral converter</a></li>
+    <li><a href="/works/palindrome-checker">palindrome checker</a></li>
+    <li><a href="/works">check all here...</a></li>
+  </ul> 
+  
+  <hr>
+  <!-- cute badges and other cool things goes here -->
+    <!-- hitwebcounter Code START -->
+    <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" width="100"></a>
+  <a href="http://www.anybrowser.org/campaign/"><img src="./images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" width="100"></a>
+  <img src="/images/gifs/badges/handcode.png" alt="completely hand-coded" width="100">
+  <img src="/images/gifs/badges/mullvad.avif" alt="free the internet" width="100">
+</td>
\ No newline at end of file
diff --git a/projects/basic-calc b/projects/basic-calc
deleted file mode 160000 (submodule)
index 493c6df..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 493c6df4598459fdacb4f7b909cc49f956343ffe
diff --git a/projects/drum-ka-dum b/projects/drum-ka-dum
deleted file mode 160000 (submodule)
index e0d75ce..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e0d75ced202fb755ef5fd5f7bdd74dc1c45e2b3e
diff --git a/projects/index.php b/projects/index.php
deleted file mode 100755 (executable)
index 9d7d5e2..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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 coding projects.">
-  <meta name="robots" content="index, follow">
-  <title>bochard's projects list</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/projectspageburning.gif" class="page-title">
-    <?php include_once($path . '/nav.php');?>
-    <section style="text-align: center;">
-      <h1>My projects' list</h1>
-      <p>below are some of the coding projects I made, some of them are left unfinished.</p>
-    </section>
-    <section>
-      <h2>self-learn</h2>
-      <p>these ones are made for learning purpose.</p>
-      <ul>
-        <li>
-          <a href="./palindrome-checker">palindrome checker</a>
-          <p>this checks if a word is the same even when reversed, regardless of any punctuations.</p>
-        </li>
-        <li>
-          <a href="./roman-numeral-converter">roman numeral converter</a>
-          <p>converts integers to a roman type. for instance, "28" becomes "XXVIII".</p>
-        </li>
-        <li>
-          <a href="./temperature-converter">temperature converter</a>
-          <p>this one is actually inspired from a physics class in my 12th grade. our topic that time is about gas laws.</p>
-        </li>
-        <li>
-          <a href="./simple-cash-register">temperature converter</a>
-          <p>a cash register, the one you commonly see on malls and konbini.</p>
-        </li>
-        <li>
-          <a href="./drum-ka-dum">drum ka dum!</a>
-          <p>not that much, just a basic drum that uses a keyboard. (only works when you have keyboard)</p>
-        </li>
-        <li>
-          <a href="./basic-calc">basic calc</a>
-          <p>simple calculator. pls don't compare on ur phone calculator. i know, it's far from it xd.</p>
-        </li>
-      </ul>
-    </section>
-    <section>
-      <h2>work related</h2>
-      <p>websites I created for my clients.</p>
-      <ul>
-        <li>
-          <a href="https://mohsinsolutions.com">Mohsin Business Solutions</a>
-          <p>a simple landing page for Mohsin.</p>
-        </li>
-      </ul>
-    </section>
-  </main>
-
-  <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
diff --git a/projects/palindrome-checker b/projects/palindrome-checker
deleted file mode 160000 (submodule)
index e8449e2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e8449e21868dcdccd581d3db3df491e53cbdd69c
diff --git a/projects/roman-numeral-converter b/projects/roman-numeral-converter
deleted file mode 160000 (submodule)
index 2457a3a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 2457a3a1e4c7530c00890d2d2ab727538e6a06e4
diff --git a/projects/signup-login-system b/projects/signup-login-system
deleted file mode 160000 (submodule)
index 2c4be24..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 2c4be24e0e0a5348f27d513d01bf96aa4eeb7bb8
diff --git a/projects/simple-cash-register b/projects/simple-cash-register
deleted file mode 160000 (submodule)
index e2467d7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e2467d7d864c2488034bcadafed2b5e5f1dea0a8
diff --git a/projects/temperature-converter b/projects/temperature-converter
deleted file mode 160000 (submodule)
index 374b61a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 374b61a8f7fc19c1503c985f806980b8fd44ca8c
diff --git a/styles/root.css b/styles/root.css
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/stylesheets/root.css b/stylesheets/root.css
new file mode 100644 (file)
index 0000000..7cb0d61
--- /dev/null
@@ -0,0 +1,38 @@
+html, body {
+  height: 100%;
+  width: 100%;
+}
+body {
+  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
+  margin: 0 auto;
+}
+table {
+  height: 100%;
+  width: 100%;
+}
+#sidebar {
+  background-image: url(/images/backgrounds/backgroundclouds.gif);
+  background-repeat: repeat;
+  vertical-align: top;
+  height: 100%;
+  width: 200px;
+  padding: 15px 10px;
+}
+#sidebar > ul {
+  margin-top: 0;
+  padding-left: 10px;
+}
+#sidebar li {
+  list-style-type: none;
+  padding: 2px;
+}
+#sidebar p {
+  margin-bottom: 5px;
+}
+#sidebar a {
+  color: inherit;
+}
+#body {
+  vertical-align: top;
+  padding: 0 20px;
+}
\ No newline at end of file