From c4d15b02d79a78c14a9a6cc83e76cbdf9a0d0952 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 20 Feb 2009 17:56:07 -0500 Subject: Created Pillowcase --- .hgignore | 1 + .htaccess | 10 ++++++ about.php | 15 ++++++++ archive.php | 23 ++++++++++++ contribute.php | 15 ++++++++ db.php | 8 +++++ footer.php | 13 +++++++ header.php | 46 ++++++++++++++++++++++++ index.php | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 92 +++++++++++++++++++++++++++++++++++++++++++++++ title.png | Bin 0 -> 7599 bytes 11 files changed, 335 insertions(+) create mode 100644 .hgignore create mode 100644 .htaccess create mode 100644 about.php create mode 100644 archive.php create mode 100644 contribute.php create mode 100755 db.php create mode 100644 footer.php create mode 100644 header.php create mode 100755 index.php create mode 100755 style.css create mode 100644 title.png diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..47241b6 --- /dev/null +++ b/.hgignore @@ -0,0 +1 @@ +images/ diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..b09d5dc --- /dev/null +++ b/.htaccess @@ -0,0 +1,10 @@ +RewriteEngine On +RewriteRule comic([0-9]+).htm /index.php?id=$1 [QSA,L] +RewriteRule scripts/ / [R] +RewriteRule config.php / [R] +RewriteRule header.php / [R] +RewriteRule footer.php / [R] +RewriteCond %{REQUEST_FILENAME} !.png +RewriteRule images/ / [R] +RewriteCond %{REQUEST_FILENAME} .htm +RewriteRule (.+).htm $1.php [QSA] diff --git a/about.php b/about.php new file mode 100644 index 0000000..51d7383 --- /dev/null +++ b/about.php @@ -0,0 +1,15 @@ + +

About

+ +

+ This page is soooo under construction. Hopefully Starla'll be bothered to finish it someday. +

+ diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..02fffbf --- /dev/null +++ b/archive.php @@ -0,0 +1,23 @@ +

Archive

+ + + diff --git a/contribute.php b/contribute.php new file mode 100644 index 0000000..363aab3 --- /dev/null +++ b/contribute.php @@ -0,0 +1,15 @@ + +

Contribute

+ +

+ This page is soooo under construction. Hopefully Starla'll be bothered to finish it someday. +

+ diff --git a/db.php b/db.php new file mode 100755 index 0000000..d584c4c --- /dev/null +++ b/db.php @@ -0,0 +1,8 @@ + diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..f02c8dc --- /dev/null +++ b/footer.php @@ -0,0 +1,13 @@ + + + + + + + diff --git a/header.php b/header.php new file mode 100644 index 0000000..3b0dc8b --- /dev/null +++ b/header.php @@ -0,0 +1,46 @@ + + + <?php echo($rtitle); ?> + + + + +
+ + + diff --git a/index.php b/index.php new file mode 100755 index 0000000..a902cce --- /dev/null +++ b/index.php @@ -0,0 +1,112 @@ + +
+
+
+
+ + +
+ +
+

+
+
+ +
+ <?php echo(htmlentities($getimage3['text'])); ?> +
+ +
+ + + +
+ +

+ pillowcase - the result of an obsession with cute, plush objects that talk nonsense +

+ +

+ because we luv xkcd, make sure you look for the alt text +

+ +

+ + there is 1 comic in the pending queue, which means that if Starla wants to be lazy and can't be bothered to update, she can relax for 1 more day before she starts getting angry emails + + oh dear, there aren't any comics in the pending queue, which means that if Starla doesn't hurry up, there may not be a comic tomorrow + 100): ?> + OMG! There are comics in the pending queue! Starla, you relax as long as you want! + + there are comics in the pending queue, which means that if Starla wants to be lazy and can't be bothered to update, she can relax for days before she starts getting angry emails + +

+ diff --git a/style.css b/style.css new file mode 100755 index 0000000..bf3f30d --- /dev/null +++ b/style.css @@ -0,0 +1,92 @@ +div#wrap { + margin: 0 auto; + width: 31.25em; +} + +div.post { + clear: both; +} + +div.date { + float: left; + background-color: #cccccc; + text-align: center; + text-transform: uppercase; + font-family: Arial; + padding: 4px; + margin-right: 4px; + width: 3em; + height: 3.5em; +} + +div.title { + padding: 4px; + width: 25em; + margin-bottom: 1em; + min-height: 3.5em; + margin: 0px 0px 2px; + letter-spacing: -1px; + font-style: "Trebuchet MS", Tahoma, Arial; + line-height: 100%; + padding-bottom: 3px; +} + +h1 { + text-align: center; + font-family: Arial; +} + +div.cleardiv { + clear: both; +} + +a { + text-decoration: none; + color: black; +} + +a:hover, a:focus, a:active { + text-decoration: underline; +} + +ul.navbar li { + background-color: #cccccc; + text-align: center; + font-family: Arial; + padding: 4px; + text-transform: uppercase; + margin-left: 2px; + margin-right: 2px; + display: inline; +} + +ul.navbar { + list-style-type: none; + text-align: center; + padding-left: 0; +} + +div.image { + margin: 0 auto; + width: 250px; +} + +div#header h1 { + text-indent: -9999px; + background-image: url(/title.png); + height: 115px; + width: 500px; +} + +div#footer { + margin-top: 4px; + font-size: x-small; + color: gray; + text-align: center; +} + +ul#archive { + list-style-type: none; + text-align: center; + padding-left: 0; +} diff --git a/title.png b/title.png new file mode 100644 index 0000000..951cc5b Binary files /dev/null and b/title.png differ -- cgit 1.4.1