]> git.bochard.net Git - mysite.git/commitdiff
update code for many pages for new look
authorbochard <git@bochard.net>
Sat, 15 Nov 2025 03:01:59 +0000 (11:01 +0800)
committerbochard <git@bochard.net>
Sat, 15 Nov 2025 03:01:59 +0000 (11:01 +0800)
book/index.php
how-to/index.php
photo-album/index.php
stylesheet/book.css [new file with mode: 0644]
stylesheet/how-to.css [new file with mode: 0644]
stylesheet/photo-album.css [new file with mode: 0644]

index 1847e213b85cd534b26b1de4afc360dabd04e57d..30d87815e6addae668adbab8893ba79f0b283c2d 100644 (file)
@@ -1,33 +1,22 @@
 <?php
-  require_once("{$_SERVER['DOCUMENT_ROOT']}/parts/head.php");
-  $pgtitle = "Bookshelf";
-  $pgdescription = "my collection of books.";
-  head($pgtitle, $pgdescription);
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "books";
+       $pgdescription = "";
+       $pgcss = ['book.css'];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
 ?>
-<body>    
-  <table id="tablewrapper" cellspacing="10">
+<body>
+       <table id="theholderofthings">
                <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");?>
-                                               </tbody>
-                                       </table>
-                               </td>
-                               <td id="rightbox">
-                                       <?php include_once("$parts/rightbox.php");?>
+                               <td>
+                                       <?php include_once("$part/underconstruction.php");?>
                                </td>
                        </tr>
                </tbody>
-  </table>
+       </table>
+
+       <?php include_once("$part/foot.php");?>
 </body>
 </html>
index 8b137891791fe96927ad78e64b0aad7bded08bdc..df1d156244731b96d8fdbf8fb384ab830d37365e 100644 (file)
@@ -1 +1,22 @@
+<?php
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "tutorials";
+       $pgdescription = "";
+       $pgcss = ['how-to.css'];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
+?>
+<body>
+       <table id="theholderofthings">
+               <tbody>
+                       <tr>
+                               <td>
+                                       <?php include_once("$part/underconstruction.php");?>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
 
+       <?php include_once("$part/foot.php");?>
+</body>
+</html>
index 8b137891791fe96927ad78e64b0aad7bded08bdc..4264e507ec6239c5dd8d5b189d7014ea6cc9bca4 100644 (file)
@@ -1 +1,22 @@
+<?php
+       require_once("{$_SERVER['DOCUMENT_ROOT']}/part/head.php");
+       $pgtitle = "my photo album";
+       $pgdescription = "";
+       $pgcss = ['photo-album.css'];
+       $pgjs = [];
+       head($pgtitle, $pgdescription, $pgcss, $pgjs);
+?>
+<body>
+       <table id="theholderofthings">
+               <tbody>
+                       <tr>
+                               <td>
+                                       <?php include_once("$part/underconstruction.php");?>
+                               </td>
+                       </tr>
+               </tbody>
+       </table>
 
+       <?php include_once("$part/foot.php");?>
+</body>
+</html>
diff --git a/stylesheet/book.css b/stylesheet/book.css
new file mode 100644 (file)
index 0000000..bdeb653
--- /dev/null
@@ -0,0 +1,3 @@
+body {
+       background: url('/image/background/paper.jpg');
+}
diff --git a/stylesheet/how-to.css b/stylesheet/how-to.css
new file mode 100644 (file)
index 0000000..448dc68
--- /dev/null
@@ -0,0 +1,4 @@
+body {
+       background: url('/image/background/bkgr2.jpg');
+       color: white;
+}
diff --git a/stylesheet/photo-album.css b/stylesheet/photo-album.css
new file mode 100644 (file)
index 0000000..10d92f9
--- /dev/null
@@ -0,0 +1,4 @@
+body {
+       background: url('/image/background/Ocean.jpg');
+       background-size: cover;
+}