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
|
<?php /** * phpinfo.php * * Displays the phpinfo page * * @package TeamCalPro * @version 3.3.001 * @author George Lewe * @copyright Copyright (c) 2004-2010 by George Lewe * @link http://www.lewe.com * @license http://www.lewe.com/tcpro/doc/license.txt Extended GNU Public License */ //echo "<script type=\"text/javascript\">alert(\"Debug: \");</script>"; /** * Set parent flag to control access to child scripts */ define( '_VALID_TCPRO', 1 );
/** * Includes */ require ("config.tcpro.php"); require_once ("includes/functions.tcpro.php"); getOptions(); if (strlen($CONF['options']['lang'])) require ("includes/lang/" . $CONF['options']['lang'] . ".tcpro.php"); else require ("includes/lang/english.tcpro.php");
require_once("includes/tcconfig.class.php" ); require_once("includes/tcuser.class.php" );
$C = new tcConfig; $U = new tcUser; /** * Check authorization */ if ( !checkAuth("admin") ) { // Not authorized. Get outta here jsReload("index.php"); } /** * Show HTML header * Use this file to adjust your meta tags and such */ require("includes/header.html.inc.php" );
echo "<body>\r\n";
/** * Show application header * This is the file to change in order to put different images at the top * of the main page. */ require("includes/header.application.inc.php" );
/** * Show menu header * This is the file containing the TeamCal menu */ require("includes/menu.inc.php");
?> <table class="dlg"> <tr> <td class="dlg-header" colspan="3"> <?php printDialogTop($LANG['php_title'],"","ico_php.png"); ?> </td> </tr> </table> <table class="dlg"> <tr> <td class="dlg-body"> <iframe src ="phpinfoshow.php" width="100%" height="800"></iframe> </td> </tr> </table>
<?php require("includes/footer.html.inc.php"); ?>
|