Rev 7 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7 | Rev 8 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | $version = ''; |
52 | $version = ''; |
53 | $menuevisible = ''; |
53 | $menuevisible = ''; |
54 | $license = ''; |
54 | $license = ''; |
55 | $deaktiviere_zugangspruefung = 0; |
55 | $deaktiviere_zugangspruefung = 0; |
56 | 56 | ||
57 | if (file_exists('modules/'.$m2.'/var.inc.php')) |
57 | if (file_exists('modules/'.wb_dir_escape($m2).'/var.inc.php')) |
58 | include 'modules/'.$m2.'/var.inc.php'; |
58 | include 'modules/'.wb_dir_escape($m2).'/var.inc.php'; |
59 | 59 | ||
60 | if (file_exists('modules/'.$m2.'/crossover/'.$modul.'/main.inc.php')) |
60 | if (file_exists('modules/'.wb_dir_escape($m2).'/crossover/'.wb_dir_escape($modul).'/main.inc.php')) |
61 | include 'modules/'.$m2.'/crossover/'.$modul.'/main.inc.php'; |
61 | include 'modules/'.wb_dir_escape($m2).'/crossover/'.wb_dir_escape($modul).'/main.inc.php'; |
62 | } |
62 | } |
63 | 63 | ||
64 | unset($m1); |
64 | unset($m1); |
65 | unset($m2); |
65 | unset($m2); |
66 | 66 | ||
Line 72... | Line 72... | ||
72 | gfx_tablecontent('40%', '<b>Letzter Login</b>', '60%', de_convertmysqldatetime($_SESSION['last_login'])); |
72 | gfx_tablecontent('40%', '<b>Letzter Login</b>', '60%', de_convertmysqldatetime($_SESSION['last_login'])); |
73 | 73 | ||
74 | if ($_SESSION['last_login_ip'] == '') |
74 | if ($_SESSION['last_login_ip'] == '') |
75 | $ueip = 'Unbekannt'; |
75 | $ueip = 'Unbekannt'; |
76 | else |
76 | else |
77 | $ueip = '<a href="http://www.ripe.net/fcgi-bin/whois?form_type=simple&full_query_string=&searchtext='.$_SESSION['last_login_ip'].'&submit.x=0&submit.y=0" target="_blank" class="menu">'.$_SESSION['last_login_ip'].'</a> (DNS: '.@gethostbyaddr($_SESSION['last_login_ip']).')'; |
77 | $ueip = '<a href="http://www.ripe.net/fcgi-bin/whois?form_type=simple&full_query_string=&searchtext='.urlencode($_SESSION['last_login_ip']).'&submit.x=0&submit.y=0" target="_blank" class="menu">'.$_SESSION['last_login_ip'].'</a> (DNS: '.@gethostbyaddr($_SESSION['last_login_ip']).')'; |
78 | 78 | ||
79 | gfx_tablecontent('40%', '<b>Über IP</b>', '60%', $ueip); |
79 | gfx_tablecontent('40%', '<b>Über IP</b>', '60%', $ueip); |
80 | gfx_tablecontent('40%', '<b>Datensätze der Datenbank</b>', '60%', $count_ds); |
80 | gfx_tablecontent('40%', '<b>Datensätze der Datenbank</b>', '60%', $count_ds); |
81 | gfx_tablecontent('40%', '<b>Ordner der Datenbank</b>', '60%', $count_o); |
81 | gfx_tablecontent('40%', '<b>Ordner der Datenbank</b>', '60%', $count_o); |
82 | gfx_endtable(); |
82 | gfx_endtable(); |
Line 84... | Line 84... | ||
84 | echo '<span style="font-size:1.2em"><b>Installierte Module</b></span><br><br>'; |
84 | echo '<span style="font-size:1.2em"><b>Installierte Module</b></span><br><br>'; |
85 | 85 | ||
86 | $i = -1; |
86 | $i = -1; |
87 | foreach ($module as $m1 => $m2) |
87 | foreach ($module as $m1 => $m2) |
88 | { |
88 | { |
89 | if (file_exists('modules/'.$m2.'/seite_inhalt.inc.php')) |
89 | if (file_exists('modules/'.wb_dir_escape($m2).'/seite_inhalt.inc.php')) |
90 | { |
90 | { |
91 | $titel = $m2; |
91 | $titel = $m2; |
92 | 92 | ||
93 | $modulueberschrift = ''; |
93 | $modulueberschrift = ''; |
94 | $modulsekpos = ''; |
94 | $modulsekpos = ''; |
Line 98... | Line 98... | ||
98 | $version = ''; |
98 | $version = ''; |
99 | $menuevisible = ''; |
99 | $menuevisible = ''; |
100 | $license = ''; |
100 | $license = ''; |
101 | $deaktiviere_zugangspruefung = 0; |
101 | $deaktiviere_zugangspruefung = 0; |
102 | 102 | ||
103 | if (file_exists('modules/'.$m2.'/var.inc.php')) |
103 | if (file_exists('modules/'.wb_dir_escape($m2).'/var.inc.php')) |
104 | { |
104 | { |
105 | include('modules/'.$m2.'/var.inc.php'); |
105 | include('modules/'.wb_dir_escape($m2).'/var.inc.php'); |
106 | $titel = $modulueberschrift; |
106 | $titel = $modulueberschrift; |
107 | } |
107 | } |
108 | 108 | ||
109 | if (($modulrechte == 0) && ($menuevisible) && ($modul != $m2)) |
109 | if (($modulrechte == 0) && ($menuevisible) && ($modul != $m2)) |
110 | { |
110 | { |
Line 116... | Line 116... | ||
116 | if (($i % 7 == 0) && ($i != 0)) |
116 | if (($i % 7 == 0) && ($i != 0)) |
117 | echo '</tr><tr>'; |
117 | echo '</tr><tr>'; |
118 | 118 | ||
119 | echo '<td valign="middle" align="center" width="14%">'; |
119 | echo '<td valign="middle" align="center" width="14%">'; |
120 | 120 | ||
121 | if (file_exists('modules/'.$m2.'/images/menu/32.png')) |
121 | if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.png')) |
122 | $g = 'modules/'.$m2.'/images/menu/32.png'; |
122 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.png'; |
123 | else if (file_exists('modules/'.$m2.'/images/menu/32.gif')) |
123 | else if (file_exists('modules/'.wb_dir_escape($m2).'/images/menu/32.gif')) |
124 | $g = 'modules/'.$m2.'/images/menu/32.gif'; |
124 | $g = 'modules/'.wb_dir_escape($m2).'/images/menu/32.gif'; |
125 | else |
125 | else |
126 | $g = 'design/spacer.gif'; |
126 | $g = 'design/spacer.gif'; |
127 | 127 | ||
128 | echo '<a href="'.oop_link_to_modul($m2).'" class="menu">'; |
128 | echo '<a href="'.oop_link_to_modul($m2).'" class="menu">'; |
129 | echo '<img src="'.$g.'" border="0" width="32" height="32" alt="">'; |
129 | echo '<img src="'.$g.'" border="0" width="32" height="32" alt="">'; |