userapp_manage.htm
6.14 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
<!--{eval
$_G[home_tpl_titles] = array(lang('userapp/template', 'app_management'));
}-->
<!--{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>$_G[setting][navs][5][navname]
</div>
</div>
<!--{if $_GET['ac'] == 'deleteapp'}-->
<h3 class="flb">
<em id="return_$_GET[handlekey]">{lang remove_app}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form id="editcommentform_{$cid}" name="editcommentform_{$cid}" method="post" autocomplete="off" action="userapp.php?mod=manage&my_suffix=%2Fuserapp%2Funinstall%3FappId%3D$_GET[appid]">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="delappsubmit" value="true" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
{lang remove_app_message}
</div>
<p class="o pns">
<button type="submit" name="delappsubmit_btn" id="delappsubmit_btn" value="true" class="pn pnc"><strong>{lang determine}</strong></button>
</p>
</form>
<!--{elseif $_GET['ac'] == 'menu'}-->
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<h1 class="mt bbs"><img alt="app" src="static/image/common/appsetting.gif" alt="appsetting" class="vm" /> {lang app_management}</h1>
<div class="myset cl">
<div class="mgapp" id="applistcontent">
<h3 class="pbn bbda cl">
<a href="userapp.php?mod=manage&my_suffix=%2Fapp%2Flist" class="y xg1 xw0">{lang app_add}</a>
{lang my}$_G[setting][navs][5][navname]
</h3>
<!--{if $my_userapp}-->
<script type="text/javascript" src="{$_G[setting][jspath]}home_drag.js?{VERHASH}"></script>
<form id="userappform" name="userappform" method="post" autocomplete="off" action="userapp.php?mod=manage&ac=menu">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="ordersubmit" value="true" />
<div id="Drags0">
<div id="DragContainer0">
<!--{loop $my_userapp $key $value}-->
<div id="$key" class="apps dragable">
<span class="y">
<a href="userapp.php?mod=manage&my_suffix=%2Fuserapp%2FmodifyPrivacy%3FappId%3D$value[appid]">{lang edit_settings}</a>
<a href="userapp.php?mod=manage&ac=deleteapp&appid=$value[appid]" id="delete_$value[appid]" onclick="showWindow(this.id, this.href, 'get', 0)">{lang remove}</a>
</span>
<img {if $value[icon]}src="$value[icon]" onerror="this.onerror=null;this.src='http://appicon.manyou.com/icons/$value[appid]'"{else} src="http://appicon.manyou.com/icons/$value[appid]"{/if} />
<a href="userapp.php?mod=app&id=$value[appid]">$value[appname]</a>(<a href="userapp.php?mod=manage&my_suffix=%2Fuserapp%2Fabout%3FappId%3D$value[appid]" target="_blank">{lang introduction}</a>)
<input type="hidden" name="order[]" value="$value[appid]">
</div>
<!--{/if}-->
</div>
</div>
<p class="mtm mbm">
{lang left_menu_view_num}
<select name="menunum" class="ps">
<option value="5"$menunum[5]>5</option>
<option value="10"$menunum[10]>10</option>
<option value="15"$menunum[15]>15</option>
<option value="20"$menunum[20]>20</option>
<option value="25"$menunum[25]>25</option>
<option value="30"$menunum[30]>30</option>
<option value="999"$menunum[999]>{lang all}</option>
</select>
</p>
<p class="pns">
<button type="submit" name="ordersubmitbtn" class="pn"><em>{lang save_settings}</em></button>
</p>
</form>
<script type="text/javascript">init_drag2();</script>
<!--{/if}-->
</div>
</div>
<div class="note xg1 mtw">
<h4>{lang use_assistant}</h4>
{lang user_assistant_message}
</div>
</div>
</div>
</div>
<!--{else}-->
<div id="ct" class="wp cl">
<div class="mn">
<script type="text/javascript" src="http://static.manyou.com/scripts/my_iframe.js"></script>
<script language="javascript">
var prefixURL = "$my_prefix";
var suffixURL = "$my_suffix";
var queryString = '';
var url = "{$url}";
var oldHash = null;
var timer = null;
var server = new MyXD.Server("ifm0");
server.registHandler('iframeHasLoaded');
server.registHandler('setTitle');
server.start();
function iframeHasLoaded(ifm_id) {
MyXD.Util.showIframe(ifm_id);
document.getElementById('loading').style.display = 'none';
}
function htmlspecialchars_decode(string) {
string = string.toString();
string = string.replace(/&/g, '&');
string = string.replace(/</g, '<');
string = string.replace(/>/g, '>');
string = string.replace(/"/g, '"');
string = string.replace(/'/g, "'");
return string;
}
function setTitle(x) {
<!--{eval $my_site_name=dhtmlspecialchars($_G['setting']['sitename'], ENT_QUOTES);}-->
var my_site_name = htmlspecialchars_decode('{$my_site_name}');
x = htmlspecialchars_decode(x);
document.title = x + ' - <!--{if $space}--><!--{eval echo daddslashes($space[username])}--> - <!--{/if}-->' + my_site_name + ' - Powered by UCenter Home';
}
</script>
<iframe id="ifm0" frameborder="0" width="100%" scrolling="no" height="810" style="position: absolute; top: -5000px; left: -5000px;" src="{$url}"></iframe>
<div id="mx2note" style="display: none; padding: 150px 0; text-align: center; background-color: #FFFFBF; color: #DB0000; letter-spacing: 1px;">
{lang no_maxthon2_message}
</div>
<div id="loading" style="display: block; padding: 100px 0; text-align: center; color: #999;">
<img src="{IMGDIR}/loading.gif" alt="loading..." class="vm" /> {lang page_loading}
</div>
</div>
</div>
<!--{if $_G['group']['radminid'] == 1}-->
<!--{eval helper_manyou::checkupdate();}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->