Ejemplo n.º 1
0
?>
    <th colspan="<?php 
echo $db_is_information_schema ? 3 : 6;
?>
" align="center">
        <?php 
echo __('Sum');
?>
</th>
    <th class="value tbl_rows"><?php 
echo $sum_row_count_pre . PMA_formatNumber($sum_entries, 0);
?>
</th>
<?php 
if (!($cfg['PropertiesNumColumns'] > 1)) {
    $default_engine = PMA_DBI_get_default_engine();
    echo '    <th align="center">' . "\n" . '        <dfn title="' . sprintf(__('%s is the default storage engine on this MySQL server.'), $default_engine) . '">' . $default_engine . '</dfn></th>' . "\n";
    // we got a case where $db_collation was empty
    echo '    <th align="center">' . "\n";
    if (!empty($db_collation)) {
        echo '        <dfn title="' . PMA_getCollationDescr($db_collation) . ' (' . __('Default') . ')">' . $db_collation . '</dfn>';
    }
    echo '</th>';
}
if ($is_show_stats) {
    ?>
    <th class="value tbl_size"><?php 
    echo $sum_formatted . ' ' . $unit;
    ?>
</th>
    <th class="value"><?php 
    </th>
    <th colspan="<?php 
echo $db_is_information_schema ? 3 : 6;
?>
" align="center">
        <?php 
echo $strSum;
?>
</th>
    <th class="value"><?php 
echo PMA_formatNumber($sum_entries, 0);
?>
</th>
<?php 
if (!($cfg['PropertiesNumColumns'] > 1)) {
    echo '    <th align="center">' . PMA_DBI_get_default_engine() . '</th>' . "\n";
    if (!empty($db_collation)) {
        echo '    <th align="center">' . "\n" . '        <dfn title="' . PMA_getCollationDescr($db_collation) . '">' . $db_collation . '</dfn></th>';
    }
}
if ($cfg['ShowStats']) {
    ?>
    <th class="value"><?php 
    echo $sum_formated . ' ' . $unit;
    ?>
</th>
    <th class="value"><?php 
    echo $overhead_formated . ' ' . $overhead_unit;
    ?>
</th>
    <?php