diff options
Diffstat (limited to 'theme/quotes')
-rw-r--r-- | theme/quotes/add.tpl | 17 | ||||
-rw-r--r-- | theme/quotes/add_news.tpl | 8 | ||||
-rw-r--r-- | theme/quotes/browse.tpl | 25 | ||||
-rw-r--r-- | theme/quotes/home.tpl | 10 | ||||
-rw-r--r-- | theme/quotes/pagenumbers.tpl | 15 | ||||
-rw-r--r-- | theme/quotes/search.tpl | 19 |
6 files changed, 94 insertions, 0 deletions
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> | ||