Rev 3 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne IronBASE ausgeführt werden.'); |
||
4 | |||
5 | if (($ary[$i]['kaputt_flag'] == '1') && ($ary[$i]['neu_flag'] == '1') && ($ary[$i]['update_enabled'] == '1')) |
||
6 | { |
||
7 | $xx = '3'; |
||
8 | $linkinfo = ' - Update vorhanden, jedoch Seite derzeit nicht erreichbar!'; |
||
9 | } |
||
10 | else if (($ary[$i]['kaputt_flag'] == '1') && ($ary[$i]['update_enabled'] == '1')) |
||
11 | { |
||
12 | $xx = '2'; |
||
13 | $linkinfo = ' - Updateprüfung fehlgeschlagen!'; |
||
14 | } |
||
15 | else if (($ary[$i]['neu_flag'] == '1') && ($ary[$i]['update_enabled'] == '1')) |
||
16 | { |
||
17 | $xx = '1'; |
||
18 | $linkinfo = ' - Update vorhanden!'; |
||
19 | } |
||
20 | else |
||
21 | { |
||
22 | $xx = '0'; |
||
23 | if ($ary[$i]['update_enabled'] == '1') |
||
24 | $linkinfo = ' - Kein Update vorhanden'; |
||
25 | else |
||
26 | $linkinfo = ' - Updateservice deaktiviert'; |
||
27 | } |
||
28 | |||
29 | global $suchbegriff; |
||
30 | if ((isset($suchbegriff)) && ($suchbegriff != '') && (function_exists('generate_search_query'))) |
||
31 | { |
||
32 | $rs = db_query(generate_search_query('links', 0, $suchbegriff, "AND `id` = '".db_escape($ary[$i]['id'])."'")); |
||
33 | if (db_num($rs) != 0) |
||
34 | { |
||
35 | $a = '<font color="#FF0000">'; |
||
36 | $b = '</font>'; |
||
37 | } |
||
38 | else |
||
39 | { |
||
40 | $a = ''; |
||
41 | $b = ''; |
||
42 | } |
||
43 | } |
||
44 | else |
||
45 | { |
||
46 | $a = ''; |
||
47 | $b = ''; |
||
48 | } |
||
49 | |||
50 | gfx_tablecontent('', '<a name="item'.$ary[$i]['id'].'"></a><img alt="" src="design/spacer.gif" width="'.($einzug*$ordnereinzug).'" height="1"><img src="modules/'.$modul.'/item'.$xx.'.gif" alt="Link'.$linkinfo.'"><img src="design/spacer.gif" alt="" width="5" height="1">'.$a.$ary[$i]['name'].$b.'<br><img src="design/spacer.gif" alt="" width="1" height="1">', '100', '<a href="'.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=view&id='.$ary[$i]['id'].'" target="_blank" class="menu">'.$a.'Besuchen'.$b.'</a>', '175', '<a href="'.$_SERVER['PHP_SELF'].'?seite=edit&modul='.$modul.'&aktion=edit&id='.$ary[$i]['id'].'" class="menu">'.$a.'Bearbeiten / Verschieben'.$b.'</a>', '75', '<a href="javascript:abfrage(\''.$_SERVER['PHP_SELF'].'?seite=kraftsetzung&modul='.$modul.'&aktion=delete&id='.$ary[$i]['id'].'\');" class="menu">'.$a.'Löschen'.$b.'</a>'); |
||
51 | |||
52 | ?> |