Просмотр файла vavok-1.5.3/pages/traffic.php

Размер файла: 821B
<?php 
// (c) vavok.net
// modified: 22.07.2020. 1:54:10

require_once"../include/startup.php";

$my_title = $lang_traffic['traffic'];
require_once BASEDIR . "themes/" . MY_THEME . "/index.php";

if ($config["gzip"] == "1") {
    echo '<font color="#00FF00">' . $lang_traffic['gzipon'] . '</font><br><br>';
} else {
    echo '<font color="#FF0000">' . $lang_traffic['gzipoff'] . '</font><br><br>';
}

$timeon = maketime(round(time() - $_SESSION['currs']));

echo $lang_traffic['visitedpages'] . ': <b>' . ($_SESSION['counton'] + 1) . '</b><br>';
echo $lang_traffic['timeonsite'] . ': <b>' . $timeon . '</b><br><br>';


echo '<br><a href="../" class="btn btn-primary homepage"><img src="../images/img/homepage.gif" alt=""> ' . $lang_home['home'] . '</a>';

require_once BASEDIR . "themes/" . MY_THEME . "/foot.php";

?>