Subversion Repositories personal-webbase

Rev

Rev 4 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 daniel-mar 1
<?php
2
 
14 daniel-mar 3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
2 daniel-mar 4
 
5
$meldung = '';
6
 
3 daniel-mar 7
$cont = my_get_contents('https://www.viathinksoft.de/update/?id=ironbase');
2 daniel-mar 8
 
9
if ($cont == '')
10
{
3 daniel-mar 11
  $meldung .= '<font color="#FF0000">Es konnte nicht nach Updates f&uuml;r Personal WebBase gesucht werden. Pr&uuml;fen Sie Ihre PHP-Einstellungen oder versuchen Sie es zu einem sp&auml;teren Zeitpunkt noch einmal.</font>';
2 daniel-mar 12
}
13
else
14
{
15
  if ($cont == $revision)
16
  {
3 daniel-mar 17
    $meldung .= 'Es sind keine Updates f&uuml;r Personal WebBase verf&uuml;gbar.';
2 daniel-mar 18
  }
19
  else
20
  {
3 daniel-mar 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>';
2 daniel-mar 22
  }
23
}
24
 
3 daniel-mar 25
?>