space_reward.htm
4.61 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!--{eval
$_G[home_tpl_spacemenus][] = "<a href=\"home.php?mod=space&uid=$space[uid]&do=reward&view=me\">{lang they_reward}</a>";
}-->
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>›</em>
<a href="home.php?mod=space&do=thread">{lang post}</a> <em>›</em>
<a href="home.php?mod=space&uid=$space[uid]&do=reward&view=me">{lang reward}</a>
</div>
</div>
<style id="diy_style" type="text/css"></style>
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="ct2_a wp cl">
<div class="mn">
<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
<div class="bm bw0">
<!--{if (!$_G['uid'] && !$space[uid]) || $space[self]}-->
<h1 class="mt"><img alt="reward" src="{IMGDIR}/rewardsmall.gif" class="vm" /> {lang reward}</h1>
<!--{/if}-->
<!--{if $space[self]}-->
<ul class="tb cl">
<li$actives[we]><a href="home.php?mod=space&do=reward&view=we">{lang friend_reward}</a></li>
<li$actives[me]><a href="home.php?mod=space&do=reward&view=me">{lang my_reward}</a></li>
<!--{if $_G[group][allowpostreward]}-->
<li class="o">
<!--{if $_G[setting][rewardforumid]}-->
<a href="forum.php?mod=post&action=newthread&fid=$_G[setting][rewardforumid]&special=3">{lang publish_new_reward}</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=nav&special=3" onclick="showWindow('nav', this.href)">{lang publish_new_reward}</a>
<!--{/if}-->
</li>
<!--{/if}-->
</ul>
<!--{else}-->
<!--{template home/space_menu}-->
<!--{/if}-->
<p class="tbmu cl">
<!--{eval $flag = array(0 => '{lang all}', 1 => '{lang unresolved}', -1 => '{lang has_been_resolved}');}-->
<span class="y">
<select onchange="filterFlag(this.value)">
<!--{loop $flag $key $str}-->
<option value="$key"{if $_GET[flag]==$key} selected="selected"{/if}>$str</option>
<!--{/loop}-->
</select>
</span>
<!--{if $userlist}-->
{lang view_by_friend}
<select name="fuidsel" onchange="fuidgoto(this.value);" class="ps">
<option value="">{lang all_friends}</option>
<!--{loop $userlist $value}-->
<option value="$value[fuid]"{$fuid_actives[$value[fuid]]}>$value[fusername]</option>
<!--{/loop}-->
</select>
<!--{/if}-->
</p>
<!--{if $count}-->
<ul class="rwdl cl">
<!--{loop $list $thread}-->
<li class="bbda">
<div class="uslvd {if $thread[price] < 0} slvd{/if}">
<cite><!--{eval echo abs($thread['price']);}--><span>$_G[setting][extcredits][$creditid][title]</span></cite>
<em><!--{if $thread[price] < 0}-->{lang has_been_resolved}<!--{else}-->{lang unresolved}<!--{/if}--></em>
</div>
<h4><a href="forum.php?mod=viewthread&tid=$thread[tid]" target="_blank">$thread[subject]</a></h4>
<p class="mtm"><a href="home.php?mod=space&uid=$thread[authorid]" c="1" target="_blank">$thread[author]</a> <span class="xg1">$thread[dateline]</span></p>
<p class="mtm xg1"><!--{if $thread[replies]}-->{lang have} $thread[replies] {lang unit}<!--{else}-->{lang not_yet}<!--{/if}-->{lang security_answer}<span class="pipe">|</span><a href="forum.php?mod=post&action=reply&fid=$thread[fid]&tid=$thread[tid]" target="_blank">{lang i_answer}</a></p>
</li>
<!--{/loop}-->
<!--{if count($list)%2!=0}-->
<li class="bbda"> </li>
<!--{/if}-->
</ul>
<!--{if $hiddennum}-->
<p class="mtm">{lang hide_reward}</p>
<!--{/if}-->
<!--{if $multi}--><div class="pgs cl mtm">$multi</div><!--{/if}-->
<!--{else}-->
<div class="emp">{lang no_reward}</div>
<!--{/if}-->
</div>
<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
</div>
<div class="appl">
<!--{subtemplate home/space_thread_nav}-->
<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>
</div>
</div>
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<script type="text/javascript">
function fuidgoto(fuid) {
var parameter = fuid != '' ? '&fuid='+fuid : '';
window.location.href = 'home.php?mod=space&do=reward&view=we<!--{if $_GET[flag]}-->&flag=$_GET[flag]<!--{/if}-->'+parameter;
}
function filterFlag(flag) {
window.location.href = 'home.php?mod=space&do=reward&<!--{if $_GET[order]}-->order=hot&<!--{/if}-->view=$_GET[view]&<!--{if $_GET[fuid]}-->fuid=$_GET[fuid]&<!--{/if}-->flag='+flag;
}
</script>
<!--{template common/footer}-->