-
Notifications
You must be signed in to change notification settings - Fork 2
/
flottes.php
55 lines (44 loc) · 1.45 KB
/
flottes.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
<?php
/***************************************************************************
* filename : flottes.php
* desc. : 1.0.3
* Link : https://www.ogsteam.eu
* Author : Conrad des Dragons
* created :
* modified : AirBAT
***************************************************************************/
//secu
if (!defined('IN_SPYOGAME')) die("Hacking attempt");
require_once("./views/page_header.php");
$query = "SELECT `active` FROM `" . TABLE_MOD . "` WHERE `action`='flottes' AND `active`='1' LIMIT 1";
if (!$db->sql_numrows($db->sql_query($query))) die("Hacking attempt");
// fin de secu
if (!isset($pub_subaction)) $pub_subaction = "flottes";
switch ($pub_subaction) {
case "flottes":
require_once("./mod/flottes/flottes_general.php");
break;
case "admin":
require_once("./mod/flottes/flottes_admin.php");
break;
case "bbcode":
require_once("./mod/flottes/flottes_bbcode.php");
break;
case "bbcode2":
require_once("./mod/flottes/flottes_bbcode2.php");
break;
case "mybb":
require_once("./mod/flottes/flottes_mybb.php");
break;
case "graphe":
require_once("./mod/flottes/flottes_graphe.php");
break;
case "xtense2":
require_once("./mod/flottes/flottes_xtense2.php");
break;
default:
require_once("./mod/flottes/flottes_general.php");
break;
}
require_once("./mod/flottes/pied_flottes.php");
require_once("./views/page_tail.php");