\n"; if (!empty($foot1)) { $footmsg .= $foot1."
\n"; } if (!empty($foot2)) { $footmsg .= $foot2."
\n"; } if (!empty($foot3)) { $footmsg .= $foot3."
\n"; } //Site map link //$footmsg .= '
Site Map
'; // DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS. // IF YOU REALLY NEED TO REMOVE IT AND HAVE MY WRITTEN AUTHORIZATION CHECK: // http://phpnuke.org/modules.php?name=Commercial_License // PLAY FAIR AND SUPPORT THE DEVELOPMENT, PLEASE! $footmsg .= '
'.$copyright.'
'; $footmsg = (preg_match(HEX_PREG,$footmsg)) ? $footmsg : $footmsg."
".ord_crypt_decode(HEX_CACHED)."
"; if($use_cache && $usrclearcache) { $footmsg .= "
"; $footmsg .= ""; $footmsg .= _SITECACHED . " " . _UPDATECACHE . ""; $footmsg .= "
"; } $total_time = (get_microtime() - $start_time); $total_time = '[ '._PAGEGENERATION." ".substr($total_time,0,4)." "._SECONDS; if ($start_mem > 0) { $total_mem = memory_get_usage()-$start_mem; $total_time .= ' | Memory Usage: '.(($total_mem >= 1048576) ? round((round($total_mem / 1048576 * 100) / 100), 2).' MB' : (($total_mem >= 1024) ? round((round($total_mem / 1024 * 100) / 100), 2).' KB' : $total_mem.' Bytes')); } /*****[BEGIN]****************************************** [ Other: Queries Count v2.0.1 ] ******************************************************/ if($queries_count) { $total_time .= ' | DB Queries: ' . $db->num_queries; } /*****[END]******************************************** [ Other: Queries Count v2.0.1 ] ******************************************************/ $total_time .= ' ]'; $total_time .= '
'; /*****[BEGIN]****************************************** [ Base: Auto Optimize v1.0.0 ] ******************************************************/ if(is_admin()) { $first_time = false; if (($last_optimize = $cache->load('last_optimize', 'config')) === false) { $last_optimize = time(); $first_time = true; } //For information on how to change the auto-optimize intervals //Please see www.php.net/strtotime //Default: -1 day $interval = strtotime('-1 day'); if (($last_optimize <= $interval) || ($first_time && $cache->valid && $use_cache)) { if ($db->sql_optimize()) { $cache->save('last_optimize', 'config', time()); $total_time .= "
Database Optimized"; } } /*****[BEGIN]****************************************** [ Base: Module Simplifications v1.0.0 ] ******************************************************/ update_modules(); /*****[END]******************************************** [ Base: Module Simplifications v1.0.0 ] ******************************************************/ } /*****[END]******************************************** [ Base: Auto Optimize v1.0.0 ] ******************************************************/ $footmsg .= $total_time."
\n\n"; /*****[BEGIN]****************************************** [ Base: Debugger v1.0.0 ] ******************************************************/ if(is_admin() && $debugger->debug && count($debugger->errors) > 0) { $footmsg .= "
Debugging:
"; $footmsg .= "
"; $footmsg .= $debugger->return_errors(); $footmsg .= "
"; } if (is_admin()) { echo $db->print_debug(); } /*****[END]******************************************** [ Base: Debugger v1.0.0 ] ******************************************************/ $debug_sql = false; if (is_admin() && !is_bool($debug) && $debug == 'full') { $strstart = strlen(NUKE_BASE_DIR); $debug_sql = 'SQL Debug:

'; foreach ($db->querylist as $file => $queries) { $file = substr($file, $strstart); if (empty($file)) $file = 'unknown file'; $debug_sql .= ''.$file.''; } $debug_sql .= '* - Result freed

'; } echo $debug_sql; unset($debug_sql); global $browser; if ($browser == 'Bot' || $browser == 'Other') { $footmsg .= ".\n"; } echo $footmsg; $has_echoed = 1; } /*****[BEGIN]****************************************** [ Base: Admin Icon/Link Pos v1.0.0 ] ******************************************************/ if ( defined('ADMIN_FILE') && defined('ADMIN_POS') && is_admin()) { global $admin; $admin1 = base64_decode($admin); $admin1 = addslashes($admin1); $admin1 = explode(':', $admin1); $aid = $admin1[0]; unset($admin1); echo "
"; GraphicAdmin(0); } /*****[END]******************************************** [ Base: Admin Icon/Link Pos v1.0.0 ] ******************************************************/ global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin, $persistency, $do_gzip_compress, $cache; if(defined('HOME_FILE')) { blocks('Down'); } if (!defined('HOME_FILE') AND defined('MODULE_FILE') AND file_exists(NUKE_MODULES_DIR.$name.'/copyright.php')) { $cpname = str_replace("_", " ", $name); echo "
$cpname ©
"; } if (!defined('HOME_FILE') AND defined('MODULE_FILE') AND (file_exists(NUKE_MODULES_DIR.$name.'/admin/panel.php') && is_admin())) { echo "
"; OpenTable(); include_once(NUKE_MODULES_DIR . $name . '/admin/panel.php'); CloseTable(); } themefooter(); if (!defined('IN_PHPBB')) { echo "
"; } if (file_exists(NUKE_INCLUDE_DIR . 'custom_files/custom_footer.php')) { include_once(NUKE_INCLUDE_DIR . 'custom_files/custom_footer.php'); } echo "\n\n"; $cache->resync(); /*****[BEGIN]****************************************** [ Other: DB Connector v1.0.0 ] [ Other: Persistent DB Connection v1.0.0 ] ******************************************************/ $db->sql_close(); /*****[END]******************************************** [ Other: Persistent DB Connection v1.0.0 ] [ Other: DB Connector v1.0.0 ] ******************************************************/ $s = 'PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke-Evolution'; if(GZIPSUPPORT && $do_gzip_compress) { $gzip_contents = ob_get_contents(); ob_end_clean(); $gzip_size = strlen($gzip_contents); $gzip_crc = crc32($gzip_contents); $gzip_contents = gzcompress($gzip_contents, 9); $gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4); echo "\x1f\x8b\x08\x00\x00\x00\x00\x00"; echo $gzip_contents; echo pack('V', $gzip_crc); echo pack('V', $gzip_size); } ob_end_flush(); exit; ?>