diff --git a/.gitattributes b/.gitattributes
index 6648fc2..4d041af 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -12,3 +12,4 @@
*.jpg binary
*.gif binary
*.psd binary
+*.ico binary
diff --git a/.gitignore b/.gitignore
index e69de29..33b8183 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+LocalSettings.php
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..ba89bd5
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,34 @@
+DirectoryIndex index.php
+Options -MultiViews
+
+# Redirects for main page
+
+ RewriteEngine On
+
+ # Base URL for site
+ # This MUST be changed when moving to the production servers
+ RewriteBase /
+
+ # Pretty URLs for dynamic pages
+ RewriteRule ^strip/([0-9]+)/?$ index.php?strip_id=$1 [L]
+ RewriteRule ^transcript/([0-9]+)/?$ index.php?transcript_id=$1 [L]
+ RewriteRule ^rant/([0-9]+)/?$ index.php?rant_id=$1 [L]
+ RewriteRule ^archive(/by_(.+))?/?$ archive.php?list_by=$2 [L]
+ RewriteRule ^search/?$ search.php [L]
+ RewriteRule ^nameplates - [L]
+ RewriteRule ^strips - [L]
+
+ RewriteCond %{REQUEST_FILENAME} !-F
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^(.+)/? static.php?name=$1 [L,NS]
+
+
+
+Order Deny,Allow
+Deny from All
+
+
+
+ExpiresActive on
+ExpiresDefault "modification plus 5 years"
+
diff --git a/analytics.php b/analytics.php
new file mode 100644
index 0000000..fc5b246
--- /dev/null
+++ b/analytics.php
@@ -0,0 +1,14 @@
+
diff --git a/archive.css b/archive.css
new file mode 100644
index 0000000..c1237a7
--- /dev/null
+++ b/archive.css
@@ -0,0 +1,16 @@
+.content ol {
+ padding: 1ex 3em;
+ background-color: #757b81;
+ margin: 0px;
+}
+
+.content ul {
+ list-style-type: none;
+ padding: 1ex 2em;
+ background-color: #757b81;
+ margin: 0px;
+}
+
+.content a { color: #f6b33d; }
+.content a:visited { color:#ececa3; }
+.content a:hover { color:#eb5252; }
diff --git a/archive.php b/archive.php
new file mode 100644
index 0000000..4b8c72b
--- /dev/null
+++ b/archive.php
@@ -0,0 +1,77 @@
+
+
+
+
+Comics by Date
';
+
+ while($comic = mysqli_fetch_assoc($comics))
+ printf('- %04d - %s
', $comic['pubdate'], $comic['id'], $comic['id'], $comic['id'], htmlentities($comic['title']));
+
+ echo '
';
+}
+
+#elseif(!isset($_REQUEST['list_by']) || $_REQUEST['list_by'] == "type")
+else
+{
+?>
+
+ ';
+
+ while($comic = mysqli_fetch_assoc($comics))
+ printf('- %04d - %s
', $comic['pubdate'], $comic['id'], $comic['id'], $comic['id'], utfentities($comic['title']));
+
+ echo '
';
+ }
+}
+ ?>
+
+
+