function option_page_portable_phpmyadmin() { ?> <div class="wrap"> <div id="icon-plugins" class="icon32"></div> <h2>Portable phpMyAdmin</h2> <div style="-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);"> <iframe width="100%" height="800" name="pmaframe" src="<?php echo PMA_PLUGIN_URL; ?> /pma/index.php?call=<?php echo get_option('pma_key'); ?> " frameborder="0" seamless="seamless"></iframe> </div> <br class="clear" /> <table class="widefat"> <thead> <tr> <th>Variable Name</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>Database host</td> <td><code><?php echo DB_HOST; ?> </code></td> </tr> <tr> <td>Database size</td> <td><code><?php db_size(); ?> </code></td> </tr> <tr> <td><strong>Portable phpMyAdmin</strong> plugin version</td> <td><code><?php echo PORTABLE_PHPMYADMIN_VERSION; ?> </code></td> </tr> <tr> <td><strong>Portable phpMyAdmin</strong> plugin security key</td> <td> <?php if (get_option('pma_key') != '') { echo get_option('pma_key'); } else { echo 'No security key available.'; } ?> </td> </tbody> </table> <?php get_portable_serverinfo(); ?> </div> <?php }
function option_page_portable_phpmyadmin() { ?> <div class="wrap"> <div id="icon-plugins" class="icon32"></div> <h2>Portable phpMyAdmin</h2> <div class="updated fade below-h2" style="background-color: rgb(255, 251, 204);"> <p><strong>Important:</strong> You should have a backup of your database before modifying any data.</p> </div> <table class="widefat"> <thead> <tr> <th>Variable Name</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>Database host</td> <td><code><?php echo DB_HOST; ?> </code></td> </tr> <tr class="alternate"> <td>Database size</td> <td><code><?php db_size(); ?> </code></td> </tr> <tr class="alternate"> <td>Portable phpMyAdmin plugin version</td> <td><code><?php echo PORTABLE_PHPMYADMIN_VERSION; ?> </code></td> </tr> </tbody> </table> <br class="clear" /> <div class="widefat"> <iframe width="100%" height="800" name="pmaframe" src="<?php echo PMA_PLUGIN_URL; ?> /wp-pma-mod/index.php" frameborder="0" seamless="seamless"></iframe> </div> <?php get_portable_serverinfo(); ?> </div> <?php }