function AddSubEntry($name, $link, $marked = 0) { if ($marked != 0) { $cellbg = $this->cell_bg_hover; } else { $cellbg = $this->cell_bg_color; } $this->ADMINMENUE .= '<tr><td bgcolor="' . $cellbg . '" onMouseOver="this.bgColor=\'' . $this->cell_bg_hover . '\'" onMouseOut="this.bgColor=\'' . $cellbg . '\'" onClick="window.location.href=\'' . $link . '\'"> <b> »</b> ' . _APCMS_MakeHref($link, $name) . '</td></tr>'; }
$LASTBACKUPFILE = "<span style=\"color:red\"><b>--</b></span>"; } elseif ($lastbackup['time'] <= $akt_time - 604800) { $LASTBACKUPTIME = "<span style=\"color:red\"><blink>" . _APCMS_FormattedDateTime($lastbackup['time']) . "</blink></span>"; $LASTBACKUPFILE = "<span style=\"color:red\">" . _APCMS_SpecialChars($lastbackup['file']) . "</span>"; } else { $LASTBACKUPTIME = _APCMS_FormattedDateTime($lastbackup['time']); $LASTBACKUPFILE = _APCMS_SpecialChars($lastbackup['file']); } require_once $_SESSION['APCMS']['CLASS_DIR'] . "/apcms_admintable.class." . $_SESSION['APCMS']['SUFFIX']; $ADMINTABLE1 = new APCMS_ADMINTABLE($_SESSION['APCMS']['TABLE']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['FGCOLOR']); $ADMINTABLE1->AddRow('<strong>Versions-Information</strong>', '', 2); $ADMINTABLE1->AddRow('<strong>APCMS-Version</stron>', ($NEWVERSION != "" ? $NEWVERSION . " " : "") . ' <strong>' . _APCMS_version() . '</stron>'); $ADMINTABLE1->AddRow('PHP-Version', phpversion()); $ADMINTABLE1->AddRow('MySQL-Version', $db->mysqlversion()); $ADMINTABLE1->AddRow('GDLib-Version', _APCMS_getGDVersion()); $CONTENTINHALT .= $ADMINTABLE1->GetTable() . "<br />"; $ADMINTABLE2 = new APCMS_ADMINTABLE($_SESSION['APCMS']['TABLE']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['FGCOLOR']); $ADMINTABLE2->AddRow('<strong>System-Information</strong>', '', 2); $ADMINTABLE2->AddRow('Date', $ACTUALTIME_FORMATTED); $ADMINTABLE2->AddRow('Install-Date', _APCMS_FormattedDateTime($akt_installdate)); $ADMINTABLE2->AddRow('Letztes Backup vom', $LASTBACKUPTIME); $ADMINTABLE2->AddRow('Letztes Backup', $LASTBACKUPFILE); $ADMINTABLE2->AddRow('reg. User', _APCMS_RegUsersNum()); $ADMINTABLE2->AddRow('User Online', $OnlineUserArray['useronline_onlinenum']); $CONTENTINHALT .= $ADMINTABLE2->GetTable() . "<br />"; $ADMINTABLE3 = new APCMS_ADMINTABLE($_SESSION['APCMS']['TABLE']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['BGCOLOR'], $_SESSION['APCMS']['HELPSYSTEM']['FGCOLOR']); $ADMINTABLE3->AddRow('<strong>Support-Information</strong>', '', 2); $ADMINTABLE3->AddRow('APP - Another PHP Program', _APCMS_MakeHref('http://www.php-programs.de/', "http://www.php-programs.de/", "", "_blank")); $ADMINTABLE3->AddRow('Support-Forum', _APCMS_MakeHref('http://www.php-programs.de/apboard/main.php', "http://www.php-programs.de/apboard/main.php", "", "_blank")); $ADMINTABLE3->AddRow('Dokumentation', _APCMS_MakeHref($_SESSION['APCMS']['REL_URL'] . '/apcms_docs/', $_SESSION['APCMS']['REL_URL'] . "/apcms/apcms_docs/", "", "_blank")); $CONTENTINHALT .= $ADMINTABLE3->GetTable();