Location: PHPKode > projects > Spacemarc News > spacemarc-news/admin/footer.php
<?php

/*****************************************************************
*  Spacemarc News
*  Version: 1.2.0
*  Author and copyright (C): Marcello Vitagliano
*  Web site: http://www.spacemarc.it
*  License: GNU General Public License
*
*  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 3
*  of the License, or (at your option) any later version.
*
*  Current file: footer.php
*****************************************************************/

if (session_id() == "") {
    session_start();
}

if (!defined('IN_NEWS')) {
    die("Internal file");
}

//includo i file di configurazione
require_once (dirname(__FILE__) . '/../config.php');

if (!isset($_SESSION['loggato']) || $_SESSION['loggato'] != 'login_ok') {
    header("Location: " . $dir_admin . "/login.php");
    exit();
}
?>
<div id="footer" class="text2">Spacemarc News <?php echo $vers; ?> &copy; <a href="http://www.spacemarc.it" target="_blank" class="piccolo">Spacemarc.it</a>  
<?php

//tempo generazione pagina (2a parte)
$mtime2 = @explode(" ", microtime());
$endtime = $mtime2[1] + $mtime2[0];
$totaltime = ($endtime - $starttime);
$totaltime = @number_format($totaltime, 3);
echo " - Pagina generata in " . $totaltime . " sec. - " . strftime("%a %d %b %Y %H:%M");
?> 
</div>
Return current item: Spacemarc News