From d87d85235d2fa2a3e2bc97344377fcc37f88fa9c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 17 Jun 2009 15:04:14 -0400 Subject: Added season information to archives --- .htaccess | 2 ++ pages/archive.php | 48 +++++++++++++++++++++++++++++++++++++++++------- pages/season.php | 34 ++++++++++++++++++++++++++++++++++ style.css | 5 +++++ 4 files changed, 82 insertions(+), 7 deletions(-) mode change 100755 => 100644 pages/archive.php create mode 100755 pages/season.php diff --git a/.htaccess b/.htaccess index 84bfa5b..317cda7 100755 --- a/.htaccess +++ b/.htaccess @@ -10,4 +10,6 @@ RewriteRule images/ / [R] RewriteCond %{REQUEST_FILENAME} .png RewriteRule images/comics/(.+).png /comic.php?id=$1 [L] RewriteCond %{REQUEST_FILENAME} .htm +RewriteRule season(.+).htm /index.php?area=season&season=$1 [QSA,L] +RewriteCond %{REQUEST_FILENAME} .htm RewriteRule (.+).htm /index.php?area=$1 [QSA,L] diff --git a/pages/archive.php b/pages/archive.php old mode 100755 new mode 100644 index c1cd8ab..85a73d5 --- a/pages/archive.php +++ b/pages/archive.php @@ -1,14 +1,48 @@ -

Archive

+

Archives

+ + + + + + + + - + + + + + +?> +
SeasonFirst ComicLast ComicComics
1
()

()N/A
diff --git a/pages/season.php b/pages/season.php new file mode 100755 index 0000000..6b45a27 --- /dev/null +++ b/pages/season.php @@ -0,0 +1,34 @@ + +

Archive for Season

+ + + diff --git a/style.css b/style.css index 0699038..580235b 100755 --- a/style.css +++ b/style.css @@ -97,3 +97,8 @@ ul#archive { a img { border: 0; } + +table#seasons { + text-align: center; + width: 100%; +} -- cgit 1.4.1