]> git.bochard.net Git - mysite.git/commitdiff
added rightbox domain-wide (unfinished)
authorbochard <git@bochard.net>
Thu, 7 Aug 2025 13:57:06 +0000 (21:57 +0800)
committerbochard <git@bochard.net>
Thu, 7 Aug 2025 14:04:08 +0000 (22:04 +0800)
13 files changed:
about-me.php
books/index.php
email.php
files/index.php [deleted file]
guestbook.php
how-to/index.php
index.php
kitchen/index.php
parts/rightbox.php [new file with mode: 0644]
parts/sidebar.php
photo-album/index.php
stylesheets/guestbook.css
stylesheets/root.css

index fdd6a39f5eb025fe8195d9f5b054c5da8603a611..f6ab52440be9c830662e697b3014c4c5d775b084 100644 (file)
@@ -5,16 +5,28 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
+  <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");?>
+                                                               <td id="body">
+                                                                       <?php include_once("$parts/underconstruction.php");?>
+                                                               </td>
+                                                       </tr>
+                                                       
+                                                       <?php include_once("$parts/footer.php");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
index 1b2e657392ab20cd23ba6ab87b584d41e59f4e2a..9b33f2e7c3ba4aad10992f97ea822a2d86402cef 100644 (file)
@@ -5,16 +5,28 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <td id="body">
-        <?php include_once("$parts/underconstruction.php");?>
-      </td>
-    </tr>
-    
-    <?php include_once("$parts/footer.php");?>
+  <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");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
index 5d5ffcb012d13f05dcf989eb0e3a014426eca643..3cd1fee95ca113448a2df0e669f9c35385ba1e65 100644 (file)
--- a/email.php
+++ b/email.php
@@ -5,19 +5,31 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <td id="body">
-        <h1>Email me</h1>
-        <p>I'm not going to make you type in a form haha, I don't like that. Email me with your favorite mailer. Talk to me about anything—really, anything &lpar;except for those ads and promotions related emails&rpar;.</p>
-        <img src="/images/email.jpg" width="400" alt="email" title="handwritten using my computer mouse">
-        <p>I will respond to you as soon as I can. If weeks has passed and you still did not got a reply, it could mean that I'm already dead &lpar;or it could just be that your email has been automatically moved to spam folder&rpar;.</p>
-      </td>
-    </tr>
-    
-               <?php include_once("$parts/footer.php");?>
+  <table id="tablewrapper" cellspacing="10">
+               <tbody>
+                       <tr>
+                               <td id="content">
+                                       <table>
+                                               <tbody>
+                                                       <tr>
+                                                               <?php include_once("$parts/sidebar.php");?>
+                                                               
+                                                               <td id="body">
+                                                                       <h1>Email me</h1>
+                                                                       <p>I'm not going to make you type in a form haha, I don't like that. Email me with your favorite mailer. Talk to me about anything—really, anything &lpar;except for those ads and promotions related emails&rpar;.</p>
+                                                                       <img src="/images/email.jpg" width="400" alt="email" title="handwritten using my computer mouse">
+                                                                       <p>I will respond to you as soon as I can. If weeks has passed and you still did not got a reply, it could mean that I'm already dead &lpar;or it could just be that your email has been automatically moved to spam folder&rpar;.</p>
+                                                               </td>
+                                                       </tr>
+                                                       
+                                                       <?php include_once("$parts/footer.php");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
diff --git a/files/index.php b/files/index.php
deleted file mode 100644 (file)
index f387de5..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
-  $pgtitle = "Files";
-  $pgdescription = "some awesome and rare files on my computer.";
-  head($pgtitle, $pgdescription);
-?>
-<body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <td id="body">
-        <?php include_once("$parts/underconstruction.php");?>
-      </td>
-    </tr>
-    
-    <?php include_once("$parts/footer.php");?>
-  </table>
-</body>
-</html>
index ef6a9b5ac160897d44efedc570a8b344c455bafa..4789147962efa2ff821c279cf27c48a9b65c1636 100644 (file)
@@ -6,17 +6,29 @@
   head($pgtitle, $pgdescription, $pgcss);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <!-- ...and this is for the content -->
-      <td id="body">
-        <iframe src="https://bochard.atabook.org" height="100%" width="100%" style="border: none;"></iframe>
-      </td>
-    </tr>
-    
-    <?php include_once("$parts/footer.php");?>
+  <table id="tablewrapper" cellspacing="10">
+               <tbody>
+                       <tr>
+                               <td id="content">
+                                       <table>
+                                               <tbody>
+                                                       <tr>
+                                                               <?php include_once("$parts/sidebar.php");?>
+                                                               
+                                                               <!-- ...and this is for the content -->
+                                                               <td id="body">
+                                                                       <iframe src="https://bochard.atabook.org" height="100%" width="100%" style="border: none;"></iframe>
+                                                               </td>
+                                                       </tr>
+                                                       
+                                                       <?php include_once("$parts/footer.php");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
index 8f0be1f118125fb88fec3431667e6a35c6413dfb..b4582a1a5bcd3fc0bae1056398513e649ea35aee 100644 (file)
@@ -5,16 +5,28 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <td id="body">
-        <?php include_once("$parts/underconstruction.php");?>
-      </td>
-    </tr>
-    
-    <?php include_once("$parts/footer.php");?>
+  <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");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
index 02a5e984e3987ba4a47800cef7e56b9f51c14f2b..8973bfe8729d30e019eb99038cd6cec31bd8744a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -5,24 +5,37 @@
   head($pgtitle, $pgdescription);\r
 ?>\r
 <body>    \r
-  <table id="content">\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 &lpar;NLT&rpar;</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 &lpar;soon&rpar;, 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 &lpar;some images are not mine though hahaha&rpar;, 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 &lpar;will create my own visitor counter soon&rpar;. 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
-      </td>\r
-    </tr>\r
-    \r
-               <?php include_once("$parts/footer.php");?>\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 &lpar;NLT&rpar;</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 &lpar;soon&rpar;, 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 &lpar;some images are not mine though hahaha&rpar;, 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 &lpar;will create my own visitor counter soon&rpar;. 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
+                                                               </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
 </html>\r
index b2c4bd5f44fb806630f8c43ca7c737ab7cf2484c..19a87c430541d0d680a3e94d5d3560af3b2e191c 100644 (file)
@@ -5,16 +5,28 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
-      
-      <td id="body">
-        <?php include_once("$parts/underconstruction.php");?>
-      </td>
-    </tr>
-    
-    <?php include_once("$parts/footer.php");?>
+  <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");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
diff --git a/parts/rightbox.php b/parts/rightbox.php
new file mode 100644 (file)
index 0000000..04c9c6a
--- /dev/null
@@ -0,0 +1,12 @@
+<table>
+       <tbody>
+               <tr>
+                       <td>
+                               <strong>Blogs</strong>
+                               <ul>  
+                                       <li><a href="#" title="reserved space here for now.">Nothing yet...</a></li>
+                               </ul>
+                       </td>
+               </tr>
+       </tbody>
+</table>
index 97dcd463fac2ba19e770e0d18e2dc6531bbfe427..46489111143794fd964b9dbcbdd48779d82db82d 100644 (file)
   <hr>
   
   <table>
-               <tr>
-                       <td><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" Alt="Visit counter For Websites" title="total unique visitors" border="0" width="100"></a></td>
-                       <td><a href="http://www.anybrowser.org/campaign/"><img src="/images/badges/anybrowser.gif" alt="Viewable With Any Browser" title="best to view on computer screen" width="100"></a></td>
-               </tr>
-    <tr>
-                       <td><img src="/images/badges/mullvad.avif" alt="free the internet" title="support the independent web" width="100"></td>
-                       <td><a href="https://heliohost.org"><img src="/images/gifs/heliohost-org.gif" alt="heliohost" title="hosted by heliohost.org" height="70"></a></td>
-    </tr>
-    <tr>
-                       <td><img src="/images/gifs/hatsunemikuapproved.gif" alt="hatsune miku approved" title="100% approved by hatsune miku!" width="100"></td>
-                       <td><img src="/images/gifs/anybrows.gif" alt="any browser" title="works on any browser you can think of" width="100"></td>
-    </tr>
-    <tr>
-                       <td><img src="/images/gifs/saynotoweb3.gif" alt="no to web3" title="web3 sucks" width="100"></td>
-    </tr>
+               <tbody>
+                       <tr>
+                               <td><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" Alt="Visit counter For Websites" title="total unique visitors" border="0" width="100"></a></td>
+                               <td><a href="http://www.anybrowser.org/campaign/"><img src="/images/badges/anybrowser.gif" alt="Viewable With Any Browser" title="best to view on computer screen" width="100"></a></td>
+                       </tr>
+                       <tr>
+                               <td><img src="/images/badges/mullvad.avif" alt="free the internet" title="support the independent web" width="100"></td>
+                               <td><a href="https://heliohost.org"><img src="/images/gifs/heliohost-org.gif" alt="heliohost" title="hosted by heliohost.org" height="70"></a></td>
+                       </tr>
+                       <tr>
+                               <td><img src="/images/gifs/hatsunemikuapproved.gif" alt="hatsune miku approved" title="100% approved by hatsune miku!" width="100"></td>
+                               <td><img src="/images/gifs/anybrows.gif" alt="any browser" title="works on any browser you can think of" width="100"></td>
+                       </tr>
+                       <tr>
+                               <td><img src="/images/gifs/saynotoweb3.gif" alt="no to web3" title="web3 sucks" width="100"></td>
+                       </tr>
+               </tbody>
        </table>
 
 <!--
index 5466bd28a9fb1fd1b17bc7aa47a9c22f2c65ec3d..447c1d9e35eb35823d7051c64e123697b27fba05 100644 (file)
@@ -5,16 +5,28 @@
   head($pgtitle, $pgdescription);
 ?>
 <body>    
-  <table id="content">
-    <tr>
-      <?php include_once("$parts/sidebar.php");?>
+  <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");?>
+                                                               <td id="body">
+                                                                       <?php include_once("$parts/underconstruction.php");?>
+                                                               </td>
+                                                       </tr>
+                                                       
+                                                       <?php include_once("$parts/footer.php");?>
+                                       </table>
+                               </td>
+                               <td id="rightbox">
+                                       <?php include_once("$parts/rightbox.php");?>
+                               </td>
+                       </tr>
+               </tbody>
   </table>
 </body>
 </html>
index 68291b899553ae15a3f9ff05a917c45d4ce1be03..14a0984fd3e2f09ad913fa66bfcffbe97ae19c26 100644 (file)
@@ -10,3 +10,6 @@ body {
        background-position: right;
        color: white;
 }
+#rightbox {
+       background-image: url('/images/backgrounds/patternTV2.gif');
+}
index f15d800ec7a483d3e49775298bc5d27b8e1a7e6a..7814305586770c80084218b0323f4dcabc348df5 100644 (file)
@@ -25,12 +25,13 @@ blockquote {
 /*
  * ID AND CLASSES
  */
+#tablewrapper {
+       margin: 0 auto;
+}
 #content {
        background-image: url('/images/backgrounds/bg1.gif');
   background-repeat: repeat;
   height: fit-content;
-  width: 95%;
-  max-width: 900px;
   margin: 10px auto;
   border-style: ridge;
 }
@@ -40,6 +41,7 @@ blockquote {
   vertical-align: top;
   height: 100%;
   width: 200px;
+  max-width: 200px;
   padding: 15px 10px;
   border-style: ridge;
   color: white;
@@ -48,7 +50,7 @@ blockquote {
   margin-top: 0;
   padding-left: 7px;
 }
-#sidebar li {
+#sidebar > ul li {
   list-style-type: none;
   padding: 3px;
 }
@@ -58,6 +60,7 @@ blockquote {
 #body {
   vertical-align: top;
   padding: 20px 70px 0;
+  width: 550px;
 }
 #body a {
        color: darkgreen;
@@ -73,6 +76,20 @@ blockquote {
        border-spacing: 0;
        margin: 0 auto;
 }
+#rightbox {
+       background-image: url('/images/backgrounds/bluerock.jpg');
+  background-repeat: repeat;
+  vertical-align: top;
+  height: 100%;
+  width: 150px;
+  max-width: 150px;
+  padding: 15px 10px;
+  border-style: ridge;
+  color: white;
+}
+#rightbox a {
+       color: lightgreen;
+}
 #underconstruction-container {
   text-align: center;
 }