VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/webtrees/resources/views/modules/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/webtrees/resources/views/modules/html/template-statistics.phtml
<?php

declare(strict_types=1);

use Fisharebest\Webtrees\Http\RequestHandlers\TreePage;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Tree;

/**
 * @var Tree $tree
 */

?>

<div class="gedcom_stats">
    <p>
        <a href="<?= e(route(TreePage::class, ['tree' => $tree->name()])) ?>">#gedcomTitle#</a>
    </p>

    <?= I18N::translate('This family tree was last updated on %s.', '#gedcomUpdated#') ?>

    <div class="row">
        <div class="col col-sm-4">
            <table class="table wt-facts-table">
                <tr>
                    <th scope="row"><?= I18N::translate('Individuals') ?></th>
                    <td>#totalIndividuals#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Males') ?></th>
                    <td>#totalSexMales#<br>#totalSexMalesPercentage#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Females') ?></th>
                    <td>#totalSexFemales#<br>#totalSexFemalesPercentage#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Total surnames') ?></th>
                    <td>#totalSurnames#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Families') ?></th>
                    <td>#totalFamilies#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Sources') ?></th>
                    <td>#totalSources#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Media objects') ?></th>
                    <td>#totalMedia#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Repositories') ?></th>
                    <td>#totalRepositories#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Events') ?></th>
                    <td>#totalEvents#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Users') ?></th>
                    <td>#totalUsers#</td>
                </tr>
            </table>
        </div>

        <div class="col col-sm-8">
            <table class="table wt-facts-table">
                <tr>
                    <th scope="row"><?= I18N::translate('Earliest birth') ?></th>
                    <td>#firstBirth#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Latest birth') ?></th>
                    <td>#lastBirth#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Earliest death') ?></th>
                    <td>#firstDeath#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Latest death') ?></th>
                    <td>#lastDeath#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Individual who lived the longest') ?></th>
                    <td>#longestLife#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Average age at death') ?></th>
                    <td>#averageLifespan#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Family with the most children') ?></th>
                    <td>#largestFamilySize#<br>#largestFamily#</td>
                </tr>
                <tr>
                    <th scope="row"><?= I18N::translate('Average number of children per family') ?></th>
                    <td>#averageChildren#</td>
                </tr>
            </table>
        </div>
    </div>

    <p>
        <b><?= I18N::translate('Most common surnames') ?></b>
    </p>

    <p>
        #commonSurnames#
    </p>
</div>

VaKeR 2022