-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathframes.php
More file actions
43 lines (33 loc) · 1.02 KB
/
frames.php
File metadata and controls
43 lines (33 loc) · 1.02 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
<?php
/**
* frame.php
*
* @version 1.0
* @copyright 2008 by e-Zobar for XNova
*/
define('INSIDE' , true);
define('INSTALL' , false);
$InLogin = false;
$XNova_Host = $_SERVER['HTTP_HOST'];
$XNova_Script = $_SERVER['SCRIPT_NAME'];
$Uri_Array = explode ('/', $XNova_Script);
// On vire le script
array_pop($Uri_Array);
$XNova_URI = implode ('/', $Uri_Array);
$XNovaRootURL = "http://". $XNova_Host ."/". $XNova_URI ."/";
$xnova_root_path = './';
include($xnova_root_path . 'extension.inc');
include($xnova_root_path . 'common.'.$phpEx);
$pageTpl = gettemplate("frames");
$info = array(
"ENCODING" => $langInfos['ENCODING'],
"game_name" => GAMENAME,
"NoFrames" => $lang['NoFrames'],
);
$page = parsetemplate($pageTpl, $info);
echo $page;
// -----------------------------------------------------------------------------------------------------------
// History version
// 1.0 - Euuhh ... je ne sais plus ...
?>
<?php /* Powered by OGameCN www.ogamecn.com */ ?>