-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.php
578 lines (486 loc) · 21.2 KB
/
admin.php
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
<?php
/*
Ядро для обработки данных.
Обработка поединков, обработка заявок, обработка ботов, обработка пещер, обработка турниров, обработка временных генераций
*/
define('GAME',true);
include('_incl_data/__config.php');
include('_incl_data/class/__db_connect.php');
include('_incl_data/class/__user.php');
if(isset($_GET['bonus'])) {
$sp = mysql_query('SELECT * FROM `users` WHERE `real` = 1 AND `banned` = 0 AND `id` = 75301');
while( $pl = mysql_fetch_array($sp) ) {
//
//$u->addItem(730, $pl['id'], '|nosale=1|notransfer=1|sudba=1|halo1=1');
//$u->addItem(1167, $pl['id'], '|nosale=1|notransfer=1|sudba=1|halo1=1');
$i = 1;
while( $i <= 25 ) {
//$u->addItem(4913, $pl['id'], '|nosale=1|notransfer=1|sudba=1|halo1=1');
if( $i <= 10 ) {
//$u->addItem(4039, $pl['id'], '|nosale=1|notransfer=1|sudba=1|halo1=1');
}
//$u->addItem(4690, $pl['id'], '|nosale=1|notransfer=1|sudba=1|halo1=1');
$i++;
}
//
/*$sp1 = mysql_query('SELECT `id` FROM `items_main` WHERE `magic_inci` = "tznanie" AND `name` NOT LIKE "%(том%" AND `name` NOT LIKE "%(секретный том%"');
while( $pl1 = mysql_fetch_array($sp1) ) {
mysql_query('INSERT INTO `actions` (
`uid`,`time`,`city`,`room`,`vars`,`vals`
) VALUES (
"'.$pl['id'].'","'.time().'","capitalcity","213","read","'.$pl1['id'].'"
)');
}*/
}
die();
}
include('_incl_data/class/bot.logic.php');
if( $u->info['admin'] > 0 ) {
if(isset($_POST['complect_saver'])) {
$cs = $_POST['complect_saver'];
$cs = json_decode($cs);
$v1 = '';
$v2 = '';
$eff = '0';
$csa = $cs->{'lvl'};
$csm = $cs->{'lvl'}+1;
if($csa > 5) {
$csa = 5;
}
if($csm > 10) {
$csm = 10;
}
$up_id = 0;
$sp = mysql_query('SELECT * FROM `levels` ORDER BY `upLevel`');
$ups = array();
$all_ups = array();
$lvl = 0;
while($pl = mysql_fetch_array($sp)) {
$all_ups[$lvl][(0+$ups[$lvl])] = ($pl['upLevel']-1);
$ups[$lvl]++;
if($lvl != $pl['nextLevel']) {
$lvl = $pl['nextLevel'];
}else{
}
}
$up_id = $all_ups[$cs->{'lvl'}][$cs->{'up'}];
$stats = 's1='.$cs->{'s1'}.'|s2='.$cs->{'s2'}.'|s3='.$cs->{'s3'}.'|s4='.$cs->{'s4'}.'|rinv=40|m9=5|m6=10|a1='.$csa.'|a2='.$csa.'|a3='.$csa.'|a4='.$csa.'|a5='.$csa.'|mg1='.$csm.'|mg2='.$csm.'|mg3='.$csm.'|mg4='.$csm.'|mg5='.$csm.'|mg6='.$csa.'|mg7='.$csa.'|s5='.$cs->{'s5'}.'|s6='.$cs->{'s6'}.'|os1=0|os2=0|os3=0|os4=0|os5=0|os6=0|os7=0|os8=0|os9=0|os10=0|os11=0|s7=0|s8=0|s9=0|s10=0|a6=5|a7=5';
$i = 0;
while( $i < 20 ) {
if( $cs->{'w'.$i} > 0 ) {
$v1 .= ',`w'.$i.'`';
$v2 .= ',"'.$cs->{'w'.$i}.'"';
}
if( $cs->{'s'.$i} > 0 ) {
$v1 .= ',`s'.$i.'`';
$v2 .= ',"'.$cs->{'s'.$i}.'"';
}
if( $cs->{'e'.$i} > 0 ) {
$v1 .= ',`e'.$i.'`';
$v2 .= ',"'.$cs->{'e'.$i}.'"';
$eff .= ','.$i;
}
if( $cs->{'p'.$i} > 0 ) {
$v1 .= ',`p'.$i.'`';
$v2 .= ',"'.$cs->{'p'.$i}.'"';
}
$i++;
}
mysql_query('INSERT INTO `a_bot_tree` (`delete`,`class`,`level`,`up`,`stats`,`eff`,`pr`'.$v1.') VALUES ("1","'.$cs->{'class'}.'","'.$cs->{'lvl'}.'","'.$up_id.'","'.$stats.'","'.$eff.'","'.$pr.'"'.$v2.') ');
$_GET['good'] = mysql_insert_id();
//header('location: admin.php?good');
}
if(isset($_GET['good'])) {
$error = 'Комлпект был успешно сохранен!<br><br>Номер комплекта: '.$_GET['good'];
die($error);
}
/* ПРЕДМЕТЫ */
$w = array();
$ws = array(
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
10,
10,
13,
14,
15,
16,
17
);
$i = 1;
while( $i <= 17 ) {
if($i != 14) {
$sp = mysql_query('SELECT `id`,`name`,`img` FROM `items_main` WHERE `inslot` = "'.$ws[$i].'" ORDER BY `type` ASC,`level` ASC');
while($pl = mysql_fetch_array($sp)) {
$w[$i] .= '['.$pl['id'].',"'.$pl['name'].'","'.$pl['img'].'"],';
}
$w[$i] = rtrim($w[$i],',');
}
$i++;
}
$sp = mysql_query('SELECT `id`,`name`,`img` FROM `items_main` WHERE `2too` = "1" OR `inslot` = "14" ORDER BY `type` ASC,`level` ASC');
while($pl = mysql_fetch_array($sp)) {
$w[14] .= '['.$pl['id'].',"'.$pl['name'].'","'.$pl['img'].'"],';
}
$w[14] = rtrim($w[14],',');
/* ПРИЕМЫ */
$pr = '';
$sp = mysql_query('SELECT `id`,`name`,`img` FROM `priems` ORDER BY `img` ASC');
while($pl = mysql_fetch_array($sp)) {
$pr .= '['.$pl['id'].',"'.$pl['name'].'","'.$pl['img'].'.gif"],';
}
$pr = rtrim($pr,',');
/* ЭФФЕКТЫ */
$eff = '';
$sp = mysql_query('SELECT `id2`,`mname`,`img` FROM `eff_main` WHERE `type1` != 23 ORDER BY `type1` ASC');
while($pl = mysql_fetch_array($sp)) {
$eff .= '['.$pl['id2'].',"'.$pl['mname'].'","'.$pl['img'].'"],';
}
$eff = rtrim($eff,',');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://img.xcombats.com/css/main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
<title>Редактор обмундирования персонажей</title>
<script>
var admin = {
com:{},
start:function() {
var i = 0;
while( i <= 17 ) {
$('#w'+i).attr('IDreal',i);
$('#w'+i).bind('click', function(){ admin.select($(this).attr('IDreal')); } );
i++;
}
var i = 0;
while( i <= 12 ) {
$('#e'+i).attr('IDreal',i);
$('#e'+i).bind('click', function(){ admin.select_eff($(this).attr('IDreal')); } );
i++;
}
var i = 0;
while( i <= 18 ) {
$('#p'+i).attr('IDreal',i);
$('#p'+i).bind('click', function(){ admin.select_pr($(this).attr('IDreal')); } );
i++;
}
},
save:function() {
var r = this.finish_line();
$('#save').html( '<b>Скопируйте в буфер обмена:</b><br><br><form name="f1" id="f1" action="admin.php" target="_blank" method="post"><textarea name="complect_saver" style="width:600px;" rows="5">'+r+'</textarea><br><button type="sumbit"></button></form>' );
$('#f1').submit();
},
finish_line:function() {
this.com['lvl'] = $('#lvl').val();
this.com['up'] = $('#up').val();
this.com['class'] = $('#pclss').val();
var i = 1;
while( i <= 6 ) {
this.com['s'+i] = $('#s'+i).val();
i++;
}
var r = JSON.stringify( this.com );
return r;
},
take:function( id, i ) {
if( top.items[id][i] != undefined ) {
this.com['w'+id] = top.items[id][i][0];
$('#w'+id).attr({
'src':'http://img.xcombats.com/i/items/'+top.items[id][i][2],
'title':top.items[id][i][1]
});
}
},
take_eff:function( id, i ) {
if( top.items['eff'][i] != undefined ) {
this.com['e'+id] = top.items['eff'][i][0];
$('#e'+id).attr({
'src':'http://img.xcombats.com/i/eff/'+top.items['eff'][i][2],
'title':top.items['eff'][i][1]
});
}
},
take_pr:function( id, i ) {
if( top.items['pr'][i] != undefined ) {
this.com['p'+id] = top.items['pr'][i][0];
$('#p'+id).attr({
'src':'http://img.xcombats.com/i/eff/'+top.items['pr'][i][2],
'title':top.items['pr'][i][1]
});
}
},
select_pr:function (id) {
var html = '';
if( top.items['pr'] != undefined ) {
var i = 0;
while( i != -1 ) {
if( top.items['pr'][i] == undefined ) {
i = -2;
}else{
html += '<img width="40" height="25" onclick="admin.take_pr('+id+','+i+');" style="cursor:pointer;padding:2px;" title="'+top.items['pr'][i][1]+'" src="http://img.xcombats.com/i/eff/'+top.items['pr'][i][2]+'">';
}
i++;
}
}
if( html == '' ) {
html = 'Нет подходящих приемов';
}
$('#items_add').html( html );
},
select_eff:function (id) {
var html = '';
if( top.items['eff'] != undefined ) {
var i = 0;
while( i != -1 ) {
if( top.items['eff'][i] == undefined ) {
i = -2;
}else{
html += '<img width="40" height="25" onclick="admin.take_eff('+id+','+i+');" style="cursor:pointer;padding:2px;" title="'+top.items['eff'][i][1]+'" src="http://img.xcombats.com/i/eff/'+top.items['eff'][i][2]+'">';
}
i++;
}
}
if( html == '' ) {
html = 'Нет подходящих эффектов';
}
$('#items_add').html( html );
},
select:function( id ) {
var html = '';
if( top.items[id] != undefined ) {
var i = 0;
while( i != -1 ) {
if( top.items[id][i] == undefined ) {
i = -2;
}else{
html += '<img onclick="admin.take('+id+','+i+');" style="cursor:pointer;padding:2px;" title="'+top.items[id][i][1]+'" src="http://img.xcombats.com/i/items/'+top.items[id][i][2]+'">';
}
i++;
}
}
if( html == '' ) {
html = 'Нет подходящих предметов';
}
$('#items_add').html( html );
}
};
var items = {
<?
$i = 1;
while( $i <= 17 ) {
echo $i.':['.$w[$i].'],';
$i++;
}
echo '"eff":['.$eff.'],"pr":['.$pr.']';
?>
};
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
</head>
<body onLoad="admin.start()">
<table width="100%" border="0" cellpadding="25" cellspacing="0">
<tr>
<td width="250" valign="top"><div style="width:240px; padding:2px; border-bottom:1px solid #666666; border-right:1px solid #666666; border-left:1px solid #FFFFFF; border-top:1px solid #FFFFFF;">
<div align="center">
<!-- blocked -->
</div>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60" valign="top"><table width="60" height="280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60"><div style="position:relative"><img id="w1" style="display:block;" title="Пустой слот шлем" src="http://img.xcombats.com/i/items/w/w9.gif"></div></td>
</tr>
<tr>
<td height="40"><img id="w2" style="display:block;" title="Пустой слот наручи" src="http://img.xcombats.com/i/items/w/w13.gif"></td>
</tr>
<tr>
<td height="60"><img id="w3" style="display:block;" title="Пустой слот щит" src="http://img.xcombats.com/i/items/w/w3.gif"></td>
</tr>
<tr>
<td height="80"><img id="w5" style="display:block;" title="Пустой слот щит" src="http://img.xcombats.com/i/items/w/w4.gif"></td>
</tr>
<tr>
<td height="40"><img id="w7" style="display:block;" title="Пустой слот пояс" src="http://img.xcombats.com/i/items/w/w5.gif"></td>
</tr>
</table></td>
<td height="280" valign="top"><table width="120" height="280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" valign="top" bgcolor="#EDEDED"><!-- HP and MP -->
<!-- --></td>
</tr>
<tr>
<td valign="top" bgcolor="#333333"> </td>
</tr>
<tr>
<td height="40"><div align="center">
<table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40" height="20"><img style="display:block;" title="Пустой слот правый карман" src="http://img.xcombats.com/i/items/w/w15.gif"></td>
<td width="40" height="20"><img style="display:block;" title="Пустой слот центральный карман" src="http://img.xcombats.com/i/items/w/w15.gif"></td>
<td width="40" height="20"><img style="display:block;" title="Пустой слот левый карман" src="http://img.xcombats.com/i/items/w/w15.gif"></td>
</tr>
<tr>
<td width="40" height="20"><img style="display:block;" title="Пустой слот смена" src="http://img.xcombats.com/i/items/w/w20.gif"></td>
<td width="40" height="20"><img style="display:block;" title="Пустой слот смена" src="http://img.xcombats.com/i/items/w/w20.gif"></td>
<td width="40" height="20"><img style="display:block;" title="Пустой слот смена" src="http://img.xcombats.com/i/items/w/w20.gif"></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
<td width="60" valign="top"><table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"><img id="w8" style="display:block;" title="Пустой слот серьги" src="http://img.xcombats.com/i/items/w/w1.gif"></td>
</tr>
<tr>
<td height="20"><img id="w9" style="display:block;" title="Пустой слот ожерелье" src="http://img.xcombats.com/i/items/w/w2.gif"></td>
</tr>
<tr>
<td height="20"><table width="60" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20" height="20"><img id="w10" style="display:block;" title="Пустой слот кольцо" src="http://img.xcombats.com/i/items/w/w6.gif"></td>
<td width="20"><img id="w11" style="display:block;" title="Пустой слот кольцо" src="http://img.xcombats.com/i/items/w/w6.gif"></td>
<td width="20"><img id="w12" style="display:block;" title="Пустой слот кольцо" src="http://img.xcombats.com/i/items/w/w6.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="40"><img id="w13" style="display:block;" title="Пустой слот перчатки" src="http://img.xcombats.com/i/items/w/w11.gif"></td>
</tr>
<tr>
<td height="60"><img id="w14" style="display:block;" title="Пустой слот щит" src="http://img.xcombats.com/i/items/w/w10.gif"></td>
</tr>
<tr>
<td height="80"><img id="w16" style="display:block;" title="Пустой слот щит" src="http://img.xcombats.com/i/items/w/w19.gif"></td>
</tr>
<tr>
<td height="40"><img id="w17" style="display:block;" title="Пустой слот обувь" src="http://img.xcombats.com/i/items/w/w12.gif"></td>
</tr>
</table></td>
</tr>
</table>
<p><strong>Эффекты:</strong></p>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40" height="25"><img id="e1" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="e2" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="e3" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="e4" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="e5" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="e6" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
</tr>
<tr>
<td height="25"><img id="e7" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="e8" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="e9" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="e10" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="e11" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="e12" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
</tr>
</table>
<p><strong>Приемы:</strong></p>
<table width="240" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40" height="25"><img id="p1" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="p2" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="p3" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="p4" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="p5" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td width="40"><img id="p6" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
</tr>
<tr>
<td height="25"><img id="p7" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p8" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p9" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p10" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p11" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p12" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
</tr>
<tr>
<td height="25"><img id="p13" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p14" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p15" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p16" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p17" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
<td><img id="p18" title="Пустой слот заклинания" src="http://img.xcombats.com/i/items/w/w101.gif"></td>
</tr>
</table>
</div>
<p><a href="javascript:admin.save(1);">Сохранить комплект в базу</a></p></td>
<td width="150" align="right" valign="top"><p><strong>Статы персонажа (родные):</strong></p>
<p>
Сила:
<input id="s1" style="width:35px" value="3"> <br>
Ловкость:
<input id="s2" style="width:35px" value="3"> <br>
Интуиция:
<input id="s3" style="width:35px" value="3"> <br>
Выносливость:
<input id="s4" style="width:35px" value="3"> <br>
Интелект:
<input id="s5" style="width:35px" value="0"> <br>
Мудрость:
<input id="s6" style="width:35px" value="0">
</p>
<p><strong>Выберите класс комплекта и апп: </strong></p>
<p>
Класс:
<select id="pclss">
<option selected value="1">Танк</option>
<option value="2">Крит</option>
<option value="3">Уворот</option>
<option value="4">Универсал</option>
<option value="5">Маг огня</option>
<option value="6">Маг воды</option>
<option value="7">Маг земли</option>
<option value="8">Маг воздуха</option>
</select>
<br>
Уровень:
<input id="lvl" style="width:35px" value="0">
<br>
Апп:
<input id="up" style="width:35px" value="0">
<br>
</p>
<hr>
</td>
<td valign="top">
<div id="save" style="border:1px solid red; padding:10px;margin:5px; background-color:#FCC; color:#333"></div>
<br>
<b>Предметы для слота:</b>
<br>
<div id="items_add">
</div>
</td>
</tr>
</table>
<script>
<?
if(isset($error)) {
echo 'alert("'.$error.'");';
}
?>
</script>
</body>
</html>
<?
}else{
echo 'Для получени доступа к данному разделу - обратитесь к Администрации проекта, получить доступ может каждый игрок, но окончательное решение зависит исключительно от Администрации проекта.';
}
?>