diff options
author | Kai Stevenson <kai@kaistevenson.com> | 2022-10-08 18:46:02 -0700 |
---|---|---|
committer | Kai Stevenson <kai@kaistevenson.com> | 2022-10-08 18:46:02 -0700 |
commit | 186e9555d0a9fa1910b5db306f2b62674b45acea (patch) | |
tree | fc3bf981288699652084b94b082735b9849bf2e9 /etc/index.php | |
parent | 7cdaa8b30fcd8ab333d11719dc4b280b28347a71 (diff) |
applied PHP template to all pages, fixed some things
Diffstat (limited to 'etc/index.php')
-rw-r--r-- | etc/index.php | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/etc/index.php b/etc/index.php index fd6e3c1..2e0b8ef 100644 --- a/etc/index.php +++ b/etc/index.php @@ -1,12 +1,9 @@ -<head>
- <link rel="stylesheet" href="/style.css">
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
-</head>
-
-<body>
- <div class="contentpane">
- <h1>Etc | <a class="backbutton" href="../">[Back]</a></h1>
- <p>There's nothing here.
- </p>
- </div>
-</body>
\ No newline at end of file +<?php
+$title = "Etc";
+require($_SERVER["DOCUMENT_ROOT"] . "/head.php");
+require($_SERVER["DOCUMENT_ROOT"] . "/header.php");
+?>
+<p>
+ There's nothing here.
+</p>
+<?php require($_SERVER["DOCUMENT_ROOT"] . "/footer.php"); ?>
\ No newline at end of file |