Rev 7 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | echo $header; |
||
6 | |||
7 | echo '<h1>Systemcheck</h1>'; |
||
8 | |||
9 | echo '<table cellspacing="0" cellpadding="0" border="0" width="100%">'; |
||
10 | |||
11 | foreach ($module as $m1 => $m2) |
||
12 | { |
||
8 | daniel-mar | 13 | if (file_exists('modules/'.wb_dir_escape($m2).'/crossover/admin_systemcheck/main.inc.php')) |
2 | daniel-mar | 14 | { |
15 | echo '<tr>'; |
||
16 | |||
17 | echo '<td align="center" valign="top">'; |
||
18 | |||
8 | daniel-mar | 19 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
20 | echo '<img src="modules/'.wb_dir_escape($m2).'/images/menu/32.png" alt="" width="32" height="32">'; |
||
21 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
||
22 | echo '<img src="modules/'.wb_dir_escape($m2).'/images/menu/32.gif" alt="" width="32" height="32">'; |
||
2 | daniel-mar | 23 | else |
24 | echo '<img src="design/spacer.gif" alt="" width="32" height="32">'; |
||
25 | |||
26 | echo '</td><td><img src="design/spacer.gif" alt="" width="10" height="1"></td><td width="100%" valign="top" align="left">'; |
||
27 | |||
28 | $modulueberschrift = ''; |
||
29 | $modulsekpos = ''; |
||
30 | $modulpos = ''; |
||
31 | $modulrechte = ''; |
||
32 | $autor = ''; |
||
33 | $version = ''; |
||
34 | $menuevisible = ''; |
||
35 | $license = ''; |
||
36 | $deaktiviere_zugangspruefung = 0; |
||
37 | |||
8 | daniel-mar | 38 | if (file_exists('modules/'.wb_dir_escape($m2).'/var.inc.php')) |
39 | include 'modules/'.wb_dir_escape($m2).'/var.inc.php'; |
||
2 | daniel-mar | 40 | |
41 | $meldung = ''; |
||
8 | daniel-mar | 42 | include 'modules/'.wb_dir_escape($m2).'/crossover/admin_systemcheck/main.inc.php'; |
2 | daniel-mar | 43 | if ($meldung == '') |
44 | echo '<b>'.$m2.'</b> gab keine Rückmeldung.'; |
||
45 | else |
||
46 | echo '<b>'.$m2.'</b> hat folgende Nachricht zurückgegeben:<br><br><code>'.$meldung.'</code>'; |
||
47 | |||
48 | echo '</td></tr><tr><td colspan="3"> </td></tr>'; |
||
49 | } |
||
50 | } |
||
51 | |||
52 | unset($m1); |
||
53 | unset($m2); |
||
54 | |||
55 | echo '<tr><td colspan="3">Der Systemcheck ist beendet.</td></tr></table>'; |
||
56 | |||
57 | echo $footer; |
||
58 | |||
3 | daniel-mar | 59 | ?> |