/
tv2_console_main_closet.php
65 lines (49 loc) · 1.6 KB
/
tv2_console_main_closet.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
<?php
////////////////////////////////////////////////////////////////////////////
//
// (c) phpChess Limited, 2004-2006, in association with Goliath Systems.
// All rights reserved. Please observe respective copyrights.
// phpChess - Chess at its best
// you can find us at http://www.phpchess.com.
//
////////////////////////////////////////////////////////////////////////////
define('CHECK_PHPCHESS', true);
header("Content-Type: text/html; charset=utf-8");
session_start();
$Root_Path="./";
$config = $Root_Path."bin/config.php";
require($Root_Path."bin/CSkins.php");
//Instantiate the CSkins Class
$oSkins = new CSkins($config);
$SkinName = $oSkins->getskinname();
$oSkins->Close();
unset($oSkins);
//////////////////////////////////////////////////////////////
//Skin - standard includes
//////////////////////////////////////////////////////////////
$SSIfile = "./skins/".$SkinName."/standard_cfg.php";
if(file_exists($SSIfile)){
include($SSIfile);
}
//////////////////////////////////////////////////////////////
require($Root_Path."bin/CR3DCQuery.php");
require($Root_Path."bin/config.php");
require($Root_Path."includes/language.php");
//Instantiate theCR3DCQuery Class
$oR3DCQuery = new CR3DCQuery($config);
$tid = $_GET['tid'];
$type = $_GET['type'];
?>
<html>
<head>
<title></title>
<link rel="stylesheet" href="<?php echo $Root_Path."skins/".$SkinName."/";?>layout.css" type="text/css">
</head>
<body>
<?php $oR3DCQuery->v2FinishAndCloseTournament($type, $tid);?>
</body>
</html>
<?php
$oR3DCQuery->Close();
unset($oR3DCQuery);
?>