Location: PHPKode > projects > ProNuke. Postnuke To Oracle > postnuke/html/footer.php
<?php
// File: $Id: footer.php,v 1.11 2001/12/06 00:26:03 proca Exp $ $Name:  $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Francisco Burzi
// Purpose of file: 
// ----------------------------------------------------------------------

global $PHP_SELF, $debug, $dbg, $debug_sqlcalls;
if (eregi("footer.php", $PHP_SELF)) {
    die ("You can't access this file directly...");
}

$footer = 1;

function footmsg() {
    include(WHERE_IS_PERSO."config.php");
    echo "

	<font class=\"pn-sub\">\n
    $foot1<br>\n
	</font>\n

    ";
}

function foot() {
    global $index;
    if (!isset($index)) {
	include(WHERE_IS_PERSO."config.php");
	global $user, $cookie;
    } else {
	global $storynum, $user, $cookie, $Default_Theme, $foot1;
    }
    themefooter();
    echo "
    </body>\n
    </html>";

}

foot();

// show time to render
global $dbg_starttime;
$mtime = explode(" ",microtime());
$dbg_endtime = $mtime[1] + $mtime[0];
$dbg_totaltime = ($dbg_endtime - $dbg_starttime);
// printf("<center><font size=-1>Page created in %f seconds.</font></center>", $dbg_totaltime);
if ($debug){
    $dbg->v($dbg_totaltime,"Page created in (seconds)");
    $dbg->v($debug_sqlcalls,"Number of SQL Calls");
}

?>
Return current item: ProNuke. Postnuke To Oracle