--- /dev/null
+<?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>
--- /dev/null
+<?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>
--- /dev/null
+<?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>
--- /dev/null
+<?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>
<?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
--- /dev/null
+<?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>
--- /dev/null
+<?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>
<?php
$parts = "{$_SERVER['DOCUMENT_ROOT']}/parts";
-function head($pgtitle, $pgdescription, $pgcss = []){ ?>
+function head($pgtitle, $pgdescription, $pgcss = []){?>
<!DOCTYPE html>
<html lang="en">
<head>
<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 }
--- /dev/null
+<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
--- /dev/null
+#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
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