diff options
Diffstat (limited to 'theme/polloftheweek.tpl')
-rwxr-xr-x | theme/polloftheweek.tpl | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/theme/polloftheweek.tpl b/theme/polloftheweek.tpl index d23e92f..2969487 100755 --- a/theme/polloftheweek.tpl +++ b/theme/polloftheweek.tpl | |||
@@ -1,59 +1,59 @@ | |||
1 | <!--BEGIN FORM--> | 1 | <!--BEGIN FORM--> |
2 | <FORM ACTION="/poll/?submit=" METHOD="POST"> | 2 | <div id="potw-ajax"> |
3 | <SPAN STYLE="font-size: 16px; text-align: center"> | 3 | <span style="font-size: 16px; text-align: center"> |
4 | <!--QUESTION--> | 4 | <!--QUESTION--> |
5 | </SPAN> | 5 | </span> |
6 | 6 | ||
7 | <BR> | 7 | <br /> |
8 | 8 | ||
9 | <INPUT TYPE="radio" NAME="options" VALUE="1" ID="option1"> | 9 | <input type="radio" name="options" value="1" class="option1" /> |
10 | <LABEL FOR="option1"><!--OPTION1--></LABEL> | 10 | <!--OPTION1--> |
11 | 11 | ||
12 | <BR> | 12 | <br /> |
13 | 13 | ||
14 | <INPUT TYPE="radio" NAME="options" VALUE="2" ID="option2"> | 14 | <input type="radio" name="options" value="2" class="option2" /> |
15 | <LABEL FOR="option2"><!--OPTION2--></LABEL> | 15 | <!--OPTION2--> |
16 | 16 | ||
17 | <BR> | 17 | <br /> |
18 | 18 | ||
19 | <INPUT TYPE="radio" NAME="options" VALUE="3" ID="option3"> | 19 | <input type="radio" name="options" value="3" class="option3" /> |
20 | <LABEL FOR="option3"><!--OPTION3--></LABEL> | 20 | <!--OPTION3--> |
21 | 21 | ||
22 | <BR> | 22 | <br /> |
23 | 23 | ||
24 | <INPUT TYPE="radio" NAME="options" VALUE="4" ID="option4"> | 24 | <input type="radio" name="options" value="4" class="option4" /> |
25 | <LABEL FOR="option4"><!--OPTION4--></LABEL> | 25 | <!--OPTION4--> |
26 | 26 | ||
27 | <P ALIGN="center"> | 27 | <p align="center"> |
28 | <INPUT TYPE="submit" VALUE="Vote!"> | 28 | <button type="button" onclick="jQuery('#potw-ajax').slideUp().load('/poll-results.php?id='+jQuery('#potw-ajax input:radio[name=options]:checked').val()).slideDown();">Vote!</button> |
29 | </P> | 29 | </p> |
30 | </FORM> | 30 | </div> |
31 | <!--END FORM--> | 31 | <!--END FORM--> |
32 | 32 | ||
33 | <!--BEGIN DISPLAY--> | 33 | <!--BEGIN DISPLAY--> |
34 | <SPAN STYLE="font-size: 16px; text-align: center"> | 34 | <span style="font-size: 16px; text-align: center"> |
35 | <!--QUESTION--> | 35 | <!--QUESTION--> |
36 | </SPAN> | 36 | </span> |
37 | 37 | ||
38 | <TABLE WIDTH="100%" BORDER="0" STYLE="font-size: 12px"> | 38 | <table width="100%" border="0" style="font-size: 12px"> |
39 | <TR> | 39 | <tr> |
40 | <TD>%<!--PERCENT1--></TD> | 40 | <td>%<!--PERCENT1--></td> |
41 | <TD><!--OPTION1--></TD> | 41 | <td><!--OPTION1--></td> |
42 | </TR> | 42 | </tr> |
43 | 43 | ||
44 | <TR> | 44 | <tr> |
45 | <TD>%<!--PERCENT2--></TD> | 45 | <td>%<!--PERCENT2--></td> |
46 | <TD><!--OPTION2--></TD> | 46 | <td><!--OPTION2--></td> |
47 | </TR> | 47 | </tr> |
48 | 48 | ||
49 | <TR> | 49 | <tr> |
50 | <TD>%<!--PERCENT3--></TD> | 50 | <td>%<!--PERCENT3--></td> |
51 | <TD><!--OPTION3--></TD> | 51 | <td><!--OPTION3--></td> |
52 | </TR> | 52 | </tr> |
53 | 53 | ||
54 | <TR> | 54 | <tr> |
55 | <TD>%<!--PERCENT4--></TD> | 55 | <td>%<!--PERCENT4--></td> |
56 | <TD><!--OPTION4--></TD> | 56 | <td><!--OPTION4--></td> |
57 | </TR> | 57 | </tr> |
58 | </TABLE> | 58 | </table> |
59 | <!--END DISPLAY--> | 59 | <!--END DISPLAY--> |