'.$row['Name'].' | ';
$tbl_zeile.=''.$row['Rows'].' '.$lang['datawith'].' '.byte_output($row['Data_length']+$row['Index_length']).', '.$lang['lastbufrom'].' '.$row['Update_time'].' | ';
}
} else {
//Restore - Header aus Backupfile lesen
$button_name='restore_tbl';
$button_caption="";
$gz = (substr($filename,-3))=='.gz' ? 1 : 0;
if ($gz)
{
$fp = gzopen ($fpath.$filename, "r");
$statusline=gzgets($fp,40960);
$offset= gztell($fp);
} else {
$fp = fopen ($fpath.$filename, "r");
$statusline=fgets($fp,5000);
$offset= ftell($fp);
}
//Header auslesen
$sline=ReadStatusline($statusline);
$anzahl_tabellen=$sline[0];
$anzahl_eintraege=$sline[1];
$part=($sline[2]=="") ? 0 : substr($sline[2],3);
$EXTINFO= $sline[6];
if($EXTINFO=="") {
$tbl_zeile.=''.$lang['not_supported'].' | ';
} else {
for($i=0;$i<$anzahl_tabellen;$i++) {
if ($gz)
{
gzseek($fp,$offset);
$statusline=gzgets($fp,40960);
$offset= gztell($fp);
} else {
fseek($fp,$offset);
$statusline=fgets($fp,5000);
$offset= ftell($fp);
}
$s=explode("|",$statusline);
$tbl_zeile.='
'.$s[1].' | ';
$tbl_zeile.=''.$s[2].' '.$lang['datawith'].' '.byte_output($s[3]).', '.$lang['lastbufrom'].' '.$s[4].' |
';
}
if($gz) gzclose ($fp); else fclose ($fp);
}
}
$buttons=' |
';
echo ''.$tblr.' - '.$lang['tableselection'].'
'.$lang['db'].': '.$databases['db_actual'].'
';
echo '
';
echo '
';
?>