Subversion Repositories personal-webbase

Rev

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&uuml;hrt werden.');
4
 
5
$meldung = '';
6
 
7
$cont = my_get_contents('http://www.viathinksoft.de/update/?id=ironbase');
8
 
9
if ($cont == '')
10
{
11
  $meldung .= '<font color="#FF0000">Es konnte nicht nach Updates f&uuml;r IronBASE gesucht werden. Pr&uuml;fen Sie Ihre PHP-Einstellungen oder versuchen Sie es zu einem sp&auml;teren Zeitpunkt noch einmal.</font>';
12
}
13
else
14
{
15
  if ($cont == $revision)
16
  {
17
    $meldung .= 'Es sind keine Updates f&uuml;r IronBASE verf&uuml;gbar.';
18
  }
19
  else
20
  {
21
    $meldung .= '<font color="#00BB00">IronBASE ist in einer neuen Version erschienen!</font> <a href="http://www.viathinksoft.de/update/?id=@ironbase" target="_blank">Download</a>';
22
  }
23
}
24
 
25
?>