]> git.bochard.net Git - mysite.git/commitdiff
added guestbook and fix table layout
authorbochard <mail@bochard.net>
Fri, 25 Jul 2025 12:22:37 +0000 (20:22 +0800)
committerbochard <mail@bochard.net>
Fri, 25 Jul 2025 12:22:37 +0000 (20:22 +0800)
about-me.php
files/index.php
guestbook.php [new file with mode: 0644]
how-to/index.php
index.php
journal/index.php
parts/footer.php
parts/sidebar.php
photo-album/index.php
stylesheets/component.css

index b351c6f05020c46e4307a70cc4735b2dc19494b9..d99bb9574d1a3a071f1e3faf37c2f38cb9ed6b56 100644 (file)
       <!-- ...and this is for the content -->
       <td id="body">
         <?php include_once("$parts/underconstruction.php");?>
-        
-        <?php include_once("$parts/footer.php");?>
       </td>
     </tr>
+    
+    <?php include_once("$parts/footer.php");?>
   </table>
 </body>
 </html>
index 3c6c1b2e76b57e743c2baedebe622b2e4539bb36..56a76c433f017ce4069b338994b5f376e8698a4e 100644 (file)
       <!-- ...and this is for the content -->
       <td id="body">
         <?php include_once("$parts/underconstruction.php");?>
-        
-        <?php include_once("$parts/footer.php");?>
       </td>
     </tr>
+    
+    <?php include_once("$parts/footer.php");?>
   </table>
 </body>
 </html>
diff --git a/guestbook.php b/guestbook.php
new file mode 100644 (file)
index 0000000..fc4e2af
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "My site's guestbook";
+  $pgdescription = "please fill the guestbook before you leave the site.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <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>
+</body>
+</html>
index 55684280c4f0b7cf01ec42151c5f8af64c906d65..d5e8a1e7d5ad069f3269447d6468b5b2c098d487 100644 (file)
       <!-- ...and this is for the content -->
       <td id="body">
         <?php include_once("$parts/underconstruction.php");?>
-        
-        <?php include_once("$parts/footer.php");?>
       </td>
     </tr>
+    
+    <?php include_once("$parts/footer.php");?>
   </table>
 </body>
 </html>
index 72cc6a560cc84aff96341cec1ec52b1122488774..a7fe6e5f599c671bc1c0cf789c902f0cc1caf68b 100644 (file)
--- a/index.php
+++ b/index.php
         <p>I have a few books on my desk, mostly about japanese novels like 'the setting sun', 'no longer human', 'schoolgirl', etc...if you knew these books, yes, the author are all mostly from Osamu Dazai. well...i'm not a huge fan of Dazai, but I like his works though. Well he is really a great and respected author, indeed. It's just that...he ended his own life, for a reason which I don't have any idea yet. anyways...I'd like to read more and more books but I don't have money, im poor, so...if you will....please consider donating :D.</p>\r
         <hr>\r
         <p>I barely update this site, apologies.</p>\r
-        \r
-        <?php include_once("$parts/footer.php");?>\r
       </td>\r
     </tr>\r
+    \r
+               <?php include_once("$parts/footer.php");?>\r
   </table>\r
 </body>\r
 </html>\r
index e9cae980af8d5f8ef805a6254a2409e76525d6a5..b5ac17bd239af00350535f6ac50af53a64e49ffe 100644 (file)
       <!-- ...and this is for the content -->
       <td id="body">
         <?php include_once("$parts/underconstruction.php");?>
-        
-        <?php include_once("$parts/footer.php");?>
       </td>
     </tr>
+    
+               <?php include_once("$parts/footer.php");?>
   </table>
 </body>
 </html>
index 24cc364b5db80123799458c1f491490b94ba1461..271180b5f070a9db40c5bfd0a2cd5afa26ae2a3a 100644 (file)
@@ -1,3 +1,5 @@
-<div id="footer">
-       ἀγάπην τοῦ θεοῦ
-</div>
+<tr>
+       <td id="footer">
+               ἀγάπην τοῦ θεοῦ
+       </td>
+</tr>
index cc665d6d1ad6214c72a0e08fb6779419389fdf91..03efca67fb3ef8a7680489d0ce14220deb555a73 100644 (file)
@@ -1,5 +1,5 @@
 <!-- this is for the sidebar -->
-<td id="sidebar">
+<td id="sidebar" rowspan="2">
   <img src="/images/gifs/doraemon.gif" alt="doraemon welcoming you to my site" height="100">
   <img src="/images/gifs/doraemon.gif" alt="doraemon welcoming you to my site" height="100">
   <img src="/images/gifs/doraemon.gif" alt="doraemon welcoming you to my site" height="100">
@@ -11,6 +11,7 @@
     <li><a href="/about-me.php">about me...</a></li>
     <li><a href="/journal">my thoughts</a></li>
     <li><a href="/photo-album">photo album</a></li>
+    <li><a href="/guestbook.php">guestbook</a></li>
     <li><a href="/works">stuffs i made</a></li>
     <li><a href="/files">files</a></li>
     <li><a href="mailto:mail@bochard.net">email me!</a></li>
   <table>
                <tr>
                        <!-- hitwebcounter Code START -->
-                       <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" title="Counter Widget" Alt="Visit counter For Websites" border="0" width="90"></a></td>
-                       <td><a href="http://www.anybrowser.org/campaign/"><img src="./images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" width="90"></a></td>
+                       <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="90"></a></td>
+                       <td><a href="http://www.anybrowser.org/campaign/"><img src="./images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" title="actually, this site is best to view on your desktop computer ;&rpar;" width="90"></a></td>
                </tr>
     <tr>
-                       <td><img src="/images/gifs/badges/mullvad.avif" alt="free the internet" width="90"></td>
-                       <td><a href="http://heliohost.org"><img src="/images/gifs/heliohost-org.gif" alt="heliohost" height="70"></td>
+                       <td><img src="/images/gifs/badges/mullvad.avif" alt="free the internet" title="make your own space on the web!" width="90"></td>
+                       <td><a href="http://heliohost.org"><img src="/images/gifs/heliohost-org.gif" alt="heliohost" title="site is hosted by heliohost.org" height="70"></a></td>
     </tr>
        </table>
 
index 29214b6971e1ac0ac908a01831a34ee5f024e8af..96f9723d77ff50c1a0112e9baf4df930ff7fde25 100644 (file)
       <!-- ...and this is for the content -->
       <td id="body">
         <?php include_once("$parts/underconstruction.php");?>
-        
-        <?php include_once("$parts/footer.php");?>
       </td>
     </tr>
+    
+    <?php include_once("$parts/footer.php");?>
   </table>
 </body>
 </html>
index a918910d8808a92c910d6dd62973e38ad41983ae..7f73c35e4305e9ed143a851d2f284a539d5e9c10 100644 (file)
 }
 #body {
   vertical-align: top;
-  padding: 0 70px 10px;
+  padding: 0 70px;
 }
 #footer {
        text-align: center;
   font-style: italic;
+  height: 20%;
+  padding: 10px 0;
 }
 #underconstruction-container {
   text-align: center;