function get_tables_overhead_simple() { $tables = GDPTDB::get_tables_status(); $size = 0; foreach ($tables as $t) { $size += $t->Data_free; } return $size; }
_e("Size", "gd-press-tools"); ?> </th> <th scope="col" class="awidth" style="text-align: right;"><?php _e("Overhead", "gd-press-tools"); ?> </th> <th scope="col" style="text-align: right;"><?php _e("Options", "gd-press-tools"); ?> </th> </tr> </thead> <tbody> <?php $tables = GDPTDB::get_tables_status(); $col_id = 0; foreach ($tables as $t) { echo '<tr>'; echo '<td style="padding: 0 4px;">'; echo '<div class="gdptdbtoggle on" id="ct' . $col_id . '"><img src="' . PRESSTOOLS_URL . 'gfx/blank.gif" height="16" width="16" /></div>'; echo '</td>'; echo '<td><strong>' . $t->Name . '</strong></td>'; echo '<td>'; $status = GDPTDB::check_table($t->Name); echo $status->Msg_type . ": " . $status->Msg_text; echo '</td>'; echo '<td>' . $t->Collation . '</td>'; echo '<td style="text-align: right;">' . $t->Rows . '</td>'; echo '<td style="text-align: right;">' . gdFunctionsGDPT::size_format($t->Data_length) . '</td>'; echo '<td style="text-align: right;">';