</tr> </table> </fieldset>'; } else { if ($tab == 1) { echo '<fieldset> <legend>', WT_I18N::translate('Total families: %s', $stats->totalFamilies()), '</legend> <b>', WT_I18N::translate('Events'), '</b> <table class="facts_table"> <tr> <td class="facts_label">', WT_I18N::translate('Total marriages'), '</td> <td class="facts_label">', WT_I18N::translate('Total divorces'), '</td> </tr> <tr> <td class="facts_value" align="center">', $stats->totalMarriages(), '</td> <td class="facts_value" align="center">', $stats->totalDivorces(), '</td> </tr> <tr> <td class="facts_label">', WT_I18N::translate('Marriages by century'), '</td> <td class="facts_label">', WT_I18N::translate('Divorces by century'), '</td> </tr> <tr> <td class="facts_value statistics-page">', $stats->statsMarr(), '</td> <td class="facts_value statistics-page">', $stats->statsDiv(), '</td> </tr> <tr> <td class="facts_label">', WT_I18N::translate('Earliest marriage'), '</td> <td class="facts_label">', WT_I18N::translate('Earliest divorce'), '</td> </tr> <tr> <td class="facts_value">', $stats->firstMarriage(), '</td>