space_notice.htm
6.57 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!--{eval $_G['home_tpl_titles'] = array('{lang remind}');}-->
<!--{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>
<span>{lang prompt}</span> <em>›</em>
<a href="home.php?mod=space&do=notice">{lang remind}</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">
<div class="bm bw0">
<h1 class="mt"><img alt="pm" src="{STATICURL}image/feed/nts.gif" class="vm" /> {lang remind}</h1>
<ul class="tb cl">
<li class="y"><a href="home.php?mod=spacecp&ac=privacy&op=filter" target="_blank" class="xi2">{lang filter_settings}</a></li>
<!--{if $_G['notice_structure'][$view] && ($view == 'mypost' || $view == 'interactive')}-->
<!--{loop $_G['notice_structure'][$view] $subtype}-->
<li$readtag[$subtype]><a href="home.php?mod=space&do=notice&view=$view&type=$subtype"><!--{eval echo lang('template', 'notice_'.$view.'_'.$subtype)}--><!--{if $_G['member']['newprompt_num'][$subtype]}-->($_G['member']['newprompt_num'][$subtype])<!--{/if}--></a></li>
<!--{/loop}-->
<!--{else}-->
<li class="a"><a href="home.php?mod=space&do=notice&view=$view"><!--{eval echo lang('template', 'notice_'.$view)}--></a></li>
<!--{/if}-->
</ul>
<!--{if $view=='userapp'}-->
<script type="text/javascript">
function manyou_add_userapp(hash, url) {
if(isUndefined(url)) {
$(hash).innerHTML = "<tr><td colspan=\"2\">{lang successfully_ignored_information}</td></tr>";
} else {
$(hash).innerHTML = "<tr><td colspan=\"2\">{lang is_guide_you_in}</td></tr>";
}
var x = new Ajax();
x.get('home.php?mod=misc&ac=ajax&op=deluserapp&hash='+hash, function(s){
if(!isUndefined(url)) {
location.href = url;
}
});
}
</script>
<div class="ct_vw cl">
<div class="ct_vw_sd">
<ul class="mtw">
<!--{if $list}--><li><a href="home.php?mod=space&do=notice&view=userapp">{lang all_applications_news}</a></li><!--{/if}-->
<!--{loop $apparr $type $val}-->
<li class="mtn">
<a href="home.php?mod=userapp&id=$val[0][appid]&uid=$space[uid]" title="$val[0][typename]"><img src="http://appicon.manyou.com/icons/$val[0][appid]" alt="$val[0][typename]" class="vm" /></a>
<a href="home.php?mod=space&do=notice&view=userapp&type=$val[0][appid]"> <!--{eval echo count($val);}--> {lang unit} $val[0][typename] <!--{if $val[0][type]}-->{lang request}<!--{else}-->{lang invite}<!--{/if}--></a>
</li>
<!--{/loop}-->
</ul>
</div>
<div class="ct_vw_mn">
<!--{if $list}-->
<!--{loop $list $key $invite}-->
<h4 class="mtw mbm">
<a href="home.php?mod=space&do=notice&view=userapp&op=del&appid=$invite[0][appid]" class="y xg1">{lang ignore_invitations_application}</a>
<a href="home.php?mod=userapp&id=$invite[0][appid]&uid=$space[uid]" title="$apparr[$invite[0][appid]]"><img src="http://appicon.manyou.com/icons/$invite[0][appid]" alt="$apparr[$invite[0][appid]]" class="vm" /></a>
{lang notice_you_have} <!--{eval echo count($invite);}--> {lang unit} $invite[0][typename] <!--{if $invite[0][type]}-->{lang request}<!--{else}-->{lang invite}<!--{/if}-->
</h4>
<div class="xld xlda">
<!--{loop $invite $value}-->
<dl class="bbda cl">
<dd class="m avt mbn">
<a href="home.php?mod=space&uid=$value[fromuid]"><!--{avatar($value[fromuid],small)}--></a>
</dd>
<dt id="$value[hash]">
<div class="xw0 xi3">$value[myml]</div>
</dt>
</dl>
<!--{/loop}-->
</div>
<!--{/loop}-->
<!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
<!--{else}-->
<div class="emp">{lang no_request_applications_invite}</div>
<!--{/if}-->
</div>
</div>
<!--{else}-->
<!--{if empty($list)}-->
<div class="emp mtw ptw hm xs2">
<!--{if $new == 1}-->
{lang no_new_notice}<a href="home.php?mod=space&do=notice&isread=1">{lang view_old_notice}</a>
<!--{else}-->
{lang no_notice}
<!--{/if}-->
</div>
<!--{/if}-->
<script type="text/javascript">
function deleteQueryNotice(uid, type) {
var dlObj = $(type + '_' + uid);
if(dlObj != null) {
var id = dlObj.getAttribute('notice');
var x = new Ajax();
x.get('home.php?mod=misc&ac=ajax&op=delnotice&inajax=1&id='+id, function(s){
dlObj.parentNode.removeChild(dlObj);
});
}
}
function errorhandle_pokeignore(msg, values) {
deleteQueryNotice(values['uid'], 'pokeQuery');
}
</script>
<!--{if $list}-->
<div class="xld xlda">
<div class="nts">
<!--{loop $list $key $value}-->
<dl class="cl {if $key==1}bw0{/if}" $value[rowid] notice="$value[id]">
<dd class="m avt mbn">
<!--{if $value[authorid]}-->
<a href="home.php?mod=space&uid=$value[authorid]"><!--{avatar($value[authorid],small)}--></a>
<!--{else}-->
<img src="{IMGDIR}/systempm.png" alt="systempm" />
<!--{/if}-->
</dd>
<dt>
<a class="d b" href="home.php?mod=spacecp&ac=common&op=ignore&authorid=$value[authorid]&type=$value[type]&handlekey=addfriendhk_{$value[authorid]}" id="a_note_$value[id]" onclick="showWindow(this.id, this.href, 'get', 0);" title="{lang shield}">{lang shield}</a>
<span class="xg1 xw0"><!--{date($value[dateline], 'u')}--></span>
</dt>
<dd class="ntc_body" style="$value[style]">
$value[note]
</dd>
<!--{if $value[from_num]}-->
<dd class="xg1 xw0">{lang ignore_same_notice_message}</dd>
<!--{/if}-->
</dl>
<!--{/loop}-->
</div>
</div>
<!--{if $view!='userapp' && $space[notifications]}-->
<div class="mtm mbm"><a href="home.php?mod=space&do=notice&ignore=all">{lang ignore_same_notice_message} <em>›</em></a></div>
<!--{/if}-->
<!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<div class="appl">
<!--{subtemplate home/space_prompt_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>
<!--{template common/footer}-->