space_activity.htm
5 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!--{eval
$_G[home_tpl_spacemenus][] = "<a href=\"home.php?mod=space&uid=$space[uid]&do=activity&view=me\">{lang they_activity}</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=activity&view=me">{lang activity}</a>
</div>
</div>
<!--{eval
$weekarr = array(0 => '{lang day}', 1 => '{lang one}', 2 => '{lang two}', 3 => '{lang three}', 4 => '{lang four}', 5 => '{lang five}', 6 => '{lang six}');
}-->
<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="activity" src="{IMGDIR}/activitysmall.gif" class="vm" /> {lang activity}</h1>
<!--{/if}-->
<!--{if $space[self]}-->
<ul class="tb cl">
<li$actives[we]><a href="home.php?mod=space&do=activity&view=we">{lang friend_activity}</a></li>
<li$actives[me]><a href="home.php?mod=space&do=activity&view=me">{lang my_activity}</a></li>
<!--{if $_G[group][allowpostactivity]}-->
<li class="o">
<!--{if $_G[setting][activityforumid]}-->
<a href="forum.php?mod=post&action=newthread&fid=$_G[setting][activityforumid]&special=4">{lang create_new_activity}</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=nav&special=4" onclick="showWindow('nav', this.href)">{lang create_new_activity}</a>
<!--{/if}-->
</li>
<!--{/if}-->
</ul>
<!--{else}-->
<!--{template home/space_menu}-->
<!--{/if}-->
<!--{if $_GET[view] == 'me'}-->
<div class="tbmu">
<a href="home.php?mod=space&do=activity&view=me" $orderactives[orig]>{lang my_create_activity}</a><span class="pipe">|</span>
<a href="home.php?mod=space&do=activity&view=me&type=apply" $orderactives[apply]>{lang my_join_activity}</a>
</div>
<!--{/if}-->
<!--{if $userlist}-->
<p class="tbmu">
{lang filter_by_friend}
<select name="fuidsel" onchange="fuidgoto(this.value);">
<option value="">{lang all_friends}</option>
<!--{loop $userlist $value}-->
<option value="$value[fuid]"{$fuid_actives[$value[fuid]]}>$value[fusername]</option>
<!--{/loop}-->
</select>
</p>
<!--{/if}-->
<!--{if $list}-->
<!--{loop $list $key $activitylist}-->
<!--{eval $caption = true;}-->
<table cellpadding="0" cellspacing="0" class="acl mbm">
<!--{loop $activitylist $tid $thread}-->
<!--{if $caption}-->
<caption>
<h3 class="cl">
<span><strong>$thread[month]</strong><em>$thread[day]</em></span>
$thread[time]<br />
<cite class="xs1">{lang week}$weekarr[$thread[week]]<cite>
</h3>
</caption>
<!--{eval $caption = false;}-->
<!--{/if}-->
<tr>
<td class="type"><!--{if $thread[aid]}--><img src="{echo getforumimg($thread[aid])}" alt="$thread[subject]" width="80" /><!--{else}--><img src="{IMGDIR}/nophotosmall.gif" alt="nophoto" width="80" height="80" /><!--{/if}--></td>
<td>
<h4><a href="forum.php?mod=viewthread&tid=$thread[tid]" target="_blank">$thread[subject]</a></h4>
<p>$thread[message]</p>
</td>
<td class="addr">
<strong>$thread[class]</strong><br />
$thread[place]<br />
<strong>{lang have} <em class="xi1">$thread[applynumber]</em> {lang join_num}</strong><br />
$thread[replies] {lang some_message}
</td>
<td class="orgr">
<ul class="ml mls cl">
<li>
<a href="home.php?mod=space&uid=$thread[authorid]" class="avt" c="1" target="_blank"><!--{avatar($thread[authorid],small)}--></a>
<p><a title="$thread[author]" href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a></p>
</li>
</ul>
</td>
</tr>
<!--{/loop}-->
</table>
<!--{/loop}-->
<!--{if $hiddennum}-->
<p class="mtm">{lang hide_activity}</p>
<!--{/if}-->
<!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
<!--{else}-->
<div class="emp">{lang no_activity}</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=activity&view=we'+parameter;
}
</script>
<!--{template common/footer}-->