system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /usr/local/cwpsrv/var/services/pma/templates/table/relation/
Upload File :
Current File : //usr/local/cwpsrv/var/services/pma/templates/table/relation/relational_dropdown.twig

<select name="{{ name }}" title="{{ title }}">
    <option value=""></option>
    {% set seen_key = false %}
    {% for value in values %}
        <option value="{{ value }}"
            {%- if (foreign is not same as(false) and value == foreign) or
              (not foreign and db is defined and db is same as (value)) %}
                selected="selected"
                {%- set seen_key = true -%}
            {%- endif %}>
            {{ value }}
        </option>
    {% endfor %}
    {% if foreign is not same as(false) and foreign != "" and not seen_key %}
        <option value="{{ foreign }}" selected="selected">
            {{ foreign }}
        </option>
    {% endif %}
</select>