, 2003-2006 // Raul Mateos , 2005-2006 // Load global vars require("include/config.php"); //require("include/functions.php"); //require("include/functions_db.php"); if (comprueba_login() == 0) if ((give_acl($id_user, 0, "DM")==1) or (dame_admin($id_user)==1)) { // Todo for a good DB maintenance /* - Delete too on datos_string and and datos_inc tables - A function to "compress" data, and interpolate big chunks of data (1 month - 60000 registers) onto a small chunk of interpolated data (1 month - 600 registers) - A more powerful selection (by Agent, by Module, etc). */ echo "

".$lang_label["dbmain_title"]."

"; echo "

".$lang_label["pandora_db"]."

"; echo ""; echo "
"; echo ""; echo "
".$lang_label["db_description"]."
"; echo "
"; echo "
"; echo "

".$lang_label["current_dbsetup"]."

"; echo "".$lang_label["days_compact"].": ".$days_compact."

"; echo "".$lang_label["days_purge"].": ".$days_purge."

"; echo "
"; echo "
"; echo $lang_label["dbsetup_info"]; echo "

"; echo ''; echo "
"; } else { audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access Database Management"); require ("general/noaccess.php"); } ?>