prefix; $lenpre = strlen($pre); $tablesstatus = $wpdb->get_results("SHOW TABLE STATUS"); print "
"; print "
"; print "

"; print "

Semmelstatz › Datenbank

"; print "
Datenbank
"; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; foreach($tablesstatus as $key=>$tablestatus) { if(substr($tablestatus->Name,0,$lenpre) != $pre) continue; print ""; print ""; print ""; print ""; print ""; print ""; print ""; if($tablestatus->Data_free > 0) { print ""; } else { print ""; } $row_usage += $tablestatus->Rows; $data_usage += $tablestatus->Data_length; $index_usage += $tablestatus->Index_length; $total_usage += $tablestatus->Data_length + $tablestatus->Index_length; $overhead_usage += $tablestatus->Data_free; echo ''; } print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print "
Nr.TabellenDatensätzeDatenIndexDaten & IndexÜberhang".($key+1)."".$tablestatus->Name."".number_format($tablestatus->Rows,0,',','.')."".number_format($tablestatus->Data_length/1024,0,',','.')." kb".number_format($tablestatus->Index_length/1024,0,',','.')." kb".number_format(($tablestatus->Data_length + $tablestatus->Index_length)/1024,0,',','.')." kb"; print " ".number_format($tablestatus->Data_free/1024,2,',','.')." kb"; print "--
Gesamt ".number_format($row_usage,0,',','.')."".number_format($data_usage/1024,0,',','.')." kb".number_format($index_usage/1024,0,',','.')." kb".number_format($total_usage/1024,0,',','.')." kb".number_format($overhead_usage/1024,2,',','.')." kb

Es werden ausschließlich die WORDPRESS-Tabellen angezeigt, die zum Blog '".get_option('blogname')."' gehören.

"; print "
"; sem_showCopyright(); print "
"; ?>