Rev 4 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 14 | ||
---|---|---|---|
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 | $meldung = ''; |
5 | $meldung = ''; |
6 | 6 | ||
7 | $cont = my_get_contents('https://www.viathinksoft.de/update/?id=ironbase'); |
7 | $cont = my_get_contents('https://www.viathinksoft.de/update/?id=ironbase'); |
8 | 8 | ||
9 | if ($cont == '') |
9 | if ($cont == '') |
10 | { |
10 | { |
11 | $meldung .= '<font color="#FF0000">Es konnte nicht nach Updates für Personal WebBase gesucht werden. Prüfen Sie Ihre PHP-Einstellungen oder versuchen Sie es zu einem späteren Zeitpunkt noch einmal.</font>'; |
11 | $meldung .= '<font color="#FF0000">Es konnte nicht nach Updates für Personal WebBase gesucht werden. Prüfen Sie Ihre PHP-Einstellungen oder versuchen Sie es zu einem späteren Zeitpunkt noch einmal.</font>'; |
12 | } |
12 | } |
13 | else |
13 | else |
14 | { |
14 | { |
15 | if ($cont == $revision) |
15 | if ($cont == $revision) |
16 | { |
16 | { |
17 | $meldung .= 'Es sind keine Updates für Personal WebBase verfügbar.'; |
17 | $meldung .= 'Es sind keine Updates für Personal WebBase verfügbar.'; |
18 | } |
18 | } |
19 | else |
19 | else |
20 | { |
20 | { |
21 | $meldung .= '<font color="#00BB00">Personal WebBase ist in einer neuen Version erschienen!</font> <a href="https://www.personal-webbase.de/" target="_blank">Download</a>'; |
21 | $meldung .= '<font color="#00BB00">Personal WebBase ist in einer neuen Version erschienen!</font> <a href="https://www.personal-webbase.de/" target="_blank">Download</a>'; |
22 | } |
22 | } |
23 | } |
23 | } |
24 | 24 | ||
25 | ?> |
25 | ?> |
26 | 26 |