Subversion Repositories personal-webbase

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
<?php
2
 
3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
4
 
5
echo $header;
6
 
7
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
8
 
9
echo '<center><b>Informationen &uuml;ber dieses Personal WebBase System</b></center><br>';
10
 
11
$info_version = 'Personal WebBase '.$WBConfig->getRevision().', Revision '.$WBConfig->getRevDatum();
12
 
13
$info_url = '<a href="'.deferer($configuration['common_links_notifier']['wb_system_url']).'" target="_blank" class="menu">'.$configuration['common_links_notifier']['wb_system_url'].'</a>';
14
 
15
$info_ip = '<a href="'.ip_tracer($_SERVER['SERVER_ADDR']).'" target="_blank" class="menu">'.$_SERVER['SERVER_ADDR'].'</a>';
16
 
17
$info_systemzeit = date('Y-m-d, H:i:s');
18
$info_systemzeit = de_convertmysqldatetime($info_systemzeit);
19
 
20
if ($configuration['common_cronjob']['passivcron'] == '1')
21
{
22
        $info_cronjobs = 'Passive Cronjobs';
23
}
24
else
25
{
26
        if ($configuration['common_cronjob']['lastpromoter'] == '')
27
        {
28
                $info_cronjobs = 'Aktive Cronjobs (Shell)';
29
        }
30
        else
31
        {
32
                $info_cronjobs = 'Aktive Cronjobs (Promoter: <a href="'.deferer('http://'.$configuration['common_cronjob']['lastpromoter'].'/').'" target="_blank" class="menu">http://'.$configuration['common_cronjob']['lastpromoter'].'/</a>)';
33
        }
34
}
35
 
36
$info_module = count($modules);
37
 
38
$info_designs = 0;
39
$handle = @opendir('designs/');
40
while ($file = @readdir($handle))
41
{
42
        if ((filetype('designs/'.$file) == 'dir') && ($file <> '.') && ($file <> '..'))
43
        {
44
                $info_designs++;
45
        }
46
}
47
 
48
$design_information = WBDesignHandler::get_design_information($configuration['admin_designs']['design']);
49
 
50
$info_design = $design_information->name;
51
 
52
$info_datenbank = 'mysql://';
53
$info_datenbank .= $WBConfig->getMySQLUsername();
54
$info_datenbank .= '@';
55
$info_datenbank .= $WBConfig->getMySQLServer();
56
if ($WBConfig->getMySQLPort() != '')
57
{
58
        $info_datenbank .= ':';
59
        $info_datenbank .= $WBConfig->getMySQLPort();
60
}
61
$info_datenbank .= '/';
62
$info_datenbank .= $WBConfig->getMySQLDatabase();
63
$info_datenbank .= '/';
64
$info_datenbank .= $WBConfig->getMySQLPrefix();
65
$info_datenbank .= '*';
66
 
67
if (check_email($configuration[$modul]['admin_mail']))
68
{
69
        $info_admin = secure_email($configuration[$modul]['admin_mail'], $configuration[$modul]['admin_mail'], 1);
70
        $info_admin = str_replace('<a href=\"', '<a class=\"menu\" href=\"', $info_admin);
71
}
72
else
73
{
74
        $info_admin = 'Keine E-Mail-Adresse angegeben';
75
}
76
 
77
wb_draw_table_begin();
78
wb_draw_table_content('35%', '<b>System-Version</b>', '65%', $info_version);
79
wb_draw_table_content('35%', '<b>System-URL</b>', '65%', $info_url);
80
wb_draw_table_content('35%', '<b>IP-Adresse</b>', '65%', $info_ip);
81
wb_draw_table_content('35%', '<b>Systemzeit</b>', '65%', $info_systemzeit);
82
wb_draw_table_content('35%', '<b>Cronjobs</b>', '65%', $info_cronjobs);
83
wb_draw_table_content('35%', '<b>Installierte Module</b>', '65%', $info_module);
84
wb_draw_table_content('35%', '<b>Installierte Designs</b>', '65%', $info_designs);
85
wb_draw_table_content('35%', '<b>Aktuelles Design</b>', '65%', $info_design);
86
wb_draw_table_content('35%', '<b>Datenbank-Speicherort</b>', '65%', $info_datenbank);
87
wb_draw_table_content('35%', '<b>Administrator-Kontakt</b>', '65%', $info_admin);
88
wb_draw_table_end();
89
 
90
echo '<center>&copy; 2004 - '.date('Y').' <a href="'.deferer('http://www.viathinksoft.de/').'" target="_blank">ViaThinkSoft</a>. Alle Rechte vorbehalten!<br>
91
<b><a href="'.deferer('http://www.personal-webbase.de/').'" target="_blank">Personal WebBase Webportal</a></b></center>';
92
 
93
echo $footer;
94
 
95
?>