block_thread.htm
2.97 KB
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
60
61
62
63
64
<!--{block return}-->
<!--{if $thread[special] == 1}-->
<form method="post" autocomplete="off" action="forum.php">
<input type="hidden" name="mod" value="misc">
<input type="hidden" name="action" value="votepoll">
<input type="hidden" name="fid" value="$fid">
<input type="hidden" name="tid" value="$tid">
<input type="hidden" name="pollsubmit" value="yes">
<ul class="side_poll">
<!--{loop $polloptions $key $option}-->
<li>
<label>
<input type="$optiontype" name="pollanswers[]" id="option_$key" class="pc" value="$option[polloptionid]" />
$option[polloption]
</label>
</li>
<!--{/loop}-->
</ul>
<p class="ptn pns"><button type="submit" name="submit" id="submit" value="true" class="pn"><em>{lang thread_poll}</em></button></p>
</form>
<!--{elseif $thread[special] == 2}-->
<ul class="side_trade cl">
<!--{loop $trades[$tid] $key $trade}-->
<li class="cl">
<!--{if $trade[aid]}-->
<a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img src="$trade[aid]" width="80" alt="$trade[subject]" /></a>
<!--{else}-->
<a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img src="{IMGDIR}/nophoto.gif" width="80" alt="$trade[subject]" /></a>
<!--{/if}-->
<!--{if $trade[price] > 0}-->
¥ $trade[price]
<!--{/if}-->
<!--{if $trade[credit] > 0}-->
<!--{if $trade[price] > 0}-->{lang additional} <!--{/if}--> $trade[credit] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]}
<!--{/if}-->
<p><a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank">$trade[subject]</a></p>
</li>
<!--{/loop}-->
</ul>
<!--{elseif $thread[special] == 3}-->
<label {if $rewardend}style="text-decoration: line-through"{/if}>[+$rewardprice]</label><div>$message</div>
<!--{elseif $thread[special] == 4}-->
<div>$message</div>
<!--{if $activity[aid]}-->
<a href="forum.php?mod=viewthread&tid=$tid" target="_blank"><img src="$activity[aid]" width="80" alt="$activity[subject]" /></a>
<!--{else}-->
<a href="forum.php?mod=viewthread&tid=$tid" target="_blank"><img src="{IMGDIR}/nophoto.gif" width="80" alt="$activity[subject]" /></a>
<!--{/if}-->
<p>{lang activity_already} $activity[applynumber]</p>
<!--{if $activity[number]}-->
<p>{lang activity_about_member}: $activity[aboutmember]</p>
<!--{/if}-->
<!--{elseif $thread[special] == 5}-->
<div>$message</div>
<div class="chart">
<strong class="debater1">$debate[affirmvotes]</strong>
<div class="chart1" style="height: $debate[affirmvoteswidth]%;"> </div>
<strong class="debater2">$debate[negavotes]</strong>
<div class="chart2" style="height: $debate[negavoteswidth]%;"> </div>
</div>
<p>{lang debate_square}: $debate[affirmpoint]</p>
<p>{lang debate_opponent}: $debate[negapoint]</p>
<!--{else}-->$message<!--{/if}-->
<!--{/block}-->