]> git.bochard.net Git - mysite.git/commitdiff
lots of changes
authorbochard <git@bochard.net>
Thu, 6 Nov 2025 13:14:58 +0000 (21:14 +0800)
committerbochard <git@bochard.net>
Thu, 6 Nov 2025 13:14:58 +0000 (21:14 +0800)
12 files changed:
about-me.php [deleted file]
email.php
guestbook.php
index.php
info.php [new file with mode: 0644]
part/foot.php [new file with mode: 0644]
part/footer.php [deleted file]
part/head.php
part/navtop.php [new file with mode: 0644]
part/sidebar.php
part/underconstruction.php
stylesheet/root.css

diff --git a/about-me.php b/about-me.php
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
index dd68c6c4be6b02258e8ba42b5a2f210f08388f76..cd589e842c40e4d47ed7582b1a05952e6f159fc5 100644 (file)
--- a/email.php
+++ b/email.php
@@ -1,36 +1,48 @@
 <?php
-  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
-  $pgtitle = "contact";
-  $pgdescription = "send an email";
-  head($pgtitle, $pgdescription);
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "email";
+       $pgdescription = "";
+       $pgcss = [];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
-<body>    
-  <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");?>
-                                               </tbody>
-                                       </table>
-                               </td>
-                               <td id="rightbox">
-                                       <?php include_once("$parts/rightbox.php");?>
-                               </td>
-                       </tr>
-               </tbody>
-  </table>
+<body>
+       <center>
+               <table id="theholderofthings" cellspacing="0" cellpadding="0" width="1000">
+                       <tbody>
+                               <tr>
+                                       <td colspan="2">
+                                               <center>
+                                                       <img src="/image/home-banner2.png">
+                                               </center>
+                                       </td>
+                               </tr>
+                               
+                               <tr>
+                                       <?php include_once("$part/navtop.php");?>
+                               </tr>
+                               
+                               <tr>
+                                       <td>
+                                               <table id="maintable" cellspacing="0" cellpadding="10">
+                                                       <tbody>
+                                                               <tr>
+                                                                       <td valign="top" width="80%" background="/image/background/bg1.gif">
+                                                                               <p>I'm not going to make you type in a form, I don't like that. Email me with any of your favorite mailer. Talk to me about anything.</p>
+                                                                               <img src="/image/email.jpg">
+                                                                               <p>In order to avoid spam, I used an image here to show my email. Please send me through here.</p>
+                                                                               <p>I will respond to you as soon as I can. If weeks passed and you still haven't got any reply. It could just simply mean I'm already dead, or just could just be that your email has been flagged as spam and automatically moved to spam folder. So write a genuine, heartfelt email so your email get delivered properly. Thanks!</p>
+                                                                       </td>
+                                                                       <?php include_once("$part/sidebar.php");?>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </center>
+       
+       <?php include_once("$part/foot.php");?>
 </body>
 </html>
index 8b137891791fe96927ad78e64b0aad7bded08bdc..20cba638d8c988038e64ca7e1592b0cd8200354b 100644 (file)
@@ -1 +1,45 @@
-
+<?php
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "guestbook";
+       $pgdescription = "";
+       $pgcss = [];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
+?>
+<body>
+       <center>
+               <table id="theholderofthings" cellspacing="0" cellpadding="0" width="1000">
+                       <tbody>
+                               <tr>
+                                       <td colspan="2">
+                                               <center>
+                                                       <img src="/image/home-banner2.png">
+                                               </center>
+                                       </td>
+                               </tr>
+                               
+                               <tr>
+                                       <?php include_once("$part/navtop.php");?>
+                               </tr>
+                               
+                               <tr>
+                                       <td>
+                                               <table id="maintable" cellspacing="0" cellpadding="10">
+                                                       <tbody>
+                                                               <tr>
+                                                                       <td valign="top" width="80%" background="/image/background/bg1.gif">
+                                                                               <iframe src="https://bochard.atabook.org" frameborder="0" width="100%" height="500"></iframe>
+                                                                       </td>
+                                                                       <?php include_once("$part/sidebar.php");?>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </center>
+       
+       <?php include_once("$part/foot.php");?>
+</body>
+</html>
index 2f848bdb76a69f0d3f40004238428ff47c34fac5..731eb492e4c7f59e75ab2d1e38dcc488f11e5175 100644 (file)
--- a/index.php
+++ b/index.php
                                                </center>\r
                                        </td>\r
                                </tr>\r
+                               \r
+                               <tr>\r
+                                       <?php include_once("$part/navtop.php");?>\r
+                               </tr>\r
+                               \r
                                <tr>\r
                                        <td>\r
-                                               <table id="maintable" cellpadding="10">\r
+                                               <table id="maintable" cellspacing="0" cellpadding="10">\r
                                                        <tbody>\r
                                                                <tr>\r
                                                                        <td valign="top" width="80%" background="/image/background/bg1.gif">\r
-                                                                               <p>Welcome to my website!!! im very happy that you found my net home even though it's almost unsearchable from the vast internet—much like a needle from a haystack.</p>\r
-                                                                               <p>I would like to give a simple introduction what is this site for... As you can already see it is a site dedicated for personal purpose. What's cool here is I hand-coded all things in here.</p>\r
-                                                                               <p>What's with the old-web style, you might ask. I just really like it. It's just freaking awesome and gives me a feel of nostalgia.</p>\r
-                                                                               <img src="/image/gif/chicken-ani.gif" alt="chicken animation gif" title="chimken">\r
+                                                                               <img src="/image/gif/bulblights.gif" width="100%">\r
+                                                                               <center><img src="/image/navigation/homepageburning.gif">\r
+                                                                               <h1>Welcome to my website!!!</h1></center>\r
+                                                                               <p>I am very happy that you found my net home even though it's almost unsearchable from the vast internet—much like a needle from a haystack in order to find it      .</p>\r
+                                                                               <p>I would like to give a simple introduction what is this site for... As you can already see it is a site dedicated for personal purpose. What's cool here is I hand-coded all things in here. If you view the source code, it is mostly written in html. One reason is because I'm not a big fan of css. html is good enough most of the time. Though, I still use css, but very minimal.</p>\r
+                                                                               <p>What's with the old-web style, you might ask. I just really like it. It's just freaking awesome and gives me a feel of nostalgia on the early days of the internet.</p>\r
                                                                        </td>\r
-                                                                       <?php include_once("$parts/sidebar.php");?>\r
+                                                                       <?php include_once("$part/sidebar.php");?>\r
                                                                </tr>\r
                                                        </tbody>\r
                                                </table>\r
@@ -37,5 +44,7 @@
                        </tbody>\r
                </table>\r
        </center>\r
+       \r
+       <?php include_once("$part/foot.php");?>\r
 </body>\r
 </html>\r
diff --git a/info.php b/info.php
new file mode 100644 (file)
index 0000000..8a32037
--- /dev/null
+++ b/info.php
@@ -0,0 +1,45 @@
+<?php
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "about me";
+       $pgdescription = "";
+       $pgcss = [];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
+?>
+<body>
+       <center>
+               <table id="theholderofthings" cellspacing="0" cellpadding="0" width="1000">
+                       <tbody>
+                               <tr>
+                                       <td colspan="2">
+                                               <center>
+                                                       <img src="/image/home-banner2.png">
+                                               </center>
+                                       </td>
+                               </tr>
+                               
+                               <tr>
+                                       <?php include_once("$part/navtop.php");?>
+                               </tr>
+                               
+                               <tr>
+                                       <td>
+                                               <table id="maintable" cellspacing="0" cellpadding="10">
+                                                       <tbody>
+                                                               <tr>
+                                                                       <td valign="top" width="80%" background="/image/background/bg1.gif">
+                                                                               <?php include_once("$part/underconstruction.php");?>
+                                                                       </td>
+                                                                       <?php include_once("$part/sidebar.php");?>
+                                                               </tr>
+                                                       </tbody>
+                                               </table>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </center>
+       
+       <?php include_once("$part/foot.php");?>
+</body>
+</html>
diff --git a/part/foot.php b/part/foot.php
new file mode 100644 (file)
index 0000000..71d39f2
--- /dev/null
@@ -0,0 +1,13 @@
+<table id="foot" align="center">
+       <tbody>
+               <tr>
+                       <td>
+                               <center>
+                                       <br>
+                                       <b>ἀγάπην τοῦ θεοῦ</b><br>
+                                       This site is hand-coded since 2024.
+                               </center>
+                       </td>
+               </tr>
+       </tbody>
+</table>
diff --git a/part/footer.php b/part/footer.php
deleted file mode 100644 (file)
index cc8e892..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<tr>
-       <td id="footer">
-               <b>ἀγάπην τοῦ θεοῦ</b><br>
-               This site is hand-coded since 2024.
-       </td>
-</tr>
index 143488096f8b63254422a56d8be3e11bf02fb618..12eab8aecf84135ad19124b8885791c21b101a03 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-$parts = "{$_SERVER['DOCUMENT_ROOT']}/part";
+$part = "{$_SERVER['DOCUMENT_ROOT']}/part";
 function head($pgtitle, $pgdescription = null, $pgcss = [], $pgjs = []){?>
   <!doctype html>
   <html lang="en">
diff --git a/part/navtop.php b/part/navtop.php
new file mode 100644 (file)
index 0000000..b28f672
--- /dev/null
@@ -0,0 +1,12 @@
+<td background="/image/navigation/fade2b.png">
+       <table id="navontop" cellspacing="3" cellpadding="5">
+               <tbody>
+                       <tr>
+                               <td background="/image/navigation/fade1b.png"><a class="navbtn" href="/">homepage</a></td>
+                               <td background="/image/navigation/fade1b.png"><a class="navbtn" href="/info.php">info</a></td>
+                               <td background="/image/navigation/fade1b.png"><a class="navbtn" href="/guestbook.php">guestbook</a></td>
+                               <td background="/image/navigation/fade1b.png"><a class="navbtn" href="/email.php">email</a></td>
+                       </tr>
+               </tbody>
+       </table>
+</td>
index fb55c83f1ce9d3696ca6e19325f40c3ac05ef5b8..3786f584ec2feef5612026c37a282d94989392a7 100644 (file)
@@ -3,21 +3,39 @@
   <img src="/image/gif/doraemon.gif" alt="doraemon" width="50">
   <img src="/image/gif/doraemon.gif" alt="doraemon" width="50">
   <img src="/image/gif/welcomemovetree.gif" alt="welcome hanging on two trees" width="100%">
+  
   <hr>
-  <strong>Site menu</strong>
-  <ul>  
-    <li><a href="/" title="homepage! &lpar;navigate here if you ever got lost&rpar;">homepage</a></li>
-    <li><a href="/about-me.php" title="why'd you want to know?">about me</a></li>
-    <!-- <li><a href="/journal" title="my everday thoughts">thoughts</a></li> -->
-    <li><a href="/photo-album" title="collection of captured photos">photo album</a></li>
-    <!-- <li><a href="/kitchen" title="recipes and other things">kitchen</a></li> -->
-    <li><a href="/books" title="my book collection">bookshelf</a></li>
-    <li><a href="/guestbook.php" title="fill up before you leave">guestbook</a></li>
-    <!-- <li><a href="/works" title="programming">works</a></li> -->
-    <!-- <li><a href="/files" title="random files on my computer">files</a></li> -->
-    <li><a href="/email.php" title="talk to me">email</a></li>
-  </ul>
-  <hr>
+  
+<!--
+  <table>
+               <tbody>
+                       <tr>
+                               <td>
+                                       <a href="/" title="homepage! &lpar;navigate here if you ever got lost&rpar;"><img src="/image/navigation/homepage.png" width="100"></a>
+                               </td>
+                               <td>
+                                       <a href="/about-me.php" title="why'd you want to know?"><img src="/image/navigation/info.png" width="100"></a>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <a href="/guestbook.php" title="fill up before you leave">guestbook</a>
+                               </td>
+                               <td>
+                                       <a href="/email.php" title="talk to me">email</a>
+                               </td>
+                       </tr>
+    </tbody>
+   </table>
+-->
+       <!-- <a href="/journal" title="my everday thoughts">thoughts</a> -->
+       <!-- <a href="/photo-album" title="collection of captured photos">photo album</a> -->
+       <!-- <a href="/kitchen" title="recipes and other things">kitchen</a> -->
+       <!-- <a href="/books" title="my book collection">bookshelf</a> -->
+       <!-- <a href="/works" title="programming">works</a> -->
+       <!-- <a href="/files" title="random files on my computer">files</a> -->
+    
+  <!-- <hr> -->
   
   <table>
                <tbody>
index f3286a7607659690f070c69da51a9b54886ba25c..112db0f8a51e7c6db15ac5d31c055b67f9435007 100644 (file)
@@ -1,6 +1,8 @@
-<div id="underconstruction-container">
-  <img src="/images/gifs/under-construction/underconstructiontxt.gif" alt="under-construction text gif" width="300"><br>
-  <img src="/images/gifs/under-construction/underconstructionimg.gif" alt="men in work" width="250">
-  <h1>Oopss, nothing here...</h1>
-  <p>Come back soon!</p>
-</div>
+<center>
+       <div>
+               <img src="/image/under-construction/underconstructiontxt.gif" alt="under-construction text gif" width="300"><br>
+               <img src="/image/under-construction/underconstructionimg.gif" alt="men in work" width="250">
+               <h1>Oopss, nothing here...</h1>
+               <p>Come back soon!</p>
+       </div>
+</center>
index a2183fda38e0cbfcf40ebc06d833203f68d974bb..b2e10fe9f983bdaf4c164dd029717107320158b7 100644 (file)
@@ -6,11 +6,16 @@ body {
        background-repeat: repeat;
 }
 #maintable {
-       border: ridge;
+       min-height: 300px;
+       height: 100%;
 }
-#sidebar{
-       color: white;
-}
-#sidebar a {
+.navbtn {
        color: yellow;
+       text-decoration: none;
+}
+.navbtn:hover {
+       text-decoration: underline;
+}
+#foot {
+       color: white;
 }