404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.59.219.20: ~ $
<?php use PMA\libraries\Template; ?>
<form class="submenu-item" action="server_privileges.php" id="<?= $formId; ?>" method="post">
    <?= PMA_URL_getHiddenInputs(); ?>
    <input type="hidden" name="username" value="<?= htmlspecialchars($userName); ?>" />
    <input type="hidden" name="hostname" value="<?= htmlspecialchars($hostName); ?>" />

    <fieldset>
        <legend data-submenu-label="<?= $subMenuLabel; ?>">
            <?= $legend; ?>
        </legend>

        <table class="data">
            <thead>
                <tr>
                    <th><?= $typeLabel; ?></th>
                    <th><?= __('Privileges'); ?></th>
                    <th><?= __('Grant'); ?></th>
                    <?php if ($type == 'database') : ?>
                        <th><?= __('Table-specific privileges'); ?></th>
                    <?php elseif ($type == 'table') : ?>
                        <th><?= __('Column-specific privileges'); ?></th>
                    <?php endif; ?>
                    <th colspan="2"><?= __('Action'); ?></th>
                </tr>
            </thead>

            <tbody>
                <?php if (count($privileges) == 0) : ?>
                    <?php $colspan = ($type == 'database' ? 7 : ($type == 'table' ? 6 : 5)); ?>
                    <tr class="odd">
                        <td colspan="<?= $colspan; ?>"><center><i><?= __('None') ?></i></center></td>
                    </tr>
                <?php else : ?>
                    <?php $odd = true; ?>
                    <?php foreach ($privileges as $privilege) : ?>
                        <?= Template::get('privileges/privileges_summary_row')
                                ->render(
                                    array_merge(
                                        $privilege,
                                        array(
                                            'odd'  => $odd,
                                            'type' => $type,
                                        )
                                    )
                                ); ?>
                        <?php $odd = !$odd; ?>
                    <?php endforeach; ?>
                <?php endif; ?>
            </tbody>
        </table>

        <?php if ($type == 'database') : ?>
            <?= Template::get('privileges/add_privileges_database')
                    ->render(array('databases' => $databases)); ?>
        <?php elseif ($type == 'table') : ?>
            <?= Template::get('privileges/add_privileges_table')
                    ->render(array('database' => $database, 'tables' => $tables)); ?>
        <?php else: // routine ?>
            <?= Template::get('privileges/add_privileges_routine')
                    ->render(array('database' => $database, 'routines' => $routines)); ?>
        <?php endif; ?>

    </fieldset>

    <fieldset class="tblFooters">
        <input type="submit" value="<?= __('Go'); ?>" />
    </fieldset>
</form>

Filemanager

Name Type Size Permission Actions
add_privileges_database.phtml File 702 B 0644
add_privileges_routine.phtml File 631 B 0644
add_privileges_table.phtml File 611 B 0644
edit_routine_privileges.phtml File 1.27 KB 0644
privileges_summary.phtml File 2.89 KB 0644
privileges_summary_row.phtml File 486 B 0644