KUNTUL | JINGKONTOT
JINGKONTOT


Server : Apache/2.4.41 (Ubuntu)
System : Linux journalup 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/phpwinfx/templates/database/structure/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/phpwinfx/templates/database/structure/body_for_table_summary.twig
<tbody id="tbl_summary_row">
<tr>
    <th class="print_ignore"></th>
    <th class="tbl_num nowrap">
        {% set num_tables_trans -%}
            {% trans %}%s table{% plural num_tables %}%s tables{% endtrans %}
        {%- endset %}
        {{ num_tables_trans|format(Util_formatNumber(num_tables, 0)) }}
    </th>
    {% if server_slave_status %}
        <th>{% trans 'Replication' %}</th>
    {% endif %}
    {% set sum_colspan = db_is_system_schema ? 4 : 7 %}
    {% if num_favorite_tables == 0 %}
        {% set sum_colspan = sum_colspan - 1 %}
    {% endif %}
    <th colspan="{{ sum_colspan }}" class="print_ignore">{% trans 'Sum' %}</th>
    {% set row_count_sum = Util_formatNumber(sum_entries, 0) %}
    {# If a table shows approximate rows count, display update-all-real-count anchor. #}
    {% set row_sum_url = [] %}
    {% if approx_rows is defined %}
        {% set row_sum_url = {
            'ajax_request': true,
            'db': db,
            'real_row_count': 'true',
            'real_row_count_all': 'true'
        } %}
    {% endif %}
    {% if approx_rows %}
        {% set cell_text -%}
            <a href="db_structure.php
                {{- Url_getCommon(row_sum_url) }}" class="ajax row_count_sum">~
                {{- row_count_sum -}}
            </a>
        {%- endset %}
    {% else %}
        {% set cell_text = row_count_sum %}
    {% endif %}
    <th class="value tbl_rows">{{ cell_text }}</th>
    {% if not (properties_num_columns > 1) %}
        {# MySQL <= 5.5.2 #}
        {% set default_engine = dbi.fetchValue('SELECT @@storage_engine;') %}
        {% if default_engine is empty %}
            {# MySQL >= 5.5.3 #}
            {% set default_engine = dbi.fetchValue('SELECT @@default_storage_engine;') %}
        {% endif %}
        <th class="center">
            <dfn title="{{ '%s is the default storage engine on this MySQL server.'|trans|format(default_engine) }}">
                {{ default_engine }}
            </dfn>
        </th>
        <th>
            {% if db_collation is not empty %}
                <dfn title="{{ Charsets_getCollationDescr(db_collation) }} ({% trans 'Default' %})">
                    {{ db_collation }}
                </dfn>
            {% endif %}
        </th>
    {% endif %}

    {% if is_show_stats %}
        {% set sum = Util_formatByteDown(sum_size, 3, 1) %}
        {% set sum_formatted = sum[0] %}
        {% set sum_unit = sum[1] %}
        <th class="value tbl_size">{{ sum_formatted }} {{ sum_unit }}</th>

        {% set overhead = Util_formatByteDown(overhead_size, 3, 1) %}
        {% set overhead_formatted = overhead[0] %}
        {% set overhead_unit = overhead[1] %}
        <th class="value tbl_overhead">{{ overhead_formatted }} {{ overhead_unit }}</th>
    {% endif %}

    {% if show_charset %}
        <th>{{ db_charset }}</th>
    {% endif %}
    {% if show_comment %}
        <th></th>
    {% endif %}
    {% if show_creation %}
        <th class="value tbl_creation">
            {{ create_time_all ? Util_localisedDate(strtotime(create_time_all)) : '-' }}
        </th>
    {% endif %}
    {% if show_last_update %}
        <th class="value tbl_last_update">
            {{ update_time_all ? Util_localisedDate(strtotime(update_time_all)) : '-' }}
        </th>
    {% endif %}
    {% if show_last_check %}
        <th class="value tbl_last_check">
            {{ check_time_all ? Util_localisedDate(strtotime(check_time_all)) : '-' }}
        </th>
    {% endif %}
</tr>
</tbody>

KUNTUL | JINGKONTOT |