/** * finish and cleanup navigation.php script execution * * @uses $GLOBALS['controllink'] to close it * @uses $GLOBALS['userlink'] to close it * @uses PMA_outBufferPost() * @uses PMA_DBI_close() * @access private only to be used in navigation.php */ function PMA_exitNavigationFrame() { echo '</body></html>'; // Close MySQL connections if (isset($GLOBALS['controllink']) && $GLOBALS['controllink']) { @PMA_DBI_close($GLOBALS['controllink']); } if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) { @PMA_DBI_close($GLOBALS['userlink']); } // Sends bufferized data PMA_outBufferPost(); exit; }
<?php include './config.footer.inc.php'; ?> </body> </html> <?php /** * Generates profiling data if requested */ if (isset($GLOBALS['cfg']['DBG']['enable']) && $GLOBALS['cfg']['DBG']['enable'] && isset($GLOBALS['cfg']['DBG']['profile']['enable']) && $GLOBALS['cfg']['DBG']['profile']['enable']) { //run the basic setup code first require_once './libraries/dbg/setup.php'; //if the setup ran fine, then do the profiling if (isset($GLOBALS['DBG']) && $GLOBALS['DBG']) { require_once './libraries/dbg/profiling.php'; dbg_dump_profiling_results(); } } /** * Sends bufferized data */ if (isset($GLOBALS['cfg']['OBGzip']) && $GLOBALS['cfg']['OBGzip'] && isset($GLOBALS['ob_mode']) && $GLOBALS['ob_mode']) { PMA_outBufferPost($GLOBALS['ob_mode']); } /** * Stops the script execution */ exit;
<?php /* $Id: footer.inc.php,v 1.14 2002/02/10 09:24:47 loic1 Exp $ */ // In this file you may add PHP or HTML statements that will be used to define // the footer for phpMyAdmin pages. /** * Close MySql non-persistent connections */ if (isset($dbh) && $dbh) { @mysql_close($dbh); } if (isset($userlink) && $userlink) { @mysql_close($userlink); } ?> </body> </html> <?php /** * Sends bufferized data */ if (isset($cfgOBGzip) && $cfgOBGzip && isset($ob_mode) && $ob_mode) { PMA_outBufferPost($ob_mode); }