summary refs log tree commit diff stats
path: root/theme/polloftheweek.tpl
blob: dfbc772661cf0319bed5a2802c9ec8f0831d6a72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--BEGIN FORM-->
<div id="potw-ajax">
	<span style="font-size: 16px; text-align: center">
		<a href="/poll/<!--ID-->.php"><!--QUESTION--></a>
	</span>

	<br />

	<input type="radio" name="options" value="1" class="option1" />
	<!--OPTION1-->

	<br />

	<input type="radio" name="options" value="2" class="option2" />
	<!--OPTION2-->

	<br />

	<input type="radio" name="options" value="3" class="option3" />
	<!--OPTION3-->

	<br />

	<input type="radio" name="options" value="4" class="option4" />
	<!--OPTION4-->

	<p align="center">
		<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>
	</p>
</div>
<!--END FORM-->

<!--BEGIN DISPLAY-->
<span style="font-size: 16px; text-align: center">
	<a href="/poll/<!--ID-->.php"><!--QUESTION--></a>
</span>

<table width="100%" border="0" style="font-size: 12px">
	<tr>
		<td>%<!--PERCENT1--></td>
		<td><!--OPTION1--></td>
	</tr>

	<tr>
		<td>%<!--PERCENT2--></td>
		<td><!--OPTION2--></td>
	</tr>

	<tr>
		<td>%<!--PERCENT3--></td>
		<td><!--OPTION3--></td>
	</tr>

	<tr>
		<td>%<!--PERCENT4--></td>
		<td><!--OPTION4--></td>
	</tr>
</table>
<!--END DISPLAY-->