aboutsummaryrefslogtreecommitdiff
path: root/guestbook/index.php
diff options
context:
space:
mode:
authorHannah Isopod <me@bathynomus.xyz>2026-02-15 22:42:27 -0700
committerHannah Isopod <me@bathynomus.xyz>2026-02-15 22:42:27 -0700
commit3b606bcc096a6d9860672e6d0d003ca9e80c067e (patch)
tree17746584c25a0d165c0feaf884f33c1578aa4f04 /guestbook/index.php
parent16e48ed8655528a81cbec84f0cbc1a211d663b37 (diff)
THE BIG ONE
Total website redesign. Multiple new blog posts. Routine updates on several pages. Too much to list, even if I remembered it all. Remind me not to put this git repo on any portfolios.
Diffstat (limited to 'guestbook/index.php')
-rw-r--r--guestbook/index.php65
1 files changed, 10 insertions, 55 deletions
diff --git a/guestbook/index.php b/guestbook/index.php
index 97e902b..dc7d654 100644
--- a/guestbook/index.php
+++ b/guestbook/index.php
@@ -8,63 +8,18 @@ error_reporting(E_ALL);
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Guestbook</title>
- <link href="../style.css" rel="stylesheet" type="text/css" media="all">
- <link href="./comments.css" rel="stylesheet" type="text/css" media="all">
- <style>
- form td:first-child {
- text-align: right;
- }
- </style>
- <?php include($_SERVER['DOCUMENT_ROOT'] . '/seasonal.php'); ?>
+ <title>guestbook | isopod.cool v4</title>
+ <link href="/style.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
- <?php include($_SERVER['DOCUMENT_ROOT'] . '/nav.php'); bg();
+ <?php include($_SERVER['DOCUMENT_ROOT'] . '/header.php');
include($_SERVER['DOCUMENT_ROOT'] . '/common.php'); ?>
- <h1>guestbook</h1>
- <h2 id="caption">say hi</h2>
- <nav>
- <a href="feed.php">RSS</a>
- </nav>
- <?php
- $return = $_GET["return"];
- ?>
- <form action="submit.php" method="post" autocomplete="off">
- <textarea name="msg" placeholder="I know what you are." style="opacity: 0; position: absolute; left: -10000rem; height: 0; width: 0; overflow: clip;"></textarea>
- <table>
- <tr>
- <td><label for="name">Name</label><span style="color:red;">*</span></td>
- <td><input type="text" name="name" id="name"></td>
- </tr>
- <tr>
- <td><label for="website">Website</label></td>
- <td><input type="text" name="website" id="website" placeholder="https://"></td>
- </tr>
- <tr>
- <td><label for="cool">Link something cool</label></td>
- <td><input type="text" name="cool" id="cool" placeholder="https://"></td>
- </tr>
- <tr>
- <td><label for="found">How did you find me?</label></td>
- <td><textarea name="found" id="found"></textarea></td>
- </tr>
- <tr>
- <td><label for="message">Message</label><span style="color:red;">*</span></td>
- <td><textarea name="message" id="message" placeholder="Now supports Markdown!"></textarea></td>
- </tr>
- <tr>
- <td><label for="botcheck">Bot test (six-letter scientific term for a roly-poly or woodlouse)</label><span style="color:red;">*</span></td>
- <td><input type="text" name="botcheck" id="botcheck" placeholder="*.cool"></td>
- </tr>
-
- <?php if($return) { echo("<tr><td colspan='2' style='text-align: center;''>".$gbform_messages[$return]."</td></tr>"); }?>
- <tr>
- <td colspan="2" style="text-align: center;"><input type="reset"><input type="submit" value="Submit"></td>
- </tr>
-
- </table>
- <input type='text' name='entry' value='guestbook' style='display: none;' readonly>
- </form>
- <?php include('./comments.php'); echo_comments('guestbook'); ?>
+ <main>
+ <h2>guestbook</h2>
+ <p class="h2caption">say hi!</p>
+ <nav class="pagenav"><ul><li><a href="feed.php">RSS</a></li></ul></nav>
+ <?php include('./commentbox.php'); ?>
+ </main>
+ <?php include($_SERVER['DOCUMENT_ROOT'] . '/footer.php'); ?>
</body>
</html>