include system common php include system functions php include system

 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
<?
include './system/common.php';
include './system/functions.php';
include './system/user.php';
$title = 'Мир титанов';
include './system/h.php';
if($user) {
if($mail > 0) {
?>
<div class='list'>
<li><a href='/mail/'><img src='/images/icon/mail.png' alt='*'/>Новая почта</li></a>
</div>
<?
}
?>
<div class='menu_link2' align='center'><img src="http://3ban.ru/images/logo/logo3.jpg " alt="" style="border:1px solid #1b1b1b;border-radius:3px;"></div>
<div class='line'></div>
<div class='line'></div>
<li><a href='/arena/' style='display: block;' class='menu_link'><img src='/images/icon/arena.png' alt='*'/> Арена <?=($user['mp'] > 49 ? '<font color=\'#30c030\'>(+)</font>':'')?></a></li>
<li><a href='/pets/arena.php/' style='display: block;' class='menu_link'><img src='/images/icon/arena.png' alt='*'/> Арена Питомцев<font color=\'#30c030\'>(+)</font></a></li>
<?
if($user['level'] > 4) {
?>
<li><a href='/duel/' style='display: block;' class='menu_link'><img src='/images/icon/league.png' alt='*'/> Дуэли <?=($user['duel_fights'] > 0 ? '<font color=\'#30c030\'>(+)</font>':'')?></a></li>
<?
if($user['level'] > 9) {
?>
<li><a href='/coliseum/' style='display: block;' class='menu_link'><img src='/images/icon/coliseum.png' alt='*'/> Колизей</a></li>
<li><a href='/boss/' style='display: block;' class='menu_link'><img src='/images/icon/hellworld.png' alt='*'/> Огненные земли</a></li>
</a></li>
<li><a href='/fights/' class='menu_link'><img src='/images/icon/arena.png' alt='*'/> Сражения</a></li>
<?
$cave = mysql_query('SELECT * FROM `cave` WHERE `user` = "'.$user['id'].'"');
$cave = mysql_fetch_array($cave);
?>
<li class='no_b'><a href='/cave/' class='menu_link'><img src='/images/icon/cave.png' alt='*'/> Пещера <?=(($cave['dawn'] == 0 OR $cave['dawn'] == 1 && $cave['time'] <= time() OR $cave['dawn'] == 1 && $cave['gather'] == 1 && $cave['time'] <= time()) ? '<font color="#30c030">(+)</font>':'')?></a></li>
</div>
<div class='line'></div>
<div class='list'>
<li><a href='/goldpay.php' style='display: block;' class='menu_link'><img src='/images/icon/gold.png' alt='*'/> <font color='green'>Получить золото</font></a></li>
<li><a href='/sage.php' style='display: block;' class='menu_link'><img src='/images/icon/quest.png' alt='*'/> Хижина мудреца</a></li>
<li><a href='/shop/' style='display: block;' class='menu_link'><img src='/images/icon/equip.png' alt='*'/> Магазин снаряжения</a></li>