Location: PHPKode > projects > Centralized Timeregistration System > website/includes/footer.php
<?php
/***************************************************************************
     footer.php  -  Common footer. prints footer and does some cleaning up
                             -------------------
    begin                : May 6, 2002
    copyright            : (C) 2002 by Harm Kolk & Onno de Jong 
    email                : hide@address.com 
                         : hide@address.com 

    $Id: footer.php,v 1.10 2002/06/13 09:46:58 onnozel Exp $

    This file is part of the myCts project, specifically it belongs to
    the website.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

define('INC_FOOTER', true);

$template->set_filenames(
	array(
		'footer' => 'foot.tpl.htm')
);
$template->assign_vars(
	array(
		'LANG_FAQ' => 		$lang[MENU]['faq'],
		'LANG_ABOUT' => 	$lang[MENU]['about'],
		'LANG_LICENSE' => 	$lang[MENU]['license']
	)
);

$template->pparse('footer');
ob_end_flush();
	
if(defined('INC_DB'))
{
	$db->disconnect();
}

global $starttime;
$mtime = microtime();
$mtime = explode(' ',$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$totaltime = ($endtime - $starttime);


if(DEBUG_ENV)
{
	echo 'Total page generating time: '. round($totaltime, 2) . ' Seconds';
}
?>
Return current item: Centralized Timeregistration System