]> git.bochard.net Git - mysite.git/commitdiff
under construction
authorbochard <mail@bochard.net>
Sun, 13 Jul 2025 11:48:42 +0000 (19:48 +0800)
committerbochard <mail@bochard.net>
Sun, 13 Jul 2025 11:48:42 +0000 (19:48 +0800)
15 files changed:
about-me.php [new file with mode: 0644]
files/index.php [new file with mode: 0644]
gallery/index.php [new file with mode: 0644]
how-to/index.php [new file with mode: 0644]
images/gifs/under-construction/underconstructionimg.gif [new file with mode: 0755]
images/gifs/under-construction/underconstructiontxt.gif [new file with mode: 0755]
images/gifs/under_construction/underconstructionimg.gif [deleted file]
images/gifs/under_construction/underconstructiontxt.gif [deleted file]
index.php
journal/entry-1.php [new file with mode: 0644]
journal/index.php [new file with mode: 0644]
parts/head.php
parts/underconstruction.php [new file with mode: 0644]
stylesheets/component.css [new file with mode: 0644]
stylesheets/root.css

diff --git a/about-me.php b/about-me.php
new file mode 100644 (file)
index 0000000..dc0e0a4
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "Me?";
+  $pgdescription = "well...who am I?";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <?php include_once("$parts/underconstruction.php");?>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
diff --git a/files/index.php b/files/index.php
new file mode 100644 (file)
index 0000000..60563a3
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "Files";
+  $pgdescription = "some awesome, and rare files in my computer.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <?php include_once("$parts/underconstruction.php");?>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
diff --git a/gallery/index.php b/gallery/index.php
new file mode 100644 (file)
index 0000000..ce4876e
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "My Photo Gallery";
+  $pgdescription = "photo collection of various things I see in my life.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <?php include_once("$parts/underconstruction.php");?>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
diff --git a/how-to/index.php b/how-to/index.php
new file mode 100644 (file)
index 0000000..ce627dd
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "How To...";
+  $pgdescription = "some tutorials made by me.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <?php include_once("$parts/underconstruction.php");?>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
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/gifs/under_construction/underconstructionimg.gif b/images/gifs/under_construction/underconstructionimg.gif
deleted file mode 100755 (executable)
index 93b8c0d..0000000
Binary files a/images/gifs/under_construction/underconstructionimg.gif and /dev/null differ
diff --git a/images/gifs/under_construction/underconstructiontxt.gif b/images/gifs/under_construction/underconstructiontxt.gif
deleted file mode 100755 (executable)
index bedc540..0000000
Binary files a/images/gifs/under_construction/underconstructiontxt.gif and /dev/null differ
index ef598df7e22c2b1538cef741f99f2ef2a7861edb..fb230c1c6a1ab9f2533daf83da4b93279e53912a 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@
 <?php\r
   require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");\r
   $pgtitle = "bochard's net home";\r
-  $pgdescription = "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
+  $pgdescription = "Welcome to my net home! this website are my space to show my hobbies, thoughts, and other fun stuffs. I am a teen guy who learned how to code just by himself. Hope you enjoy visiting my site! :)";\r
   head($pgtitle, $pgdescription);\r
 ?>\r
 <body>    \r
diff --git a/journal/entry-1.php b/journal/entry-1.php
new file mode 100644 (file)
index 0000000..6582498
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "Entry #1 - a dream.";
+  $pgdescription = "a dream.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <img src="/images/gifs/bulblights.gif" alt="bulb lights" width="100%">
+        <h1>A Dream.</h1>
+        <p>...</p>
+        <hr>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
diff --git a/journal/index.php b/journal/index.php
new file mode 100644 (file)
index 0000000..f86df97
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
+  $pgtitle = "My Thoughts";
+  $pgdescription = "This page serves as my space to write down my opinion, what I feel, and some random things that worth writing down.";
+  head($pgtitle, $pgdescription);
+?>
+<body>    
+  <table>
+    <tr>
+      <?php include_once("$parts/sidebar.php");?>
+      
+      <!-- ...and this is for the content -->
+      <td id="body">
+        <?php include_once("$parts/underconstruction.php");?>
+      </td>
+    </tr>
+  </table>
+</body>
+</html>
index 24dd4234ddc775b552971f36273ff3e41f3c1fff..3d5164f792f564a75b46dd911fc084f58059c6c1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 $parts = "{$_SERVER['DOCUMENT_ROOT']}/parts";
-function head($pgtitle, $pgdescription, $pgcss = []){ ?>
+function head($pgtitle, $pgdescription, $pgcss = []){?>
   <!DOCTYPE html>
   <html lang="en">
   <head>
@@ -8,13 +8,14 @@ function head($pgtitle, $pgdescription, $pgcss = []){ ?>
       <meta name="robots" content="index, follow">
       <link rel="shortcut icon" href="/images/icons/favicon.ico">
 
-    <title><?= htmlspecialchars($pgtitle, ENT_COMPAT); ?></title>
-    <meta name="description" content="<?= htmlspecialchars($pgdescription, ENT_COMPAT); ?>">
+    <title><?= htmlspecialchars($pgtitle, ENT_COMPAT);?></title>
+    <meta name="description" content="<?= htmlspecialchars($pgdescription, ENT_COMPAT);?>">
 
     <!-- stylesheet/s i use -->
-    <link rel="stylesheet" href="/stylesheets/root.css?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/root.css"); ?>">
-    <?php foreach($pgcss as $filepath): ?>
-      <link rel="stylesheet" href="<?= htmlspecialchars("$filepath?v="), filemtime($filepath); ?>">
-    <?php endforeach; ?>
+    <link rel="stylesheet" href="/stylesheets/root.css?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/root.css");?>">
+    <link rel="stylesheet" href="/stylesheets/component.css?v=<?= filemtime("{$_SERVER['DOCUMENT_ROOT']}/stylesheets/component.css");?>">
+    <?php foreach($pgcss as $filepath):?>
+      <link rel="stylesheet" href="<?= htmlspecialchars("$filepath?v="), filemtime($filepath);?>">
+    <?php endforeach;?>
   </head>
 <?php }
diff --git a/parts/underconstruction.php b/parts/underconstruction.php
new file mode 100644 (file)
index 0000000..250e0b3
--- /dev/null
@@ -0,0 +1,7 @@
+<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>nothing here yet...</h1>
+  <p>check back soon... some content will be inserted here.</p>
+</div>
+<hr>
\ No newline at end of file
diff --git a/stylesheets/component.css b/stylesheets/component.css
new file mode 100644 (file)
index 0000000..e024a84
--- /dev/null
@@ -0,0 +1,28 @@
+#sidebar {
+  background-image: url(/images/backgrounds/backgroundclouds.gif);
+  background-repeat: repeat;
+  vertical-align: top;
+  height: 100%;
+  width: 200px;
+  padding: 15px 10px;
+  border-style: groove;
+}
+#sidebar > ul {
+  margin-top: 0;
+  padding-left: 5px;
+}
+#sidebar li {
+  list-style-type: none;
+  padding: 1px;
+}
+#sidebar a {
+  color: inherit;
+}
+#body {
+  vertical-align: top;
+  padding: 0 20px;
+}
+#underconstruction-container {
+  text-align: center;
+  margin-top: 20px;
+}
\ No newline at end of file
index 5bd145a0cb132cd79a254b8f3d06ce8a9788fa35..382e17fd1390628ff24dedd7fb12bf010258b612 100644 (file)
@@ -11,28 +11,4 @@ body {
 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;
-  border-style: groove;
-}
-#sidebar > ul {
-  margin-top: 0;
-  padding-left: 5px;
-}
-#sidebar li {
-  list-style-type: none;
-  padding: 1px;
-}
-#sidebar a {
-  color: inherit;
-}
-#body {
-  vertical-align: top;
-  padding: 0 20px;
 }
\ No newline at end of file