-
Notifications
You must be signed in to change notification settings - Fork 1
/
ingame.php
137 lines (114 loc) · 6.42 KB
/
ingame.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
<?php
require_once('require.php');
require_once($server . 'class/pnj.class.php');
require_once($server . 'class/monster.class.php');
require_once($server . 'class/interaction.class.php');
require_once($server . 'class/box.class.php');
require_once($server . 'class/metier.class.php');
$char = unserialize($_SESSION['char']);
include($server . 'deb.inc.php');
$date = date('Y-m-d', time());
$sql = "SELECT COUNT(*) FROM `maintenance` WHERE date_server = '$date'";
$result = loadSqlResultArray($sql);
if ($result['COUNT(*)'] == 0 && $_SERVER['HTTP_HOST'] != "127.0.0.1" && $_SERVER['HTTP_HOST'] != 'localhost') {
require_once('cron/pa_minuit.php');
}
include($server . 'css/allcss.php');
include($server . 'js/alljs.php');
?>
</head>
<body style="padding-top: 0px !important">
<table style="margin:auto;" border="0" style="font-size: 0px;" cellspacing="0" cellpadding="0">
<tr>
<td style="font-size: 0px !important;padding-top: 0px !important;vertical-align:top !important;" cellspacing="0" cellpadding="0">
<img height="753" alt="" src="pictures/horscadre_02.jpg" style="max-width:112px;width:100%">
</td>
<td>
<div id="subbody">
<table class="bodytable" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="cote" cellspacing="0" cellpadding="0">
<div>
<img height="125" alt="" src="css/design/menu-top-separator.gif" style="width:24px !important;">
</div>
<div style="height:585px;">
</div>
</td>
<td border="0" cellspacing="0" cellpadding="0" style="vertical-align:top !important;">
<?php // corps du site ?>
<div id="header_waiter"></div>
<div id="headerig"><?php include($server . 'include/headerig.php'); ?></div>
<table id="subbodytable" cellpadding="0" cellspacing="0" style="vertical-align:text-top;border:0px;">
<tr>
<td class="bodygame" style="width:780px;vertical-align:text-top;min-height:400px;border:0px;" >
<div id="tdbodygame">
<?php
if (empty($_GET['page']) or $_GET['page'] == 'game') {
include($server . 'pageig/game.php');
} elseif ($_GET['page'] == 'page') {
include($server . 'page.php');
} else {
if ($_GET['page'] == 'help') { // possibilit� d'avoir acc�s � l'aide apr�s la connexion
$ingame = 1;
include($server . 'page/help.php');
} else {
include($server . 'pageig/' . $_GET['page'] . '.php');
}
}
?>
</div>
<br />
<div style="text-align:center;">
</div>
<?php
if ($char->getId() == 1)
$display = "block";
else
$display = "none";
?>
<div id="update_position" style="display:<?php echo $display; ?>;"></div>
<div id="sleep_php" style="display:none;"></div>
</td>
<td class="coteig">
</td>
<td id="tdmenuig" class="menuig">
<?php include($server . 'include/menuig.php'); ?>
</td>
</tr>
</table>
<?php include($server . 'include/footer.php'); ?>
</td>
<td class="cote">
<div>
<img height="125" alt="" src="css/design/menu-top-separator.gif" style="width:24px !important;">
</div>
<div style="height:585px;">
</div>
</td>
</tr>
<tr>
<td>
<div class="bordure-area-bot">
<img alt="" src="css/design/bordure-fin-bot.gif" />
</div>
</td>
<td>
<div class="barrehori"> </div>
</td>
<td>
<div class="bordure-area-bot">
<img alt="" src="css/design/bordure-fin-bot.gif" />
</div>
</td>
</tr>
</table>
<div style="text-align:center;">
</div>
</div>
</td>
<td valing="top" border="0" style="font-size: 0px !important;padding-top: 0px !important;vertical-align:top !important;" cellspacing="0" cellpadding="0">
<img height="753" alt="" src="pictures/horscadre_04.jpg" style="max-width:112px;width:100%">
</td>
</tr>
</body>
</html>