define('OPTIMIZE_TOTAL_SIZE', "Gesamtgrösse");
define('OPTIMIZE_GAIN_SIZE', "Eingespart");
define('OPTIMIZE_STATUS_OK', "Nein");
+define('OPTIMIZE_STATUS_UNSUPPORTED', "Nicht möglich");
define('OPTIMIZE_STATUS_OPTIMIZED', "Optimiert!");
define('OPTIMIZE_DB_TOTAL_TABLES', "Gesamtzahl angelegter Tabellen");
define('OPTIMIZE_DB_TOTAL_SIZE', "Gesamtgröße der Datenbank");
if (empty($row_array[1])) $row_array[1] = "NONE";
$eval = "\$REP = OPTIMIZE_STATUS_".strtoupper($row_array[1]).";";
eval($eval); $B1 = ""; $B2 = "";
+ $OPT = OPTIMIZE_STATUS_UNSUPPORTED;
if ($row_array[4] > 0)
{
$OPT = OPTIMIZE_STATUS_OPTIMIZED;
$B1 = "<STRONG>"; $B2 = "<STRONG>";
$gain_tabs++;
}
- else
+ elseif (count(explode(" ", $row_array[2])) == 0)
{
$eval = "\$OPT = OPTIMIZE_STATUS_".strtoupper($row_array[2]).";";
+ die($eval);
eval($eval);
}
************************************************************************/
// Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
-{
+if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
+
// Add description as navigation point
ADD_DESCR("admin", basename(__FILE__));