spacecp_avatar.htm
1.63 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
<!--{template common/header}-->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_avatar_top}-->
<script type="text/javascript">
function updateavatar() {
window.location.href = document.location.href.replace('&reload=1', '') + '&reload=1';
}
<!--{if !$reload}-->
saveUserdata('avatar_redirect', document.referrer);
<!--{/if}-->
</script>
<form method="post" autocomplete="off" action="home.php?mod=spacecp&ac=avatar&ref">
<table cellspacing="0" cellpadding="0" class="tfm">
<caption>
<span id="retpre" class="y xi2"></span>
<h2 class="xs2">{lang current_my_space}</h2>
<p>{lang setting_avatar_message}</p>
</caption>
<tr>
<td>
<!--{avatar($space[uid],big)}-->
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" class="tfm">
<caption>
<h2 class="xs2">{lang setting_my_new_avatar}</h2>
<p>{lang setting_my_new_avatar_message}</p>
</caption>
<tr>
<td>
<script type="text/javascript">document.write(AC_FL_RunContent('<!--{echo implode("','", $uc_avatarflash);}-->'));</script>
</td>
</tr>
</table>
<input type="hidden" name="formhash" value="{FORMHASH}" />
</form>
<!--{hook/spacecp_avatar_bottom}-->
</div>
</div>
<script type="text/javascript">
var redirecturl = loadUserdata('avatar_redirect');
if(redirecturl) {
$('retpre').innerHTML = '<a href="' + redirecturl + '">{lang previous_page}</a>';
}
</script>
<div class="appl">
<!--{subtemplate home/spacecp_footer}-->
</div>
</div>
<!--{template common/footer}-->