parent.MySQL_Dumper_content.location.href="frameset.php?action=dump&comment='.urlencode($dk).'";'; else echo ''; exit; } //-------------------------------------------------------- //*** Abfrage ob Dump *** //-------------------------------------------------------- if (isset($_POST["dump"])) { if(isset($_POST["tblfrage"]) && $_POST["tblfrage"]==1) { //Tabellenabfrage $tblfrage_refer="dump"; include ("inc/tabellenabfrage.php"); exit; } else { $databases["db_actual_tableselected"]=""; WriteParams(1,$config,$databases); @unlink($config["paths"]["log"]."out.tmp"); $dk=(isset($_POST["dumpKommentar"])) ? $_POST["dumpKommentar"] : ""; $dump["fileoperations"]=0; if ($config["interface_browser_ie"]) echo ''; else echo ''; } } //-------------------------------------------------------- //*** Abfrage ob Restore nach Tabellenaufruf *** //-------------------------------------------------------- if (isset($_POST["restore_tbl"])) { $databases["db_actual_tableselected"]=substr($_POST["tbl_array"],0,strlen($_POST["tbl_array"])-1); WriteParams(1,$config,$databases); echo ''; exit; } //-------------------------------------------------------- //*** Abfrage ob Restore *** //-------------------------------------------------------- if (isset($_POST["restore"])) { if (isset($_POST["file"])) { if(file_exists($config["paths"]["log"]."restore.tmp")) @unlink($config["paths"]["log"]."restore.tmp"); if(isset($_POST["tblfrage"]) && $_POST["tblfrage"]==1) { //Tabellenabfrage $tblfrage_refer="restore"; $filename=urldecode($_POST["file"][0]); include ("inc/tabellenabfrage.php"); exit; } else { $databases["db_actual_tableselected"]=""; WriteParams(1,$config,$databases); if($config["interface_browser_ie"]) echo ''; else echo ''; } } else $msg.= '
'.$lang["fm_nofile"].'
'.br(); } //-------------------------------------------------------- //*** Abfrage ob Delete *** //-------------------------------------------------------- if (isset($_POST["delete"]) ) { $msg=""; if (isset($_POST["file"])) { $file=$_POST["file"]; //hier muss die Abfrage checkbox/radiobox rein if($_POST["multi"]==1) { $delfiles=Array(); $msg.= '';
for($i=0;$i
'.$lang["fm_delete1"].$fpath.$_POST["file"][0].$lang["fm_delete2"].'
'; WriteLog("deleted '".$_POST["file"][0]."'."); } else { $msg.= ''.$lang["fm_delete1"].$fpath.$_POST["file"][0].$lang["fm_delete3"].'
'; } } } else $msg.= ''.$lang["fm_nofile"].'
'.br(); } if (isset($_POST["deleteauto"]) ) { //hier kommt autodelete rein $msg.=AutoDelete(); } if (isset($_POST["deleteall"]) ) { //hier kommt alldelete rein $del=DeleteFilesM($fpath,"*.sql"); if($del==0){ //$msg.="Fehler beim löschen!"; }else{ for ($i=0; $i'.$Theader.' | '.br().''.$Wheader.' | '.br().'|||||||||
'.$lang['db'].' | '.br().'gz | '.br().'Script | '.br().''.$lang['comment'].' | '.br().''.$lang["fm_filedate"].' | '.br().'Multipart | '.br().''.$lang["fm_tables"].' / '.$lang["fm_records"].' | '.br().''.$lang["fm_filesize"].' | '.br().'|||
'.br(); if($multi==0){ $fl.=''; } else { $fl.=''; } $fl.=($db_backups[$i]["multipart"]==0) ? ' '.$db_backups[$i]["db"].' | '.br() : ' '.$db_backups[$i]["db"].''.br(); $fl.=''.((substr($dbn,-3)==".gz") ? '' : " ").' | '; $fl.=''.$db_backups[$i]["script"].' | '; $fl.=''.(($db_backups[$i]["kommentar"]!="") ? '' : " ").' | '; $fl.=''.$db_backups[$i]["date"].' | '.br(); $fl.=''; $fl.=($db_backups[$i]["multipart"]==0) ? $lang["no"] : ''.$db_backups[$i]["multipart"].' Files'; // $fl.=' | '.br().''; $fl.=($db_backups[$i]["eintraege"]!=-1) ? $db_backups[$i]["tabellen"].' / '.number_format($db_backups[$i]["eintraege"],0,",",".") :$lang["fm_oldbackup"]; $fl.=' | '.br(); $fl.=''.byte_output($db_backups[$i]["size"]).' | '.br(); $fl.='|||
All Parts: | '.PartListe($db_backups[$i]["name"],$db_backups[$i]["multipart"]).' | '; } } } } $fl.='|||||||||
'.$lang['fm_all_bu'].' | '.br().'||||||||||
'.$lang["db"].' | '.br().''.$lang['fm_anz_bu'].' | '.br().''.$lang['fm_last_bu'].' | '.br().''.$lang['fm_totalsize'].' | '.br().''.br().' | ||||||
'.$keyaus.' | '.br(); $fl.=''.$val.' | '.br(); $fl.=''.((isset($db_summary_last[$key])) ? $db_summary_last[$key] : "").' | '.br(); $fl.=''.byte_output($db_summary_size[$key]).' | '.br(); $fl.=''.br(); //.' | '.br(); $fl.=' | |||||
'.$lang["fm_nofilesfound"].' | ||||||||||
'.$lang["fm_sizesum"].'('.$Sum_Files.' files): | '.br(); $fl.= ''.byte_output($gesamt).' | '.br(); $fl.= '|||||||||
'.$lang["fm_freespace"].': | '.br(); $fl.= ''.$space.' | '.br(); $fl.= '
'; print_r($db_backups); echo '