Rev 12 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'suchbegriff\').focus();"', $header); |
5 | echo str_replace('<body', '<body onload="self.focus();document.getElementById(\'suchbegriff\').focus();"', $header); |
6 | 6 | ||
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
Line 44... | Line 44... | ||
44 | if (file_exists('modules/'.wb_dir_escape($row['modul']).'/var.inc.php')) |
44 | if (file_exists('modules/'.wb_dir_escape($row['modul']).'/var.inc.php')) |
45 | include 'modules/'.wb_dir_escape($row['modul']).'/var.inc.php'; |
45 | include 'modules/'.wb_dir_escape($row['modul']).'/var.inc.php'; |
46 | 46 | ||
47 | $modulueberschrift_a = $modulueberschrift; |
47 | $modulueberschrift_a = $modulueberschrift; |
48 | 48 | ||
49 | if (($ib_user_type >= $modulrechte) && ((file_exists('modules/'.wb_dir_escape($row['modul']).'/pages/edit.inc.php')) || (file_exists('modules/'.wb_dir_escape($row['modul']).'/pages/view.inc.php')))) |
49 | if (($wb_user_type >= $modulrechte) && ((file_exists('modules/'.wb_dir_escape($row['modul']).'/pages/edit.inc.php')) || (file_exists('modules/'.wb_dir_escape($row['modul']).'/pages/view.inc.php')))) |
50 | { |
50 | { |
51 | $que = generate_search_query($row['table'], 0, $suchbegriff); |
51 | $que = generate_search_query($row['table'], 0, $suchbegriff); |
52 | $res2 = db_query($que); |
52 | $res2 = db_query($que); |
53 | 53 | ||
54 | while ($row2 = db_fetch($res2)) |
54 | while ($row2 = db_fetch($res2)) |