diff options
Diffstat (limited to 'guestbook/index.php')
| -rw-r--r-- | guestbook/index.php | 65 |
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> |
