]> git repositories - mysite.git/commitdiff
sitemenu is now a modular part.
authorbochard <git@bochard.net>
Sun, 8 Feb 2026 04:30:52 +0000 (12:30 +0800)
committerbochard <git@bochard.net>
Sun, 8 Feb 2026 05:19:40 +0000 (13:19 +0800)
email.php
guestbook.php
index.php
part/sitemenu.php [new file with mode: 0644]

index c7e42ce5f39a42ac9e9dca377b296d2dc5532d07..c9487365183724b4fcd1886f81816fd0776fa990 100644 (file)
--- a/email.php
+++ b/email.php
@@ -7,20 +7,25 @@
        head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
 <body background="/image/background/stars.gif" style="color: white;">
-       <center>
-               <table>
-                       <tr>
-                               <td>
-                                       <center><img src="/image/gif/emailspin.gif"><img src="/image/gif/emailspin.gif"><img src="/image/gif/emailspin.gif"></center>
-                                       <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.<img src="/image/gif/emoticon/nerd.gif"></p>
-                                       <img src="/image/email.jpg" alt="my email" title="drawn on gimp using my mouse">
-                                       <p>In order to avoid spam, I used an image here to show my email. Please send me messages through here.</p>
-                                       <p>I will respond to you as soon as I can. If weeks eventually passed and you still haven't got any reply. It could just simply mean I'm already dead <img src="/image/gif/emoticon/dead.gif">, or just could be that your email has been flagged as spam and automatically moved to the spam folder <img src="/image/gif/emoticon/wink.gif">. So write a genuine, heartfelt email so your it will be delivered properly on my inbox <img src="/image/gif/emoticon/perfect.gif">. Thanks!</p>
-                                       
-                                       <center><a href="/"><img src="/image/navigation/backhomepage.gif"></a></center>
-                               </td>
-                       </tr>
-               </table>
-       </center>
+<center>
+       <table>
+               <tr>
+                       <td>
+                               <center><img src="/image/gif/emailspin.gif"><img src="/image/gif/emailspin.gif"><img src="/image/gif/emailspin.gif"></center>
+                               <table width="900">
+                                       <tr>
+                                               <td>
+                                                       <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.<img src="/image/gif/emoticon/nerd.gif"></p>
+                                                       <img src="/image/email.jpg" alt="my email" title="drawn on gimp using my mouse">
+                                                       <p>In order to avoid spam, I used an image here to show my email. Please send me messages through here.</p>
+                                                       <p>I will respond to you as soon as I can. If weeks eventually passed and you still haven't got any reply. It could just simply mean I'm already dead <img src="/image/gif/emoticon/dead.gif">, or just could be that your email has been flagged as spam and automatically moved to the spam folder <img src="/image/gif/emoticon/wink.gif">. So write a genuine, heartfelt email so it will be delivered properly on my inbox <img src="/image/gif/emoticon/perfect.gif">. Thanks!</p>
+                                               </td>
+                                       </tr>
+                                       <tr><td colspan=2><center><a href="/"><img src="/image/navigation/backhomepage.gif"></a></center></td></tr>
+                               </table>
+                       </td>
+               </tr>
+       </table>
+</center>
 </body>
 </html>
index 5c5a0c6acd8f3d9796f8831e0ac21a3395a34fb8..fa226f1fc99d9164e7a4a61990e6766b5cc9e944 100644 (file)
@@ -76,7 +76,7 @@
                                        
                                        <center>
                                                <form method="POST" action="<?= htmlspecialchars($_SERVER["PHP_SELF"]); ?>">
-                                                       <label for="name">Name: </label><input type="text" name="name" required>
+                                                       <label for="name">Name: </label><input type="text" name="name" placeholder="required" required>
                                                        <br>
                                                        <label for="country">Country: </label><input type="text" name="country" placeholder="optional">
                                                        <br>
@@ -84,7 +84,7 @@
                                                        <br>
                                                        <label for="email">My e-mail: </label><input type="email" name="email" placeholder="only me can see, optional">
                                                        <br>
-                                                       <label for="comment">Comment: </label><br><textarea name="comment" rows="10" cols="35" placeholder="put your comment here..." required></textarea>
+                                                       <label for="comment">Comment: </label><br><textarea name="comment" rows="10" cols="35" placeholder="..." required></textarea>
                                                        <br>
                                                        <button type="submit">Sign the guestbook</button>
                                                </form>
index 6b0cfebe5c35f32f2022b37405141dac6ccbf88d..4813fdfe5d25ca0b885ad74e0938cc6da9508a5e 100644 (file)
--- a/index.php
+++ b/index.php
                                <!-- the body -->\r
                                <table width="100%" style="margin-top: -25px;">\r
                                        <tr>\r
-                                               <!-- side navigation -->\r
-                                               <td valign="top">\r
-                                                       <table width="170" background="/image/background/bkgr2.jpg" cellpadding="3" cellspacing="0" border="3">\r
-                                                               <tr>\r
-                                                                       <td>\r
-                                                                               <center><font color="#eef261"><h2>Web site menu</h2></font></center>\r
-                                                                               <table width="100%">\r
-                                                                                       <tr><td bgcolor="#87ff85"><center><b><a href="/">Homepage</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#ffc975"><center><b><a href="/weblog">Weblog</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#d7e324"><center><b><a href="/works">Projects</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#f4ae42"><center><b><a href="https://git.bochard.net">Git</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#85c8ff"><center><b><a href="/links.php">Links</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#d9ffd9"><center><b><a href="/info.php">About me</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#8295ff"><center><b><a href="/guestbook.php">Guestbook</a></b></center></td></tr>\r
-                                                                                       <tr><td bgcolor="#85ffd6"><center><b><a href="/email.php">E-mail</a></b></center></td></tr>\r
-                                                                               </table>\r
-                                                                       </td>\r
-                                                               </tr>\r
-                                                       </table>\r
-                                               </td>\r
+                                               <?php require_once(__DIR__ . "/part/sitemenu.php");?>\r
                                                <!-- page content -->\r
                                                <td>\r
                                                        <table background="/image/background/bg1.gif" cellpadding="10" cellspacing="0" border="3">\r
diff --git a/part/sitemenu.php b/part/sitemenu.php
new file mode 100644 (file)
index 0000000..32e56f8
--- /dev/null
@@ -0,0 +1,20 @@
+<!-- side navigation -->
+<td valign="top">
+       <table width="170" background="/image/background/bkgr2.jpg" cellpadding="3" cellspacing="0" border="3">
+               <tr>
+                       <td>
+                               <center><font color="#eef261"><h2>Web site menu</h2></font></center>
+                               <table width="100%">
+                                       <tr><td bgcolor="#87ff85"><center><b><a href="/">Homepage</a></b></center></td></tr>
+                                       <tr><td bgcolor="#ffc975"><center><b><a href="/weblog">Weblog</a></b></center></td></tr>
+                                       <tr><td bgcolor="#d7e324"><center><b><a href="/works">Projects</a></b></center></td></tr>
+                                       <tr><td bgcolor="#f4ae42"><center><b><a href="https://git.bochard.net">Git</a></b></center></td></tr>
+                                       <tr><td bgcolor="#85c8ff"><center><b><a href="/links.php">Links</a></b></center></td></tr>
+                                       <tr><td bgcolor="#d9ffd9"><center><b><a href="/info.php">About me</a></b></center></td></tr>
+                                       <tr><td bgcolor="#8295ff"><center><b><a href="/guestbook.php">Guestbook</a></b></center></td></tr>
+                                       <tr><td bgcolor="#85ffd6"><center><b><a href="/email.php">E-mail</a></b></center></td></tr>
+                               </table>
+                       </td>
+               </tr>
+       </table>
+</td>