diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-11-19 17:27:03 -0500 |
commit | 24503e3abe705acde2df159aeae61be0d009f92e (patch) | |
tree | 8debbd53dcd0db2f5934c5e2af4e697e3787781d /theme | |
download | fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.gz fourisland-24503e3abe705acde2df159aeae61be0d009f92e.tar.bz2 fourisland-24503e3abe705acde2df159aeae61be0d009f92e.zip |
Imported sources
Diffstat (limited to 'theme')
222 files changed, 4162 insertions, 0 deletions
diff --git a/theme/addresses.tpl b/theme/addresses.tpl new file mode 100644 index 0000000..5b06a7a --- /dev/null +++ b/theme/addresses.tpl | |||
@@ -0,0 +1,9 @@ | |||
1 | <P>Click <A HREF="http://hackles.org/spam">here</A> for information about this page.</P> | ||
2 | |||
3 | <H2>Calling all email-harvesting robots!</H2> | ||
4 | |||
5 | <P>Come fetch 1000 juicy email addresses here:</P> | ||
6 | |||
7 | <!--BEGIN ADDRESS--> | ||
8 | <A HREF="mailto:<!--ADDRESS.ADDY-->"><!--ADDRESS.ADDY--></A><BR> | ||
9 | <!--END ADDRESS--> | ||
diff --git a/theme/admin/deleteDraft.tpl b/theme/admin/deleteDraft.tpl new file mode 100644 index 0000000..346604e --- /dev/null +++ b/theme/admin/deleteDraft.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <H2>Delete a Draft</H2><P> | ||
2 | |||
3 | Are you ABSOLUTELY SURE that you want to delete this draft?<P> | ||
4 | |||
5 | <A HREF="/admin/deleteDraft.php?id=<!--ID-->&submit=">Yes</A><BR> | ||
6 | <A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A> | ||
diff --git a/theme/admin/deletePending.tpl b/theme/admin/deletePending.tpl new file mode 100644 index 0000000..03541f2 --- /dev/null +++ b/theme/admin/deletePending.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <H2>Delete a Pending Post</H2><P> | ||
2 | |||
3 | Are you ABSOLUTELY SURE that you want to delete this pending post?<P> | ||
4 | |||
5 | <A HREF="/admin/deletePending.php?id=<!--ID-->&submit=">Yes</A><BR> | ||
6 | <A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A> | ||
diff --git a/theme/admin/deletePost.tpl b/theme/admin/deletePost.tpl new file mode 100644 index 0000000..8c08112 --- /dev/null +++ b/theme/admin/deletePost.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <H2>Delete a Post</H2><P> | ||
2 | |||
3 | Are you ABSOLUTELY SURE that you want to delete this post?<P> | ||
4 | |||
5 | <A HREF="/admin/deletePost.php?id=<!--ID-->&submit=">Yes</A><BR> | ||
6 | <A HREF="javascript:history.back();window.refresh();">Ummm.... actually I'd rather not</A> | ||
diff --git a/theme/admin/deletedDraft.tpl b/theme/admin/deletedDraft.tpl new file mode 100644 index 0000000..dd449f6 --- /dev/null +++ b/theme/admin/deletedDraft.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | You've just deleted a draft! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI> | ||
5 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
6 | </UL> | ||
diff --git a/theme/admin/deletedPending.tpl b/theme/admin/deletedPending.tpl new file mode 100644 index 0000000..220aa11 --- /dev/null +++ b/theme/admin/deletedPending.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | You've just deleted a pending post! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI> | ||
5 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
6 | </UL> | ||
diff --git a/theme/admin/deletedPost.tpl b/theme/admin/deletedPost.tpl new file mode 100644 index 0000000..12cc68a --- /dev/null +++ b/theme/admin/deletedPost.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | You've just deleted a post! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/managePosts.php">Manage Posts</A></LI> | ||
5 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
6 | </UL> | ||
diff --git a/theme/admin/draftSuccess.tpl b/theme/admin/draftSuccess.tpl new file mode 100644 index 0000000..7d76d2a --- /dev/null +++ b/theme/admin/draftSuccess.tpl | |||
@@ -0,0 +1,8 @@ | |||
1 | Congradulations, you've just made/edited a draft! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/editDraft.php?id=<!--ID-->">Edit this draft</A></LI> | ||
5 | <LI><A HREF="/admin/viewDraft.php?id=<!--ID-->">View this draft</A></LI> | ||
6 | <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI> | ||
7 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
8 | </UL> | ||
diff --git a/theme/admin/editDraft.tpl b/theme/admin/editDraft.tpl new file mode 100644 index 0000000..b3197c4 --- /dev/null +++ b/theme/admin/editDraft.tpl | |||
@@ -0,0 +1,16 @@ | |||
1 | <H2>Edit a draft</H2><P> | ||
2 | |||
3 | <FORM ACTION="/admin/editDraft.php?id=<!--ID-->&submit=" METHOD="POST"> | ||
4 | Draft Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR> | ||
5 | <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P> | ||
6 | Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR> | ||
7 | Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR> | ||
8 | Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR> | ||
9 | Post Type: <SELECT NAME="type" SIZE="4"> | ||
10 | <OPTION VALUE="draft" SELECTED>Draft</OPTION> | ||
11 | <OPTION VALUE="normal">Normal (Article-style) Post</OPTION> | ||
12 | <OPTION VALUE="priority">High-Priority Post</OPTION> | ||
13 | <OPTION VALUE="instant">Instant Post</OPTION> | ||
14 | </SELECT><BR> | ||
15 | <INPUT TYPE="submit" VALUE="Edit draft"> | ||
16 | </FORM> | ||
diff --git a/theme/admin/editPending.tpl b/theme/admin/editPending.tpl new file mode 100644 index 0000000..ccded76 --- /dev/null +++ b/theme/admin/editPending.tpl | |||
@@ -0,0 +1,10 @@ | |||
1 | <H2>Edit a pending post</H2><P> | ||
2 | |||
3 | <FORM ACTION="/admin/editPending.php?id=<!--ID-->&submit=" METHOD="POST"> | ||
4 | Post Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR> | ||
5 | <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P> | ||
6 | Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR> | ||
7 | Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR> | ||
8 | Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR> | ||
9 | <INPUT TYPE="submit" VALUE="Edit post"> | ||
10 | </FORM> | ||
diff --git a/theme/admin/editPost.tpl b/theme/admin/editPost.tpl new file mode 100644 index 0000000..544fe5f --- /dev/null +++ b/theme/admin/editPost.tpl | |||
@@ -0,0 +1,10 @@ | |||
1 | <H2>Edit a post</H2><P> | ||
2 | |||
3 | <FORM ACTION="/admin/editPost.php?id=<!--ID-->&submit=" METHOD="POST"> | ||
4 | Post Title: <INPUT TYPE="text" NAME="title" VALUE="<!--TITLE-->"><BR> | ||
5 | <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--TEXT--></TEXTAREA><P> | ||
6 | Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="<!--TAG1-->"><BR> | ||
7 | Tag 2: <INPUT TYPE="text" NAME="tag2" VALUE="<!--TAG2-->"> (Optional)<BR> | ||
8 | Tag 3: <INPUT TYPE="text" NAME="tag3" VALUE="<!--TAG3-->"> (Optional)<BR> | ||
9 | <INPUT TYPE="submit" VALUE="Edit post"> | ||
10 | </FORM> | ||
diff --git a/theme/admin/index.tpl b/theme/admin/index.tpl new file mode 100644 index 0000000..f886f2d --- /dev/null +++ b/theme/admin/index.tpl | |||
@@ -0,0 +1,31 @@ | |||
1 | <H2>Admin Panel</H2><P> | ||
2 | |||
3 | Welcome to the ubiquitous administration panel!<P> | ||
4 | |||
5 | <H3>Blog</H3> | ||
6 | |||
7 | <UL> | ||
8 | <LI><A HREF="/admin/writePost.php">Write a post</A></LI> | ||
9 | <LI><A HREF="/admin/manageDrafts.php">Manage Drafts</A></LI> | ||
10 | <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI> | ||
11 | <LI><A HREF="/admin/managePosts.php">Manage Published Posts</A></LI> | ||
12 | <LI><A HREF="/admin/moderateComments.php">Moderate Comments</A></LI> | ||
13 | </UL> | ||
14 | |||
15 | <H3>Wiki</H3> | ||
16 | |||
17 | <UL> | ||
18 | <LI><A HREF="/admin/managePages.php">Manage Pages</A></LI> | ||
19 | </UL> | ||
20 | |||
21 | <H3>Poll</H3> | ||
22 | |||
23 | <UL> | ||
24 | <LI><A HREF="/admin/pollProcess.php">Weekly Poll Process</A></LI> | ||
25 | </UL> | ||
26 | |||
27 | <H3>Quotes</H3> | ||
28 | |||
29 | <UL> | ||
30 | <LI><A HREF="/admin/managePendingQuotes.php">Manage Pending Quotes</A></LI> | ||
31 | </UL> | ||
diff --git a/theme/admin/manageDrafts.tpl b/theme/admin/manageDrafts.tpl new file mode 100644 index 0000000..8a498ac --- /dev/null +++ b/theme/admin/manageDrafts.tpl | |||
@@ -0,0 +1,24 @@ | |||
1 | <H2>Manage Drafts</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Draft Title</TH> | ||
6 | <TH>Draft Author</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN DRAFT--> | ||
11 | <TR> | ||
12 | <TD><!--DRAFT.TITLE--></TD> | ||
13 | <TD><!--DRAFT.AUTHOR--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/editDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A> | ||
17 | <A HREF="/admin/deleteDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A> | ||
18 | <A HREF="/admin/viewDraft.php?id=<!--DRAFT.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
19 | </TD> | ||
20 | </TR> | ||
21 | <!--END DRAFT--> | ||
22 | </TABLE> | ||
23 | |||
24 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/managePages.tpl b/theme/admin/managePages.tpl new file mode 100644 index 0000000..eef8c75 --- /dev/null +++ b/theme/admin/managePages.tpl | |||
@@ -0,0 +1,23 @@ | |||
1 | <H2>Manage Pages</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Page Title</TH> | ||
6 | <TH>Revision Author</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN PAGE--> | ||
11 | <TR> | ||
12 | <TD><!--PAGE.TITLE--></TD> | ||
13 | <TD><!--PAGE.AUTHOR--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/pageHistory.php?id=<!--PAGE.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="View History"></A> | ||
17 | <A HREF="/wiki/<!--PAGE.CODED-->/"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
18 | </TD> | ||
19 | </TR> | ||
20 | <!--END PAGE--> | ||
21 | </TABLE> | ||
22 | |||
23 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/managePending.tpl b/theme/admin/managePending.tpl new file mode 100644 index 0000000..d119b92 --- /dev/null +++ b/theme/admin/managePending.tpl | |||
@@ -0,0 +1,24 @@ | |||
1 | <H2>Manage Pending</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Pending Post Title</TH> | ||
6 | <TH>Pending Post Author</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN PENDING--> | ||
11 | <TR> | ||
12 | <TD><!--PENDING.TITLE--></TD> | ||
13 | <TD><!--PENDING.AUTHOR--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/editPending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A> | ||
17 | <A HREF="/admin/deletePending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A> | ||
18 | <A HREF="/admin/viewPending.php?id=<!--PENDING.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
19 | </TD> | ||
20 | </TR> | ||
21 | <!--END PENDING--> | ||
22 | </TABLE> | ||
23 | |||
24 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/managePendingQuotes.tpl b/theme/admin/managePendingQuotes.tpl new file mode 100644 index 0000000..660e126 --- /dev/null +++ b/theme/admin/managePendingQuotes.tpl | |||
@@ -0,0 +1,21 @@ | |||
1 | <H2>Manage Pending Quotes</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Quote</TH> | ||
6 | <TH>Actions</TH> | ||
7 | </TR> | ||
8 | |||
9 | <!--BEGIN QUOTE--> | ||
10 | <TR> | ||
11 | <TD><!--QUOTE.TEXT--></TD> | ||
12 | |||
13 | <TD> | ||
14 | <A HREF="/admin/actionPendingQuotes.php?id=<!--QUOTE.ID-->&approve"><IMG SRC="/theme/images/icons/page_attach.png" ALT="Approve"></A> | ||
15 | <A HREF="/admin/actionPendingQuotes.php?id=<!--QUOTE.ID-->&deny"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Deny"></A> | ||
16 | </TD> | ||
17 | </TR> | ||
18 | <!--END QUOTE--> | ||
19 | </TABLE> | ||
20 | |||
21 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/managePosts.tpl b/theme/admin/managePosts.tpl new file mode 100644 index 0000000..7e37b1f --- /dev/null +++ b/theme/admin/managePosts.tpl | |||
@@ -0,0 +1,24 @@ | |||
1 | <H2>Manage Posts</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Post Title</TH> | ||
6 | <TH>Post Author</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN POST--> | ||
11 | <TR> | ||
12 | <TD><!--POST.TITLE--></TD> | ||
13 | <TD><!--POST.AUTHOR--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/editPost.php?id=<!--POST.ID-->"><IMG SRC="/theme/images/icons/page_edit.png" ALT="Edit"></A> | ||
17 | <A HREF="/admin/deletePost.php?id=<!--POST.ID-->"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Delete"></A> | ||
18 | <A HREF="/blog/<!--POST.CODED-->/"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
19 | </TD> | ||
20 | </TR> | ||
21 | <!--END POST--> | ||
22 | </TABLE> | ||
23 | |||
24 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/moderateComments.tpl b/theme/admin/moderateComments.tpl new file mode 100644 index 0000000..f3da51c --- /dev/null +++ b/theme/admin/moderateComments.tpl | |||
@@ -0,0 +1,24 @@ | |||
1 | <H2>Moderate Comments</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Title of Article Commented Upon</TH> | ||
6 | <TH>Comment Author</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN COMMENT--> | ||
11 | <TR> | ||
12 | <TD><!--COMMENT.TITLE--></TD> | ||
13 | <TD><!--COMMENT.AUTHOR--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/viewComment.php?id=<!--COMMENT.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
17 | <A HREF="/admin/actionComment.php?id=<!--COMMENT.ID-->&approve"><IMG SRC="/theme/images/icons/page_attach.png" ALT="Approve"></A> | ||
18 | <A HREF="/admin/actionComment.php?id=<!--COMMENT.ID-->&deny"><IMG SRC="/theme/images/icons/page_delete.png" ALT="Deny"></A> | ||
19 | </TD> | ||
20 | </TR> | ||
21 | <!--END COMMENT--> | ||
22 | </TABLE> | ||
23 | |||
24 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/newPoll.tpl b/theme/admin/newPoll.tpl new file mode 100644 index 0000000..5f1d2a4 --- /dev/null +++ b/theme/admin/newPoll.tpl | |||
@@ -0,0 +1,10 @@ | |||
1 | Congradulations! You've successfully added a Poll RSS. Now it's time to add the new Poll Of The Week:<P> | ||
2 | |||
3 | <FORM ACTION="/admin/pollProcess.php?step=3" METHOD="POST"> | ||
4 | Question: <INPUT TYPE="text" NAME="question"><BR> | ||
5 | Option 1: <INPUT TYPE="text" NAME="option1"><BR> | ||
6 | Option 2: <INPUT TYPE="text" NAME="option2"><BR> | ||
7 | Option 3: <INPUT TYPE="text" NAME="option3"><BR> | ||
8 | Option 4: <INPUT TYPE="text" NAME="option4"><BR> | ||
9 | <INPUT TYPE="submit" VALUE="Create poll"> | ||
10 | </FORM> | ||
diff --git a/theme/admin/pageHistory.tpl b/theme/admin/pageHistory.tpl new file mode 100644 index 0000000..b5fd326 --- /dev/null +++ b/theme/admin/pageHistory.tpl | |||
@@ -0,0 +1,23 @@ | |||
1 | <H2>Page History</H2> | ||
2 | |||
3 | <TABLE WIDTH="100%" CLASS="webmail"> | ||
4 | <TR> | ||
5 | <TH>Revision Author</TH> | ||
6 | <TH>Revision Date</TH> | ||
7 | <TH>Actions</TH> | ||
8 | </TR> | ||
9 | |||
10 | <!--BEGIN REV--> | ||
11 | <TR> | ||
12 | <TD><!--REV.AUTHOR--></TD> | ||
13 | <TD><!--REV.DATE--></TD> | ||
14 | |||
15 | <TD> | ||
16 | <A HREF="/admin/viewRevision.php?id=<!--REV.ID-->"><IMG SRC="/theme/images/icons/page_go.png" ALT="View"></A> | ||
17 | </TD> | ||
18 | </TR> | ||
19 | <!--END REV--> | ||
20 | </TABLE> | ||
21 | |||
22 | <A HREF="/admin/managePages.php">Back to Manage Pages</A><BR> | ||
23 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/pendingSuccess.tpl b/theme/admin/pendingSuccess.tpl new file mode 100644 index 0000000..64adbe6 --- /dev/null +++ b/theme/admin/pendingSuccess.tpl | |||
@@ -0,0 +1,8 @@ | |||
1 | Congradulations, you've just made/edited a pending post! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/editPending.php?id=<!--ID-->">Edit this pending post</A></LI> | ||
5 | <LI><A HREF="/admin/viewPending.php?id=<!--ID-->">View this pending post</A></LI> | ||
6 | <LI><A HREF="/admin/managePending.php">Manage Pending Posts</A></LI> | ||
7 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
8 | </UL> | ||
diff --git a/theme/admin/pollrss.tpl b/theme/admin/pollrss.tpl new file mode 100644 index 0000000..5ea628f --- /dev/null +++ b/theme/admin/pollrss.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <H2>Write a Poll RSS</H2><P> | ||
2 | |||
3 | <FORM ACTION="/admin/pollProcess.php?step=2" METHOD="POST"> | ||
4 | <TEXTAREA NAME="text" COLS="80" ROWS="20"></TEXTAREA><P> | ||
5 | <INPUT TYPE="submit" VALUE="Write RSS"> | ||
6 | </FORM> | ||
diff --git a/theme/admin/postSuccess.tpl b/theme/admin/postSuccess.tpl new file mode 100644 index 0000000..12920fe --- /dev/null +++ b/theme/admin/postSuccess.tpl | |||
@@ -0,0 +1,8 @@ | |||
1 | Congradulations, you've just made/edited a post! | ||
2 | |||
3 | <UL> | ||
4 | <LI><A HREF="/admin/editPost.php?id=<!--ID-->">Edit this post</A></LI> | ||
5 | <LI><A HREF="/blog/<!--CODED-->/">View this post</A></LI> | ||
6 | <LI><A HREF="/admin/managePosts.php">Manage Posts</A></LI> | ||
7 | <LI><A HREF="/admin/">Return to the Admin Panel</A></LI> | ||
8 | </UL> | ||
diff --git a/theme/admin/viewComment.tpl b/theme/admin/viewComment.tpl new file mode 100644 index 0000000..9254f1d --- /dev/null +++ b/theme/admin/viewComment.tpl | |||
@@ -0,0 +1,12 @@ | |||
1 | <DIV CLASS="bubble"> | ||
2 | <BLOCKQUOTE> | ||
3 | <DIV> | ||
4 | <IMG SRC="http://www.gravatar.com/avatar.php?gravatar_id=<!--CODEDEMAIL-->&rating=G&size=40&default=<!--CODEDDEF-->"> | ||
5 | <!--TEXT--> | ||
6 | </DIV> | ||
7 | </BLOCKQUOTE> | ||
8 | <CITE><STRONG><!--USERNAME--></STRONG> on <!--DATE--></CITE> | ||
9 | </DIV><P> | ||
10 | |||
11 | <A HREF="/admin/moderateComments.php">Back to Comment Moderation</A><BR> | ||
12 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/viewRevision.tpl b/theme/admin/viewRevision.tpl new file mode 100644 index 0000000..fc6fc83 --- /dev/null +++ b/theme/admin/viewRevision.tpl | |||
@@ -0,0 +1,5 @@ | |||
1 | <!--TEXT--> | ||
2 | <P> | ||
3 | <A HREF="javascript:history.back()">Back to Page History</A> | ||
4 | <A HREF="/admin/managePages.php">Back to Manage Pages</A><BR> | ||
5 | <A HREF="/admin/">Back to Admin Panel</A> | ||
diff --git a/theme/admin/write.tpl b/theme/admin/write.tpl new file mode 100644 index 0000000..30e870c --- /dev/null +++ b/theme/admin/write.tpl | |||
@@ -0,0 +1,16 @@ | |||
1 | <H2>Write a post</H2><P> | ||
2 | |||
3 | <FORM ACTION="/admin/writePost.php?submit=" METHOD="POST"> | ||
4 | Post Title: <INPUT TYPE="text" NAME="title"><BR> | ||
5 | <TEXTAREA NAME="text" COLS="80" ROWS="20"></TEXTAREA><P> | ||
6 | Tag 1: <INPUT TYPE="text" NAME="tag1" VALUE="update"><BR> | ||
7 | Tag 2: <INPUT TYPE="text" NAME="tag2"> (Optional)<BR> | ||
8 | Tag 3: <INPUT TYPE="text" NAME="tag3"> (Optional)<BR> | ||
9 | Post Type: <SELECT NAME="type" SIZE="4"> | ||
10 | <OPTION VALUE="draft">Draft</OPTION> | ||
11 | <OPTION VALUE="normal" SELECTED>Normal (Article-style) Post</OPTION> | ||
12 | <OPTION VALUE="priority">High-Priority Post</OPTION> | ||
13 | <OPTION VALUE="instant">Instant Post</OPTION> | ||
14 | </SELECT><BR> | ||
15 | <INPUT TYPE="submit" VALUE="Write post"> | ||
16 | </FORM> | ||
diff --git a/theme/archive.tpl b/theme/archive.tpl new file mode 100644 index 0000000..7d85565 --- /dev/null +++ b/theme/archive.tpl | |||
@@ -0,0 +1,43 @@ | |||
1 | <!--BEGIN MONTH--> | ||
2 | <H3 STYLE="clear: both; display: block; margin-bottom: 0"><!--MONTH.TITLE--></H2> | ||
3 | <!--BEGIN MONTH.BIG--> | ||
4 | <DIV CLASS="post"> | ||
5 | <DIV CLASS="post-date-<!--MONTH.BIG.YEARID-->"> | ||
6 | <ABBR CLASS="dtstart" TITLE="<!--MONTH.BIG.DATE-->"> | ||
7 | <SPAN CLASS="post-month"><!--MONTH.BIG.MONTH--></SPAN> | ||
8 | <SPAN CLASS="post-day"><!--MONTH.BIG.DAY--></SPAN> | ||
9 | </ABBR> | ||
10 | </DIV> | ||
11 | |||
12 | <DIV CLASS="post-title"> | ||
13 | <H2> | ||
14 | <A CLASS="url" HREF="/blog/<!--MONTH.BIG.CODED-->/" REL="bookmark" TITLE="Permalink for <!--MONTH.BIG.TITLE-->"> | ||
15 | <SPAN CLASS="summary"><!--MONTH.BIG.TITLE--></SPAN> | ||
16 | </A> | ||
17 | </H2> | ||
18 | |||
19 | <SPAN CLASS="post-cat-<!--MONTH.BIG.AUTHOR--> category"> | ||
20 | <A HREF="/blog/author/<!--MONTH.BIG.AUTHOR-->.php"><!--MONTH.BIG.AUTHOR--></A> | ||
21 | </SPAN> | ||
22 | |||
23 | <SPAN CLASS="post-tag-3 category"> | ||
24 | <A CLASS="noVisit" HREF="/blog/tag/<!--MONTH.BIG.TAG1-->.php" REL="tag" TITLE="<!--MONTH.BIG.TAG1-->"><!--MONTH.BIG.TAG1--></A> | ||
25 | <A CLASS="noVisit" HREF="/blog/tag/<!--MONTH.BIG.TAG2-->.php" REL="tag" TITLE="<!--MONTH.BIG.TAG2-->"><!--MONTH.BIG.TAG2--></A> | ||
26 | <A CLASS="noVisit" HREF="/blog/tag/<!--MONTH.BIG.TAG3-->.php" REL="tag" TITLE="<!--MONTH.BIG.TAG3-->"><!--MONTH.BIG.TAG3--></A> | ||
27 | </SPAN> | ||
28 | |||
29 | <SPAN CLASS="post-comment<!--MONTH.BIG.PLURALCOMMENT-->"> | ||
30 | <A CLASS="noVisit" HREF="/blog/<!--MONTH.BIG.CODED-->/#comments"><!--MONTH.BIG.COMMENTS--> »</A> | ||
31 | </SPAN> | ||
32 | </DIV> | ||
33 | </DIV> | ||
34 | <!--END MONTH.BIG--> | ||
35 | |||
36 | <!--BEGIN MONTH.SMALL--> | ||
37 | <SMALL><SPAN STYLE="margin-left: 50"><!--MONTH.SMALL.DATE--> | <A HREF="/blog/<!--MONTH.SMALL.CODED-->/"><!--MONTH.SMALL.TITLE--></A></SPAN></SMALL><BR> | ||
38 | <!--END MONTH.SMALL--> | ||
39 | |||
40 | <!--BEGIN MONTH.BIGEND--> | ||
41 | <BR><P><BR> | ||
42 | <!--END MONTH.BIGEND--> | ||
43 | <!--END MONTH--> | ||
diff --git a/theme/comic.tpl b/theme/comic.tpl new file mode 100644 index 0000000..8ce4236 --- /dev/null +++ b/theme/comic.tpl | |||
@@ -0,0 +1,46 @@ | |||
1 | <!--BEGIN BACK--><SPAN CLASS="back-post">« <A HREF="/comic/<!--BACK.CODED-->/"><!--BACK.TITLE--></A></SPAN><!--END BACK--> | ||
2 | <!--BEGIN NEXT--><SPAN CLASS="next-post"><A HREF="/comic/<!--NEXT.CODED-->/"><!--NEXT.TITLE--></A> »</SPAN><!--END NEXT--> | ||
3 | |||
4 | <!--BEGIN COMIC--> | ||
5 | <DIV CLASS="post vevent" ID="post-<!--COMIC.ID-->"> | ||
6 | <DIV CLASS="post-date-<!--COMIC.YEARID-->"> | ||
7 | <ABBR CLASS="dtstart" TITLE="<!--COMIC.DATE-->"> | ||
8 | <SPAN CLASS="post-month"><!--COMIC.MONTH--></SPAN> | ||
9 | <SPAN CLASS="post-day"><!--COMIC.DAY--></SPAN> | ||
10 | </ABBR> | ||
11 | </DIV> | ||
12 | |||
13 | <DIV CLASS="post-title"> | ||
14 | <H2> | ||
15 | <!--BEGIN EXTERNAL--><A CLASS="url" HREF="/comic/<!--POST.CODED-->/" REL="bookmark" TITLE="Permalink for <!--COMIC.TITLE-->"><!--END EXTERNAL--> | ||
16 | <SPAN CLASS="summary"><!--COMIC.TITLE--></SPAN> | ||
17 | <!--BEGIN EXTERNAL--></A><!--END EXTERNAL--> | ||
18 | </H2> | ||
19 | |||
20 | <SPAN CLASS="post-cat-hatkirby category"> | ||
21 | <A HREF="/blog/author/hatkirby.php">Hatkirby</A> | ||
22 | </SPAN> | ||
23 | |||
24 | <SPAN CLASS="mini-add-comment"> | ||
25 | <A CLASS="noVisit" HREF="/comic/<!--COMIC.CODED-->/#comments">Add Comment »</A> | ||
26 | </SPAN> | ||
27 | </DIV> | ||
28 | |||
29 | <DIV CLASS="entry description"> | ||
30 | <DIV CLASS="bubble"> | ||
31 | <DIV CLASS="rounded"> | ||
32 | <BLOCKQUOTE> | ||
33 | <DIV> | ||
34 | <A HREF="/images/kfm/<!--COMIC.IMAGE-->" CLASS="thickbox"> | ||
35 | <IMG SRC="http://fourisland.com/thumb.php?file=images/kfm/<!--COMIC.IMAGE-->&mode=<!--COMIC.MODE-->&by=400" ALIGN="center" WIDTH="400"> | ||
36 | </A> | ||
37 | |||
38 | <P><!--COMIC.TEXT--></P> | ||
39 | </DIV> | ||
40 | </BLOCKQUOTE> | ||
41 | </DIV> | ||
42 | <CITE CLASS="rounded"><STRONG>Hatkirby</STRONG> on <!--COMIC.DATE--></CITE> | ||
43 | </DIV> | ||
44 | </DIV> | ||
45 | </DIV> | ||
46 | <!--END COMIC--> | ||
diff --git a/theme/comicarchive.tpl b/theme/comicarchive.tpl new file mode 100644 index 0000000..dc5e443 --- /dev/null +++ b/theme/comicarchive.tpl | |||
@@ -0,0 +1,37 @@ | |||
1 | <!--BEGIN MONTH--> | ||
2 | <H3 STYLE="clear: both; display: block; margin-bottom: 0"><!--MONTH.TITLE--></H2> | ||
3 | <!--BEGIN MONTH.BIG--> | ||
4 | <DIV CLASS="post"> | ||
5 | <DIV CLASS="post-date-<!--MONTH.BIG.YEARID-->"> | ||
6 | <ABBR CLASS="dtstart" TITLE="<!--MONTH.BIG.DATE-->"> | ||
7 | <SPAN CLASS="post-month"><!--MONTH.BIG.MONTH--></SPAN> | ||
8 | <SPAN CLASS="post-day"><!--MONTH.BIG.DAY--></SPAN> | ||
9 | </ABBR> | ||
10 | </DIV> | ||
11 | |||
12 | <DIV CLASS="post-title"> | ||
13 | <H2> | ||
14 | <A CLASS="url" HREF="/comic/<!--MONTH.BIG.CODED-->/" REL="bookmark" TITLE="Permalink for <!--MONTH.BIG.TITLE-->"> | ||
15 | <SPAN CLASS="summary"><!--MONTH.BIG.TITLE--></SPAN> | ||
16 | </A> | ||
17 | </H2> | ||
18 | |||
19 | <SPAN CLASS="post-cat-<!--MONTH.BIG.AUTHOR--> category"> | ||
20 | <A HREF="/blog/author/<!--MONTH.BIG.AUTHOR-->.php"><!--MONTH.BIG.AUTHOR--></A> | ||
21 | </SPAN> | ||
22 | |||
23 | <SPAN CLASS="post-comment<!--MONTH.BIG.PLURALCOMMENT-->"> | ||
24 | <A CLASS="noVisit" HREF="/comic/<!--MONTH.BIG.CODED-->/#comments"><!--MONTH.BIG.COMMENTS--> »</A> | ||
25 | </SPAN> | ||
26 | </DIV> | ||
27 | </DIV> | ||
28 | <!--END MONTH.BIG--> | ||
29 | |||
30 | <!--BEGIN MONTH.SMALL--> | ||
31 | <SMALL><SPAN STYLE="margin-left: 50"><!--MONTH.SMALL.DATE--> | <A HREF="/comic/<!--MONTH.SMALL.CODED-->/"><!--MONTH.SMALL.TITLE--></A></SPAN></SMALL><BR> | ||
32 | <!--END MONTH.SMALL--> | ||
33 | |||
34 | <!--BEGIN MONTH.BIGEND--> | ||
35 | <BR><P><BR> | ||
36 | <!--END MONTH.BIGEND--> | ||
37 | <!--END MONTH--> | ||
diff --git a/theme/comments.tpl b/theme/comments.tpl new file mode 100644 index 0000000..ab4e05b --- /dev/null +++ b/theme/comments.tpl | |||
@@ -0,0 +1,49 @@ | |||
1 | <!--<script> | ||
2 | var idcomments_acct = '150cde7e591dedeb7098b992cc4f382a'; | ||
3 | var idcomments_post_id; | ||
4 | var idcomments_post_url; | ||
5 | </script> | ||
6 | <span id="IDCommentsPostTitle" style="display:none"></span> | ||
7 | <script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script> | ||
8 | --> | ||
9 | |||
10 | <!--BEGIN COMMENTS--> | ||
11 | <DIV CLASS="bubble"> | ||
12 | <BLOCKQUOTE> | ||
13 | <DIV> | ||
14 | <IMG SRC="http://www.gravatar.com/avatar.php?gravatar_id=<!--COMMENTS.CODEDEMAIL-->&rating=G&size=40&default=<!--CODEDDEF-->"> | ||
15 | <!--COMMENTS.TEXT--> | ||
16 | </DIV> | ||
17 | </BLOCKQUOTE> | ||
18 | <CITE><STRONG><!--COMMENTS.USERNAME--></STRONG> on <!--COMMENTS.DATE--></CITE> | ||
19 | |||
20 | <SPAN STYLE="float: right"> | ||
21 | <A HREF="/vote.php?id=<!--COMMENTS.ID-->&dir=plus&mode=comment" REL="nofollow"><IMG SRC="/theme/images/icons/thumb_up.png"></A> | ||
22 | <!--COMMENTS.RATING--> | ||
23 | <A HREF="/vote.php?id=<!--COMMENTS.ID-->&dir=minus&mode=comment" REL="nofollow"><IMG SRC="/theme/images/icons/thumb_down.png"></A> | ||
24 | </SPAN> | ||
25 | </DIV> | ||
26 | <!--END COMMENTS--> | ||
27 | |||
28 | <FORM ACTION="/post.php?id=<!--PAGEID-->" METHOD="POST"> | ||
29 | <DIV CLASS="bubble"> | ||
30 | <BLOCKQUOTE> | ||
31 | <DIV ID="postBubble"> | ||
32 | <TEXTAREA ROWS="4" CLASS="comments_field" NAME="comment" COLS="73"></TEXTAREA> | ||
33 | </DIV> | ||
34 | </BLOCKQUOTE> | ||
35 | <CITE><STRONG><!--USERNAME--></STRONG>, feel free to post a comment</CITE> | ||
36 | </DIV> | ||
37 | |||
38 | <CENTER> | ||
39 | <!--BEGIN NOLOG--> | ||
40 | <!--RECAPTCHA--> | ||
41 | <P> | ||
42 | Name: <INPUT TYPE="text" NAME="username"><BR> | ||
43 | Email: <INPUT TYPE="text" NAME="email"><BR> | ||
44 | Website (Optional): <INPUT TYPE="text" NAME="website"> | ||
45 | <P> | ||
46 | <!--END NOLOG--> | ||
47 | <INPUT TYPE="submit" VALUE="Post"></INPUT> | ||
48 | </CENTER> | ||
49 | </FORM> | ||
diff --git a/theme/css.php b/theme/css.php new file mode 100755 index 0000000..4984f03 --- /dev/null +++ b/theme/css.php | |||
@@ -0,0 +1,40 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | require('../headerproc.php'); | ||
22 | |||
23 | header('Content-type: text/css'); | ||
24 | |||
25 | include('../../security/config.php'); | ||
26 | include('../includes/db.php'); | ||
27 | |||
28 | if (!isset($_GET['background'])) | ||
29 | { | ||
30 | include("css/website.php"); | ||
31 | include("css/headers.php"); | ||
32 | include("css/navigation.php"); | ||
33 | include("css/uniform.php"); | ||
34 | include("css/quotes.php"); | ||
35 | include("css/bubbles.css"); | ||
36 | } | ||
37 | |||
38 | include("css/backgrounds.php"); | ||
39 | |||
40 | ?> | ||
diff --git a/theme/css/backgrounds.php b/theme/css/backgrounds.php new file mode 100755 index 0000000..51e7dbf --- /dev/null +++ b/theme/css/backgrounds.php | |||
@@ -0,0 +1,148 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/backgrounds.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | ?> | ||
25 | /* Four Island Background CSS */ | ||
26 | <?php | ||
27 | |||
28 | include_once('../includes/specialdates.php'); | ||
29 | |||
30 | if (sd_ifNoSpecialDay()) | ||
31 | { | ||
32 | $bgimgm = 'island6'; | ||
33 | } elseif (sd_isSpecialDay('Four Island A')) | ||
34 | { | ||
35 | $bgimgm = 'islandYearly'; | ||
36 | } elseif (sd_isSpecialDay('Christmas Eve')) | ||
37 | { | ||
38 | $bgimgm = 'christmasEve'; | ||
39 | $bgcolor = 'black'; | ||
40 | } elseif (sd_isSpecialDay('Christmas Day')) | ||
41 | { | ||
42 | $bgimgm = 'christmas'; | ||
43 | } elseif (sd_isSpecialDay('New Years Eve')) | ||
44 | { | ||
45 | $bgimgm = 'newYearsEve'; | ||
46 | $bgcolor = 'black'; | ||
47 | } elseif (sd_isSpecialDay('Veterans Day')) | ||
48 | { | ||
49 | $bgimgm = 'veterans'; | ||
50 | } elseif (sd_isSpecialDay('Independance Day')) | ||
51 | { | ||
52 | $bgimgm = '4ofjuly'; | ||
53 | $bgcolor = 'black'; | ||
54 | } elseif (sd_isSpecialDay('Fathers Day')) | ||
55 | { | ||
56 | $bgimgm = 'fathers'; | ||
57 | } elseif (sd_isSpecialDay('Hatkirbys B-Day')) | ||
58 | { | ||
59 | $bgimgm = 'hatkirbybday'; | ||
60 | } elseif (sd_isSpecialDay('Kirby Week')) | ||
61 | { | ||
62 | $bgimgm = 'kirbyweek'; | ||
63 | } elseif (sd_isSpecialDay('Memorial Day')) | ||
64 | { | ||
65 | $bgimgm = 'memorial'; | ||
66 | $bgcolor = 'gray'; | ||
67 | } elseif (sd_isSpecialDay('Mothers Day')) | ||
68 | { | ||
69 | $bgimgm = 'mothers'; | ||
70 | } elseif (sd_isSpecialDay('New Years Day')) | ||
71 | { | ||
72 | $bgimgm = 'newYear'; | ||
73 | } elseif (sd_isSpecialDay('Ash Wednesday')) | ||
74 | { | ||
75 | $bgimgm = 'ashWeds'; | ||
76 | } elseif (sd_isSpecialDay('Columbus Day')) | ||
77 | { | ||
78 | $bgimgm = 'columbus'; | ||
79 | } elseif (sd_isSpecialDay('Easter')) | ||
80 | { | ||
81 | $bgimgm = 'easter'; | ||
82 | } elseif (sd_isSpecialDay('Flag Day')) | ||
83 | { | ||
84 | $bgimgm = 'flagDay'; | ||
85 | } elseif (sd_isSpecialDay('Good Friday')) | ||
86 | { | ||
87 | $bgimgm = 'goodFriday'; | ||
88 | } elseif (sd_isSpecialDay('Groundhog Day')) | ||
89 | { | ||
90 | $bgimgm = 'groundhog'; | ||
91 | } elseif (sd_isSpecialDay('Halloween')) | ||
92 | { | ||
93 | $bgimgm = 'halloween'; | ||
94 | $bgcolor = 'black'; | ||
95 | } elseif (sd_isSpecialDay('Mardi Gras')) | ||
96 | { | ||
97 | $bgimgm = 'mardiGras'; | ||
98 | } elseif (sd_isSpecialDay('Martin Luther King Day')) | ||
99 | { | ||
100 | $bgimgm = 'martinLuther'; | ||
101 | } elseif (sd_isSpecialDay('Valentines Day')) | ||
102 | { | ||
103 | $bgimgm = 'valentines'; | ||
104 | } else { | ||
105 | $bgimgm = 'island6'; | ||
106 | } | ||
107 | |||
108 | if (isset($_GET['nolayout'])) | ||
109 | { | ||
110 | if ((date('G') >= 20) || (date('G') <= 6)) | ||
111 | { | ||
112 | // $bodyID = 'night'; | ||
113 | } else { | ||
114 | $bodyID = 'day'; | ||
115 | } | ||
116 | } else { | ||
117 | $bodyID = $_GET['id']; | ||
118 | } | ||
119 | |||
120 | if (!isset($bgcolor)) {$bgcolor='aqua';} | ||
121 | if (($bgimgm == 'island6') && ($bodyID == 'night')) {$bgcolor='black';} | ||
122 | |||
123 | ?> | ||
124 | /* Body */ | ||
125 | |||
126 | body { | ||
127 | background-color: <?php echo($bgcolor); ?>; | ||
128 | background-image: url(/theme/images/backgrounds/<?php echo($bgimgm); ?>.PNG); | ||
129 | background-repeat: repeat-x; | ||
130 | background-attachment: fixed; | ||
131 | background-position: bottom left; | ||
132 | font-family: Arial, FreeSans; | ||
133 | margin: 0px; | ||
134 | padding: 0px 0px 30px !important; | ||
135 | } | ||
136 | |||
137 | <?php | ||
138 | |||
139 | if ($bgimgm == 'island6') | ||
140 | { | ||
141 | ?> | ||
142 | body#night { | ||
143 | background: black url(/theme/images/backgrounds/island6night.PNG) repeat-x fixed bottom left; | ||
144 | } | ||
145 | |||
146 | <?php | ||
147 | } | ||
148 | ?> | ||
diff --git a/theme/css/bubbles.css b/theme/css/bubbles.css new file mode 100644 index 0000000..e48eba0 --- /dev/null +++ b/theme/css/bubbles.css | |||
@@ -0,0 +1,71 @@ | |||
1 | /* Normal Bubble */ | ||
2 | div.bubble { | ||
3 | width: auto; | ||
4 | font-size: 0.75em; | ||
5 | margin-bottom: 24px; | ||
6 | font: 1em "Lucida Grande", Lucida, Verdana, sans-serif; | ||
7 | } | ||
8 | |||
9 | div.bubble blockquote { | ||
10 | margin: 0px; | ||
11 | padding: 0px; | ||
12 | border: 1px solid #c9c2c1; | ||
13 | background-color: #fff; | ||
14 | } | ||
15 | |||
16 | div.bubble blockquote div { | ||
17 | margin: 10px; | ||
18 | padding: 0px; | ||
19 | } | ||
20 | |||
21 | div.bubble cite { | ||
22 | position: relative; | ||
23 | margin: 0px; | ||
24 | padding: 7px 0px 0px 15px; | ||
25 | top: 6px; | ||
26 | background: transparent url(/theme/images/tip.gif) no-repeat 20px 0; | ||
27 | font-style: normal; | ||
28 | font-size: small; | ||
29 | } | ||
30 | |||
31 | /* Rounded Bubble */ | ||
32 | div.bubble div.rounded { | ||
33 | margin-bottom: 10px; | ||
34 | border: 3px solid #fff; | ||
35 | background-color: #b7e0ff; | ||
36 | } | ||
37 | div.bubble div.rounded blockquote { | ||
38 | border: 0; | ||
39 | background-color: transparent; | ||
40 | } | ||
41 | div.bubble div.rounded blockquote div { | ||
42 | margin: 0px 10px; | ||
43 | } | ||
44 | div.bubble cite.rounded { | ||
45 | position: relative; | ||
46 | margin: 0px; | ||
47 | padding-left: 15px; | ||
48 | padding-top: 12px; | ||
49 | top: 9px; | ||
50 | background: transparent url(/theme/images/tip-rounded.gif) no-repeat 15px 0; | ||
51 | } | ||
52 | |||
53 | /* Pimped Bubble */ | ||
54 | div#pimped.bubble { | ||
55 | font-size: 0.9em; | ||
56 | } | ||
57 | div#pimped.bubble div.rounded { | ||
58 | color: #fff; | ||
59 | border: 3px solid #fff; | ||
60 | background-color: #111; | ||
61 | } | ||
62 | div#pimped.bubble cite.rounded { | ||
63 | background: transparent url(/theme/images/tip-pimped.gif) no-repeat 15px 0; | ||
64 | } | ||
65 | |||
66 | div.bubble div.bquote blockquote { | ||
67 | margin: 0px; | ||
68 | padding: 0px; | ||
69 | border: 1px solid #c9c2c1; | ||
70 | background-color: #fff; | ||
71 | } | ||
diff --git a/theme/css/headers.php b/theme/css/headers.php new file mode 100755 index 0000000..bb5a179 --- /dev/null +++ b/theme/css/headers.php | |||
@@ -0,0 +1,85 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/headers.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | ?> | ||
26 | /* Four Island Header CSS */ | ||
27 | <?php | ||
28 | |||
29 | include_once('../includes/specialdates.php'); | ||
30 | |||
31 | if (sd_ifNoSpecialDay()) | ||
32 | { | ||
33 | $bgimgm = 'main'; | ||
34 | } elseif (sd_isSpecialDay('Four Island A')) | ||
35 | { | ||
36 | $bgimgm = 'islandYearly'; | ||
37 | } elseif (sd_isSpecialDay('Mothers Day')) | ||
38 | { | ||
39 | $bgimgm = 'mothers'; | ||
40 | } elseif (sd_isSpecialDay('Memorial Day')) | ||
41 | { | ||
42 | $bgimgm = 'memorial'; | ||
43 | } elseif (sd_isSpecialDay('Hatkirbys B-Day')) | ||
44 | { | ||
45 | $bgimgm = 'hatkirbybday'; | ||
46 | } else if (sd_isSpecialDay('CTNH')) | ||
47 | { | ||
48 | $bgimgm = 'ctnh'; | ||
49 | } else { | ||
50 | $bgimgm = 'main'; | ||
51 | } | ||
52 | |||
53 | if ($bgimgm == 'main') | ||
54 | { | ||
55 | //Check for page-based headers | ||
56 | ?> | ||
57 | /* Category-Based Headers */ | ||
58 | body.projects div#banner { | ||
59 | background-image: url("/theme/images/headers/projects.png"); | ||
60 | } | ||
61 | body.wiki div#banner { | ||
62 | background-image: url("/theme/images/headers/kfm.png"); | ||
63 | } | ||
64 | body.fourm div#banner { | ||
65 | background-image: url("/theme/images/headers/fourm.png"); | ||
66 | } | ||
67 | body.misc div#banner { | ||
68 | background-image: url("/theme/images/headers/random.png"); | ||
69 | } | ||
70 | body.webs div#banner { | ||
71 | background-image: url("/theme/images/headers/links.png"); | ||
72 | } | ||
73 | body.quotes div#banner { | ||
74 | background-image: url("/theme/images/headers/quotes.png"); | ||
75 | } | ||
76 | body.poll div#banner { | ||
77 | background-image: url("/theme/images/headers/potw.png"); | ||
78 | } | ||
79 | /* AID-Based Headers */ | ||
80 | <?php | ||
81 | } | ||
82 | ?> | ||
83 | div#banner { | ||
84 | background-image: url("/theme/images/headers/<?php echo($bgimgm); ?>.png"); /*850x129*/ | ||
85 | } | ||
diff --git a/theme/css/navigation.php b/theme/css/navigation.php new file mode 100755 index 0000000..4b5f117 --- /dev/null +++ b/theme/css/navigation.php | |||
@@ -0,0 +1,198 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/navigation.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | ?> | ||
26 | /* Four Island NavBar CSS */ | ||
27 | |||
28 | ul#bannernav { | ||
29 | list-style: none; | ||
30 | clear: both; | ||
31 | margin: 0px; | ||
32 | } | ||
33 | |||
34 | div#banner-nav { | ||
35 | height: 30px; | ||
36 | clear: both; | ||
37 | margin: 1px 30px 0 30px; | ||
38 | background: url("/theme/images/bg_navbar.gif") repeat-x 0 0; | ||
39 | } | ||
40 | |||
41 | ul#bannernav li { | ||
42 | float: left; | ||
43 | margin: 0; | ||
44 | padding: 0; | ||
45 | padding-right: 6px; | ||
46 | } | ||
47 | |||
48 | ul#bannernav li a { | ||
49 | text-decoration: none; | ||
50 | display: block; | ||
51 | width: 100; | ||
52 | height: 30; | ||
53 | } | ||
54 | |||
55 | ul#bannernav li a span { | ||
56 | visibility: hidden; | ||
57 | } | ||
58 | |||
59 | ul#bannernav li img { | ||
60 | display: none; | ||
61 | } | ||
62 | |||
63 | ul#bannernav li#bannernav-home a { | ||
64 | background-image: url("/theme/images/Home.gif"); | ||
65 | } | ||
66 | |||
67 | body.home ul#bannernav li#bannernav-home a, | ||
68 | ul#bannernav li#bannernav-home a:hover { | ||
69 | background-image: url("/theme/images/Home_ro.gif"); | ||
70 | } | ||
71 | |||
72 | ul#bannernav li#bannernav-projects a { | ||
73 | background-image: url("/theme/images/Projects.gif"); | ||
74 | } | ||
75 | |||
76 | body.projects ul#bannernav li#bannernav-projects a, | ||
77 | ul#bannernav li#bannernav-projects a:hover { | ||
78 | background-image: url("/theme/images/Projects_ro.gif"); | ||
79 | } | ||
80 | |||
81 | ul#bannernav li#bannernav-wiki a { | ||
82 | background-image: url("/theme/images/Wiki.gif"); | ||
83 | } | ||
84 | |||
85 | body.wiki ul#bannernav li#bannernav-wiki a, | ||
86 | ul#bannernav li#bannernav-wiki a:hover { | ||
87 | background-image: url("/theme/images/Wiki_ro.gif"); | ||
88 | } | ||
89 | |||
90 | ul#bannernav li#bannernav-fourm a { | ||
91 | background-image: url("/theme/images/Fourm.gif"); | ||
92 | } | ||
93 | |||
94 | body.fourm ul#bannernav li#bannernav-fourm a, | ||
95 | ul#bannernav li#bannernav-fourm a:hover { | ||
96 | background-image: url("/theme/images/Fourm_ro.gif"); | ||
97 | } | ||
98 | |||
99 | ul#bannernav li#bannernav-misc a { | ||
100 | background-image: url("/theme/images/Random.gif"); | ||
101 | } | ||
102 | |||
103 | body.misc ul#bannernav li#bannernav-misc a, | ||
104 | ul#bannernav li#bannernav-misc a:hover { | ||
105 | background-image: url("/theme/images/Random_ro.gif"); | ||
106 | } | ||
107 | |||
108 | ul#bannernav li#bannernav-webs a { | ||
109 | background-image: url("/theme/images/Links.gif"); | ||
110 | } | ||
111 | |||
112 | body.webs ul#bannernav li#bannernav-webs a, | ||
113 | ul#bannernav li#bannernav-webs a:hover { | ||
114 | background-image: url("/theme/images/Links_ro.gif"); | ||
115 | } | ||
116 | |||
117 | ul#bannernav li#bannernav-poll a { | ||
118 | background-image: url("/theme/images/Poll.gif"); | ||
119 | } | ||
120 | |||
121 | body.poll ul#bannernav li#bannernav-poll a, | ||
122 | ul#bannernav li#bannernav-poll a:hover { | ||
123 | background-image: url("/theme/images/Poll_ro.gif"); | ||
124 | } | ||
125 | |||
126 | ul#bannernav li#bannernav-quotes a { | ||
127 | background-image: url("/theme/images/Quotes.gif"); | ||
128 | } | ||
129 | |||
130 | body.quotes ul#bannernav li#bannernav-quotes a, | ||
131 | ul#bannernav li#bannernav-quotes a:hover { | ||
132 | background-image: url("/theme/images/Quotes_ro.gif"); | ||
133 | } | ||
134 | |||
135 | ul#bannernav li#bannernav-login a { | ||
136 | background-image: url("/theme/images/Login.gif"); | ||
137 | } | ||
138 | |||
139 | body.login ul#bannernav li#bannernav-login a, | ||
140 | ul#bannernav li#bannernav-login a:hover { | ||
141 | background-image: url("/theme/images/Login_ro.gif"); | ||
142 | } | ||
143 | |||
144 | ul#bannernav li#bannernav-logout a { | ||
145 | background-image: url("/theme/images/Logout.gif"); | ||
146 | } | ||
147 | |||
148 | ul#bannernav li#bannernav-logout a:hover { | ||
149 | background-image: url("/theme/images/Logout_ro.gif"); | ||
150 | } | ||
151 | |||
152 | ul#bannernav li#bannernav-panel a { | ||
153 | background-image: url("/theme/images/Panel.gif"); | ||
154 | } | ||
155 | |||
156 | body.panel ul#bannernav li#bannernav-panel a, | ||
157 | ul#bannernav li#bannernav-panel a:hover { | ||
158 | background-image: url("/theme/images/Panel_ro.gif"); | ||
159 | } | ||
160 | |||
161 | ul#bannernav li#bannernav-search { | ||
162 | display: block; | ||
163 | float: right; | ||
164 | width: 165px; | ||
165 | height: 30px; | ||
166 | margin: 0px; | ||
167 | background: url("/theme/images/bg_search.gif") 0 0 no-repeat; | ||
168 | } | ||
169 | |||
170 | ul#bannernav li#bannernav-search fieldset { | ||
171 | border: none; | ||
172 | padding-top: 6px; | ||
173 | border-width:0pt; | ||
174 | font-family:Verdana,Helvetica,Arial,sans-serif; | ||
175 | font-size:1.1em; | ||
176 | } | ||
177 | |||
178 | ul#bannernav li#bannernav-search input { | ||
179 | width: 125px; | ||
180 | height: 19px !important; | ||
181 | margin-left: 13px; | ||
182 | border: none !important; | ||
183 | background-color: transparent; | ||
184 | cursor:pointer; | ||
185 | font-family:Verdana,Helvetica,Arial,sans-serif; | ||
186 | font-weight:normal; | ||
187 | padding:0pt 3px; | ||
188 | vertical-align:middle; | ||
189 | line-height:1.3em; | ||
190 | color:#536482; | ||
191 | margin-top: -20px; | ||
192 | } | ||
193 | |||
194 | body.fourm ul#bannernav li#bannernav-search input { | ||
195 | margin-top: 0px; | ||
196 | font-size: 1.1em !important; | ||
197 | margin-left: 28px; | ||
198 | } | ||
diff --git a/theme/css/quotes.php b/theme/css/quotes.php new file mode 100644 index 0000000..f66ad14 --- /dev/null +++ b/theme/css/quotes.php | |||
@@ -0,0 +1,199 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/quotes.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | ?> | ||
26 | /* site-wide */ | ||
27 | div#site_all{ | ||
28 | font-family: serif; | ||
29 | font-size: 12pt; | ||
30 | margin-left: 9%; | ||
31 | margin-right: 9%; | ||
32 | } | ||
33 | a#site_nav_admin{ | ||
34 | color: #c08000; | ||
35 | } | ||
36 | a#site_nav_logout{ | ||
37 | color: #000000; | ||
38 | } | ||
39 | a#site_admin_flag, a#site_admin_queue{ | ||
40 | color: #336699; | ||
41 | } | ||
42 | |||
43 | |||
44 | /* quote-output styles */ | ||
45 | |||
46 | div.quote_quote{ | ||
47 | padding-bottom: 5pt; | ||
48 | } | ||
49 | div.quote_whole{ | ||
50 | padding-top: 10pt; | ||
51 | } | ||
52 | |||
53 | /* searchpage */ | ||
54 | input#search_submit-button{ | ||
55 | background-color: #c08000; | ||
56 | } | ||
57 | input#search_query-box{ | ||
58 | background-color: #f0f0f0; | ||
59 | } | ||
60 | select#search_sortby-dropdown{ | ||
61 | background-color: #f0f0f0; | ||
62 | } | ||
63 | select#search_limit-dropdown{ | ||
64 | background-color: #f0f0f0; | ||
65 | } | ||
66 | |||
67 | |||
68 | /* home_*: styles for the default homepage */ | ||
69 | |||
70 | div.home_news_date{ | ||
71 | font-weight: bold; | ||
72 | } | ||
73 | div#home_greeting{ | ||
74 | float: left; | ||
75 | width: 50%; | ||
76 | } | ||
77 | div#home_news{ | ||
78 | width: 100%; | ||
79 | } | ||
80 | |||
81 | |||
82 | /* *admin*: used on administration pages and admin-only content */ | ||
83 | |||
84 | div#site_admin_nav{ | ||
85 | position: relative; | ||
86 | margin-top: 90pt; | ||
87 | clear: both; | ||
88 | margin-top: -.1pt; | ||
89 | } | ||
90 | div#site_admin_nav_upper_linkbar{ | ||
91 | background-color: #f0f0f0; | ||
92 | } | ||
93 | div#site_admin_nav_lower_infobar{ | ||
94 | background-color: #c08000; | ||
95 | text-align: right; | ||
96 | } | ||
97 | html>body div#site_admin_nav{ /* hack for firefox, disabled in opera and ie */ | ||
98 | margin-top: 0pt; | ||
99 | } | ||
100 | .admin_queue_alt1{ | ||
101 | background-color: #ffffff; | ||
102 | } | ||
103 | .admin_queue_alt2{ | ||
104 | background-color: #f0f0f0; | ||
105 | } | ||
106 | input#admin_login_username-box{ | ||
107 | background-color: #f0f0f0; | ||
108 | } | ||
109 | input#admin_login_password-box{ | ||
110 | background-color: #f0f0f0; | ||
111 | } | ||
112 | input#admin_login_submit-button{ | ||
113 | background-color: #c08000; | ||
114 | } | ||
115 | |||
116 | |||
117 | /* site_nav_*: navigation on the top, for everyone */ | ||
118 | |||
119 | div#site_nav_lower{ | ||
120 | background-color: #f0f0f0; | ||
121 | } | ||
122 | div#site_nav_lower_linkbar{ | ||
123 | clear: both; | ||
124 | text-align: right; | ||
125 | } | ||
126 | div#site_nav_upper{ | ||
127 | background-color: #c08000; | ||
128 | padding: 3px; | ||
129 | } | ||
130 | div#site_nav_upper_qms{ | ||
131 | position: relative; | ||
132 | z-index: 1; | ||
133 | float: left; | ||
134 | font-size: 14pt; | ||
135 | font-weight: bold; | ||
136 | font-style: italic; | ||
137 | } | ||
138 | div#site_nav_upper_qms-long{ | ||
139 | position: relative; | ||
140 | z-index: 1; | ||
141 | float: right; | ||
142 | font-weight: bold; | ||
143 | font-size: 15pt; | ||
144 | } | ||
145 | div#site_nav{ | ||
146 | position: relative; | ||
147 | z-index: 0; | ||
148 | } | ||
149 | |||
150 | |||
151 | /* user-based functions */ | ||
152 | div#add_outputmsg_quote{ | ||
153 | padding-top: 10pt; | ||
154 | font-family: monospace; | ||
155 | padding-bottom: 10pt; | ||
156 | } | ||
157 | |||
158 | |||
159 | /* page titles */ | ||
160 | div#quote_origin-name{ | ||
161 | font-size: 23.6pt; | ||
162 | font-weight: bold; | ||
163 | } | ||
164 | div#search_title{ | ||
165 | font-size: 23.6pt; | ||
166 | font-weight: bold; | ||
167 | } | ||
168 | div#admin_add-news_title{ | ||
169 | font-size: 23.6pt; | ||
170 | font-weight: bold; | ||
171 | } | ||
172 | div#add_title{ | ||
173 | font-size: 23.6pt; | ||
174 | font-weight: bold; | ||
175 | } | ||
176 | div#admin_queue_title{ | ||
177 | font-size: 23.6pt; | ||
178 | font-weight: bold; | ||
179 | } | ||
180 | div#admin_flag_title{ | ||
181 | font-size: 23.6pt; | ||
182 | font-weight: bold; | ||
183 | } | ||
184 | div#admin_change-pw_title{ | ||
185 | font-size: 23.6pt; | ||
186 | font-weight: bold; | ||
187 | } | ||
188 | div#admin_users_title{ | ||
189 | font-size: 23.6pt; | ||
190 | font-weight: bold; | ||
191 | } | ||
192 | div#admin_add-user_title{ | ||
193 | font-size: 23.6pt; | ||
194 | font-weight: bold; | ||
195 | } | ||
196 | |||
197 | div.quote_pagenums{ | ||
198 | text-align: center; | ||
199 | } | ||
diff --git a/theme/css/thickbox.css b/theme/css/thickbox.css new file mode 100755 index 0000000..0de29b2 --- /dev/null +++ b/theme/css/thickbox.css | |||
@@ -0,0 +1,164 @@ | |||
1 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
2 | /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ | ||
3 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
4 | *{padding: 0; margin: 0;} | ||
5 | |||
6 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
7 | /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ | ||
8 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
9 | #TB_window { | ||
10 | font: 12px Arial, Helvetica, sans-serif; | ||
11 | color: #333333; | ||
12 | } | ||
13 | |||
14 | #TB_secondLine { | ||
15 | font: 10px Arial, Helvetica, sans-serif; | ||
16 | color:#666666; | ||
17 | } | ||
18 | |||
19 | #TB_window a:link {color: #666666;} | ||
20 | #TB_window a:visited {color: #666666;} | ||
21 | #TB_window a:hover {color: #000;} | ||
22 | #TB_window a:active {color: #666666;} | ||
23 | #TB_window a:focus{color: #666666;} | ||
24 | |||
25 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
26 | /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ | ||
27 | /* ----------------------------------------------------------------------------------------------------------------*/ | ||
28 | #TB_overlay { | ||
29 | position: fixed; | ||
30 | z-index:100; | ||
31 | top: 0px; | ||
32 | left: 0px; | ||
33 | height:100%; | ||
34 | width:100%; | ||
35 | } | ||
36 | |||
37 | .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} | ||
38 | .TB_overlayBG { | ||
39 | background-color:#000; | ||
40 | filter:alpha(opacity=75); | ||
41 | -moz-opacity: 0.75; | ||
42 | opacity: 0.75; | ||
43 | } | ||
44 | |||
45 | * html #TB_overlay { /* ie6 hack */ | ||
46 | position: absolute; | ||
47 | height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); | ||
48 | } | ||
49 | |||
50 | #TB_window { | ||
51 | position: fixed; | ||
52 | background: #ffffff; | ||
53 | z-index: 102; | ||
54 | color:#000000; | ||
55 | display:none; | ||
56 | border: 4px solid #525252; | ||
57 | text-align:left; | ||
58 | top:50%; | ||
59 | left:50%; | ||
60 | } | ||
61 | |||
62 | * html #TB_window { /* ie6 hack */ | ||
63 | position: absolute; | ||
64 | margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); | ||
65 | } | ||
66 | |||
67 | #TB_window img#TB_Image { | ||
68 | display:block; | ||
69 | margin: 15px 0 0 15px; | ||
70 | border-right: 1px solid #ccc; | ||
71 | border-bottom: 1px solid #ccc; | ||
72 | border-top: 1px solid #666; | ||
73 | border-left: 1px solid #666; | ||
74 | } | ||
75 | |||
76 | #TB_caption{ | ||
77 | height:25px; | ||
78 | padding:7px 30px 10px 25px; | ||
79 | float:left; | ||
80 | } | ||
81 | |||
82 | #TB_closeWindow{ | ||
83 | height:25px; | ||
84 | padding:11px 25px 10px 0; | ||
85 | float:right; | ||
86 | } | ||
87 | |||
88 | #TB_closeAjaxWindow{ | ||
89 | padding:7px 10px 5px 0; | ||
90 | margin-bottom:1px; | ||
91 | text-align:right; | ||
92 | float:right; | ||
93 | } | ||
94 | |||
95 | #TB_ajaxWindowTitle{ | ||
96 | float:left; | ||
97 | padding:7px 0 5px 10px; | ||
98 | margin-bottom:1px; | ||
99 | } | ||
100 | |||
101 | #TB_title{ | ||
102 | background-color:#e8e8e8; | ||
103 | height:27px; | ||
104 | } | ||
105 | |||
106 | #TB_ajaxContent{ | ||
107 | clear:both; | ||
108 | padding:2px 15px 15px 15px; | ||
109 | overflow:auto; | ||
110 | text-align:center; | ||
111 | line-height:1.4em; | ||
112 | background: url(/theme/images/backgrounds/island6.PNG) bottom; | ||
113 | } | ||
114 | |||
115 | #TB_ajaxContent.TB_modal{ | ||
116 | padding:15px; | ||
117 | } | ||
118 | |||
119 | #TB_ajaxContent p{ | ||
120 | padding:5px 0px 5px 0px; | ||
121 | } | ||
122 | |||
123 | #TB_load{ | ||
124 | position: fixed; | ||
125 | display:none; | ||
126 | height:13px; | ||
127 | width:208px; | ||
128 | z-index:103; | ||
129 | top: 50%; | ||
130 | left: 50%; | ||
131 | margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ | ||
132 | } | ||
133 | |||
134 | * html #TB_load { /* ie6 hack */ | ||
135 | position: absolute; | ||
136 | margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); | ||
137 | } | ||
138 | |||
139 | #TB_HideSelect{ | ||
140 | z-index:99; | ||
141 | position:fixed; | ||
142 | top: 0; | ||
143 | left: 0; | ||
144 | background-color:#fff; | ||
145 | border:none; | ||
146 | filter:alpha(opacity=0); | ||
147 | -moz-opacity: 0; | ||
148 | opacity: 0; | ||
149 | height:100%; | ||
150 | width:100%; | ||
151 | } | ||
152 | |||
153 | * html #TB_HideSelect { /* ie6 hack */ | ||
154 | position: absolute; | ||
155 | height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); | ||
156 | } | ||
157 | |||
158 | #TB_iframeContent{ | ||
159 | clear:both; | ||
160 | border:none; | ||
161 | margin-bottom:-1px; | ||
162 | margin-top:1px; | ||
163 | _margin-bottom:1px; | ||
164 | } | ||
diff --git a/theme/css/uniform.php b/theme/css/uniform.php new file mode 100644 index 0000000..0a57b49 --- /dev/null +++ b/theme/css/uniform.php | |||
@@ -0,0 +1,270 @@ | |||
1 | /* Four Island UniForm CSS */ | ||
2 | |||
3 | /* uniForm */ | ||
4 | .uniForm{ | ||
5 | margin:0; padding:0; | ||
6 | position:relative; | ||
7 | width:100%; | ||
8 | /* user prefs */ | ||
9 | padding:10px 0; | ||
10 | } | ||
11 | |||
12 | /* Some generals */ | ||
13 | .uniForm fieldset{ | ||
14 | border:none; | ||
15 | margin:0; padding:0; | ||
16 | /* user prefs */ | ||
17 | margin:0 0 7px 0; padding:0 0 10px 0; | ||
18 | border-bottom:1px solid #efefef; | ||
19 | } | ||
20 | .uniForm fieldset legend{ | ||
21 | color:#000; /* Reset IE */ | ||
22 | margin:0; padding:0; | ||
23 | /* user prefs */ | ||
24 | margin:0 0 .5em 0; | ||
25 | font:bold small-caps 100%/100% "lucida grande", "lucida sans unicode", "trebuchet ms", arial, verdana, sans-serif; | ||
26 | letter-spacing:.1em; | ||
27 | color:#93b5be; | ||
28 | } | ||
29 | |||
30 | .ctrlHolder{ /* This is the main unit that contains our form "modules" */ | ||
31 | overflow:hidden; | ||
32 | margin:0; padding:0; | ||
33 | clear:both; | ||
34 | /* user prefs */ | ||
35 | background:#f9f9f9; | ||
36 | margin:0; padding:7px 4px; | ||
37 | } | ||
38 | |||
39 | .buttonHolder{ | ||
40 | overflow:hidden; | ||
41 | clear:both; | ||
42 | /* user prefs */ | ||
43 | background:#f9f9f9; | ||
44 | border:1px solid #ccc; border-width:1px 0; | ||
45 | margin:10px 0 0 0; padding:10px; | ||
46 | text-align:right; | ||
47 | } | ||
48 | .resetButton{ | ||
49 | } | ||
50 | .submitButton{ | ||
51 | } | ||
52 | |||
53 | .uniForm .inlineLabel{ | ||
54 | width:auto; | ||
55 | float:none; | ||
56 | display:inline; | ||
57 | /* user prefs */ | ||
58 | margin:0 2em 0 0; | ||
59 | font-weight:normal; | ||
60 | } | ||
61 | .uniForm .inlineLabel input{ | ||
62 | } | ||
63 | |||
64 | /* Highlighting the rows on input focus */ | ||
65 | .focused{ | ||
66 | background:#FFFCDF url(/theme/images/uf_focused.png); | ||
67 | border:1px solid #EFE795; border-width:1px 0; | ||
68 | padding:6px 4px; | ||
69 | } | ||
70 | |||
71 | |||
72 | /* Styles for form controls where labels are in line with the input elements */ | ||
73 | /* Set the class to the parent to .inlineLabels */ | ||
74 | .inlineLabels .ctrlHolder{ | ||
75 | } | ||
76 | .inlineLabels label, | ||
77 | .inlineLabels .label{ | ||
78 | float:left; | ||
79 | margin:.3em 0 0 0; padding:0; | ||
80 | line-height:100%; | ||
81 | /* user prefs */ | ||
82 | width:30%; | ||
83 | font-weight:bold; | ||
84 | } | ||
85 | |||
86 | .inlineLabels .textInput, | ||
87 | .inlineLabels .fileUpload{ | ||
88 | float:left; | ||
89 | /* user prefs */ | ||
90 | width:68%; | ||
91 | border:2px solid #dfdfdf; | ||
92 | } | ||
93 | .inlineLabels .fileUpload > input{ | ||
94 | } | ||
95 | |||
96 | .inlineLabels .selectInput{ | ||
97 | float:left; | ||
98 | /* user prefs */ | ||
99 | width:69%; | ||
100 | border:2px solid #dfdfdf; | ||
101 | } | ||
102 | |||
103 | .inlineLabels textarea{ | ||
104 | float:left; | ||
105 | width:68%; | ||
106 | /* user prefs */ | ||
107 | border:2px solid #dfdfdf; | ||
108 | height:12em; | ||
109 | } | ||
110 | |||
111 | .inlineLabels .formHint{ | ||
112 | clear:both; | ||
113 | /* user prefs */ | ||
114 | color:#999; | ||
115 | margin:.5em 0 0 30%; padding:3px 0; | ||
116 | font-size:80%; | ||
117 | } | ||
118 | |||
119 | /* inlineLabels esthetics */ | ||
120 | .inlineLabels .formHint strong{ | ||
121 | padding:0 0 0 14px; | ||
122 | background:url(/theme/images/icon_alert.png) 0 0 no-repeat; | ||
123 | display:inline-block; | ||
124 | } | ||
125 | |||
126 | |||
127 | /* ########################################################################## */ | ||
128 | |||
129 | /* Styles for form controls where labels are above the input elements */ | ||
130 | /* Set the class to the parent to .blockLabels */ | ||
131 | .blockLabels .ctrlHolder{ | ||
132 | } | ||
133 | |||
134 | .blockLabels label, | ||
135 | .blockLabels .label{ | ||
136 | display:block; | ||
137 | float:none; | ||
138 | margin:.3em 0; padding:0; | ||
139 | line-height:100%; | ||
140 | width:60%; | ||
141 | /* user prefs */ | ||
142 | font-weight:bold; | ||
143 | width:auto; | ||
144 | } | ||
145 | .blockLabels .label{ | ||
146 | float:left; | ||
147 | margin-right:3em; | ||
148 | } | ||
149 | |||
150 | .blockLabels .textInput{ | ||
151 | float:left; | ||
152 | width:60%; | ||
153 | /* user prefs */ | ||
154 | border:2px solid #dfdfdf; | ||
155 | } | ||
156 | |||
157 | .blockLabels .selectInput{ | ||
158 | float:left; | ||
159 | width:60%; | ||
160 | /* user prefs */ | ||
161 | border:2px solid #dfdfdf; | ||
162 | |||
163 | } | ||
164 | |||
165 | .blockLabels textarea{ | ||
166 | display:block; | ||
167 | float:left; | ||
168 | /* user prefs */ | ||
169 | border:2px solid #dfdfdf; | ||
170 | height:12em; | ||
171 | } | ||
172 | |||
173 | .blockLabels .formHint{ | ||
174 | float:right; | ||
175 | margin:0; | ||
176 | width:38%; | ||
177 | clear:none; | ||
178 | /* user prefs */ | ||
179 | color:#999; | ||
180 | font-size:80%; | ||
181 | font-style:italic; | ||
182 | } | ||
183 | |||
184 | /* blockLabels esthetics */ | ||
185 | .blockLabels .ctrlHolder{ | ||
186 | border:1px solid #dfdfdf; border-width:1px 0; | ||
187 | margin-top:-1px; | ||
188 | } | ||
189 | |||
190 | .blockLabels .focused{ | ||
191 | padding:7px 4px; | ||
192 | } | ||
193 | |||
194 | /* ########################################################################## */ | ||
195 | |||
196 | /* Focus pseudoclasses */ | ||
197 | .ctrlHolder .textInput:focus{ | ||
198 | border-color:#DFD77D; | ||
199 | } | ||
200 | div.focused .textInput:focus{ | ||
201 | } | ||
202 | div.focused .formHint{ | ||
203 | color:#000; | ||
204 | } | ||
205 | |||
206 | /* Required asterisk styling, use if needed */ | ||
207 | label em, | ||
208 | .label em{ | ||
209 | display:block; | ||
210 | position:absolute; left:28%; | ||
211 | font-style:normal; | ||
212 | font-weight:bold; | ||
213 | } | ||
214 | .blockLabels label em, | ||
215 | .blockLabels .label em{ | ||
216 | position:static; | ||
217 | display:inline; | ||
218 | } | ||
219 | |||
220 | /* Messages */ | ||
221 | .uniForm #errorMsg{ | ||
222 | background:#ffdfdf url(/theme/images/uf_error.png); | ||
223 | border:1px solid #df7d7d; border-width:1px 0; | ||
224 | margin:0 0 1em 0; padding:1em; | ||
225 | } | ||
226 | .uniForm .error, | ||
227 | .uniForm .blockLabels.ctrlHolder.error{ | ||
228 | background:#ffdfdf url(/theme/images/uf_error.png); | ||
229 | border:1px solid #df7d7d; border-width:1px 0; | ||
230 | position:relative; | ||
231 | } | ||
232 | .uniForm #errorMsg dt, | ||
233 | .uniForm #errorMsg h3{ | ||
234 | margin:0 0 .5em 0; | ||
235 | font-size:110%; | ||
236 | line-height:100%; | ||
237 | font-weight:bold; | ||
238 | color:#000; | ||
239 | padding:2px 0 2px 18px; | ||
240 | background:url(/theme/images/icon-error.png) 0 0 no-repeat; | ||
241 | } | ||
242 | .uniForm #errorMsg dd{ | ||
243 | margin:0; padding:0; | ||
244 | } | ||
245 | .uniForm #errorMsg ol{ | ||
246 | margin:0; padding:0; | ||
247 | } | ||
248 | .uniForm #errorMsg ol li{ | ||
249 | margin:0; padding:2px; | ||
250 | list-style-position:inside; | ||
251 | border-bottom:1px dotted #df7d7d; | ||
252 | position:relative; | ||
253 | } | ||
254 | .uniForm .errorField{ | ||
255 | margin:0 0 3px 0; | ||
256 | } | ||
257 | .uniForm .inlineLabels .errorField{ | ||
258 | margin-left:30%; | ||
259 | } | ||
260 | .uniForm .errorField strong{ | ||
261 | background:#FFE2E2; | ||
262 | padding:1px 3px 3px 3px; | ||
263 | } | ||
264 | .ctrlHolder.error input, | ||
265 | .ctrlHolder.error input:focus{ | ||
266 | border-color:#DF7D7D; | ||
267 | } | ||
268 | .ctrlHolder.error.focused{ | ||
269 | padding:7px 4px; | ||
270 | } | ||
diff --git a/theme/css/website.php b/theme/css/website.php new file mode 100755 index 0000000..9b26d7c --- /dev/null +++ b/theme/css/website.php | |||
@@ -0,0 +1,843 @@ | |||
1 | <?php | ||
2 | /* | ||
3 | 444444444 | ||
4 | 4::::::::4 | ||
5 | 4:::::::::4 | ||
6 | 4::::44::::4 | ||
7 | 4::::4 4::::4 Four Island | ||
8 | 4::::4 4::::4 | ||
9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
10 | 4::::444444::::444 | ||
11 | 4::::::::::::::::4 theme/css/website.php | ||
12 | 4444444444:::::444 | ||
13 | 4::::4 Please do not use, reproduce or steal the | ||
14 | 4::::4 contents of this file without explicit | ||
15 | 4::::4 permission from Hatkirby. | ||
16 | 44::::::44 | ||
17 | 4::::::::4 | ||
18 | 4444444444 | ||
19 | */ | ||
20 | |||
21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
22 | |||
23 | require('headerproc.php'); | ||
24 | |||
25 | ?> | ||
26 | /* Four Island General CSS */ | ||
27 | |||
28 | ul#bannernav, p { | ||
29 | margin:0pt; | ||
30 | padding:0pt; | ||
31 | } | ||
32 | |||
33 | .idw-container { | ||
34 | text-align: none !important; | ||
35 | } | ||
36 | |||
37 | p {margin-top: 1em;} | ||
38 | |||
39 | ul, ol {margin-top: 1em; margin-bottom: 1em} | ||
40 | |||
41 | /*li {margin-left: 60px}*/ | ||
42 | |||
43 | ::selection { | ||
44 | background: pink; | ||
45 | } | ||
46 | ::-moz-selection { | ||
47 | background: pink; | ||
48 | } | ||
49 | |||
50 | /* A (Links) */ | ||
51 | |||
52 | A:link { | ||
53 | color: blue; | ||
54 | font-weight: bold; | ||
55 | text-decoration: none; | ||
56 | } | ||
57 | |||
58 | A:visited { | ||
59 | color: blue; | ||
60 | text-decoration: none; | ||
61 | } | ||
62 | |||
63 | A:hover { | ||
64 | color: blue; | ||
65 | font-weight: bold; | ||
66 | text-decoration: none; | ||
67 | font-variant: small-caps; | ||
68 | text-transform: capitalize; | ||
69 | } | ||
70 | |||
71 | A:active { | ||
72 | color: blue; | ||
73 | text-decoration: none; | ||
74 | } | ||
75 | |||
76 | a img { | ||
77 | border: 0; | ||
78 | } | ||
79 | |||
80 | /* Random Elements */ | ||
81 | |||
82 | hr { | ||
83 | height:1px; | ||
84 | color: gray; | ||
85 | background: gray; | ||
86 | border: none; | ||
87 | text-align: left; | ||
88 | margin-left: 0; | ||
89 | } | ||
90 | |||
91 | .center { | ||
92 | text-align: center; | ||
93 | } | ||
94 | |||
95 | img.center, img[align="center"] { | ||
96 | display: block; | ||
97 | margin-left: auto; | ||
98 | margin-right: auto; | ||
99 | } | ||
100 | |||
101 | acronym, abbr, span.caps { | ||
102 | cursor: help; | ||
103 | } | ||
104 | |||
105 | acronym, abbr { | ||
106 | border-bottom: 1px dashed #999; | ||
107 | } | ||
108 | |||
109 | <?php if (!isset($_GET['nolayout'])) { ?> | ||
110 | |||
111 | blockquote { | ||
112 | padding-left: 10px; | ||
113 | border-left: 3px solid #CCC; | ||
114 | font-family: helvetica; | ||
115 | font-size: 14px; | ||
116 | margin-top: 10px; | ||
117 | margin-bottom: 10px; | ||
118 | margin-left: 50px; | ||
119 | } | ||
120 | |||
121 | <?php } ?> | ||
122 | |||
123 | pre { | ||
124 | line-height: 12px; | ||
125 | } | ||
126 | |||
127 | .toolTip { | ||
128 | border-bottom: 1px dashed #999; | ||
129 | cursor: help; | ||
130 | } | ||
131 | |||
132 | * html div#members { | ||
133 | position: absolute; | ||
134 | } | ||
135 | |||
136 | #wrap { | ||
137 | width: 910px; | ||
138 | background: #FFFFFF url("/theme/images/bg_body.gif") repeat-y 0 0; | ||
139 | margin: 10px auto; | ||
140 | text-align: left; | ||
141 | padding: 0; | ||
142 | margin-top: 25px; | ||
143 | /* margin-left: 50px; */ | ||
144 | } | ||
145 | |||
146 | #page-header { | ||
147 | background: url("/theme/images/bg_header.gif") repeat-x 0 0; | ||
148 | height: 150px; | ||
149 | clear: both; | ||
150 | } | ||
151 | |||
152 | span.side-left, span.side-right { | ||
153 | display: block; | ||
154 | width: 20px; | ||
155 | height: 150px; | ||
156 | background: url("/theme/images/sides_top.gif") no-repeat; | ||
157 | } | ||
158 | span.side-left { | ||
159 | float: left; | ||
160 | margin-right: 10px; | ||
161 | } | ||
162 | span.side-right { | ||
163 | background-position: 100% 0; | ||
164 | float: right; | ||
165 | } | ||
166 | span.fcorners-bottom, span.fcorners-bottom span { | ||
167 | font-size: 1px; | ||
168 | line-height: 1px; | ||
169 | display: block; | ||
170 | height: 20px; | ||
171 | background-repeat: no-repeat; | ||
172 | background-image: url("/theme/images/corners_bottom.gif"); | ||
173 | margin: 0; | ||
174 | } | ||
175 | span.fcorners-bottom { | ||
176 | background-position: 0 0; | ||
177 | } | ||
178 | span.fcorners-bottom span { | ||
179 | background-position: 100% -20px; | ||
180 | } | ||
181 | |||
182 | <?php //if (!isset($_GET['nolayout'])) { ?> | ||
183 | |||
184 | /* Banner */ | ||
185 | |||
186 | div#banner, div#fi-banner { | ||
187 | background-repeat: no-repeat; | ||
188 | width: 850px; | ||
189 | height: 129px; | ||
190 | float: left; | ||
191 | margin-top: 21px; | ||
192 | } | ||
193 | |||
194 | body div#banner h1, body div#fi-banner h1 { | ||
195 | margin: 0; | ||
196 | } | ||
197 | |||
198 | body div#banner h1 a, body div#fi-banner h1 a { | ||
199 | display: block; | ||
200 | width: 850px; | ||
201 | height: 129px; | ||
202 | text-indent: -5000px; | ||
203 | text-decoration: none; | ||
204 | margin: 0; | ||
205 | } | ||
206 | |||
207 | div#banner h1, div#fi-banner h1 { | ||
208 | margin: 0; | ||
209 | font-size: 3.0em; | ||
210 | font-weight: normal; | ||
211 | } | ||
212 | |||
213 | div#banner div#bannerNav, div#fi-banner div#bannerNav { | ||
214 | position: relative; | ||
215 | top: -20px; | ||
216 | } | ||
217 | |||
218 | #page-body { | ||
219 | margin: 0 30px; | ||
220 | clear: both; | ||
221 | } | ||
222 | |||
223 | body.fourm #page-body { | ||
224 | margin-left: 25; | ||
225 | margin-right: 10; | ||
226 | width: 95%; | ||
227 | font-size: 62.5%; | ||
228 | } | ||
229 | |||
230 | #phpBB3-page-body { | ||
231 | margin: 4px 0 !important; | ||
232 | clear: both; | ||
233 | } | ||
234 | |||
235 | div#pageTabs { | ||
236 | float: left; | ||
237 | margin-left: -40px; | ||
238 | padding-top: 140px; | ||
239 | } | ||
240 | |||
241 | body.fourm div#pageTabs { | ||
242 | margin-left: 0; | ||
243 | } | ||
244 | |||
245 | div#pageTabs ul li { | ||
246 | list-style-type: none; | ||
247 | background-image: url("/theme/images/tabUn.png"); | ||
248 | display: block; | ||
249 | height: 37; | ||
250 | width: 100; | ||
251 | margin-bottom: 2px; | ||
252 | text-align: right; | ||
253 | } | ||
254 | |||
255 | div#pageTabs ul li * { | ||
256 | padding-top: 4px; | ||
257 | padding-right: 2px; | ||
258 | } | ||
259 | |||
260 | body.main div#pageTabs ul li#bannernav-home, | ||
261 | body.projects div#pageTabs ul li#bannernav-proj, | ||
262 | body.wiki div#pageTabs ul li#bannernav-wiki, | ||
263 | body.fourm div#pageTabs ul li#bannernav-fourm, | ||
264 | body.misc div#pageTabs ul li#bannernav-misc, | ||
265 | body.webs div#pageTabs ul li#bannernav-webs, | ||
266 | body.login div#pageTabs ul li#bannernav-login { | ||
267 | background-image: url("/theme/images/tabSe.png"); | ||
268 | } | ||
269 | |||
270 | /* Sidebar */ | ||
271 | |||
272 | div#rightbar { | ||
273 | float: right; | ||
274 | width: 250px; /*210*/ | ||
275 | /* clear: right; */ | ||
276 | padding: 0 10; | ||
277 | } | ||
278 | |||
279 | div#iconbar { | ||
280 | text-align: center; | ||
281 | margin-left: 20px; | ||
282 | } | ||
283 | |||
284 | div#iconbar ul li { | ||
285 | list-style-type: none; | ||
286 | } | ||
287 | |||
288 | div.sidebar { | ||
289 | width: 250px; /*250*/ /*240*/ /*210*/ | ||
290 | padding: 0 10px; | ||
291 | margin-bottom: 5px; | ||
292 | } | ||
293 | |||
294 | div.sidebar h3 { | ||
295 | font-family: Verdana, Helvetica, Arial, sans-serif; | ||
296 | margin: 5px 0 0 0; | ||
297 | font-weight: bold; | ||
298 | color: #333333; | ||
299 | } | ||
300 | |||
301 | div.sidebar p { | ||
302 | font-size: 0.8em; | ||
303 | margin: 3px 0; | ||
304 | } | ||
305 | |||
306 | span.corners-top, | ||
307 | span.corners-bottom { | ||
308 | margin: 0 -10px; | ||
309 | background-image: url("/theme/images/corners_left.png"); | ||
310 | } | ||
311 | |||
312 | span.corners-top span, | ||
313 | span.corners-bottom span { | ||
314 | background-image: url("/theme/images/corners_right.png"); | ||
315 | } | ||
316 | |||
317 | span.corners-top span { | ||
318 | background-position: 100% 0pt; | ||
319 | } | ||
320 | |||
321 | span.corners-bottom { | ||
322 | background-position: 0pt 100%; | ||
323 | } | ||
324 | |||
325 | span.corners-bottom span { | ||
326 | background-position: 100% 100%; | ||
327 | } | ||
328 | |||
329 | span.corners-top, | ||
330 | span.corners-bottom, | ||
331 | span.corners-top span, | ||
332 | span.corners-bottom span { | ||
333 | background-repeat:no-repeat; | ||
334 | display:block; | ||
335 | font-size:1px; | ||
336 | height:5px; | ||
337 | line-height:1px; | ||
338 | } | ||
339 | |||
340 | div.sidebar ul { | ||
341 | list-style-type: none; | ||
342 | padding: 0; | ||
343 | margin: 0; | ||
344 | line-height: normal !important; | ||
345 | list-style-image: none !important; | ||
346 | } | ||
347 | |||
348 | div#sidebar ul li { | ||
349 | margin-top: 4px; | ||
350 | } | ||
351 | |||
352 | div#sidebar ul li a { | ||
353 | display: block; | ||
354 | width: 230px; | ||
355 | } | ||
356 | |||
357 | body.main div#sidebar div#hatnav ul li a#main, | ||
358 | body.about div#sidebar div#hatnav ul li a#about, | ||
359 | body.archive div#sidebar div#hatnav ul li a#archive, | ||
360 | body.winProg div#sidebar div#hatnav ul li a#winProg, | ||
361 | body.winGames div#sidebar div#hatnav ul li a#winGames, | ||
362 | body.flash div#sidebar div#hatnav ul li a#flash, | ||
363 | body.challenge div#sidebar div#hatnav ul li a#challenge, | ||
364 | body.experiment div#sidebar div#hatnav ul li a#experiment, | ||
365 | body.kfm div#sidebar div#hatnav ul li a#kfm, | ||
366 | body.mailchat div#sidebar div#hatnav ul li a#mailchat, | ||
367 | body.articles div#sidebar div#hatnav ul li a#articles, | ||
368 | body.poll div#sidebar div#hatnav ul li a#poll, | ||
369 | body.subversion div#sidebar div#hatnav ul li a#subversion { | ||
370 | background: #FEFFB2; | ||
371 | font-weight: bold; | ||
372 | text-decoration: none; | ||
373 | color: black; | ||
374 | } | ||
375 | |||
376 | div#sidebar li img { | ||
377 | border: 0; | ||
378 | height: 16px; | ||
379 | width: 16px; | ||
380 | } | ||
381 | |||
382 | /* Content */ | ||
383 | |||
384 | div#content, div#fi-content { | ||
385 | float: left; | ||
386 | width: 555px; /*465*/ /*555*/ | ||
387 | } | ||
388 | |||
389 | body#day div#page div#content code { | ||
390 | display: block; | ||
391 | border: solid black 1px; | ||
392 | background-color: #FFFF64; | ||
393 | width: 485px; | ||
394 | overflow: visible; | ||
395 | } | ||
396 | |||
397 | <?php //} ?> | ||
398 | |||
399 | |||
400 | div#content h2 { | ||
401 | color: #59770e; | ||
402 | margin: 0px 0px 2px; | ||
403 | border-bottom: 1px dotted #CCCCCC; | ||
404 | letter-spacing: -1px; | ||
405 | font: normal 140%/100% "Trebuchet MS", Tahoma, Arial; | ||
406 | padding-bottom: 3px; | ||
407 | } | ||
408 | |||
409 | /* Random Divs/Spans */ | ||
410 | |||
411 | div#stripe { | ||
412 | position: fixed; | ||
413 | top: 0; | ||
414 | left: 0; | ||
415 | width: 100%; | ||
416 | background-color: #FBEC5D; | ||
417 | height: 20px; | ||
418 | z-index: 99; | ||
419 | padding-top: 5px; | ||
420 | text-align: center; | ||
421 | } | ||
422 | |||
423 | * > html div#stripe { | ||
424 | position: absolute; | ||
425 | } | ||
426 | |||
427 | div.autosize { | ||
428 | display: table; | ||
429 | width: 1px; | ||
430 | } | ||
431 | |||
432 | div.autosize > div { | ||
433 | display: table-cell; | ||
434 | } | ||
435 | |||
436 | div#chat { | ||
437 | float: right; | ||
438 | position: fixed; | ||
439 | bottom: 0; | ||
440 | background-color: brown; | ||
441 | color: white; | ||
442 | right: 20; | ||
443 | height: 100%; | ||
444 | width: 40%; | ||
445 | } | ||
446 | |||
447 | div.cleardiv { | ||
448 | clear: both; | ||
449 | height: 1em; | ||
450 | } | ||
451 | |||
452 | div#footer { | ||
453 | clear: both; | ||
454 | padding-bottom: 1em; | ||
455 | padding-top: .5em; | ||
456 | margin-top: .5em; | ||
457 | text-align: center; | ||
458 | font-size: .68em; | ||
459 | width: 100%; | ||
460 | border-top: 1px black solid; | ||
461 | border-bottom: 4px gray solid; | ||
462 | } | ||
463 | |||
464 | div#footer ul.rows li { | ||
465 | display: list-item; | ||
466 | } | ||
467 | |||
468 | #rightbar-bottom { | ||
469 | background: url("/theme/images/bg_footer.gif") repeat-x 0 100%; | ||
470 | } | ||
471 | |||
472 | #pollOfTheWeek { | ||
473 | color: black; | ||
474 | } | ||
475 | |||
476 | div.post { | ||
477 | clear: both; | ||
478 | padding-top: 15px; | ||
479 | } | ||
480 | |||
481 | span.back-post { | ||
482 | float: left; | ||
483 | font-size: 0.9em; | ||
484 | } | ||
485 | |||
486 | span.next-post { | ||
487 | float: right; | ||
488 | font-size: 0.9em; | ||
489 | } | ||
490 | |||
491 | span.up-post { | ||
492 | font-size: 0.9em; | ||
493 | } | ||
494 | |||
495 | div.post-date-1 { | ||
496 | width: 45px; | ||
497 | height: 49px; | ||
498 | float: left; | ||
499 | background: url(/theme/images/date-bg-1.gif) no-repeat; | ||
500 | } | ||
501 | |||
502 | div.post-date-0 { | ||
503 | width: 45px; | ||
504 | height: 49px; | ||
505 | float: left; | ||
506 | } | ||
507 | |||
508 | div.post-date-0 span.post-month { | ||
509 | color: #999999; | ||
510 | font-size: 18px; | ||
511 | } | ||
512 | |||
513 | span.post-month { | ||
514 | font-size: 11px; | ||
515 | text-transform: uppercase; | ||
516 | color: #FFFFFF; | ||
517 | text-align: center; | ||
518 | display: block; | ||
519 | line-height: 11px; | ||
520 | padding-top: 2px; | ||
521 | margin-left: -3px; | ||
522 | } | ||
523 | |||
524 | span.post-day { | ||
525 | font-size: 18px; | ||
526 | text-transform: uppercase; | ||
527 | color: #999999; | ||
528 | text-align: center; | ||
529 | display: block; | ||
530 | line-height: 18px; | ||
531 | padding-top: 7px; | ||
532 | margin-left: -3px; | ||
533 | } | ||
534 | |||
535 | div.post-title { | ||
536 | float: left; | ||
537 | margin-left: 10px; | ||
538 | width: 500px; /* 430px */ | ||
539 | } | ||
540 | |||
541 | div.entry { | ||
542 | clear: both; | ||
543 | padding-top: 10px; | ||
544 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
545 | } | ||
546 | |||
547 | <?php | ||
548 | |||
549 | $getupdates = "SELECT * FROM updates"; | ||
550 | $getupdates2 = mysql_query($getupdates); | ||
551 | $i=0; | ||
552 | $k=0; | ||
553 | while ($getupdates3[$i] = mysql_fetch_array($getupdates2)) | ||
554 | { | ||
555 | $j=0; | ||
556 | for ($j=0;$j<$k;$j++) | ||
557 | { | ||
558 | if ($authors[$j] == $getupdates3[$i]['author']) | ||
559 | { | ||
560 | break; | ||
561 | } | ||
562 | } | ||
563 | if ($j==$k) | ||
564 | { | ||
565 | $authors[$k] = $getupdates3[$i]['author']; | ||
566 | $k++; | ||
567 | } | ||
568 | $i++; | ||
569 | } | ||
570 | $i=0; | ||
571 | for ($i=0;$i<$k;$i++) | ||
572 | { | ||
573 | ?> | ||
574 | span.post-cat-<?php echo($authors[$i]); ?> { | ||
575 | background: url(/theme/images/authors/<?php echo($authors[$i]); ?>.ico) no-repeat; | ||
576 | padding-left: 20px; | ||
577 | float: left; | ||
578 | font-size: 95%; | ||
579 | color: #999999; | ||
580 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
581 | } | ||
582 | |||
583 | <?php | ||
584 | } | ||
585 | |||
586 | ?> | ||
587 | span.post-comment { | ||
588 | background: url(/theme/images/icons/comment.png) no-repeat; | ||
589 | padding-left: 20px; | ||
590 | float: right; | ||
591 | font-size: 95%; | ||
592 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
593 | } | ||
594 | |||
595 | span.mini-add-comment { | ||
596 | background: url(/theme/images/icons/comment_add.png) no-repeat; | ||
597 | padding-left: 18px; | ||
598 | float: right; | ||
599 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
600 | } | ||
601 | |||
602 | span.post-comments { | ||
603 | background: url(/theme/images/icons/comments.png) no-repeat; | ||
604 | padding-left: 20px; | ||
605 | float: right; | ||
606 | font-size: 95%; | ||
607 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
608 | } | ||
609 | |||
610 | div#page { | ||
611 | /*margin: 0 auto;*/ | ||
612 | padding: 0; | ||
613 | width: 850px; | ||
614 | position: relative; | ||
615 | left: 50%; | ||
616 | margin-left: -422px; | ||
617 | } | ||
618 | |||
619 | div#footer ul { | ||
620 | padding: 0; | ||
621 | margin: 0; | ||
622 | list-style-type: none; | ||
623 | } | ||
624 | |||
625 | div#footer ul li { | ||
626 | display: inline; | ||
627 | margin-right: 1em; | ||
628 | } | ||
629 | |||
630 | div#footer ul li img { | ||
631 | width: 20px; | ||
632 | height: 20px; | ||
633 | vertical-align: top; | ||
634 | } | ||
635 | |||
636 | <?php if (!isset($_GET['nolayout'])) { ?> | ||
637 | |||
638 | div#content ul { | ||
639 | list-style: url(/theme/images/bullet_disk_big.png); | ||
640 | } | ||
641 | |||
642 | <?php } ?> | ||
643 | |||
644 | div.push { | ||
645 | clear: both; | ||
646 | height: 20px; | ||
647 | } | ||
648 | |||
649 | span.print { | ||
650 | display: none; | ||
651 | } | ||
652 | |||
653 | span.post-tag-1 { | ||
654 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
655 | padding-left: 20px; | ||
656 | margin-left: 90px; | ||
657 | float: left; | ||
658 | font-size: 95%; | ||
659 | color: #999999; | ||
660 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
661 | text-transform: capitalize; | ||
662 | } | ||
663 | |||
664 | form textarea:focus, form input:focus { | ||
665 | border: 2px solid #900; | ||
666 | background-color: #FEFFB2; | ||
667 | } | ||
668 | |||
669 | span.post-tag-2 { | ||
670 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
671 | padding-left: 20px; | ||
672 | margin-left: 75px; | ||
673 | float: left; | ||
674 | font-size: 95%; | ||
675 | color: #999999; | ||
676 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
677 | text-transform: capitalize; | ||
678 | } | ||
679 | |||
680 | span.post-tag-3 { | ||
681 | background: url(/theme/images/icons/tag.png) no-repeat; | ||
682 | padding-left: 20px; | ||
683 | margin-left: 35px; | ||
684 | float: left; | ||
685 | font-size: 95%; | ||
686 | color: #999999; | ||
687 | font: 75%/150% Arial, "Trebuchet MS", Tahoma; | ||
688 | text-transform: capitalize; | ||
689 | } | ||
690 | |||
691 | div.post-date-2 { | ||
692 | width: 45px; | ||
693 | height: 49px; | ||
694 | float: left; | ||
695 | background: url(/theme/images/date-bg-2.gif) no-repeat; | ||
696 | } | ||
697 | |||
698 | div.post-date-3 { | ||
699 | width: 45px; | ||
700 | height: 49px; | ||
701 | float: left; | ||
702 | background: url(/theme/images/date-bg-3.gif) no-repeat; | ||
703 | } | ||
704 | |||
705 | div.post-date-4 { | ||
706 | width: 45px; | ||
707 | height: 49px; | ||
708 | float: left; | ||
709 | background: url(/theme/images/date-bg-4.gif) no-repeat; | ||
710 | } | ||
711 | |||
712 | div#members { | ||
713 | position: fixed; | ||
714 | left: -40px; | ||
715 | top: 20px; | ||
716 | } | ||
717 | |||
718 | div#members ul li { | ||
719 | list-style-type: none; | ||
720 | } | ||
721 | |||
722 | div#members ul li a { | ||
723 | color: white; | ||
724 | width: 100px; | ||
725 | height: 30px; | ||
726 | padding-right: 5px; | ||
727 | background-image: url(/theme/images/tabBG.png); | ||
728 | display: block; | ||
729 | text-align: right; | ||
730 | padding-top: 5px; | ||
731 | padding-bottom: 0px; | ||
732 | background-repeat: no-repeat; | ||
733 | } | ||
734 | |||
735 | div#members ul li a:hover { | ||
736 | background-image: url(/theme/images/tabBG2.png); | ||
737 | } | ||
738 | |||
739 | div#content a img { | ||
740 | border: solid transparent 1px; | ||
741 | } | ||
742 | |||
743 | div#content a:hover img { | ||
744 | border: dashed gray 1px; | ||
745 | } | ||
746 | |||
747 | div.morePost { | ||
748 | border-top: gray 1px dashed; | ||
749 | } | ||
750 | |||
751 | div.plainText { | ||
752 | font-family: Courier New; | ||
753 | font-size: small; | ||
754 | } | ||
755 | |||
756 | div.breadcrumb { | ||
757 | margin-bottom: 10px; | ||
758 | font-size: 10px; | ||
759 | border-bottom: 1px dotted black; | ||
760 | } | ||
761 | |||
762 | .delicious-posts { margin: 1em; padding: 0.5em; font-family: sans-serif; } | ||
763 | .delicious-posts ul, .delicious-posts li, .delicious-banner { margin: 0; padding: 0} | ||
764 | .delicious-post { border-top: 1px solid #eee; padding: 0.25em; font-size: 80% } | ||
765 | .delicious-posts a:hover { text-decoration: underline } | ||
766 | |||
767 | /* #twitter_div { | ||
768 | margin: 1em; | ||
769 | padding: 0.5em; | ||
770 | font-family: sans-serif; | ||
771 | } */ | ||
772 | |||
773 | /* #twitter_div ul, #twitter_div li, .twitter-title { | ||
774 | margin: 0; | ||
775 | padding: 0; | ||
776 | } */ | ||
777 | |||
778 | .twitter_update_list { | ||
779 | list-style-type: none; | ||
780 | } | ||
781 | |||
782 | .twitter_update_list li { | ||
783 | /* border-top: 1px solid #eee; | ||
784 | padding: 0.25em; */ | ||
785 | display: inline; | ||
786 | } | ||
787 | |||
788 | /* .twitter-title { | ||
789 | margin-left: -20px; | ||
790 | font-size: 120%; | ||
791 | } */ | ||
792 | |||
793 | .dispIfNew a:visited img { | ||
794 | display: none; | ||
795 | } | ||
796 | |||
797 | /* Tables */ | ||
798 | |||
799 | table.webmail { | ||
800 | border: 0; | ||
801 | width: 100%; | ||
802 | } | ||
803 | |||
804 | table.webmail, table.webmail td { | ||
805 | border-spacing: 0; | ||
806 | } | ||
807 | |||
808 | table.webmail tr { | ||
809 | background-color: #3CE4ED; | ||
810 | } | ||
811 | |||
812 | table.webmail tr.even { | ||
813 | background-color: #39B7CD; | ||
814 | } | ||
815 | |||
816 | table.webmail th { | ||
817 | background-color: #FF9912; | ||
818 | text-align: left; | ||
819 | } | ||
820 | |||
821 | table.webmail td { | ||
822 | word-wrap: break-word; | ||
823 | } | ||
824 | |||
825 | /* Print Only */ | ||
826 | |||
827 | @media print { | ||
828 | body { | ||
829 | width: 100% !important; | ||
830 | } | ||
831 | |||
832 | div#banner, div#footer, div#members { | ||
833 | display: none; | ||
834 | } | ||
835 | |||
836 | span.print { | ||
837 | display: inline; | ||
838 | } | ||
839 | |||
840 | div#cleardiv { | ||
841 | clear: none; | ||
842 | } | ||
843 | } | ||
diff --git a/theme/datefinder.tpl b/theme/datefinder.tpl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/theme/datefinder.tpl | |||
diff --git a/theme/errors/404.tpl b/theme/errors/404.tpl new file mode 100644 index 0000000..1758a57 --- /dev/null +++ b/theme/errors/404.tpl | |||
@@ -0,0 +1,64 @@ | |||
1 | <TABLE cellSpacing=5 cellPadding=3 width=400> | ||
2 | <TBODY> | ||
3 | <TR> | ||
4 | <TD id=tableProps vAlign=top align=left><IMG id=pagerrorImg src="/images/error404.png"></TD> | ||
5 | <TD id=tableProps2 vAlign=center align=left width=360> | ||
6 | <H1 id=textSection1 style="FONT: 13pt/15pt verdana; COLOR: black"><SPAN id=errorText>Hello, my name is Waddle Dee</SPAN></H1> | ||
7 | </TD> | ||
8 | </TR> | ||
9 | |||
10 | <TR> | ||
11 | <TD id=tablePropsWidth width=400 colSpan=2><FONT style="FONT: 8pt/11pt verdana; COLOR: black">Aaaa.... well... I'm really sorry, but I can't find the page you're looking for. Really, I'm so sorry! Please don't tell Hat Kirby! This is the 17'th page I lost this week!</FONT></TD> | ||
12 | </TR> | ||
13 | |||
14 | <TR> | ||
15 | <TD id=tablePropsWidth width=400 colSpan=2><FONT id=LID1 style="FONT: 8pt/11pt verdana; COLOR: black"> | ||
16 | <P id=LID2>Oh wait. Here we go. We can't find your page because... hmmm... oh not again... It seems Kirby ate the page you are looking for.<BR>Yes, I'm really sorry! He gets really hungry sometimes (all of the time) but we try to keep him fed. Anyway, instead of talking to me, you can:</P> | ||
17 | |||
18 | <!--BEGIN NOREFERER--> | ||
19 | <UL> | ||
20 | <LI id=instructionsText1>Swim over to <A HREF="index.php">Fourever Island</A></LI> | ||
21 | <LI id=instructionsText2>Or maybe you could go to the <A HREF="http://cvs.fourisland.com">CVS Respository</A>!</LI> | ||
22 | </UL> | ||
23 | |||
24 | <P id=LID2>I'm sure you'll have fun.</P> | ||
25 | <P id=LID2><strong>Oh, oh! More info has come in! You may not be able to find the page because of:</strong></p> | ||
26 | |||
27 | <ol type="a"> | ||
28 | <li>An <strong>out-of-date bookmark/favourite</strong></li> | ||
29 | <li>A search engine that has an <strong>out-of-date listing for us</strong></li> | ||
30 | <li>A <strong>mis-typed address</strong></li> | ||
31 | </ol> | ||
32 | <!--END NOREFERER--> | ||
33 | |||
34 | <!--BEGIN SEARCHREF--> | ||
35 | <P id=LID2><strong>Oh, oh! More info has come in!</STRONG></P> | ||
36 | <P>You did a search on <strong><a href="<!--SEARCHREF.REF-->" target=_blank><!--SEARCHREF.SITE--></a></strong> for "<strong><!--SEARCHREF.TERMS--></strong>". However, their index appears to be out of date. (Because Kirby ate the page)</p><h2>All is not lost!</h2><p>Why not try these links?</p> | ||
37 | <UL> | ||
38 | <LI id=instructionsText1>Swim over to <A HREF="index.php">Fourever Island</A> | ||
39 | <LI id=instructionsText2>Or maybe you could go to the <A HREF="http://cvs.fourisland.com">CVS Respository</A>! | ||
40 | </UL> | ||
41 | <P id=LID2>I'm sure you'll have fun.</P> | ||
42 | <!--END SEARCHREF--> | ||
43 | |||
44 | <!--BEGIN NORMALREF--> | ||
45 | <P id=LID2><strong>Oh, oh! More info has come in!</STRONG></P> | ||
46 | <P>You were referred to this page by: <strong><a href='<!--NORMALREF.REF-->' target='_blank'><!--NORMALREF.SITE--></a></strong><br />I guess they didn't know that Kirby ate the page.</P> | ||
47 | <!--BEGIN OURBAD--> | ||
48 | <p id=LID2>Wait a minute! That's us! Uh oh! It looks like one of our own links is broken - I'm really sorry about this, and I'll try to fix it before Hatkirby notices. Please send an email to the email address on the HatBar. Thanks!</P> | ||
49 | <!--END OURBAD--> | ||
50 | <P id=LID2>Why not try one of these links?</P> | ||
51 | <UL> | ||
52 | <LI id=instructionsText1>Swim over to <A HREF="http://fourisland.com">Fourever Island</A></LI> | ||
53 | <LI id=instructionsText2>Or maybe you could go to the <A HREF="http://instadisc.org">InstaDisc site</A>!</LI> | ||
54 | </UL> | ||
55 | <P id=LID2>I'm sure you'll have fun.</P> | ||
56 | <!--END NORMALREF--> | ||
57 | |||
58 | <P id=LID2>Oh wait, I have to go. Hat Kirby's coming, and I better have an explanation for this one!</P> | ||
59 | <P><BR></P> | ||
60 | <H2 id=IEText style="FONT: 8pt/11pt verdana; COLOR: black">Kirby 404<BR>Property of hatkirby</H2> | ||
61 | </FONT></TD> | ||
62 | </TR> | ||
63 | </TBODY> | ||
64 | </TABLE> | ||
diff --git a/theme/footer.tpl b/theme/footer.tpl new file mode 100644 index 0000000..220e0f7 --- /dev/null +++ b/theme/footer.tpl | |||
@@ -0,0 +1,241 @@ | |||
1 | <!-- End content --></DIV> | ||
2 | |||
3 | <!--BEGIN RIGHTBAR--> | ||
4 | <DIV ID="rightbar"> | ||
5 | <DIV CLASS="sidebar"> | ||
6 | <DIV ID="pimped" CLASS="bubble"> | ||
7 | <DIV CLASS="rounded"> | ||
8 | <BLOCKQUOTE> | ||
9 | <DIV> | ||
10 | Hi! My name is Hatkirby, and I run Four Island. | ||
11 | |||
12 | <P> | ||
13 | Four Island is a fun place with a blog, | ||
14 | a fourm, a wiki, many projects and a quotes database!<BR> | ||
15 | |||
16 | I hope you enjoy your time on Four Island! | ||
17 | </P> | ||
18 | </DIV> | ||
19 | </BLOCKQUOTE> | ||
20 | </DIV> | ||
21 | <CITE CLASS="rounded"><STRONG>Hatkirby</STRONG> on Four Island</CITE> | ||
22 | </DIV> | ||
23 | </DIV> | ||
24 | |||
25 | <!--BEGIN USEHATNAV--> | ||
26 | <DIV class="sidebar"> | ||
27 | <DIV CLASS="bubble"> | ||
28 | <DIV CLASS="rounded"> | ||
29 | <BLOCKQUOTE> | ||
30 | <DIV ID="hatnav"><H3>Hatnav</H3><P> | ||
31 | <UL> | ||
32 | <!--BEGIN HATNAV--> | ||
33 | <LI STYLE="margin-left: 10"><A ID="<!--HATNAV.AID-->" HREF="<!--HATNAV.HREF-->"><IMG SRC="<!--HATNAV.IMAGE-->"><!--HATNAV.TEXT--><!--HATNAV.NEW--></A></LI> | ||
34 | <!--END HATNAV--> | ||
35 | </UL> | ||
36 | </P></DIV> | ||
37 | </BLOCKQUOTE> | ||
38 | </DIV> | ||
39 | </DIV> | ||
40 | </DIV> | ||
41 | <!--END USEHATNAV--> | ||
42 | |||
43 | <!--EXTRASIDEBARS--> | ||
44 | |||
45 | <DIV class="sidebar"> | ||
46 | <DIV CLASS="bubble"> | ||
47 | <DIV CLASS="rounded"> | ||
48 | <BLOCKQUOTE> | ||
49 | <DIV ID="hatbar"><H3>Hatbar</H3><P> | ||
50 | Confused? Email the webmaster at hatk<a href="http://mailhide.recaptcha.net/d?k=01gkW_nSHD3Qbf7dcAwJVdsg==&c=M-Dz6vqhsLdR6tNVOO5f7c6jZUsKP1mUNWfmLFkJqak=" onclick="window.open('http://mailhide.recaptcha.net/d?k=01gkW_nSHD3Qbf7dcAwJVdsg==&c=M-Dz6vqhsLdR6tNVOO5f7c6jZUsKP1mUNWfmLFkJqak=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@fourisland.com</SMALL> | ||
51 | <P> | ||
52 | <SPAN ID="hitcounter"> | ||
53 | Hits: <!--HITS--><BR> | ||
54 | Today: <!--TODAY--><BR> | ||
55 | <SPAN> | ||
56 | <!--INCLUDE polloftheweek--><BR> | ||
57 | <!--INCLUDE datefinder--> | ||
58 | </P> | ||
59 | |||
60 | <P> | ||
61 | <CENTER> | ||
62 | <A HREF="/addresses.php" TITLE="goodemail@happybobby.com"><IMG SRC="/images/btn_bot.png"></A><BR> | ||
63 | |||
64 | <a href="http://www.prchecker.info/" target="_blank"><img src="http://pr.prchecker.info/getpr.php?codex=aHR0cDovL2ZvdXJpc2xhbmQuY29t&tag=3" alt="Page Rank Check" border="0" /></a> | ||
65 | |||
66 | <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/80x15.png"/></a><BR> | ||
67 | |||
68 | <a href="http://whos.amung.us/show/t1sj4g2u"><img src="http://whos.amung.us/swidget/t1sj4g2u.gif" alt="website stats" width="80" height="15" border="0" /></a> | ||
69 | |||
70 | <A HREF="/blog/color-4eva/"><IMG SRC="/images/colorPencils.png"></A><BR> | ||
71 | |||
72 | <a href="http://feeds.feedburner.com/FourIsland"><img src="http://feeds.feedburner.com/~fc/FourIsland?bg=99CCFF&fg=444444&anim=0" height="26" width="88" style="border:0" alt="" /></a><BR> | ||
73 | |||
74 | <A HREF="/rss.php?mode=comments">Comments Feed</A> | ||
75 | </CENTER> | ||
76 | </P> | ||
77 | </DIV> | ||
78 | </BLOCKQUOTE> | ||
79 | </DIV> | ||
80 | </DIV> | ||
81 | </DIV> | ||
82 | |||
83 | <DIV class="sidebar"> | ||
84 | <DIV CLASS="bubble"> | ||
85 | <DIV CLASS="rounded"> | ||
86 | <BLOCKQUOTE> | ||
87 | <DIV ID="hatbar"> | ||
88 | <H3>Popular Posts</H3> | ||
89 | |||
90 | <P> | ||
91 | <UL> | ||
92 | <!--BEGIN POPULAR--> | ||
93 | <LI STYLE="font-size: 0.9em"><A HREF="/blog/<!--POPULAR.CODED-->/"><!--POPULAR.TITLE--></A></LI> | ||
94 | <!--END POPULAR--> | ||
95 | </UL> | ||
96 | </P> | ||
97 | </DIV> | ||
98 | </BLOCKQUOTE> | ||
99 | </DIV> | ||
100 | </DIV> | ||
101 | </DIV> | ||
102 | |||
103 | <DIV class="sidebar"> | ||
104 | <DIV CLASS="bubble"> | ||
105 | <DIV CLASS="rounded"> | ||
106 | <BLOCKQUOTE> | ||
107 | <DIV ID="hatbar"> | ||
108 | <H3>Recent Comments</H3> | ||
109 | |||
110 | <P> | ||
111 | <UL> | ||
112 | <!--BEGIN COMMENTS--> | ||
113 | <LI STYLE="font-size: 0.9em"><!--COMMENTS.AUTHOR--> on <A HREF="/blog/<!--COMMENTS.CODED-->/"><!--COMMENTS.TITLE--></A></LI> | ||
114 | <!--END COMMENTS--> | ||
115 | </UL> | ||
116 | </P> | ||
117 | </DIV> | ||
118 | </BLOCKQUOTE> | ||
119 | </DIV> | ||
120 | </DIV> | ||
121 | </DIV> | ||
122 | |||
123 | <DIV class="sidebar"> | ||
124 | <DIV CLASS="bubble"> | ||
125 | <DIV CLASS="rounded"> | ||
126 | <BLOCKQUOTE> | ||
127 | <DIV ID="hatbar"> | ||
128 | <H3>Recent Fourm Posts</H3> | ||
129 | |||
130 | <P> | ||
131 | <UL> | ||
132 | <!--BEGIN FOURM--> | ||
133 | <LI STYLE="font-size: 0.9em"><!--FOURM.USERNAME--> on <A HREF="/fourm/viewtopic.php?t=<!--FOURM.TOPIC-->&p=<!--FOURM.POST-->#p<!--FOURM.POST-->"><!--FOURM.SUBJECT--></A></LI> | ||
134 | <!--END FOURM--> | ||
135 | </UL> | ||
136 | </P> | ||
137 | </DIV> | ||
138 | </BLOCKQUOTE> | ||
139 | </DIV> | ||
140 | </DIV> | ||
141 | </DIV> | ||
142 | |||
143 | <DIV class="sidebar"> | ||
144 | <DIV CLASS="bubble"> | ||
145 | <DIV CLASS="rounded"> | ||
146 | <BLOCKQUOTE> | ||
147 | <DIV ID="hatbar"> | ||
148 | <H3>Top Commenters</H3> | ||
149 | |||
150 | <P> | ||
151 | <UL> | ||
152 | <!--BEGIN TOP--> | ||
153 | <LI STYLE="font-size: 0.9em"><!--TOP.USERNAME--> (<!--TOP.COUNT-->)</LI> | ||
154 | <!--END TOP--> | ||
155 | </UL> | ||
156 | </P> | ||
157 | </DIV> | ||
158 | </BLOCKQUOTE> | ||
159 | </DIV> | ||
160 | </DIV> | ||
161 | </DIV> | ||
162 | |||
163 | <P> | ||
164 | |||
165 | <DIV CLASS="sidebar"> | ||
166 | <DIV ID="pimped" CLASS="bubble"> | ||
167 | <DIV CLASS="rounded"> | ||
168 | <BLOCKQUOTE> | ||
169 | <DIV> | ||
170 | Like something you see here on Four Island? | ||
171 | |||
172 | <P> | ||
173 | Well, the best way to promote a post here is to link to it from your blog. | ||
174 | We always appreciate Pingbacks.<BR> | ||
175 | |||
176 | Of course, if you don't have a blog, | ||
177 | you could simply comment on the post in question.<BR> | ||
178 | |||
179 | Can't be bothered to think up a comment? Well, you can always rate it then.<BR> | ||
180 | |||
181 | There's always a way to show how you feel about a post on Four Island. | ||
182 | </P> | ||
183 | </DIV> | ||
184 | </BLOCKQUOTE> | ||
185 | </DIV> | ||
186 | <CITE CLASS="rounded"><STRONG>Hatkirby</STRONG> on Four Island</CITE> | ||
187 | </DIV> | ||
188 | </DIV> | ||
189 | |||
190 | <!--BEGIN SIDEBARS--> | ||
191 | <DIV class="sidebar"> | ||
192 | <DIV CLASS="bubble"> | ||
193 | <DIV CLASS="rounded"> | ||
194 | <BLOCKQUOTE> | ||
195 | <H3><!--SIDEBARS.TITLE--></H3> | ||
196 | |||
197 | <P> | ||
198 | <!--SIDEBARS.TEXT--> | ||
199 | </P> | ||
200 | </BLOCKQUOTE> | ||
201 | </DIV> | ||
202 | </DIV> | ||
203 | </DIV> | ||
204 | <!--END SIDEBARS--> | ||
205 | </DIV> | ||
206 | <!--END RIGHTBAR--> | ||
207 | |||
208 | <DIV CLASS="cleardiv"></DIV> | ||
209 | |||
210 | <!--BEGIN ONFOURM--> | ||
211 | <DIV> | ||
212 | <!--END ONFOURM--> | ||
213 | </DIV> | ||
214 | |||
215 | <DIV ID="footer"> | ||
216 | <UL CLASS="rows"> | ||
217 | <LI><span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">Four Island</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.fourisland.com" property="cc:attributionName" rel="cc:attributionURL">Starla Insigna</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</LI> | ||
218 | <LI><A HREF="/wiki/privacy-policy/">Privacy Policy</A></LI> | ||
219 | </UL> | ||
220 | |||
221 | <UL CLASS="together"> | ||
222 | <LI><A HREF="http://jigsaw.w3.org/css-validator/"><IMG SRC="/theme/images/icons/css_valid.png"></A></LI> | ||
223 | <LI><A HREF="/no-doctype.php"><IMG SRC="/theme/images/icons/html_valid.png"></A></LI> | ||
224 | <LI><A class="noVisit" HREF="/rss.php"><IMG SRC="/theme/images/icons/feed.png"></A></LI> | ||
225 | </UL> | ||
226 | </DIV> | ||
227 | </DIV> | ||
228 | |||
229 | <!--Google Analytics--> | ||
230 | <script type="text/javascript"> | ||
231 | var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
232 | document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
233 | </script> | ||
234 | <script type="text/javascript"> | ||
235 | var pageTracker = _gat._getTracker("UA-2895652-1"); | ||
236 | pageTracker._initData(); | ||
237 | pageTracker._trackPageview(); | ||
238 | </script> | ||
239 | <!--Google Analytics--> | ||
240 | </BODY> | ||
241 | </HTML> | ||
diff --git a/theme/footer.tpl~ b/theme/footer.tpl~ new file mode 100644 index 0000000..b332f0f --- /dev/null +++ b/theme/footer.tpl~ | |||
@@ -0,0 +1,225 @@ | |||
1 | <!-- End content --></DIV> | ||
2 | |||
3 | <!--BEGIN RIGHTBAR--> | ||
4 | <DIV ID="rightbar"> | ||
5 | <DIV CLASS="sidebar"> | ||
6 | <DIV ID="pimped" CLASS="bubble"> | ||
7 | <DIV CLASS="rounded"> | ||
8 | <BLOCKQUOTE> | ||
9 | <DIV> | ||
10 | Hi! My name is Hatkirby, and I run Four Island. | ||
11 | |||
12 | <P> | ||
13 | Four Island is a fun place with a blog, | ||
14 | a fourm, a wiki, many projects and a quotes database!<BR> | ||
15 | |||
16 | I hope you enjoy your time on Four Island! | ||
17 | </P> | ||
18 | </DIV> | ||
19 | </BLOCKQUOTE> | ||
20 | </DIV> | ||
21 | <CITE CLASS="rounded"><STRONG>Hatkirby</STRONG> on Four Island</CITE> | ||
22 | </DIV> | ||
23 | </DIV> | ||
24 | |||
25 | <!--BEGIN USEHATNAV--> | ||
26 | <DIV class="sidebar"> | ||
27 | <DIV CLASS="bubble"> | ||
28 | <DIV CLASS="rounded"> | ||
29 | <BLOCKQUOTE> | ||
30 | <DIV ID="hatnav"><H3>Hatnav</H3><P> | ||
31 | <UL> | ||
32 | <!--BEGIN HATNAV--> | ||
33 | <LI STYLE="margin-left: 10"><A ID="<!--HATNAV.AID-->" HREF="<!--HATNAV.HREF-->"><IMG SRC="<!--HATNAV.IMAGE-->"><!--HATNAV.TEXT--><!--HATNAV.NEW--></A></LI> | ||
34 | <!--END HATNAV--> | ||
35 | </UL> | ||
36 | </P></DIV> | ||
37 | </BLOCKQUOTE> | ||
38 | </DIV> | ||
39 | </DIV> | ||
40 | </DIV> | ||
41 | <!--END USEHATNAV--> | ||
42 | |||
43 | <!--EXTRASIDEBARS--> | ||
44 | |||
45 | <DIV class="sidebar"> | ||
46 | <DIV CLASS="bubble"> | ||
47 | <DIV CLASS="rounded"> | ||
48 | <BLOCKQUOTE> | ||
49 | <DIV ID="hatbar"><H3>Hatbar</H3><P> | ||
50 | Confused? Email the webmaster at hatk<a href="http://mailhide.recaptcha.net/d?k=01gkW_nSHD3Qbf7dcAwJVdsg==&c=M-Dz6vqhsLdR6tNVOO5f7c6jZUsKP1mUNWfmLFkJqak=" onclick="window.open('http://mailhide.recaptcha.net/d?k=01gkW_nSHD3Qbf7dcAwJVdsg==&c=M-Dz6vqhsLdR6tNVOO5f7c6jZUsKP1mUNWfmLFkJqak=', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;" title="Reveal this e-mail address">...</a>@fourisland.com</SMALL> | ||
51 | <P> | ||
52 | <SPAN ID="hitcounter"> | ||
53 | Hits: <!--HITS--><BR> | ||
54 | Today: <!--TODAY--><BR> | ||
55 | <SPAN> | ||
56 | <!--INCLUDE polloftheweek--><BR> | ||
57 | <!--INCLUDE datefinder--> | ||
58 | </P> | ||
59 | |||
60 | <P> | ||
61 | <CENTER> | ||
62 | <A HREF="/addresses.php" TITLE="goodemail@happybobby.com"><IMG SRC="/images/btn_bot.png"></A><BR> | ||
63 | |||
64 | <a href="http://www.prchecker.info/" target="_blank"><img src="http://pr.prchecker.info/getpr.php?codex=aHR0cDovL2ZvdXJpc2xhbmQuY29t&tag=3" alt="Page Rank Check" border="0" /></a> | ||
65 | |||
66 | <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/80x15.png"/></a><BR> | ||
67 | |||
68 | <a href="http://whos.amung.us/show/t1sj4g2u"><img src="http://whos.amung.us/swidget/t1sj4g2u.gif" alt="website stats" width="80" height="15" border="0" /></a> | ||
69 | |||
70 | <A HREF="/blog/color-4eva/"><IMG SRC="/images/colorPencils.png"></A><BR> | ||
71 | |||
72 | <a href="http://feeds.feedburner.com/FourIsland"><img src="http://feeds.feedburner.com/~fc/FourIsland?bg=99CCFF&fg=444444&anim=0" height="26" width="88" style="border:0" alt="" /></a><BR> | ||
73 | |||
74 | <A HREF="/rss.php?mode=comments">Comments Feed</A> | ||
75 | </CENTER> | ||
76 | </P> | ||
77 | </DIV> | ||
78 | </BLOCKQUOTE> | ||
79 | </DIV> | ||
80 | </DIV> | ||
81 | </DIV> | ||
82 | |||
83 | <DIV class="sidebar"> | ||
84 | <DIV CLASS="bubble"> | ||
85 | <DIV CLASS="rounded"> | ||
86 | <BLOCKQUOTE> | ||
87 | <DIV ID="hatbar"> | ||
88 | <H3>Popular Posts</H3> | ||
89 | |||
90 | <P> | ||
91 | <UL> | ||
92 | <!--BEGIN POPULAR--> | ||
93 | <LI STYLE="font-size: 0.9em"><A HREF="/blog/<!--POPULAR.CODED-->/"><!--POPULAR.TITLE--></A></LI> | ||
94 | <!--END POPULAR--> | ||
95 | </UL> | ||
96 | </P> | ||
97 | </DIV> | ||
98 | </BLOCKQUOTE> | ||
99 | </DIV> | ||
100 | </DIV> | ||
101 | </DIV> | ||
102 | |||
103 | <DIV class="sidebar"> | ||
104 | <script src="http://www.intensedebate.com/widgets/acctComment/85295/5" type="text/javascript"></script> | ||
105 | </DIV> | ||
106 | |||
107 | <DIV class="sidebar"> | ||
108 | <DIV CLASS="bubble"> | ||
109 | <DIV CLASS="rounded"> | ||
110 | <BLOCKQUOTE> | ||
111 | <DIV ID="hatbar"> | ||
112 | <H3>Recent Fourm Posts</H3> | ||
113 | |||
114 | <P> | ||
115 | <UL> | ||
116 | <!--BEGIN FOURM--> | ||
117 | <LI STYLE="font-size: 0.9em"><!--FOURM.USERNAME--> on <A HREF="/fourm/viewtopic.php?t=<!--FOURM.TOPIC-->&p=<!--FOURM.POST-->#p<!--FOURM.POST-->"><!--FOURM.SUBJECT--></A></LI> | ||
118 | <!--END FOURM--> | ||
119 | </UL> | ||
120 | </P> | ||
121 | </DIV> | ||
122 | </BLOCKQUOTE> | ||
123 | </DIV> | ||
124 | </DIV> | ||
125 | </DIV> | ||
126 | |||
127 | <DIV class="sidebar"> | ||
128 | <DIV CLASS="bubble"> | ||
129 | <DIV CLASS="rounded"> | ||
130 | <BLOCKQUOTE> | ||
131 | <DIV ID="hatbar"> | ||
132 | <H3>Top Commenters</H3> | ||
133 | |||
134 | <P> | ||
135 | <UL> | ||
136 | <!--BEGIN TOP--> | ||
137 | <LI STYLE="font-size: 0.9em"><!--TOP.USERNAME--> (<!--TOP.COUNT-->)</LI> | ||
138 | <!--END TOP--> | ||
139 | </UL> | ||
140 | </P> | ||
141 | </DIV> | ||
142 | </BLOCKQUOTE> | ||
143 | </DIV> | ||
144 | </DIV> | ||
145 | </DIV> | ||
146 | |||
147 | <P> | ||
148 | |||
149 | <DIV CLASS="sidebar"> | ||
150 | <DIV ID="pimped" CLASS="bubble"> | ||
151 | <DIV CLASS="rounded"> | ||
152 | <BLOCKQUOTE> | ||
153 | <DIV> | ||
154 | Like something you see here on Four Island? | ||
155 | |||
156 | <P> | ||
157 | Well, the best way to promote a post here is to link to it from your blog. | ||
158 | We always appreciate Pingbacks.<BR> | ||
159 | |||
160 | Of course, if you don't have a blog, | ||
161 | you could simply comment on the post in question.<BR> | ||
162 | |||
163 | Can't be bothered to think up a comment? Well, you can always rate it then.<BR> | ||
164 | |||
165 | There's always a way to show how you feel about a post on Four Island. | ||
166 | </P> | ||
167 | </DIV> | ||
168 | </BLOCKQUOTE> | ||
169 | </DIV> | ||
170 | <CITE CLASS="rounded"><STRONG>Hatkirby</STRONG> on Four Island</CITE> | ||
171 | </DIV> | ||
172 | </DIV> | ||
173 | |||
174 | <!--BEGIN SIDEBARS--> | ||
175 | <DIV class="sidebar"> | ||
176 | <DIV CLASS="bubble"> | ||
177 | <DIV CLASS="rounded"> | ||
178 | <BLOCKQUOTE> | ||
179 | <H3><!--SIDEBARS.TITLE--></H3> | ||
180 | |||
181 | <P> | ||
182 | <!--SIDEBARS.TEXT--> | ||
183 | </P> | ||
184 | </BLOCKQUOTE> | ||
185 | </DIV> | ||
186 | </DIV> | ||
187 | </DIV> | ||
188 | <!--END SIDEBARS--> | ||
189 | </DIV> | ||
190 | <!--END RIGHTBAR--> | ||
191 | |||
192 | <DIV CLASS="cleardiv"></DIV> | ||
193 | |||
194 | <!--BEGIN ONFOURM--> | ||
195 | <DIV> | ||
196 | <!--END ONFOURM--> | ||
197 | </DIV> | ||
198 | |||
199 | <DIV ID="footer"> | ||
200 | <UL CLASS="rows"> | ||
201 | <LI><span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">Four Island</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.fourisland.com" property="cc:attributionName" rel="cc:attributionURL">Starla Insigna</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</LI> | ||
202 | <LI><A HREF="/wiki/privacy-policy/">Privacy Policy</A></LI> | ||
203 | </UL> | ||
204 | |||
205 | <UL CLASS="together"> | ||
206 | <LI><A HREF="http://jigsaw.w3.org/css-validator/"><IMG SRC="/theme/images/icons/css_valid.png"></A></LI> | ||
207 | <LI><A HREF="/no-doctype.php"><IMG SRC="/theme/images/icons/html_valid.png"></A></LI> | ||
208 | <LI><A class="noVisit" HREF="/rss.php"><IMG SRC="/theme/images/icons/feed.png"></A></LI> | ||
209 | </UL> | ||
210 | </DIV> | ||
211 | </DIV> | ||
212 | |||
213 | <!--Google Analytics--> | ||
214 | <script type="text/javascript"> | ||
215 | var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
216 | document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
217 | </script> | ||
218 | <script type="text/javascript"> | ||
219 | var pageTracker = _gat._getTracker("UA-2895652-1"); | ||
220 | pageTracker._initData(); | ||
221 | pageTracker._trackPageview(); | ||
222 | </script> | ||
223 | <!--Google Analytics--> | ||
224 | </BODY> | ||
225 | </HTML> | ||
diff --git a/theme/header.tpl b/theme/header.tpl new file mode 100644 index 0000000..e0d000a --- /dev/null +++ b/theme/header.tpl | |||
@@ -0,0 +1,64 @@ | |||
1 | <HTML> | ||
2 | <HEAD> | ||
3 | <TITLE><!--EXTRATITLE-->Four Island</TITLE> | ||
4 | |||
5 | <LINK REL="stylesheet" TYPE="text/css" HREF="http://fourisland.com/theme/css.php?id=<!--BODYID-->" /> | ||
6 | <LINK REL="stylesheet" TYPE="text/css" HREF="http://fourisland.com/theme/css/thickbox.css" /> | ||
7 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" /> | ||
8 | <META HTTP-EQUIV="Content-Language" CONTENT="en" /> | ||
9 | <LINK REL="alternate" TYPE="application/rss+xml" HREF="http://feeds.feedburner.com/FourIsland?format=xml" TITLE="Four Island" /> | ||
10 | <LINK REL="shortcut" HREF="/images/kirbyfolder.ico" /> | ||
11 | <LINK REL="icon" HREF="/images/kirbyfolder.ico" /> | ||
12 | <LINK REL="pingback" HREF="http://fourisland.com/xmlrpc.php" /> | ||
13 | <SCRIPT SRC="/theme/js/jquery-1.2.6.min.js" TYPE="text/javascript"></SCRIPT> | ||
14 | <SCRIPT SRC="/theme/js/jquery.ie6blocker.js" TYPE="text/javascript"></SCRIPT> | ||
15 | <SCRIPT SRC="/theme/js/message.js" TYPE="text/javascript"></SCRIPT> | ||
16 | <SCRIPT SRC="/theme/js/rounded_corners.inc.js" TYPE="text/javascript"></SCRIPT> | ||
17 | <SCRIPT SRC="/theme/js/round_bubbles.js" TYPE="text/javascript"></SCRIPT> | ||
18 | <SCRIPT SRC="/theme/js/thickbox.js" TYPE="text/javascript"></SCRIPT> | ||
19 | |||
20 | <!--BEGIN SPLASH--> | ||
21 | <SCRIPT TYPE="text/javascript"> | ||
22 | tb_splash(); | ||
23 | </SCRIPT> | ||
24 | <!--END SPLASH--> | ||
25 | |||
26 | <!--HEADTAGS--> | ||
27 | </HEAD> | ||
28 | |||
29 | <BODY ID="<!--BODYID-->" CLASS="<!--CATEGORY--> <!--AID--> <!--CATEGORY-->-<!--AID-->"<!--BODYTAGS-->> | ||
30 | <DIV ID="stripe"> | ||
31 | You can get notifications on new Four Island posts either via | ||
32 | <A HREF="http://feeds.feedburner.com/FourIsland">RSS</A> | ||
33 | or | ||
34 | <A HREF="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1464430">Email</A> | ||
35 | </DIV> | ||
36 | |||
37 | <DIV ID="wrap"> | ||
38 | <DIV ID="page-header"> | ||
39 | <SPAN CLASS="side-left"></SPAN> | ||
40 | <DIV ID="banner" STYLE="position: relative;"> | ||
41 | <H1 ID="logo-banner"><A HREF="/" TITLE="Four Island">Four Island</A></H1> | ||
42 | </DIV> | ||
43 | <SPAN CLASS="side-right"></SPAN> | ||
44 | </DIV> | ||
45 | |||
46 | <DIV ID="banner-nav"> | ||
47 | <UL ID="bannernav"> | ||
48 | <LI id="bannernav-home"><A HREF="/" REL="home"><B><SPAN>Home</SPAN></B></A></LI> | ||
49 | <LI id="bannernav-projects"><A HREF="/projects/"><B><SPAN>Projects</SPAN></B></A></LI> | ||
50 | <LI id="bannernav-wiki"><A HREF="/wiki/"><B><SPAN>Wiki</SPAN></B></A></LI> | ||
51 | <LI id="bannernav-fourm"><A HREF="/fourm/"><B><SPAN>Fourm</SPAN></B></A></LI> | ||
52 | <LI id="bannernav-poll"><A HREF="/poll/"><B><SPAN>Poll</SPAN></B></A></LI> | ||
53 | <LI id="bannernav-quotes"><A HREF="/quotes/"><B><SPAN>Quotes</SPAN></B></A></LI> | ||
54 | <LI id="bannernav-<!--LOWERLOGDATA-->"><A HREF="/<!--LOWERLOGDATA-->.php?redirect=<!--REDIRPAGE-->"><B><SPAN><!--LOGDATA--></SPAN></B></A></LI> | ||
55 | <!--BEGIN PANEL--> | ||
56 | <LI id="bannernav-panel"><A HREF="/admin/"><B><SPAN>Panel</SPAN></B></A></LI> | ||
57 | <!--END PANEL--> | ||
58 | </UL> | ||
59 | </DIV> | ||
60 | |||
61 | <DIV CLASS="push"></DIV> | ||
62 | |||
63 | <DIV id="page-body"> | ||
64 | <DIV id="content"><!-- Begin content --> | ||
diff --git a/theme/hits.tpl b/theme/hits.tpl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/theme/hits.tpl | |||
diff --git a/theme/images/Fourm.gif b/theme/images/Fourm.gif new file mode 100755 index 0000000..1365fd6 --- /dev/null +++ b/theme/images/Fourm.gif | |||
Binary files differ | |||
diff --git a/theme/images/Fourm_ro.gif b/theme/images/Fourm_ro.gif new file mode 100755 index 0000000..8a1cad6 --- /dev/null +++ b/theme/images/Fourm_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Home.gif b/theme/images/Home.gif new file mode 100755 index 0000000..e3e523d --- /dev/null +++ b/theme/images/Home.gif | |||
Binary files differ | |||
diff --git a/theme/images/Home_ro.gif b/theme/images/Home_ro.gif new file mode 100755 index 0000000..b409d75 --- /dev/null +++ b/theme/images/Home_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Links.gif b/theme/images/Links.gif new file mode 100755 index 0000000..a223b3e --- /dev/null +++ b/theme/images/Links.gif | |||
Binary files differ | |||
diff --git a/theme/images/Links_ro.gif b/theme/images/Links_ro.gif new file mode 100755 index 0000000..d540220 --- /dev/null +++ b/theme/images/Links_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Login.gif b/theme/images/Login.gif new file mode 100644 index 0000000..3573589 --- /dev/null +++ b/theme/images/Login.gif | |||
Binary files differ | |||
diff --git a/theme/images/Login_ro.gif b/theme/images/Login_ro.gif new file mode 100644 index 0000000..404f305 --- /dev/null +++ b/theme/images/Login_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Logout.gif b/theme/images/Logout.gif new file mode 100644 index 0000000..12696fe --- /dev/null +++ b/theme/images/Logout.gif | |||
Binary files differ | |||
diff --git a/theme/images/Logout_ro.gif b/theme/images/Logout_ro.gif new file mode 100644 index 0000000..ff103a2 --- /dev/null +++ b/theme/images/Logout_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Panel.gif b/theme/images/Panel.gif new file mode 100644 index 0000000..42075dc --- /dev/null +++ b/theme/images/Panel.gif | |||
Binary files differ | |||
diff --git a/theme/images/Panel_ro.gif b/theme/images/Panel_ro.gif new file mode 100644 index 0000000..e64c5ad --- /dev/null +++ b/theme/images/Panel_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Poll.gif b/theme/images/Poll.gif new file mode 100644 index 0000000..08815d2 --- /dev/null +++ b/theme/images/Poll.gif | |||
Binary files differ | |||
diff --git a/theme/images/Poll_ro.gif b/theme/images/Poll_ro.gif new file mode 100644 index 0000000..6a4549f --- /dev/null +++ b/theme/images/Poll_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Projects.gif b/theme/images/Projects.gif new file mode 100755 index 0000000..bf0cfc7 --- /dev/null +++ b/theme/images/Projects.gif | |||
Binary files differ | |||
diff --git a/theme/images/Projects_ro.gif b/theme/images/Projects_ro.gif new file mode 100755 index 0000000..718ab03 --- /dev/null +++ b/theme/images/Projects_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Quotes.gif b/theme/images/Quotes.gif new file mode 100644 index 0000000..8bf0289 --- /dev/null +++ b/theme/images/Quotes.gif | |||
Binary files differ | |||
diff --git a/theme/images/Quotes_ro.gif b/theme/images/Quotes_ro.gif new file mode 100644 index 0000000..f15831c --- /dev/null +++ b/theme/images/Quotes_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Random.gif b/theme/images/Random.gif new file mode 100755 index 0000000..94cb4be --- /dev/null +++ b/theme/images/Random.gif | |||
Binary files differ | |||
diff --git a/theme/images/Random_ro.gif b/theme/images/Random_ro.gif new file mode 100755 index 0000000..4e62f24 --- /dev/null +++ b/theme/images/Random_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/Wiki.gif b/theme/images/Wiki.gif new file mode 100644 index 0000000..e4a0cc7 --- /dev/null +++ b/theme/images/Wiki.gif | |||
Binary files differ | |||
diff --git a/theme/images/Wiki_ro.gif b/theme/images/Wiki_ro.gif new file mode 100644 index 0000000..b8d9438 --- /dev/null +++ b/theme/images/Wiki_ro.gif | |||
Binary files differ | |||
diff --git a/theme/images/authors/Hatkirby.ico b/theme/images/authors/Hatkirby.ico new file mode 100755 index 0000000..fbc13bd --- /dev/null +++ b/theme/images/authors/Hatkirby.ico | |||
Binary files differ | |||
diff --git a/theme/images/authors/Starla.ico b/theme/images/authors/Starla.ico new file mode 100755 index 0000000..fbc13bd --- /dev/null +++ b/theme/images/authors/Starla.ico | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/4ofjuly.PNG b/theme/images/backgrounds/4ofjuly.PNG new file mode 100755 index 0000000..41c71ea --- /dev/null +++ b/theme/images/backgrounds/4ofjuly.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/ashWeds.PNG b/theme/images/backgrounds/ashWeds.PNG new file mode 100755 index 0000000..b1f9db4 --- /dev/null +++ b/theme/images/backgrounds/ashWeds.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/christmas.PNG b/theme/images/backgrounds/christmas.PNG new file mode 100755 index 0000000..7491fa6 --- /dev/null +++ b/theme/images/backgrounds/christmas.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/christmasEve.PNG b/theme/images/backgrounds/christmasEve.PNG new file mode 100755 index 0000000..7f10edb --- /dev/null +++ b/theme/images/backgrounds/christmasEve.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/columbus.PNG b/theme/images/backgrounds/columbus.PNG new file mode 100755 index 0000000..069f2fd --- /dev/null +++ b/theme/images/backgrounds/columbus.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/easter.PNG b/theme/images/backgrounds/easter.PNG new file mode 100755 index 0000000..8a40688 --- /dev/null +++ b/theme/images/backgrounds/easter.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/fathers.PNG b/theme/images/backgrounds/fathers.PNG new file mode 100755 index 0000000..f0ba36f --- /dev/null +++ b/theme/images/backgrounds/fathers.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/flagDay.PNG b/theme/images/backgrounds/flagDay.PNG new file mode 100755 index 0000000..6440e46 --- /dev/null +++ b/theme/images/backgrounds/flagDay.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/goodFriday.PNG b/theme/images/backgrounds/goodFriday.PNG new file mode 100755 index 0000000..3eb2c0c --- /dev/null +++ b/theme/images/backgrounds/goodFriday.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/groundhog.PNG b/theme/images/backgrounds/groundhog.PNG new file mode 100755 index 0000000..3e7229e --- /dev/null +++ b/theme/images/backgrounds/groundhog.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/halloween.PNG b/theme/images/backgrounds/halloween.PNG new file mode 100755 index 0000000..b9897c6 --- /dev/null +++ b/theme/images/backgrounds/halloween.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/hatkirbybday.PNG b/theme/images/backgrounds/hatkirbybday.PNG new file mode 100755 index 0000000..f82354e --- /dev/null +++ b/theme/images/backgrounds/hatkirbybday.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island.PNG b/theme/images/backgrounds/island.PNG new file mode 100755 index 0000000..440f8e2 --- /dev/null +++ b/theme/images/backgrounds/island.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island2.PNG b/theme/images/backgrounds/island2.PNG new file mode 100755 index 0000000..7127a0f --- /dev/null +++ b/theme/images/backgrounds/island2.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island3.PNG b/theme/images/backgrounds/island3.PNG new file mode 100755 index 0000000..bf74ab9 --- /dev/null +++ b/theme/images/backgrounds/island3.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island4.PNG b/theme/images/backgrounds/island4.PNG new file mode 100755 index 0000000..3b31e79 --- /dev/null +++ b/theme/images/backgrounds/island4.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island5.PNG b/theme/images/backgrounds/island5.PNG new file mode 100755 index 0000000..081a51c --- /dev/null +++ b/theme/images/backgrounds/island5.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island6.PNG b/theme/images/backgrounds/island6.PNG new file mode 100755 index 0000000..319eeeb --- /dev/null +++ b/theme/images/backgrounds/island6.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/island6night.PNG b/theme/images/backgrounds/island6night.PNG new file mode 100755 index 0000000..95e9558 --- /dev/null +++ b/theme/images/backgrounds/island6night.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/islandYearly.PNG b/theme/images/backgrounds/islandYearly.PNG new file mode 100755 index 0000000..4125be6 --- /dev/null +++ b/theme/images/backgrounds/islandYearly.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/kirbyweek.PNG b/theme/images/backgrounds/kirbyweek.PNG new file mode 100755 index 0000000..202c5e0 --- /dev/null +++ b/theme/images/backgrounds/kirbyweek.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/mardiGras.PNG b/theme/images/backgrounds/mardiGras.PNG new file mode 100755 index 0000000..131efd2 --- /dev/null +++ b/theme/images/backgrounds/mardiGras.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/martinLuther.PNG b/theme/images/backgrounds/martinLuther.PNG new file mode 100755 index 0000000..8313af8 --- /dev/null +++ b/theme/images/backgrounds/martinLuther.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/memorial.PNG b/theme/images/backgrounds/memorial.PNG new file mode 100755 index 0000000..cc5be0a --- /dev/null +++ b/theme/images/backgrounds/memorial.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/mothers.PNG b/theme/images/backgrounds/mothers.PNG new file mode 100755 index 0000000..3c7d69d --- /dev/null +++ b/theme/images/backgrounds/mothers.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/newYear.PNG b/theme/images/backgrounds/newYear.PNG new file mode 100755 index 0000000..9884051 --- /dev/null +++ b/theme/images/backgrounds/newYear.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/newYearsEve.PNG b/theme/images/backgrounds/newYearsEve.PNG new file mode 100755 index 0000000..81f9a5b --- /dev/null +++ b/theme/images/backgrounds/newYearsEve.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/valentines.PNG b/theme/images/backgrounds/valentines.PNG new file mode 100755 index 0000000..7d105a9 --- /dev/null +++ b/theme/images/backgrounds/valentines.PNG | |||
Binary files differ | |||
diff --git a/theme/images/backgrounds/veterans.PNG b/theme/images/backgrounds/veterans.PNG new file mode 100755 index 0000000..a0a5a03 --- /dev/null +++ b/theme/images/backgrounds/veterans.PNG | |||
Binary files differ | |||
diff --git a/theme/images/bg_body.gif b/theme/images/bg_body.gif new file mode 100755 index 0000000..80d75d5 --- /dev/null +++ b/theme/images/bg_body.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_body_short.gif b/theme/images/bg_body_short.gif new file mode 100644 index 0000000..b396204 --- /dev/null +++ b/theme/images/bg_body_short.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_footer.gif b/theme/images/bg_footer.gif new file mode 100755 index 0000000..ff3f511 --- /dev/null +++ b/theme/images/bg_footer.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_header.gif b/theme/images/bg_header.gif new file mode 100755 index 0000000..46c22e8 --- /dev/null +++ b/theme/images/bg_header.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_navbar.gif b/theme/images/bg_navbar.gif new file mode 100755 index 0000000..d96c6ea --- /dev/null +++ b/theme/images/bg_navbar.gif | |||
Binary files differ | |||
diff --git a/theme/images/bg_search.gif b/theme/images/bg_search.gif new file mode 100644 index 0000000..79e040e --- /dev/null +++ b/theme/images/bg_search.gif | |||
Binary files differ | |||
diff --git a/theme/images/blue.PNG b/theme/images/blue.PNG new file mode 100755 index 0000000..e274621 --- /dev/null +++ b/theme/images/blue.PNG | |||
Binary files differ | |||
diff --git a/theme/images/corners_bottom.gif b/theme/images/corners_bottom.gif new file mode 100755 index 0000000..bea794f --- /dev/null +++ b/theme/images/corners_bottom.gif | |||
Binary files differ | |||
diff --git a/theme/images/corners_left.png b/theme/images/corners_left.png new file mode 100755 index 0000000..256bde3 --- /dev/null +++ b/theme/images/corners_left.png | |||
Binary files differ | |||
diff --git a/theme/images/corners_right.png b/theme/images/corners_right.png new file mode 100755 index 0000000..df41823 --- /dev/null +++ b/theme/images/corners_right.png | |||
Binary files differ | |||
diff --git a/theme/images/date-bg-1.gif b/theme/images/date-bg-1.gif new file mode 100755 index 0000000..cb7a771 --- /dev/null +++ b/theme/images/date-bg-1.gif | |||
Binary files differ | |||
diff --git a/theme/images/date-bg-2.gif b/theme/images/date-bg-2.gif new file mode 100755 index 0000000..49efaef --- /dev/null +++ b/theme/images/date-bg-2.gif | |||
Binary files differ | |||
diff --git a/theme/images/date-bg-3.gif b/theme/images/date-bg-3.gif new file mode 100755 index 0000000..60a6888 --- /dev/null +++ b/theme/images/date-bg-3.gif | |||
Binary files differ | |||
diff --git a/theme/images/date-bg-4.gif b/theme/images/date-bg-4.gif new file mode 100755 index 0000000..685e5c1 --- /dev/null +++ b/theme/images/date-bg-4.gif | |||
Binary files differ | |||
diff --git a/theme/images/headers/ctnh.png b/theme/images/headers/ctnh.png new file mode 100644 index 0000000..b9542fc --- /dev/null +++ b/theme/images/headers/ctnh.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/fourm.png b/theme/images/headers/fourm.png new file mode 100644 index 0000000..e7bebde --- /dev/null +++ b/theme/images/headers/fourm.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/hatkirbybday.png b/theme/images/headers/hatkirbybday.png new file mode 100644 index 0000000..ba7bff0 --- /dev/null +++ b/theme/images/headers/hatkirbybday.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/islandYearly.png b/theme/images/headers/islandYearly.png new file mode 100644 index 0000000..099d963 --- /dev/null +++ b/theme/images/headers/islandYearly.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/kfm.png b/theme/images/headers/kfm.png new file mode 100644 index 0000000..cc568ec --- /dev/null +++ b/theme/images/headers/kfm.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/links.png b/theme/images/headers/links.png new file mode 100644 index 0000000..b24ded0 --- /dev/null +++ b/theme/images/headers/links.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/main.png b/theme/images/headers/main.png new file mode 100755 index 0000000..009d3ac --- /dev/null +++ b/theme/images/headers/main.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/main.xcf b/theme/images/headers/main.xcf new file mode 100755 index 0000000..fd37ee4 --- /dev/null +++ b/theme/images/headers/main.xcf | |||
Binary files differ | |||
diff --git a/theme/images/headers/memorial.png b/theme/images/headers/memorial.png new file mode 100644 index 0000000..b68b97d --- /dev/null +++ b/theme/images/headers/memorial.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/mothers.png b/theme/images/headers/mothers.png new file mode 100644 index 0000000..e656d7d --- /dev/null +++ b/theme/images/headers/mothers.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/potw.png b/theme/images/headers/potw.png new file mode 100644 index 0000000..9ce3174 --- /dev/null +++ b/theme/images/headers/potw.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/projects.png b/theme/images/headers/projects.png new file mode 100644 index 0000000..d59f47a --- /dev/null +++ b/theme/images/headers/projects.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/projects.xcf b/theme/images/headers/projects.xcf new file mode 100644 index 0000000..f1950ad --- /dev/null +++ b/theme/images/headers/projects.xcf | |||
Binary files differ | |||
diff --git a/theme/images/headers/quotes.png b/theme/images/headers/quotes.png new file mode 100644 index 0000000..9fb966e --- /dev/null +++ b/theme/images/headers/quotes.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/random.png b/theme/images/headers/random.png new file mode 100644 index 0000000..e7db228 --- /dev/null +++ b/theme/images/headers/random.png | |||
Binary files differ | |||
diff --git a/theme/images/headers/short.png b/theme/images/headers/short.png new file mode 100644 index 0000000..4d4d267 --- /dev/null +++ b/theme/images/headers/short.png | |||
Binary files differ | |||
diff --git a/theme/images/home.png b/theme/images/home.png new file mode 100755 index 0000000..2615467 --- /dev/null +++ b/theme/images/home.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-clock.png b/theme/images/icons/16-clock.png new file mode 100644 index 0000000..b583ae4 --- /dev/null +++ b/theme/images/icons/16-clock.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-em-pencil.png b/theme/images/icons/16-em-pencil.png new file mode 100644 index 0000000..006974c --- /dev/null +++ b/theme/images/icons/16-em-pencil.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-file-archive.png b/theme/images/icons/16-file-archive.png new file mode 100644 index 0000000..737bb5b --- /dev/null +++ b/theme/images/icons/16-file-archive.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-file-page.png b/theme/images/icons/16-file-page.png new file mode 100644 index 0000000..2bae432 --- /dev/null +++ b/theme/images/icons/16-file-page.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-message-warn.png b/theme/images/icons/16-message-warn.png new file mode 100644 index 0000000..3d41fec --- /dev/null +++ b/theme/images/icons/16-message-warn.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/16-star-hot.png b/theme/images/icons/16-star-hot.png new file mode 100644 index 0000000..8a7d83c --- /dev/null +++ b/theme/images/icons/16-star-hot.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/book_open.png b/theme/images/icons/book_open.png new file mode 100755 index 0000000..7d863f9 --- /dev/null +++ b/theme/images/icons/book_open.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/bricks.png b/theme/images/icons/bricks.png new file mode 100755 index 0000000..0905f93 --- /dev/null +++ b/theme/images/icons/bricks.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/comment.png b/theme/images/icons/comment.png new file mode 100755 index 0000000..7bc9233 --- /dev/null +++ b/theme/images/icons/comment.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/comment_add.png b/theme/images/icons/comment_add.png new file mode 100755 index 0000000..75e78de --- /dev/null +++ b/theme/images/icons/comment_add.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/comments.png b/theme/images/icons/comments.png new file mode 100755 index 0000000..39433cf --- /dev/null +++ b/theme/images/icons/comments.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/computer.png b/theme/images/icons/computer.png new file mode 100755 index 0000000..9bc37dc --- /dev/null +++ b/theme/images/icons/computer.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/controller.png b/theme/images/icons/controller.png new file mode 100755 index 0000000..5cf76ed --- /dev/null +++ b/theme/images/icons/controller.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/css_valid.png b/theme/images/icons/css_valid.png new file mode 100755 index 0000000..4c72ca5 --- /dev/null +++ b/theme/images/icons/css_valid.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/door_in.png b/theme/images/icons/door_in.png new file mode 100755 index 0000000..41676a0 --- /dev/null +++ b/theme/images/icons/door_in.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/door_out.png b/theme/images/icons/door_out.png new file mode 100755 index 0000000..2541d2b --- /dev/null +++ b/theme/images/icons/door_out.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/feed.png b/theme/images/icons/feed.png new file mode 100755 index 0000000..315c4f4 --- /dev/null +++ b/theme/images/icons/feed.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/fourm.png b/theme/images/icons/fourm.png new file mode 100755 index 0000000..b7675de --- /dev/null +++ b/theme/images/icons/fourm.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/house.png b/theme/images/icons/house.png new file mode 100755 index 0000000..fed6221 --- /dev/null +++ b/theme/images/icons/house.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/html_valid.png b/theme/images/icons/html_valid.png new file mode 100755 index 0000000..71cec92 --- /dev/null +++ b/theme/images/icons/html_valid.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/link_delete.png b/theme/images/icons/link_delete.png new file mode 100755 index 0000000..f66e297 --- /dev/null +++ b/theme/images/icons/link_delete.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/link_edit.png b/theme/images/icons/link_edit.png new file mode 100755 index 0000000..5b3aed0 --- /dev/null +++ b/theme/images/icons/link_edit.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/medal_gold_1.png b/theme/images/icons/medal_gold_1.png new file mode 100755 index 0000000..87584dc --- /dev/null +++ b/theme/images/icons/medal_gold_1.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/new.png b/theme/images/icons/new.png new file mode 100755 index 0000000..6a9bf03 --- /dev/null +++ b/theme/images/icons/new.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/newspaper.png b/theme/images/icons/newspaper.png new file mode 100755 index 0000000..6a2ecce --- /dev/null +++ b/theme/images/icons/newspaper.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/note.png b/theme/images/icons/note.png new file mode 100755 index 0000000..244e6ca --- /dev/null +++ b/theme/images/icons/note.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/note_delete.png b/theme/images/icons/note_delete.png new file mode 100755 index 0000000..8a1f0ff --- /dev/null +++ b/theme/images/icons/note_delete.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/note_edit.png b/theme/images/icons/note_edit.png new file mode 100755 index 0000000..291bfc7 --- /dev/null +++ b/theme/images/icons/note_edit.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/note_go.png b/theme/images/icons/note_go.png new file mode 100755 index 0000000..49e54fd --- /dev/null +++ b/theme/images/icons/note_go.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/overlays.png b/theme/images/icons/overlays.png new file mode 100755 index 0000000..ab3100b --- /dev/null +++ b/theme/images/icons/overlays.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/page_attach.png b/theme/images/icons/page_attach.png new file mode 100755 index 0000000..89ee2da --- /dev/null +++ b/theme/images/icons/page_attach.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/page_delete.png b/theme/images/icons/page_delete.png new file mode 100755 index 0000000..3141467 --- /dev/null +++ b/theme/images/icons/page_delete.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/page_edit.png b/theme/images/icons/page_edit.png new file mode 100755 index 0000000..046811e --- /dev/null +++ b/theme/images/icons/page_edit.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/page_go.png b/theme/images/icons/page_go.png new file mode 100755 index 0000000..80fe1ed --- /dev/null +++ b/theme/images/icons/page_go.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/rainbow.png b/theme/images/icons/rainbow.png new file mode 100755 index 0000000..5ede989 --- /dev/null +++ b/theme/images/icons/rainbow.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/report.png b/theme/images/icons/report.png new file mode 100755 index 0000000..779ad58 --- /dev/null +++ b/theme/images/icons/report.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/script.png b/theme/images/icons/script.png new file mode 100755 index 0000000..0f9ed4d --- /dev/null +++ b/theme/images/icons/script.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag.png b/theme/images/icons/tag.png new file mode 100755 index 0000000..e093032 --- /dev/null +++ b/theme/images/icons/tag.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_blue.png b/theme/images/icons/tag_blue.png new file mode 100755 index 0000000..9757fc6 --- /dev/null +++ b/theme/images/icons/tag_blue.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_blue_add.png b/theme/images/icons/tag_blue_add.png new file mode 100755 index 0000000..f135248 --- /dev/null +++ b/theme/images/icons/tag_blue_add.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_blue_delete.png b/theme/images/icons/tag_blue_delete.png new file mode 100755 index 0000000..9fbae67 --- /dev/null +++ b/theme/images/icons/tag_blue_delete.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_blue_edit.png b/theme/images/icons/tag_blue_edit.png new file mode 100755 index 0000000..2a9f626 --- /dev/null +++ b/theme/images/icons/tag_blue_edit.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_green.png b/theme/images/icons/tag_green.png new file mode 100755 index 0000000..83ec984 --- /dev/null +++ b/theme/images/icons/tag_green.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_orange.png b/theme/images/icons/tag_orange.png new file mode 100755 index 0000000..454a59f --- /dev/null +++ b/theme/images/icons/tag_orange.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_pink.png b/theme/images/icons/tag_pink.png new file mode 100755 index 0000000..76e2296 --- /dev/null +++ b/theme/images/icons/tag_pink.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_purple.png b/theme/images/icons/tag_purple.png new file mode 100755 index 0000000..ebaf0e8 --- /dev/null +++ b/theme/images/icons/tag_purple.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_red.png b/theme/images/icons/tag_red.png new file mode 100755 index 0000000..6ebb37d --- /dev/null +++ b/theme/images/icons/tag_red.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tag_yellow.png b/theme/images/icons/tag_yellow.png new file mode 100755 index 0000000..83d1292 --- /dev/null +++ b/theme/images/icons/tag_yellow.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/thumb_down.png b/theme/images/icons/thumb_down.png new file mode 100644 index 0000000..3c832d4 --- /dev/null +++ b/theme/images/icons/thumb_down.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/thumb_up.png b/theme/images/icons/thumb_up.png new file mode 100644 index 0000000..2bd16cc --- /dev/null +++ b/theme/images/icons/thumb_up.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/tux.png b/theme/images/icons/tux.png new file mode 100755 index 0000000..bbefe2e --- /dev/null +++ b/theme/images/icons/tux.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/user_edit.png b/theme/images/icons/user_edit.png new file mode 100755 index 0000000..c1974cd --- /dev/null +++ b/theme/images/icons/user_edit.png | |||
Binary files differ | |||
diff --git a/theme/images/icons/vcard.png b/theme/images/icons/vcard.png new file mode 100755 index 0000000..c02f315 --- /dev/null +++ b/theme/images/icons/vcard.png | |||
Binary files differ | |||
diff --git a/theme/images/loadingAnimation.gif b/theme/images/loadingAnimation.gif new file mode 100755 index 0000000..82290f4 --- /dev/null +++ b/theme/images/loadingAnimation.gif | |||
Binary files differ | |||
diff --git a/theme/images/misc.png b/theme/images/misc.png new file mode 100755 index 0000000..fc226e6 --- /dev/null +++ b/theme/images/misc.png | |||
Binary files differ | |||
diff --git a/theme/images/no-ie6.png b/theme/images/no-ie6.png new file mode 100644 index 0000000..fef317c --- /dev/null +++ b/theme/images/no-ie6.png | |||
Binary files differ | |||
diff --git a/theme/images/projects.png b/theme/images/projects.png new file mode 100755 index 0000000..1821e93 --- /dev/null +++ b/theme/images/projects.png | |||
Binary files differ | |||
diff --git a/theme/images/sides_top.gif b/theme/images/sides_top.gif new file mode 100755 index 0000000..a84383a --- /dev/null +++ b/theme/images/sides_top.gif | |||
Binary files differ | |||
diff --git a/theme/images/tabBG.png b/theme/images/tabBG.png new file mode 100755 index 0000000..6c04d14 --- /dev/null +++ b/theme/images/tabBG.png | |||
Binary files differ | |||
diff --git a/theme/images/tabBG2.png b/theme/images/tabBG2.png new file mode 100755 index 0000000..15821a9 --- /dev/null +++ b/theme/images/tabBG2.png | |||
Binary files differ | |||
diff --git a/theme/images/tabSe.png b/theme/images/tabSe.png new file mode 100644 index 0000000..e3955fe --- /dev/null +++ b/theme/images/tabSe.png | |||
Binary files differ | |||
diff --git a/theme/images/tabUn.png b/theme/images/tabUn.png new file mode 100644 index 0000000..7ba116d --- /dev/null +++ b/theme/images/tabUn.png | |||
Binary files differ | |||
diff --git a/theme/images/tip-pimped.gif b/theme/images/tip-pimped.gif new file mode 100644 index 0000000..f3f604e --- /dev/null +++ b/theme/images/tip-pimped.gif | |||
Binary files differ | |||
diff --git a/theme/images/tip-rounded.gif b/theme/images/tip-rounded.gif new file mode 100644 index 0000000..d0308a6 --- /dev/null +++ b/theme/images/tip-rounded.gif | |||
Binary files differ | |||
diff --git a/theme/images/tip.gif b/theme/images/tip.gif new file mode 100644 index 0000000..4713f05 --- /dev/null +++ b/theme/images/tip.gif | |||
Binary files differ | |||
diff --git a/theme/images/webs.png b/theme/images/webs.png new file mode 100755 index 0000000..5506afd --- /dev/null +++ b/theme/images/webs.png | |||
Binary files differ | |||
diff --git a/theme/images/youdropifollow.jpg b/theme/images/youdropifollow.jpg new file mode 100644 index 0000000..c811576 --- /dev/null +++ b/theme/images/youdropifollow.jpg | |||
Binary files differ | |||
diff --git a/theme/js/jquery-1.2.6.min.js b/theme/js/jquery-1.2.6.min.js new file mode 100644 index 0000000..1acc8fd --- /dev/null +++ b/theme/js/jquery-1.2.6.min.js | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * jQuery 1.2.6 - New Wave Javascript | ||
3 | * | ||
4 | * Copyright (c) 2008 John Resig (jquery.com) | ||
5 | * Dual licensed under the MIT (MIT-LICENSE.txt) | ||
6 | * and GPL (GPL-LICENSE.txt) licenses. | ||
7 | * | ||
8 | * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ | ||
9 | * $Rev: 5685 $ | ||
10 | */ | ||
11 | (function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else | ||
12 | return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else | ||
13 | return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else | ||
14 | selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one)return value;values.push(value);}}return values;}else | ||
15 | return(this[0].value||"").replace(/\r/g,"");}return undefined;}if(value.constructor==Number)value+='';return this.each(function(){if(this.nodeType!=1)return;if(value.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)this.selectedIndex=-1;}else | ||
16 | this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else | ||
17 | return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))scripts=scripts.add(elem);else{if(elem.nodeType==1)scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else | ||
18 | jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i<length;i++)if((options=arguments[i])!=null)for(var name in options){var src=target[name],copy=options[name];if(target===copy)continue;if(deep&©&&typeof copy=="object"&&!copy.nodeType)target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)target[name]=copy;}return target;};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)window.jQuery=_jQuery;return jQuery;},isFunction:function(fn){return!!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"");},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body;},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie)script.text=data;else | ||
19 | script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])jQuery.cache[id]={};if(data!==undefined)jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])break;if(!name)jQuery.removeData(elem);}}else{try{delete elem[expando];}catch(e){if(elem.removeAttribute)elem.removeAttribute(expando);}delete jQuery.cache[id];}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object)if(callback.apply(object[name],args)===false)break;}else | ||
20 | for(;i<length;)if(callback.apply(object[i++],args)===false)break;}else{if(length==undefined){for(name in object)if(callback.call(object[name],name,object[name])===false)break;}else | ||
21 | for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))value=value.call(elem,i);return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))elem.className+=(elem.className?" ":"")+className;});},remove:function(elem,classNames){if(elem.nodeType==1)elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className);}).join(" "):"";},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(var name in options)elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}if(jQuery(elem).is(":visible"))getWH();else | ||
22 | jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)stack.unshift(a);for(;i<stack.length;i++)if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block";}ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++)if(swap[i]!=null)stack[i].style.display=swap[i];}if(name=="opacity"&&ret=="")ret="1";}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase();});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft;}}return ret;},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=='undefined')context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;jQuery.each(elems,function(i,elem){if(!elem)return;if(elem.constructor==Number)elem+='';if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}elem=jQuery.makeArray(div.childNodes);}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else | ||
23 | ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&¬xml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value;}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;return elem[name];}if(msie&¬xml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&¬xml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else | ||
24 | while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)if(array[i]===elem)return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++])if(elem.nodeType!=8)first[pos++]=elem;}else | ||
25 | while(elem=second[i++])first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)if(!inv!=!callback(elems[i],i))ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)ret[ret.length]=value;}return ret.concat.apply([],ret);}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode;},parents:function(elem){return jQuery.dir(elem,"parentNode");},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret));};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++)jQuery(args[i])[original](this);});};});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)this.removeAttribute(name);},addClass:function(classNames){jQuery.className.add(this,classNames);},removeClass:function(classNames){jQuery.className.remove(this,classNames);},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames);},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this);});if(this.parentNode)this.parentNode.removeChild(this);}},empty:function(){jQuery(">*",this).remove();while(this.firstChild)this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return i<m[3]-0;},gt:function(a,i,m){return i>m[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling)if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id])break;if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~")merge[id]=true;r.push(n);}if(m=="+")break;}}ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true;}}if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0])ret.shift();done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length);}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]];}else{re2=quickClass;m=re2.exec(t);}m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2])oid=jQuery('[@id="'+m[2]+'"]',elem)[0];ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[];}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object")tag="param";r=jQuery.merge(r,ret[i].getElementsByTagName(tag));}if(m[1]==".")r=jQuery.classFilter(r,m[2]);if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++)if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break;}r=tmp;}ret=r;}t=t.replace(re2,"");}}if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t);}}if(t)ret=[];if(ret&&context==ret[0])ret.shift();done=jQuery.merge(done,ret);return done;},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2]))z=jQuery.attr(a,m[2])||'';if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling)if(n.nodeType==1)n.nodeIndex=c++;merge[id]=true;}var add=false;if(first==0){if(node.nodeIndex==last)add=true;}else if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0)add=true;if(add^not)tmp.push(node);}r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n);}return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(jQuery.browser.msie&&elem.setInterval)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle);}}handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)delete events[type][handler.guid];else | ||
26 | for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}if(!elem){if(this.global[type])jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}data[0].type=type;if(exclusive)data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)val=false;if(event)data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)val=ret;}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}this.triggered=false;}return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}return val;},fix:function(event){if(event[expando]==true)return event;var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i<args.length)jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(fnOver,fnOut){return this.bind('mouseenter',fnOver).bind('mouseleave',fnOut);},ready:function(fn){bindReady();if(jQuery.isReady)fn.call(document,jQuery);else | ||
27 | jQuery.readyList.push(function(){return fn.call(this,jQuery);});return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document);});jQuery.readyList=null;}jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)document.addEventListener("DOMContentLoaded",jQuery.ready,false);if(jQuery.browser.msie&&window==top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}jQuery.ready();})();if(jQuery.browser.opera)document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady)return;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}jQuery.ready();},false);if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(numStyles===undefined)numStyles=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return;}jQuery.ready();})();}jQuery.event.add(window,"load",jQuery.ready);}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name);};});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem)try{parent=parent.parentNode;}catch(error){parent=elem;}return parent==elem;};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind();});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!='string')return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}if(head)head.removeChild(script);};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return undefined;}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else | ||
28 | xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else | ||
29 | jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else | ||
30 | for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else | ||
31 | s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else | ||
32 | e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1);}});if(!gotoEnd)this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)if(!timers[i]())timers.splice(i--,1);if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null;}},13);}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done)this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}results={top:top,left:left};}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})(); | ||
diff --git a/theme/js/jquery.ie6blocker.js b/theme/js/jquery.ie6blocker.js new file mode 100644 index 0000000..222f335 --- /dev/null +++ b/theme/js/jquery.ie6blocker.js | |||
@@ -0,0 +1,34 @@ | |||
1 | var IE6 = (navigator.userAgent.indexOf("MSIE 6")>=0) ? true : false; | ||
2 | if(IE6){ | ||
3 | |||
4 | $(function(){ | ||
5 | |||
6 | $("<div>") | ||
7 | .css({ | ||
8 | 'position': 'absolute', | ||
9 | 'top': '0px', | ||
10 | 'left': '0px', | ||
11 | backgroundColor: 'black', | ||
12 | 'opacity': '0.75', | ||
13 | 'width': '100%', | ||
14 | 'height': $(window).height(), | ||
15 | zIndex: 5000 | ||
16 | }) | ||
17 | .appendTo("body"); | ||
18 | |||
19 | $("<div><img src='/theme/images/no-ie6.png' alt='' style='float: left;'/><p><br /><strong>Sorry! This page doesn't support Internet Explorer 6.</strong><br /><br />If you'd like to read our content please <a href='http://getfirefox.org'>upgrade your browser</a> or <a href='/rss.php'>subscribe to our RSS feed</a>.</p>") | ||
20 | .css({ | ||
21 | backgroundColor: 'white', | ||
22 | 'top': '50%', | ||
23 | 'left': '50%', | ||
24 | marginLeft: -210, | ||
25 | marginTop: -100, | ||
26 | width: 410, | ||
27 | paddingRight: 10, | ||
28 | height: 200, | ||
29 | 'position': 'absolute', | ||
30 | zIndex: 6000 | ||
31 | }) | ||
32 | .appendTo("body"); | ||
33 | }); | ||
34 | } | ||
diff --git a/theme/js/message.js b/theme/js/message.js new file mode 100644 index 0000000..9de4bae --- /dev/null +++ b/theme/js/message.js | |||
@@ -0,0 +1,5 @@ | |||
1 | $(document).ready(function() { | ||
2 | $("div#stripe").click(function() { | ||
3 | $("div#stripe").slideUp(); | ||
4 | }); | ||
5 | }); | ||
diff --git a/theme/js/round_bubbles.js b/theme/js/round_bubbles.js new file mode 100644 index 0000000..8423b99 --- /dev/null +++ b/theme/js/round_bubbles.js | |||
@@ -0,0 +1,13 @@ | |||
1 | window.onload = function() { | ||
2 | settings = { | ||
3 | tl: { radius: 10 }, | ||
4 | tr: { radius: 10 }, | ||
5 | bl: { radius: 10 }, | ||
6 | br: { radius: 10 }, | ||
7 | antiAlias: true, | ||
8 | autoPad: true | ||
9 | } | ||
10 | var myBoxObject = new curvyCorners(settings, "rounded"); | ||
11 | myBoxObject.applyCornersToAll(); | ||
12 | } | ||
13 | |||
diff --git a/theme/js/rounded_corners.inc.js b/theme/js/rounded_corners.inc.js new file mode 100644 index 0000000..81af16d --- /dev/null +++ b/theme/js/rounded_corners.inc.js | |||
@@ -0,0 +1,279 @@ | |||
1 | |||
2 | /**************************************************************** | ||
3 | * * | ||
4 | * curvyCorners * | ||
5 | * ------------ * | ||
6 | * * | ||
7 | * This script generates rounded corners for your divs. * | ||
8 | * * | ||
9 | * Version 1.2.7 * | ||
10 | * Copyright (c) 2006 Cameron Cooke * | ||
11 | * By: Cameron Cooke and Tim Hutchison. * | ||
12 | * * | ||
13 | * * | ||
14 | * Website: http://www.curvycorners.net * | ||
15 | * Email: info@totalinfinity.com * | ||
16 | * Forum: http://www.curvycorners.net/forum/ * | ||
17 | * * | ||
18 | * * | ||
19 | * This library is free software; you can redistribute * | ||
20 | * it and/or modify it under the terms of the GNU * | ||
21 | * Lesser General Public License as published by the * | ||
22 | * Free Software Foundation; either version 2.1 of the * | ||
23 | * License, or (at your option) any later version. * | ||
24 | * * | ||
25 | * This library is distributed in the hope that it will * | ||
26 | * be useful, but WITHOUT ANY WARRANTY; without even the * | ||
27 | * implied warranty of MERCHANTABILITY or FITNESS FOR A * | ||
28 | * PARTICULAR PURPOSE. See the GNU Lesser General Public * | ||
29 | * License for more details. * | ||
30 | * * | ||
31 | * You should have received a copy of the GNU Lesser * | ||
32 | * General Public License along with this library; * | ||
33 | * Inc., 59 Temple Place, Suite 330, Boston, * | ||
34 | * MA 02111-1307 USA * | ||
35 | * * | ||
36 | ****************************************************************/ | ||
37 | |||
38 | var isIE = navigator.userAgent.toLowerCase().indexOf("msie") > -1; var isMoz = document.implementation && document.implementation.createDocument; var isSafari = ((navigator.userAgent.toLowerCase().indexOf('safari')!=-1)&&(navigator.userAgent.toLowerCase().indexOf('mac')!=-1))?true:false; function curvyCorners() | ||
39 | { if(typeof(arguments[0]) != "object") throw newCurvyError("First parameter of curvyCorners() must be an object."); if(typeof(arguments[1]) != "object" && typeof(arguments[1]) != "string") throw newCurvyError("Second parameter of curvyCorners() must be an object or a class name."); if(typeof(arguments[1]) == "string") | ||
40 | { var startIndex = 0; var boxCol = getElementsByClass(arguments[1]);} | ||
41 | else | ||
42 | { var startIndex = 1; var boxCol = arguments;} | ||
43 | var curvyCornersCol = new Array(); for(var i = startIndex, j = boxCol.length; i < j; i++) | ||
44 | { if(boxCol[i].tagName.toLowerCase() == "div") | ||
45 | { curvyCornersCol[curvyCornersCol.length] = new curvyObject(arguments[0], boxCol[i]);} | ||
46 | } | ||
47 | this.objects = curvyCornersCol; this.applyCornersToAll = function() | ||
48 | { for(var x = 0, k = this.objects.length; x < k; x++) | ||
49 | { this.objects[x].applyCorners();} | ||
50 | } | ||
51 | } | ||
52 | function curvyObject() | ||
53 | { this.box = arguments[1]; this.settings = arguments[0]; this.topContainer = null; this.bottomContainer = null; this.masterCorners = new Array(); this.contentDIV = null; var boxHeight = get_style(this.box, "height", "height"); var boxWidth = get_style(this.box, "width", "width"); var borderWidth = get_style(this.box, "borderTopWidth", "border-top-width"); var borderColour = get_style(this.box, "borderTopColor", "border-top-color"); var boxColour = get_style(this.box, "backgroundColor", "background-color"); var backgroundImage = get_style(this.box, "backgroundImage", "background-image"); var boxPosition = get_style(this.box, "position", "position"); var boxPadding = get_style(this.box, "paddingTop", "padding-top"); this.boxHeight = parseInt(((boxHeight != "" && boxHeight != "auto" && boxHeight.indexOf("%") == -1)? boxHeight.substring(0, boxHeight.indexOf("px")) : this.box.scrollHeight)); this.boxWidth = parseInt(((boxWidth != "" && boxWidth != "auto" && boxWidth.indexOf("%") == -1)? boxWidth.substring(0, boxWidth.indexOf("px")) : this.box.scrollWidth)); this.borderWidth = parseInt(((borderWidth != "" && borderWidth.indexOf("px") !== -1)? borderWidth.slice(0, borderWidth.indexOf("px")) : 0)); this.boxColour = format_colour(boxColour); this.boxPadding = parseInt(((boxPadding != "" && boxPadding.indexOf("px") !== -1)? boxPadding.slice(0, boxPadding.indexOf("px")) : 0)); this.borderColour = format_colour(borderColour); this.borderString = this.borderWidth + "px" + " solid " + this.borderColour; this.backgroundImage = ((backgroundImage != "none")? backgroundImage : ""); this.boxContent = this.box.innerHTML; if(boxPosition != "absolute") this.box.style.position = "relative"; this.box.style.padding = "0px"; if(isIE && boxWidth == "auto" && boxHeight == "auto") this.box.style.width = "100%"; if(this.settings.autoPad == true && this.boxPadding > 0) | ||
54 | this.box.innerHTML = ""; this.applyCorners = function() | ||
55 | { for(var t = 0; t < 2; t++) | ||
56 | { switch(t) | ||
57 | { case 0: | ||
58 | if(this.settings.tl || this.settings.tr) | ||
59 | { var newMainContainer = document.createElement("DIV"); newMainContainer.style.width = "100%"; newMainContainer.style.fontSize = "1px"; newMainContainer.style.overflow = "hidden"; newMainContainer.style.position = "absolute"; newMainContainer.style.paddingLeft = this.borderWidth + "px"; newMainContainer.style.paddingRight = this.borderWidth + "px"; var topMaxRadius = Math.max(this.settings.tl ? this.settings.tl.radius : 0, this.settings.tr ? this.settings.tr.radius : 0); newMainContainer.style.height = topMaxRadius + "px"; newMainContainer.style.top = 0 - topMaxRadius + "px"; newMainContainer.style.left = 0 - this.borderWidth + "px"; this.topContainer = this.box.appendChild(newMainContainer);} | ||
60 | break; case 1: | ||
61 | if(this.settings.bl || this.settings.br) | ||
62 | { var newMainContainer = document.createElement("DIV"); newMainContainer.style.width = "100%"; newMainContainer.style.fontSize = "1px"; newMainContainer.style.overflow = "hidden"; newMainContainer.style.position = "absolute"; newMainContainer.style.paddingLeft = this.borderWidth + "px"; newMainContainer.style.paddingRight = this.borderWidth + "px"; var botMaxRadius = Math.max(this.settings.bl ? this.settings.bl.radius : 0, this.settings.br ? this.settings.br.radius : 0); newMainContainer.style.height = botMaxRadius + "px"; newMainContainer.style.bottom = 0 - botMaxRadius + "px"; newMainContainer.style.left = 0 - this.borderWidth + "px"; this.bottomContainer = this.box.appendChild(newMainContainer);} | ||
63 | break;} | ||
64 | } | ||
65 | if(this.topContainer) this.box.style.borderTopWidth = "0px"; if(this.bottomContainer) this.box.style.borderBottomWidth = "0px"; var corners = ["tr", "tl", "br", "bl"]; for(var i in corners) | ||
66 | { var cc = corners[i]; if(!this.settings[cc]) | ||
67 | { if(((cc == "tr" || cc == "tl") && this.topContainer != null) || ((cc == "br" || cc == "bl") && this.bottomContainer != null)) | ||
68 | { var newCorner = document.createElement("DIV"); newCorner.style.position = "relative"; newCorner.style.fontSize = "1px"; newCorner.style.overflow = "hidden"; if(this.backgroundImage == "") | ||
69 | newCorner.style.backgroundColor = this.boxColour; else | ||
70 | newCorner.style.backgroundImage = this.backgroundImage; switch(cc) | ||
71 | { case "tl": | ||
72 | newCorner.style.height = topMaxRadius - this.borderWidth + "px"; newCorner.style.marginRight = this.settings.tr.radius - (this.borderWidth*2) + "px"; newCorner.style.borderLeft = this.borderString; newCorner.style.borderTop = this.borderString; newCorner.style.left = -this.borderWidth + "px"; break; case "tr": | ||
73 | newCorner.style.height = topMaxRadius - this.borderWidth + "px"; newCorner.style.marginLeft = this.settings.tl.radius - (this.borderWidth*2) + "px"; newCorner.style.borderRight = this.borderString; newCorner.style.borderTop = this.borderString; newCorner.style.backgroundPosition = "-" + (topMaxRadius + this.borderWidth) + "px 0px"; newCorner.style.left = this.borderWidth + "px"; break; case "bl": | ||
74 | newCorner.style.height = botMaxRadius - this.borderWidth + "px"; newCorner.style.marginRight = this.settings.br.radius - (this.borderWidth*2) + "px"; newCorner.style.borderLeft = this.borderString; newCorner.style.borderBottom = this.borderString; newCorner.style.left = -this.borderWidth + "px"; newCorner.style.backgroundPosition = "-" + (this.borderWidth) + "px -" + (this.boxHeight + (botMaxRadius + this.borderWidth)) + "px"; break; case "br": | ||
75 | newCorner.style.height = botMaxRadius - this.borderWidth + "px"; newCorner.style.marginLeft = this.settings.bl.radius - (this.borderWidth*2) + "px"; newCorner.style.borderRight = this.borderString; newCorner.style.borderBottom = this.borderString; newCorner.style.left = this.borderWidth + "px" | ||
76 | newCorner.style.backgroundPosition = "-" + (botMaxRadius + this.borderWidth) + "px -" + (this.boxHeight + (botMaxRadius + this.borderWidth)) + "px"; break;} | ||
77 | } | ||
78 | } | ||
79 | else | ||
80 | { if(this.masterCorners[this.settings[cc].radius]) | ||
81 | { var newCorner = this.masterCorners[this.settings[cc].radius].cloneNode(true);} | ||
82 | else | ||
83 | { var newCorner = document.createElement("DIV"); newCorner.style.height = this.settings[cc].radius + "px"; newCorner.style.width = this.settings[cc].radius + "px"; newCorner.style.position = "absolute"; newCorner.style.fontSize = "1px"; newCorner.style.overflow = "hidden"; var borderRadius = parseInt(this.settings[cc].radius - this.borderWidth); for(var intx = 0, j = this.settings[cc].radius; intx < j; intx++) | ||
84 | { if((intx +1) >= borderRadius) | ||
85 | var y1 = -1; else | ||
86 | var y1 = (Math.floor(Math.sqrt(Math.pow(borderRadius, 2) - Math.pow((intx+1), 2))) - 1); if(borderRadius != j) | ||
87 | { if((intx) >= borderRadius) | ||
88 | var y2 = -1; else | ||
89 | var y2 = Math.ceil(Math.sqrt(Math.pow(borderRadius,2) - Math.pow(intx, 2))); if((intx+1) >= j) | ||
90 | var y3 = -1; else | ||
91 | var y3 = (Math.floor(Math.sqrt(Math.pow(j ,2) - Math.pow((intx+1), 2))) - 1);} | ||
92 | if((intx) >= j) | ||
93 | var y4 = -1; else | ||
94 | var y4 = Math.ceil(Math.sqrt(Math.pow(j ,2) - Math.pow(intx, 2))); if(y1 > -1) this.drawPixel(intx, 0, this.boxColour, 100, (y1+1), newCorner, -1, this.settings[cc].radius); if(borderRadius != j) | ||
95 | { for(var inty = (y1 + 1); inty < y2; inty++) | ||
96 | { if(this.settings.antiAlias) | ||
97 | { if(this.backgroundImage != "") | ||
98 | { var borderFract = (pixelFraction(intx, inty, borderRadius) * 100); if(borderFract < 30) | ||
99 | { this.drawPixel(intx, inty, this.borderColour, 100, 1, newCorner, 0, this.settings[cc].radius);} | ||
100 | else | ||
101 | { this.drawPixel(intx, inty, this.borderColour, 100, 1, newCorner, -1, this.settings[cc].radius);} | ||
102 | } | ||
103 | else | ||
104 | { var pixelcolour = BlendColour(this.boxColour, this.borderColour, pixelFraction(intx, inty, borderRadius)); this.drawPixel(intx, inty, pixelcolour, 100, 1, newCorner, 0, this.settings[cc].radius, cc);} | ||
105 | } | ||
106 | } | ||
107 | if(this.settings.antiAlias) | ||
108 | { if(y3 >= y2) | ||
109 | { if (y2 == -1) y2 = 0; this.drawPixel(intx, y2, this.borderColour, 100, (y3 - y2 + 1), newCorner, 0, 0);} | ||
110 | } | ||
111 | else | ||
112 | { if(y3 >= y1) | ||
113 | { this.drawPixel(intx, (y1 + 1), this.borderColour, 100, (y3 - y1), newCorner, 0, 0);} | ||
114 | } | ||
115 | var outsideColour = this.borderColour;} | ||
116 | else | ||
117 | { var outsideColour = this.boxColour; var y3 = y1;} | ||
118 | if(this.settings.antiAlias) | ||
119 | { for(var inty = (y3 + 1); inty < y4; inty++) | ||
120 | { this.drawPixel(intx, inty, outsideColour, (pixelFraction(intx, inty , j) * 100), 1, newCorner, ((this.borderWidth > 0)? 0 : -1), this.settings[cc].radius);} | ||
121 | } | ||
122 | } | ||
123 | this.masterCorners[this.settings[cc].radius] = newCorner.cloneNode(true);} | ||
124 | if(cc != "br") | ||
125 | { for(var t = 0, k = newCorner.childNodes.length; t < k; t++) | ||
126 | { var pixelBar = newCorner.childNodes[t]; var pixelBarTop = parseInt(pixelBar.style.top.substring(0, pixelBar.style.top.indexOf("px"))); var pixelBarLeft = parseInt(pixelBar.style.left.substring(0, pixelBar.style.left.indexOf("px"))); var pixelBarHeight = parseInt(pixelBar.style.height.substring(0, pixelBar.style.height.indexOf("px"))); if(cc == "tl" || cc == "bl"){ pixelBar.style.left = this.settings[cc].radius -pixelBarLeft -1 + "px";} | ||
127 | if(cc == "tr" || cc == "tl"){ pixelBar.style.top = this.settings[cc].radius -pixelBarHeight -pixelBarTop + "px";} | ||
128 | switch(cc) | ||
129 | { case "tr": | ||
130 | pixelBar.style.backgroundPosition = "-" + Math.abs((this.boxWidth - this.settings[cc].radius + this.borderWidth) + pixelBarLeft) + "px -" + Math.abs(this.settings[cc].radius -pixelBarHeight -pixelBarTop - this.borderWidth) + "px"; break; case "tl": | ||
131 | pixelBar.style.backgroundPosition = "-" + Math.abs((this.settings[cc].radius -pixelBarLeft -1) - this.borderWidth) + "px -" + Math.abs(this.settings[cc].radius -pixelBarHeight -pixelBarTop - this.borderWidth) + "px"; break; case "bl": | ||
132 | pixelBar.style.backgroundPosition = "-" + Math.abs((this.settings[cc].radius -pixelBarLeft -1) - this.borderWidth) + "px -" + Math.abs((this.boxHeight + this.settings[cc].radius + pixelBarTop) -this.borderWidth) + "px"; break;} | ||
133 | } | ||
134 | } | ||
135 | } | ||
136 | if(newCorner) | ||
137 | { switch(cc) | ||
138 | { case "tl": | ||
139 | if(newCorner.style.position == "absolute") newCorner.style.top = "0px"; if(newCorner.style.position == "absolute") newCorner.style.left = "0px"; if(this.topContainer) this.topContainer.appendChild(newCorner); break; case "tr": | ||
140 | if(newCorner.style.position == "absolute") newCorner.style.top = "0px"; if(newCorner.style.position == "absolute") newCorner.style.right = "0px"; if(this.topContainer) this.topContainer.appendChild(newCorner); break; case "bl": | ||
141 | if(newCorner.style.position == "absolute") newCorner.style.bottom = "0px"; if(newCorner.style.position == "absolute") newCorner.style.left = "0px"; if(this.bottomContainer) this.bottomContainer.appendChild(newCorner); break; case "br": | ||
142 | if(newCorner.style.position == "absolute") newCorner.style.bottom = "0px"; if(newCorner.style.position == "absolute") newCorner.style.right = "0px"; if(this.bottomContainer) this.bottomContainer.appendChild(newCorner); break;} | ||
143 | } | ||
144 | } | ||
145 | var radiusDiff = new Array(); radiusDiff["t"] = Math.abs(this.settings.tl.radius - this.settings.tr.radius) | ||
146 | radiusDiff["b"] = Math.abs(this.settings.bl.radius - this.settings.br.radius); for(z in radiusDiff) | ||
147 | { if(radiusDiff[z]) | ||
148 | { var smallerCornerType = ((this.settings[z + "l"].radius < this.settings[z + "r"].radius)? z +"l" : z +"r"); var newFiller = document.createElement("DIV"); newFiller.style.height = radiusDiff[z] + "px"; newFiller.style.width = this.settings[smallerCornerType].radius+ "px" | ||
149 | newFiller.style.position = "absolute"; newFiller.style.fontSize = "1px"; newFiller.style.overflow = "hidden"; newFiller.style.backgroundColor = this.boxColour; switch(smallerCornerType) | ||
150 | { case "tl": | ||
151 | newFiller.style.bottom = "0px"; newFiller.style.left = "0px"; newFiller.style.borderLeft = this.borderString; this.topContainer.appendChild(newFiller); break; case "tr": | ||
152 | newFiller.style.bottom = "0px"; newFiller.style.right = "0px"; newFiller.style.borderRight = this.borderString; this.topContainer.appendChild(newFiller); break; case "bl": | ||
153 | newFiller.style.top = "0px"; newFiller.style.left = "0px"; newFiller.style.borderLeft = this.borderString; this.bottomContainer.appendChild(newFiller); break; case "br": | ||
154 | newFiller.style.top = "0px"; newFiller.style.right = "0px"; newFiller.style.borderRight = this.borderString; this.bottomContainer.appendChild(newFiller); break;} | ||
155 | } | ||
156 | var newFillerBar = document.createElement("DIV"); newFillerBar.style.position = "relative"; newFillerBar.style.fontSize = "1px"; newFillerBar.style.overflow = "hidden"; newFillerBar.style.backgroundColor = this.boxColour; newFillerBar.style.backgroundImage = this.backgroundImage; switch(z) | ||
157 | { case "t": | ||
158 | if(this.topContainer) | ||
159 | { if(this.settings.tl.radius && this.settings.tr.radius) | ||
160 | { newFillerBar.style.height = topMaxRadius - this.borderWidth + "px"; newFillerBar.style.marginLeft = this.settings.tl.radius - this.borderWidth + "px"; newFillerBar.style.marginRight = this.settings.tr.radius - this.borderWidth + "px"; newFillerBar.style.borderTop = this.borderString; if(this.backgroundImage != "") | ||
161 | newFillerBar.style.backgroundPosition = "-" + (topMaxRadius + this.borderWidth) + "px 0px"; this.topContainer.appendChild(newFillerBar);} | ||
162 | this.box.style.backgroundPosition = "0px -" + (topMaxRadius - this.borderWidth) + "px";} | ||
163 | break; case "b": | ||
164 | if(this.bottomContainer) | ||
165 | { if(this.settings.bl.radius && this.settings.br.radius) | ||
166 | { newFillerBar.style.height = botMaxRadius - this.borderWidth + "px"; newFillerBar.style.marginLeft = this.settings.bl.radius - this.borderWidth + "px"; newFillerBar.style.marginRight = this.settings.br.radius - this.borderWidth + "px"; newFillerBar.style.borderBottom = this.borderString; if(this.backgroundImage != "") | ||
167 | newFillerBar.style.backgroundPosition = "-" + (botMaxRadius + this.borderWidth) + "px -" + (this.boxHeight + (topMaxRadius + this.borderWidth)) + "px"; this.bottomContainer.appendChild(newFillerBar);} | ||
168 | } | ||
169 | break;} | ||
170 | } | ||
171 | if(this.settings.autoPad == true && this.boxPadding > 0) | ||
172 | { var contentContainer = document.createElement("DIV"); contentContainer.style.position = "relative"; contentContainer.innerHTML = this.boxContent; contentContainer.className = "autoPadDiv"; var topPadding = Math.abs(topMaxRadius - this.boxPadding); var botPadding = Math.abs(botMaxRadius - this.boxPadding); if(topMaxRadius < this.boxPadding) | ||
173 | contentContainer.style.paddingTop = topPadding + "px"; if(botMaxRadius < this.boxPadding) | ||
174 | contentContainer.style.paddingBottom = botMaxRadius + "px"; contentContainer.style.paddingLeft = this.boxPadding + "px"; contentContainer.style.paddingRight = this.boxPadding + "px"; this.contentDIV = this.box.appendChild(contentContainer);} | ||
175 | } | ||
176 | this.drawPixel = function(intx, inty, colour, transAmount, height, newCorner, image, cornerRadius) | ||
177 | { var pixel = document.createElement("DIV"); pixel.style.height = height + "px"; pixel.style.width = "1px"; pixel.style.position = "absolute"; pixel.style.fontSize = "1px"; pixel.style.overflow = "hidden"; var topMaxRadius = Math.max(this.settings["tr"].radius, this.settings["tl"].radius); if(image == -1 && this.backgroundImage != "") | ||
178 | { pixel.style.backgroundImage = this.backgroundImage; pixel.style.backgroundPosition = "-" + (this.boxWidth - (cornerRadius - intx) + this.borderWidth) + "px -" + ((this.boxHeight + topMaxRadius + inty) -this.borderWidth) + "px";} | ||
179 | else | ||
180 | { pixel.style.backgroundColor = colour;} | ||
181 | if (transAmount != 100) | ||
182 | setOpacity(pixel, transAmount); pixel.style.top = inty + "px"; pixel.style.left = intx + "px"; newCorner.appendChild(pixel);} | ||
183 | } | ||
184 | function insertAfter(parent, node, referenceNode) | ||
185 | { parent.insertBefore(node, referenceNode.nextSibling);} | ||
186 | function BlendColour(Col1, Col2, Col1Fraction) | ||
187 | { var red1 = parseInt(Col1.substr(1,2),16); var green1 = parseInt(Col1.substr(3,2),16); var blue1 = parseInt(Col1.substr(5,2),16); var red2 = parseInt(Col2.substr(1,2),16); var green2 = parseInt(Col2.substr(3,2),16); var blue2 = parseInt(Col2.substr(5,2),16); if(Col1Fraction > 1 || Col1Fraction < 0) Col1Fraction = 1; var endRed = Math.round((red1 * Col1Fraction) + (red2 * (1 - Col1Fraction))); if(endRed > 255) endRed = 255; if(endRed < 0) endRed = 0; var endGreen = Math.round((green1 * Col1Fraction) + (green2 * (1 - Col1Fraction))); if(endGreen > 255) endGreen = 255; if(endGreen < 0) endGreen = 0; var endBlue = Math.round((blue1 * Col1Fraction) + (blue2 * (1 - Col1Fraction))); if(endBlue > 255) endBlue = 255; if(endBlue < 0) endBlue = 0; return "#" + IntToHex(endRed)+ IntToHex(endGreen)+ IntToHex(endBlue);} | ||
188 | function IntToHex(strNum) | ||
189 | { base = strNum / 16; rem = strNum % 16; base = base - (rem / 16); baseS = MakeHex(base); remS = MakeHex(rem); return baseS + '' + remS;} | ||
190 | function MakeHex(x) | ||
191 | { if((x >= 0) && (x <= 9)) | ||
192 | { return x;} | ||
193 | else | ||
194 | { switch(x) | ||
195 | { case 10: return "A"; case 11: return "B"; case 12: return "C"; case 13: return "D"; case 14: return "E"; case 15: return "F";} | ||
196 | } | ||
197 | } | ||
198 | function pixelFraction(x, y, r) | ||
199 | { var pixelfraction = 0; var xvalues = new Array(1); var yvalues = new Array(1); var point = 0; var whatsides = ""; var intersect = Math.sqrt((Math.pow(r,2) - Math.pow(x,2))); if ((intersect >= y) && (intersect < (y+1))) | ||
200 | { whatsides = "Left"; xvalues[point] = 0; yvalues[point] = intersect - y; point = point + 1;} | ||
201 | var intersect = Math.sqrt((Math.pow(r,2) - Math.pow(y+1,2))); if ((intersect >= x) && (intersect < (x+1))) | ||
202 | { whatsides = whatsides + "Top"; xvalues[point] = intersect - x; yvalues[point] = 1; point = point + 1;} | ||
203 | var intersect = Math.sqrt((Math.pow(r,2) - Math.pow(x+1,2))); if ((intersect >= y) && (intersect < (y+1))) | ||
204 | { whatsides = whatsides + "Right"; xvalues[point] = 1; yvalues[point] = intersect - y; point = point + 1;} | ||
205 | var intersect = Math.sqrt((Math.pow(r,2) - Math.pow(y,2))); if ((intersect >= x) && (intersect < (x+1))) | ||
206 | { whatsides = whatsides + "Bottom"; xvalues[point] = intersect - x; yvalues[point] = 0;} | ||
207 | switch (whatsides) | ||
208 | { case "LeftRight": | ||
209 | pixelfraction = Math.min(yvalues[0],yvalues[1]) + ((Math.max(yvalues[0],yvalues[1]) - Math.min(yvalues[0],yvalues[1]))/2); break; case "TopRight": | ||
210 | pixelfraction = 1-(((1-xvalues[0])*(1-yvalues[1]))/2); break; case "TopBottom": | ||
211 | pixelfraction = Math.min(xvalues[0],xvalues[1]) + ((Math.max(xvalues[0],xvalues[1]) - Math.min(xvalues[0],xvalues[1]))/2); break; case "LeftBottom": | ||
212 | pixelfraction = (yvalues[0]*xvalues[1])/2; break; default: | ||
213 | pixelfraction = 1;} | ||
214 | return pixelfraction;} | ||
215 | function rgb2Hex(rgbColour) | ||
216 | { try{ var rgbArray = rgb2Array(rgbColour); var red = parseInt(rgbArray[0]); var green = parseInt(rgbArray[1]); var blue = parseInt(rgbArray[2]); var hexColour = "#" + IntToHex(red) + IntToHex(green) + IntToHex(blue);} | ||
217 | catch(e){ alert("There was an error converting the RGB value to Hexadecimal in function rgb2Hex");} | ||
218 | return hexColour;} | ||
219 | function rgb2Array(rgbColour) | ||
220 | { var rgbValues = rgbColour.substring(4, rgbColour.indexOf(")")); var rgbArray = rgbValues.split(", "); return rgbArray;} | ||
221 | function setOpacity(obj, opacity) | ||
222 | { opacity = (opacity == 100)?99.999:opacity; if(isSafari && obj.tagName != "IFRAME") | ||
223 | { var rgbArray = rgb2Array(obj.style.backgroundColor); var red = parseInt(rgbArray[0]); var green = parseInt(rgbArray[1]); var blue = parseInt(rgbArray[2]); obj.style.backgroundColor = "rgba(" + red + ", " + green + ", " + blue + ", " + opacity/100 + ")";} | ||
224 | else if(typeof(obj.style.opacity) != "undefined") | ||
225 | { obj.style.opacity = opacity/100;} | ||
226 | else if(typeof(obj.style.MozOpacity) != "undefined") | ||
227 | { obj.style.MozOpacity = opacity/100;} | ||
228 | else if(typeof(obj.style.filter) != "undefined") | ||
229 | { obj.style.filter = "alpha(opacity:" + opacity + ")";} | ||
230 | else if(typeof(obj.style.KHTMLOpacity) != "undefined") | ||
231 | { obj.style.KHTMLOpacity = opacity/100;} | ||
232 | } | ||
233 | function inArray(array, value) | ||
234 | { for(var i = 0; i < array.length; i++){ if (array[i] === value) return i;} | ||
235 | return false;} | ||
236 | function inArrayKey(array, value) | ||
237 | { for(key in array){ if(key === value) return true;} | ||
238 | return false;} | ||
239 | function addEvent(elm, evType, fn, useCapture) { if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true;} | ||
240 | else if (elm.attachEvent) { var r = elm.attachEvent('on' + evType, fn); return r;} | ||
241 | else { elm['on' + evType] = fn;} | ||
242 | } | ||
243 | function removeEvent(obj, evType, fn, useCapture){ if (obj.removeEventListener){ obj.removeEventListener(evType, fn, useCapture); return true;} else if (obj.detachEvent){ var r = obj.detachEvent("on"+evType, fn); return r;} else { alert("Handler could not be removed");} | ||
244 | } | ||
245 | function format_colour(colour) | ||
246 | { var returnColour = "#ffffff"; if(colour != "" && colour != "transparent") | ||
247 | { if(colour.substr(0, 3) == "rgb") | ||
248 | { returnColour = rgb2Hex(colour);} | ||
249 | else if(colour.length == 4) | ||
250 | { returnColour = "#" + colour.substring(1, 2) + colour.substring(1, 2) + colour.substring(2, 3) + colour.substring(2, 3) + colour.substring(3, 4) + colour.substring(3, 4);} | ||
251 | else | ||
252 | { returnColour = colour;} | ||
253 | } | ||
254 | return returnColour;} | ||
255 | function get_style(obj, property, propertyNS) | ||
256 | { try | ||
257 | { if(obj.currentStyle) | ||
258 | { var returnVal = eval("obj.currentStyle." + property);} | ||
259 | else | ||
260 | { if(isSafari && obj.style.display == "none") | ||
261 | { obj.style.display = ""; var wasHidden = true;} | ||
262 | var returnVal = document.defaultView.getComputedStyle(obj, '').getPropertyValue(propertyNS); if(isSafari && wasHidden) | ||
263 | { obj.style.display = "none";} | ||
264 | } | ||
265 | } | ||
266 | catch(e) | ||
267 | { } | ||
268 | return returnVal;} | ||
269 | function getElementsByClass(searchClass, node, tag) | ||
270 | { var classElements = new Array(); if(node == null) | ||
271 | node = document; if(tag == null) | ||
272 | tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp("(^|\s)"+searchClass+"(\s|$)"); for (i = 0, j = 0; i < elsLen; i++) | ||
273 | { if(pattern.test(els[i].className)) | ||
274 | { classElements[j] = els[i]; j++;} | ||
275 | } | ||
276 | return classElements;} | ||
277 | function newCurvyError(errorMessage) | ||
278 | { return new Error("curvyCorners Error:\n" + errorMessage) | ||
279 | } | ||
diff --git a/theme/js/thickbox.js b/theme/js/thickbox.js new file mode 100755 index 0000000..2ac1a21 --- /dev/null +++ b/theme/js/thickbox.js | |||
@@ -0,0 +1,328 @@ | |||
1 | /* | ||
2 | * Thickbox 3.1 - One Box To Rule Them All. | ||
3 | * By Cody Lindley (http://www.codylindley.com) | ||
4 | * Copyright (c) 2007 cody lindley | ||
5 | * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php | ||
6 | */ | ||
7 | |||
8 | var tb_pathToImage = "/theme/images/loadingAnimation.gif"; | ||
9 | |||
10 | /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ | ||
11 | |||
12 | //on page load call tb_init | ||
13 | $(document).ready(function(){ | ||
14 | tb_startup(); | ||
15 | }); | ||
16 | |||
17 | function tb_startup() { | ||
18 | tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox | ||
19 | imgLoader = new Image();// preload image | ||
20 | imgLoader.src = tb_pathToImage; | ||
21 | } | ||
22 | |||
23 | function tb_splash() { | ||
24 | tb_startup(); | ||
25 | tb_show("Welcome to Four Island!", "theme/welcome.tpl?no=", false); | ||
26 | } | ||
27 | |||
28 | //add thickbox to href & area elements that have a class of .thickbox | ||
29 | function tb_init(domChunk){ | ||
30 | $(domChunk).click(function(){ | ||
31 | var t = this.title || this.name || null; | ||
32 | var a = this.href || this.alt; | ||
33 | var g = this.rel || false; | ||
34 | tb_show(t,a,g); | ||
35 | this.blur(); | ||
36 | return false; | ||
37 | }); | ||
38 | } | ||
39 | |||
40 | function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link | ||
41 | |||
42 | try { | ||
43 | /* if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 | ||
44 | $("body","html").css({height: "100%", width: "100%"}); | ||
45 | $("html").css("overflow","hidden"); | ||
46 | if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 | ||
47 | $("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); | ||
48 | $("#TB_overlay").click(tb_remove); | ||
49 | } | ||
50 | }else*/{//all others | ||
51 | if(document.getElementById("TB_overlay") === null){ | ||
52 | $("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>"); | ||
53 | $("#TB_overlay").click(tb_remove); | ||
54 | } | ||
55 | } | ||
56 | |||
57 | if(tb_detectMacXFF()){ | ||
58 | $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash | ||
59 | }else{ | ||
60 | $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity | ||
61 | } | ||
62 | |||
63 | if(caption===null){caption="";} | ||
64 | $("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page | ||
65 | $('#TB_load').show();//show loader | ||
66 | |||
67 | var baseURL; | ||
68 | if(url.indexOf("?")!==-1){ //ff there is a query string involved | ||
69 | baseURL = url.substr(0, url.indexOf("?")); | ||
70 | }else{ | ||
71 | baseURL = url; | ||
72 | } | ||
73 | |||
74 | var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; | ||
75 | var urlType = baseURL.toLowerCase().match(urlString); | ||
76 | |||
77 | if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images | ||
78 | |||
79 | TB_PrevCaption = ""; | ||
80 | TB_PrevURL = ""; | ||
81 | TB_PrevHTML = ""; | ||
82 | TB_NextCaption = ""; | ||
83 | TB_NextURL = ""; | ||
84 | TB_NextHTML = ""; | ||
85 | TB_imageCount = ""; | ||
86 | TB_FoundURL = false; | ||
87 | if(imageGroup){ | ||
88 | TB_TempArray = $("a[@rel="+imageGroup+"]").get(); | ||
89 | for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { | ||
90 | var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); | ||
91 | if (!(TB_TempArray[TB_Counter].href == url)) { | ||
92 | if (TB_FoundURL) { | ||
93 | TB_NextCaption = TB_TempArray[TB_Counter].title; | ||
94 | TB_NextURL = TB_TempArray[TB_Counter].href; | ||
95 | TB_NextHTML = "<span id='TB_next'> <a href='#'>Next ></a></span>"; | ||
96 | } else { | ||
97 | TB_PrevCaption = TB_TempArray[TB_Counter].title; | ||
98 | TB_PrevURL = TB_TempArray[TB_Counter].href; | ||
99 | TB_PrevHTML = "<span id='TB_prev'> <a href='#'>< Prev</a></span>"; | ||
100 | } | ||
101 | } else { | ||
102 | TB_FoundURL = true; | ||
103 | TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); | ||
104 | } | ||
105 | } | ||
106 | } | ||
107 | |||
108 | imgPreloader = new Image(); | ||
109 | imgPreloader.onload = function(){ | ||
110 | imgPreloader.onload = null; | ||
111 | |||
112 | // Resizing large images - orginal by Christian Montoya edited by me. | ||
113 | var pagesize = tb_getPageSize(); | ||
114 | var x = pagesize[0] - 150; | ||
115 | var y = pagesize[1] - 150; | ||
116 | var imageWidth = imgPreloader.width; | ||
117 | var imageHeight = imgPreloader.height; | ||
118 | if (imageWidth > x) { | ||
119 | imageHeight = imageHeight * (x / imageWidth); | ||
120 | imageWidth = x; | ||
121 | if (imageHeight > y) { | ||
122 | imageWidth = imageWidth * (y / imageHeight); | ||
123 | imageHeight = y; | ||
124 | } | ||
125 | } else if (imageHeight > y) { | ||
126 | imageWidth = imageWidth * (y / imageHeight); | ||
127 | imageHeight = y; | ||
128 | if (imageWidth > x) { | ||
129 | imageHeight = imageHeight * (x / imageWidth); | ||
130 | imageWidth = x; | ||
131 | } | ||
132 | } | ||
133 | // End Resizing | ||
134 | |||
135 | TB_WIDTH = imageWidth + 30; | ||
136 | TB_HEIGHT = imageHeight + 60; | ||
137 | $("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>"); | ||
138 | |||
139 | $("#TB_closeWindowButton").click(tb_remove); | ||
140 | |||
141 | if (!(TB_PrevHTML === "")) { | ||
142 | function goPrev(){ | ||
143 | if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} | ||
144 | $("#TB_window").remove(); | ||
145 | $("body").append("<div id='TB_window'></div>"); | ||
146 | tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); | ||
147 | return false; | ||
148 | } | ||
149 | $("#TB_prev").click(goPrev); | ||
150 | } | ||
151 | |||
152 | if (!(TB_NextHTML === "")) { | ||
153 | function goNext(){ | ||
154 | $("#TB_window").remove(); | ||
155 | $("body").append("<div id='TB_window'></div>"); | ||
156 | tb_show(TB_NextCaption, TB_NextURL, imageGroup); | ||
157 | return false; | ||
158 | } | ||
159 | $("#TB_next").click(goNext); | ||
160 | |||
161 | } | ||
162 | |||
163 | document.onkeydown = function(e){ | ||
164 | if (e == null) { // ie | ||
165 | keycode = event.keyCode; | ||
166 | } else { // mozilla | ||
167 | keycode = e.which; | ||
168 | } | ||
169 | if(keycode == 27){ // close | ||
170 | tb_remove(); | ||
171 | } else if(keycode == 190){ // display previous image | ||
172 | if(!(TB_NextHTML == "")){ | ||
173 | document.onkeydown = ""; | ||
174 | goNext(); | ||
175 | } | ||
176 | } else if(keycode == 188){ // display next image | ||
177 | if(!(TB_PrevHTML == "")){ | ||
178 | document.onkeydown = ""; | ||
179 | goPrev(); | ||
180 | } | ||
181 | } | ||
182 | }; | ||
183 | |||
184 | tb_position(); | ||
185 | $("#TB_load").remove(); | ||
186 | $("#TB_ImageOff").click(tb_remove); | ||
187 | $("#TB_window").css({display:"block"}); //for safari using css instead of show | ||
188 | }; | ||
189 | |||
190 | imgPreloader.src = url; | ||
191 | }else{//code to show html | ||
192 | |||
193 | var queryString = url.replace(/^[^\?]+\??/,''); | ||
194 | var params = tb_parseQuery( queryString ); | ||
195 | |||
196 | TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL | ||
197 | TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL | ||
198 | ajaxContentW = TB_WIDTH - 30; | ||
199 | ajaxContentH = TB_HEIGHT - 45; | ||
200 | |||
201 | if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window | ||
202 | urlNoQuery = url.split('TB_'); | ||
203 | $("#TB_iframeContent").remove(); | ||
204 | if(params['modal'] != "true"){//iframe no modal | ||
205 | $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>"); | ||
206 | }else{//iframe modal | ||
207 | $("#TB_overlay").unbind(); | ||
208 | $("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>"); | ||
209 | } | ||
210 | }else{// not an iframe, ajax | ||
211 | if($("#TB_window").css("display") != "block"){ | ||
212 | if(params['modal'] != "true"){//ajax no modal | ||
213 | $("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>"); | ||
214 | }else{//ajax modal | ||
215 | $("#TB_overlay").unbind(); | ||
216 | $("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>"); | ||
217 | } | ||
218 | }else{//this means the window is already up, we are just loading new content via ajax | ||
219 | $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; | ||
220 | $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; | ||
221 | $("#TB_ajaxContent")[0].scrollTop = 0; | ||
222 | $("#TB_ajaxWindowTitle").html(caption); | ||
223 | } | ||
224 | } | ||
225 | |||
226 | $("#TB_closeWindowButton").click(tb_remove); | ||
227 | |||
228 | if(url.indexOf('TB_inline') != -1){ | ||
229 | $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); | ||
230 | $("#TB_window").unload(function () { | ||
231 | $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished | ||
232 | }); | ||
233 | tb_position(); | ||
234 | $("#TB_load").remove(); | ||
235 | $("#TB_window").css({display:"block"}); | ||
236 | }else if(url.indexOf('TB_iframe') != -1){ | ||
237 | tb_position(); | ||
238 | if($.browser.safari){//safari needs help because it will not fire iframe onload | ||
239 | $("#TB_load").remove(); | ||
240 | $("#TB_window").css({display:"block"}); | ||
241 | } | ||
242 | }else{ | ||
243 | $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method | ||
244 | tb_position(); | ||
245 | $("#TB_load").remove(); | ||
246 | tb_init("#TB_ajaxContent a.thickbox"); | ||
247 | $("#TB_window").css({display:"block"}); | ||
248 | }); | ||
249 | } | ||
250 | |||
251 | } | ||
252 | |||
253 | if(!params['modal']){ | ||
254 | document.onkeyup = function(e){ | ||
255 | if (e == null) { // ie | ||
256 | keycode = event.keyCode; | ||
257 | } else { // mozilla | ||
258 | keycode = e.which; | ||
259 | } | ||
260 | if(keycode == 27){ // close | ||
261 | tb_remove(); | ||
262 | } | ||
263 | }; | ||
264 | } | ||
265 | |||
266 | } catch(e) { | ||
267 | //nothing here | ||
268 | } | ||
269 | } | ||
270 | |||
271 | //helper functions below | ||
272 | function tb_showIframe(){ | ||
273 | $("#TB_load").remove(); | ||
274 | $("#TB_window").css({display:"block"}); | ||
275 | } | ||
276 | |||
277 | function tb_remove() { | ||
278 | $("#TB_imageOff").unbind("click"); | ||
279 | $("#TB_closeWindowButton").unbind("click"); | ||
280 | $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); | ||
281 | $("#TB_load").remove(); | ||
282 | if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 | ||
283 | $("body","html").css({height: "auto", width: "auto"}); | ||
284 | $("html").css("overflow",""); | ||
285 | } | ||
286 | document.onkeydown = ""; | ||
287 | document.onkeyup = ""; | ||
288 | return false; | ||
289 | } | ||
290 | |||
291 | function tb_position() { | ||
292 | $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); | ||
293 | if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 | ||
294 | $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); | ||
295 | } | ||
296 | } | ||
297 | |||
298 | function tb_parseQuery ( query ) { | ||
299 | var Params = {}; | ||
300 | if ( ! query ) {return Params;}// return empty object | ||
301 | var Pairs = query.split(/[;&]/); | ||
302 | for ( var i = 0; i < Pairs.length; i++ ) { | ||
303 | var KeyVal = Pairs[i].split('='); | ||
304 | if ( ! KeyVal || KeyVal.length != 2 ) {continue;} | ||
305 | var key = unescape( KeyVal[0] ); | ||
306 | var val = unescape( KeyVal[1] ); | ||
307 | val = val.replace(/\+/g, ' '); | ||
308 | Params[key] = val; | ||
309 | } | ||
310 | return Params; | ||
311 | } | ||
312 | |||
313 | function tb_getPageSize(){ | ||
314 | var de = document.documentElement; | ||
315 | var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; | ||
316 | var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; | ||
317 | arrayPageSize = [w,h]; | ||
318 | return arrayPageSize; | ||
319 | } | ||
320 | |||
321 | function tb_detectMacXFF() { | ||
322 | var userAgent = navigator.userAgent.toLowerCase(); | ||
323 | if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { | ||
324 | return true; | ||
325 | } | ||
326 | } | ||
327 | |||
328 | |||
diff --git a/theme/login.tpl b/theme/login.tpl new file mode 100644 index 0000000..f175f59 --- /dev/null +++ b/theme/login.tpl | |||
@@ -0,0 +1,18 @@ | |||
1 | <H1>Four Island Login Page</H1> | ||
2 | |||
3 | <P><CENTER> | ||
4 | <!--BEGIN ERROR--> | ||
5 | <FONT COLOR="RED" SIZE="5">ERROR: <!--ERROR.MSG--></FONT><P> | ||
6 | <!--END ERROR--> | ||
7 | Welcome to the Four Island Login page!<BR> | ||
8 | To post feedback on this site, and also to post on the forums, you must be a member.<BR> | ||
9 | Sadly, currently membership is invitation-only. But hopefully that will change in the near future.<BR> | ||
10 | HOWEVER, you may request membership by email hatkirby@fourisland.com (link on the right).<BR> | ||
11 | A NOTICE TO ALL MEMBERS! Do NOT share your password with anyone! If you misplace your password send an email to hatkirby@fourisland.com (link on the right).<P> | ||
12 | <FORM ACTION="login.php?submit=" METHOD="POST"> | ||
13 | <LABEL FOR="username">Username:</LABEL><INPUT TYPE="text" NAME="username" ID="username"><BR> | ||
14 | <LABEL FOR="password">Password:</LABEL><INPUT TYPE="password" NAME="password" ID="password"><BR> | ||
15 | <!--RECAPTCHA--> | ||
16 | <INPUT TYPE="hidden" NAME="redirect" VALUE="<!--REDIRECT-->"> | ||
17 | <INPUT TYPE="submit"> | ||
18 | </FORM></CENTER> | ||
diff --git a/theme/msg.tpl b/theme/msg.tpl new file mode 100644 index 0000000..25a4f36 --- /dev/null +++ b/theme/msg.tpl | |||
@@ -0,0 +1 @@ | |||
<!--TRACKING--><P><!--MSG--><P><A HREF="javascript:history.back();window.reload();">Back to <!--BACK--></A> | |||
diff --git a/theme/msg2.tpl b/theme/msg2.tpl new file mode 100644 index 0000000..59c723e --- /dev/null +++ b/theme/msg2.tpl | |||
@@ -0,0 +1 @@ | |||
<!--MSG--><P><A HREF="<!--LINK-->"><!--BACK--></A> | |||
diff --git a/theme/poll.tpl b/theme/poll.tpl new file mode 100644 index 0000000..3781e47 --- /dev/null +++ b/theme/poll.tpl | |||
@@ -0,0 +1,30 @@ | |||
1 | <H2><!--QUESTION--></H2> | ||
2 | <P> | ||
3 | <CENTER> | ||
4 | <!--INCLUDE polloftheweek--> | ||
5 | </CENTER> | ||
6 | <P> | ||
7 | <DIV CLASS="bubble"> | ||
8 | <DIV CLASS="rounded"> | ||
9 | <BLOCKQUOTE> | ||
10 | <DIV> | ||
11 | <!--BEGIN COMPLETE--> | ||
12 | <!--COMPLETE.RSS--> | ||
13 | <P> | ||
14 | <!--COMPLETE.OPTION1--> - <!--COMPLETE.CLICKS1--> vote(s)!<BR> | ||
15 | <!--COMPLETE.OPTION2--> - <!--COMPLETE.CLICKS2--> vote(s)!<BR> | ||
16 | <!--COMPLETE.OPTION3--> - <!--COMPLETE.CLICKS3--> vote(s)!<BR> | ||
17 | <!--COMPLETE.OPTION4--> - <!--COMPLETE.CLICKS4--> vote(s)! | ||
18 | </DIV> | ||
19 | </BLOCKQUOTE> | ||
20 | </DIV> | ||
21 | <CITE CLASS="rounded"><STRONG><!--COMPLETE.AUTHOR--></STRONG> on <!--COMPLETE.DATE--></CITE> | ||
22 | <!--END COMPLETE--> | ||
23 | <!--BEGIN INCOMPLETE--> | ||
24 | The results of this poll of the week are pending. Meanwhile, if you haven't voted yet, why not do so? | ||
25 | </DIV> | ||
26 | </BLOCKQUOTE> | ||
27 | </DIV> | ||
28 | <!--END INCOMPLETE--> | ||
29 | </DIV> | ||
30 | </CENTER> | ||
diff --git a/theme/pollIndex.tpl b/theme/pollIndex.tpl new file mode 100644 index 0000000..2111b39 --- /dev/null +++ b/theme/pollIndex.tpl | |||
@@ -0,0 +1,12 @@ | |||
1 | <H2>Poll of the Week</H2> | ||
2 | <P> | ||
3 | <CENTER><!--INCLUDE polloftheweek--></CENTER> | ||
4 | <P> | ||
5 | Welcome to the Poll of the Week! Feel free to vote on these! You can review old ones and also comment on them if | ||
6 | you're logged in using the links below! | ||
7 | <P> | ||
8 | <UL> | ||
9 | <!--BEGIN POLL--> | ||
10 | <LI><A HREF="/poll/<!--POLL.ID-->.php"><!--POLL.QUESTION--></A> - Week of <!--POLL.WEEK--></LI> | ||
11 | <!--END POLL--> | ||
12 | </UL> | ||
diff --git a/theme/polloftheweek.tpl b/theme/polloftheweek.tpl new file mode 100644 index 0000000..13a7dce --- /dev/null +++ b/theme/polloftheweek.tpl | |||
@@ -0,0 +1,59 @@ | |||
1 | <!--BEGIN FORM--> | ||
2 | <FORM ACTION="/polloftheweek.php?potw=" METHOD="POST" ID="pollOfTheWeek"> | ||
3 | <TABLE BORDER=1 STYLE="background: #d3d3d3; font-size: 12px" ALIGN="center"> | ||
4 | <TR> | ||
5 | <TD WIDTH="100%" COLSPAN=2><!--QUESTION--></TD> | ||
6 | </TR> | ||
7 | |||
8 | <TR> | ||
9 | <TD> | ||
10 | <INPUT TYPE="radio" NAME="options" VALUE="1" ID="option1"> | ||
11 | <LABEL FOR="option1"><!--OPTION1--></LABEL> | ||
12 | </TD> | ||
13 | |||
14 | <TD> | ||
15 | <INPUT TYPE="radio" NAME="options" VALUE="2" ID="option2"> | ||
16 | <LABEL FOR="option2"><!--OPTION2--></LABEL> | ||
17 | </TD> | ||
18 | </TR> | ||
19 | |||
20 | <TR> | ||
21 | <TD> | ||
22 | <INPUT TYPE="radio" NAME="options" VALUE="3" ID="option3"> | ||
23 | <LABEL FOR="option3"><!--OPTION3--></LABEL> | ||
24 | </TD> | ||
25 | |||
26 | <TD> | ||
27 | <INPUT TYPE="radio" NAME="options" VALUE="4" ID="option4"> | ||
28 | <LABEL FOR="option4"><!--OPTION4--></LABEL> | ||
29 | </TD> | ||
30 | </TR> | ||
31 | |||
32 | <TR> | ||
33 | <TD COLSPAN=2> | ||
34 | <CENTER> | ||
35 | <INPUT TYPE="submit" VALUE="Vote!"> | ||
36 | </CENTER> | ||
37 | </TD> | ||
38 | </TR> | ||
39 | </TABLE> | ||
40 | </FORM> | ||
41 | <!--END FORM--> | ||
42 | |||
43 | <!--BEGIN DISPLAY--> | ||
44 | <TABLE BORDER=1 STYLE="background: #d3d3d3; font-size: 12px" ALIGN="center" ID="pollOfTheWeek"> | ||
45 | <TR> | ||
46 | <TD WIDTH="100%" COLSPAN=2><!--QUESTION--></TD> | ||
47 | </TR> | ||
48 | |||
49 | <TR> | ||
50 | <TD>%<!--PERCENT1--><IMG SRC="/theme/images/blue.PNG" WIDTH="<!--PERCENT1-->" HEIGHT="8" ALT="%<!--PERCENT1-->"><BR><!--OPTION1--></TD> | ||
51 | <TD>%<!--PERCENT2--><IMG SRC="/theme/images/blue.PNG" WIDTH="<!--PERCENT2-->" HEIGHT="8" ALT="%<!--PERCENT2-->"><BR><!--OPTION2--></TD> | ||
52 | </TR> | ||
53 | |||
54 | <TR> | ||
55 | <TD>%<!--PERCENT3--><IMG SRC="/theme/images/blue.PNG" WIDTH="<!--PERCENT3-->" HEIGHT="8" ALT="%<!--PERCENT3-->"><BR><!--OPTION3--></TD> | ||
56 | <TD>%<!--PERCENT4--><IMG SRC="/theme/images/blue.PNG" WIDTH="<!--PERCENT4-->" HEIGHT="8" ALT="%<!--PERCENT4-->"><BR><!--OPTION4--></TD> | ||
57 | </TR> | ||
58 | </TABLE> | ||
59 | <!--END DISPLAY--> | ||
diff --git a/theme/post.tpl b/theme/post.tpl new file mode 100644 index 0000000..91bf4e9 --- /dev/null +++ b/theme/post.tpl | |||
@@ -0,0 +1,66 @@ | |||
1 | <!--BEGIN INTERNAL--> | ||
2 | <!--BEGIN BACK--><SPAN CLASS="back-post">« <A HREF="/blog/<!--BACK.CODED-->/"><!--BACK.TITLE--></A></SPAN><!--END BACK--> | ||
3 | <!--BEGIN NEXT--><SPAN CLASS="next-post"><A HREF="/blog/<!--NEXT.CODED-->/"><!--NEXT.TITLE--></A> »</SPAN><!--END NEXT--> | ||
4 | <!--END INTERNAL--> | ||
5 | |||
6 | <!--BEGIN POST--> | ||
7 | <DIV CLASS="post vevent" ID="post-<!--POST.ID-->"> | ||
8 | <DIV CLASS="post-date-<!--POST.YEARID-->"> | ||
9 | <ABBR CLASS="dtstart" TITLE="<!--POST.DATE-->"> | ||
10 | <SPAN CLASS="post-month"><!--POST.MONTH--></SPAN> | ||
11 | <SPAN CLASS="post-day"><!--POST.DAY--></SPAN> | ||
12 | </ABBR> | ||
13 | </DIV> | ||
14 | |||
15 | <DIV CLASS="post-title"> | ||
16 | <H2> | ||
17 | <!--BEGIN EXTERNAL--><A CLASS="url" HREF="/blog/<!--POST.CODED-->/" REL="bookmark" TITLE="Permalink for <!--POST.TITLE-->"><!--END EXTERNAL--> | ||
18 | <SPAN CLASS="summary"><!--POST.TITLE--></SPAN> | ||
19 | <!--BEGIN EXTERNAL--></A><!--END EXTERNAL--> | ||
20 | </H2> | ||
21 | |||
22 | <SPAN CLASS="post-cat-<!--POST.AUTHOR--> category"> | ||
23 | <A HREF="/blog/author/<!--POST.AUTHOR-->.php"><!--POST.AUTHOR--></A> | ||
24 | </SPAN> | ||
25 | |||
26 | <SPAN CLASS="post-tag-3 category"> | ||
27 | <A CLASS="noVisit" HREF="/blog/tag/<!--POST.TAG1-->.php" REL="tag" TITLE="<!--POST.TAG1-->"><!--POST.TAG1--></A> | ||
28 | <A CLASS="noVisit" HREF="/blog/tag/<!--POST.TAG2-->.php" REL="tag" TITLE="<!--POST.TAG2-->"><!--POST.TAG2--></A> | ||
29 | <A CLASS="noVisit" HREF="/blog/tag/<!--POST.TAG3-->.php" REL="tag" TITLE="<!--POST.TAG3-->"><!--POST.TAG3--></A> | ||
30 | </SPAN> | ||
31 | |||
32 | <!--BEGIN EXTERNAL--> | ||
33 | <SPAN CLASS="post-comment<!--POST.PLURALCOMMENT-->"> | ||
34 | <A CLASS="noVisit" HREF="/blog/<!--POST.CODED-->/#comments"><!--POST.COMMENTS--> »</A> | ||
35 | </SPAN> | ||
36 | <!--END EXTERNAL--><!--BEGIN INTERNAL--> | ||
37 | <SPAN CLASS="mini-add-comment"> | ||
38 | <A CLASS="noVisit" HREF="/blog/<!--POST.CODED-->/#comments">Add Comment »</A> | ||
39 | </SPAN> | ||
40 | <!--END INTERNAL--> | ||
41 | </DIV> | ||
42 | |||
43 | <DIV CLASS="entry description"> | ||
44 | <DIV CLASS="bubble"> | ||
45 | <DIV CLASS="rounded"> | ||
46 | <BLOCKQUOTE> | ||
47 | <DIV> | ||
48 | <!--POST.TEXT--> | ||
49 | |||
50 | <!--BEGIN POST.EXCERPT--> | ||
51 | <P>[....] <A HREF="/blog/<!--POST.CODED-->/">Click here to read the rest of this post</A>.</P> | ||
52 | <!--END POST.EXCERPT--> | ||
53 | </DIV> | ||
54 | </BLOCKQUOTE> | ||
55 | </DIV> | ||
56 | <CITE CLASS="rounded"><STRONG><!--POST.AUTHOR--></STRONG> on <!--POST.DATE--></CITE> | ||
57 | |||
58 | <SPAN STYLE="float: right"> | ||
59 | <A HREF="/vote.php?id=<!--POST.ID-->&dir=plus" REL="nofollow"><IMG SRC="/theme/images/icons/thumb_up.png"></A> | ||
60 | <BIG><!--POST.RATING--></BIG> | ||
61 | <A HREF="/vote.php?id=<!--POST.ID-->&dir=minus" REL="nofollow"><IMG SRC="/theme/images/icons/thumb_down.png"></A> | ||
62 | </SPAN> | ||
63 | </DIV> | ||
64 | </DIV> | ||
65 | </DIV> | ||
66 | <!--END POST--> | ||
diff --git a/theme/postLogin.tpl b/theme/postLogin.tpl new file mode 100644 index 0000000..31dce48 --- /dev/null +++ b/theme/postLogin.tpl | |||
@@ -0,0 +1,16 @@ | |||
1 | <H1>Four Island Login Page</H1> | ||
2 | |||
3 | <P> | ||
4 | <CENTER>Congradulations, you've logged in!<BR> | ||
5 | You can now: | ||
6 | <UL> | ||
7 | <LI>Comment on the blog posts</LI> | ||
8 | <LI>Comment on Projects</LI> | ||
9 | <LI>Comment on Flash Games</LI> | ||
10 | <LI>Comment on a whole lot of other things I can't remember right now</LI> | ||
11 | <LI>Update your userpage</LI> | ||
12 | <LI>More soon...</LI> | ||
13 | </UL> | ||
14 | <A HREF="<!--REDIRECT-->">Click here to return to the page you were on.</A> | ||
15 | </CENTER> | ||
16 | </P> | ||
diff --git a/theme/quotes/add.tpl b/theme/quotes/add.tpl new file mode 100644 index 0000000..4073277 --- /dev/null +++ b/theme/quotes/add.tpl | |||
@@ -0,0 +1,17 @@ | |||
1 | <DIV ID="add_all"> | ||
2 | <DIV ID="add_title">Contribute</DIV> | ||
3 | |||
4 | <!--BEGIN SUBMITTED--> | ||
5 | <DIV ID="add_outputmsg"> | ||
6 | <DIV ID="add_outputmsg_top">The quote you have submitted is:</DIV> | ||
7 | <DIV ID="add_outputmsg_quote"><!--SUBMITTED.QUOTE--></DIV> | ||
8 | <DIV ID="add_outputmsg_bottom">If this is not the quote you have entered, please contact the administrator and explain your problem. Also, there is no need to press the submit button again. You're quote has already been sent.</DIV> | ||
9 | </DIV> | ||
10 | <!--END SUBMITTED--> | ||
11 | |||
12 | <FORM ACTION="/quotes/add.php?submit=" METHOD="POST"> | ||
13 | <TEXTAREA COLS="80" ROWS="5" NAME="rash_quote" ID="add_quote"></TEXTAREA><BR> | ||
14 | <INPUT TYPE="submit" VALUE="Add Quote!" ID="add_submit"> | ||
15 | <INPUT TYPE="reset" VALUE="Reset" ID="add_reset"> | ||
16 | </FORM> | ||
17 | </DIV> | ||
diff --git a/theme/quotes/add_news.tpl b/theme/quotes/add_news.tpl new file mode 100644 index 0000000..3c81474 --- /dev/null +++ b/theme/quotes/add_news.tpl | |||
@@ -0,0 +1,8 @@ | |||
1 | <DIV ID="admin_add-news_all"> | ||
2 | <DIV ID="admin_add-news_title">Add News</DIV> | ||
3 | |||
4 | <FORM METHOD="POST" ACTION="/quotes/add_news.php?submit="> | ||
5 | <TEXTAREA COLS="80" ROWS="5" NAME="news" ID="add_news_news"></TEXTAREA><BR> | ||
6 | <INPUT TYPE="submit" VALUE="Add News" ID="add_news"> | ||
7 | </FORM> | ||
8 | </DIV> | ||
diff --git a/theme/quotes/browse.tpl b/theme/quotes/browse.tpl new file mode 100644 index 0000000..d35abfe --- /dev/null +++ b/theme/quotes/browse.tpl | |||
@@ -0,0 +1,25 @@ | |||
1 | <DIV ID="quote_all"> | ||
2 | <!--BEGIN PAGENUMBERS--> | ||
3 | <!--INCLUDE quotes/pagenumbers--> | ||
4 | <!--END PAGENUMBERS--> | ||
5 | |||
6 | <DIV ID="quote_origin-name"><!--ORIGIN--></DIV> | ||
7 | |||
8 | <!--BEGIN QUOTES--> | ||
9 | <DIV CLASS="quotes_whole"> | ||
10 | <DIV CLASS="quote_option-bar"> | ||
11 | <A HREF="/quotes/<!--QUOTES.NUMBER-->.php" CLASS="quote_number">#<!--QUOTES.NUMBER--></A> | ||
12 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=plus" CLASS="quote_plus">+</A> | ||
13 | <SPAN CLASS="quote_rating">(<!--QUOTES.RATING-->)</SPAN> | ||
14 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=minus" CLASS="quote_minus">-</A> | ||
15 | <A HREF="/quotes/flag.php?id=<!--QUOTES.NUMBER-->" CLASS="quote_flag">[X]</A> | ||
16 | </DIV> | ||
17 | |||
18 | <DIV CLASS="quote_quote"><!--QUOTES.QUOTE--></DIV> | ||
19 | </DIV> | ||
20 | <!--END QUOTES--> | ||
21 | |||
22 | <!--BEGIN PAGENUMBERS--> | ||
23 | <!--INCLUDE quotes/pagenumbers--> | ||
24 | <!--END PAGENUMBERS--> | ||
25 | </DIV> | ||
diff --git a/theme/quotes/home.tpl b/theme/quotes/home.tpl new file mode 100644 index 0000000..7e8c10f --- /dev/null +++ b/theme/quotes/home.tpl | |||
@@ -0,0 +1,10 @@ | |||
1 | <DIV ID="home_all"> | ||
2 | <H2>Four Island Quotes DB</H2> | ||
3 | |||
4 | <DIV ID="home_news"> | ||
5 | <!--BEGIN NEWS--> | ||
6 | <DIV CLASS="home_news_date"><!--NEWS.DATE--></DIV> | ||
7 | <DIV CLASS="home_news_news"><!--NEWS.POST--></DIV><P> | ||
8 | <!--END NEWS--> | ||
9 | </DIV> | ||
10 | </DIV> | ||
diff --git a/theme/quotes/pagenumbers.tpl b/theme/quotes/pagenumbers.tpl new file mode 100644 index 0000000..3171c10 --- /dev/null +++ b/theme/quotes/pagenumbers.tpl | |||
@@ -0,0 +1,15 @@ | |||
1 | <DIV CLASS="quote_pagenums"> | ||
2 | <A HREF="/quotes/<!--LORIGIN-->.php">First</A> | ||
3 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--MINUSTEN-->">-10</A> | ||
4 | <!--BDDD--> | ||
5 | <!--BEGIN BPAGES--> | ||
6 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--BPAGES.PAGENUM-->"><!--BPAGES.PAGENUM--></A> | ||
7 | <!--END BPAGES--> | ||
8 | <!--CURPAGE--> | ||
9 | <!--BEGIN APAGES--> | ||
10 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--APAGES.PAGENUM-->"><!--APAGES.PAGENUM--></A> | ||
11 | <!--END APAGES--> | ||
12 | <!--ADDD--> | ||
13 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--PLUSTEN-->">+10</A> | ||
14 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--LASTPAGE-->">Last</A> | ||
15 | </DIV> | ||
diff --git a/theme/quotes/search.tpl b/theme/quotes/search.tpl new file mode 100644 index 0000000..491c861 --- /dev/null +++ b/theme/quotes/search.tpl | |||
@@ -0,0 +1,19 @@ | |||
1 | <DIV CLASS="search_all"> | ||
2 | <DIV ID="search_title">Search</DIV> | ||
3 | |||
4 | <FORM METHOD="POST" ACTION="/quotes/search.php?fetch="> | ||
5 | <INPUT TYPE="text" NAME="search" SIZE="28" ID="search_query-box"> | ||
6 | <INPUT TYPE="submit" NAME="submit" ID="search_submit-button"><BR> | ||
7 | Sort: <SELECT NAME="sortby" SIZE="1" ID="search_sortby-dropdown"> | ||
8 | <OPTION SELECTED>Rating</OPTION> | ||
9 | <OPTION>ID</OPTION> | ||
10 | </SELECT> | ||
11 | How many: <SELECT NAME="number" SIZE="1" ID="search_limit-dropdown"> | ||
12 | <OPTION SELECTED>10</OPTION> | ||
13 | <OPTION>25</OPTION> | ||
14 | <OPTION>50</OPTION> | ||
15 | <OPTION>75</OPTION> | ||
16 | <OPTION>100</OPTION> | ||
17 | </SELECT> | ||
18 | </FORM> | ||
19 | </DIV> | ||
diff --git a/theme/related.tpl b/theme/related.tpl new file mode 100644 index 0000000..c070359 --- /dev/null +++ b/theme/related.tpl | |||
@@ -0,0 +1,12 @@ | |||
1 | <DIV CLASS="bubble"> | ||
2 | <DIV CLASS="rounded"> | ||
3 | <BLOCKQUOTE> | ||
4 | <DIV> | ||
5 | <!--BEGIN POST--> | ||
6 | <A HREF="/blog/<!--POST.CODED-->/"><!--POST.TITLE--></A> by <A HREF="/blog/author/<!--POST.AUTHOR-->.php"><!--POST.AUTHOR--></A> on <!--POST.DATE--><BR> | ||
7 | <!--END POST--> | ||
8 | </DIV> | ||
9 | </BLOCKQUOTE> | ||
10 | </DIV> | ||
11 | <CITE CLASS="rounded"><STRONG>Theoretically Related Posts</STRONG></CITE> | ||
12 | </DIV> | ||
diff --git a/theme/welcome.tpl b/theme/welcome.tpl new file mode 100644 index 0000000..7872c6f --- /dev/null +++ b/theme/welcome.tpl | |||
@@ -0,0 +1,5 @@ | |||
1 | <P><H1>Welcome to Four Island</H1></P> | ||
2 | <DIV STYLE="font-size: 16px">You've reached Four Island, a fun place with:<UL> | ||
3 | <LI>a blog</LI><LI>a fourm</LI><LI>a wiki</LI><LI>many projects<LI>and a quotes database!</LI></UL> | ||
4 | I hope you enjoy your time on Four Island!<P> | ||
5 | <P>....Don't worry, I'll eventually think of something to actually put here :) | ||
diff --git a/theme/wiki/create.tpl b/theme/wiki/create.tpl new file mode 100644 index 0000000..ecd2d6b --- /dev/null +++ b/theme/wiki/create.tpl | |||
@@ -0,0 +1,7 @@ | |||
1 | <H2>Create a page</H2><P> | ||
2 | |||
3 | <FORM ACTION="./?action=submit&submit=create" METHOD="POST"> | ||
4 | Page Title: <INPUT TYPE="text" NAME="title"><BR> | ||
5 | <TEXTAREA NAME="text" COLS="80" ROWS="20"></TEXTAREA><P> | ||
6 | <INPUT TYPE="submit" VALUE="Create page"> | ||
7 | </FORM> | ||
diff --git a/theme/wiki/edit.tpl b/theme/wiki/edit.tpl new file mode 100644 index 0000000..12d2deb --- /dev/null +++ b/theme/wiki/edit.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <H2>Edit <!--PAGENAME--></H2><P> | ||
2 | |||
3 | <FORM ACTION="./?action=submit&submit=edit" METHOD="POST"> | ||
4 | <TEXTAREA NAME="text" COLS="80" ROWS="20"><!--PAGETEXT--></TEXTAREA><P> | ||
5 | <INPUT TYPE="submit" VALUE="Edit page"> | ||
6 | </FORM> | ||
diff --git a/theme/wiki/index.tpl b/theme/wiki/index.tpl new file mode 100644 index 0000000..ed4e513 --- /dev/null +++ b/theme/wiki/index.tpl | |||
@@ -0,0 +1,6 @@ | |||
1 | <!--BEGIN LETTER--> | ||
2 | <H3 STYLE="clear: both; display: block; margin-bottom: 0"><!--LETTER.TITLE--></H2> | ||
3 | <!--BEGIN LETTER.PAGE--> | ||
4 | <SMALL><SPAN STYLE="margin-left: 50"><!--LETTER.PAGE.DATE--> | <A HREF="/wiki/<!--LETTER.PAGE.CODED-->"><!--LETTER.PAGE.TITLE--></A></SPAN></SMALL><BR> | ||
5 | <!--END LETTER.PAGE--> | ||
6 | <!--END LETTER--> | ||
diff --git a/theme/wiki/page.tpl b/theme/wiki/page.tpl new file mode 100644 index 0000000..b021e95 --- /dev/null +++ b/theme/wiki/page.tpl | |||
@@ -0,0 +1,3 @@ | |||
1 | <H2><!--TITLE--></H2><P> | ||
2 | |||
3 | <!--CONTENT--> | ||