Вход Регистрация
Файл: style/themes/default/foot.php
Строк: 28
<?php

lang
::start('foot');
list(
$msec$sec) = explode(chr(32), microtime());
$page_size ob_get_length();
ob_end_flush();
if (!isset(
$_SESSION['traf'])) {
    
$_SESSION['traf'] = 0;
}
$_SESSION['traf'] += $page_size;
rekl(3);
//Загрузка дополнительных плагинов
$Search glob('sys/panel_foot/*.php');
if (
$Search != null) {
    foreach (
$Search as $load_plugins) {
        include_once 
$load_plugins;
    }
}
if (
$set['bb_youtube'] == 1) {
    
?>
<script type="text/javascript" src="/sys/js/youtube/plugins.js"></script>
<?php

}
echo 
rekl_fiera();
#    включаем стастистику сайта
if ($user['group_access'] > and $set['panel_foot_sys'] == 1) {
    echo 
'<div class="foot_i" style="text-align: center;">
    <small>[ ' 
number_format($page_size 10242) . ' Кб    / ' .
    
number_format($_SESSION['traf'] / 10242) . ' Кб    / ' .
    
number_format(($sec $msec) - $conf['headtime'], 3) . 'сек / Memory ' .
    
size_file(memory_get_usage() - MEMORY_START) . ' / Sql :' . ($db->query_number ?: '') . ' / mysql ' .
    
number_format($db->tpassed4) . ' ]</small>
     </div>'
;
} else {
    echo 
'<div class="foot_i" style="text-align: center;">
     <small>[ ' 
number_format($page_size 10242) . ' Кб    :: ' number_format($_SESSION['traf'] / 10242) . ' Кб (sql ' .
    (
$db->query_number ?: '') . ')]</small>
     </div>'
;
}
echo 
'</body>' PHP_EOL '</html>';
unset(
$set$ank$user);

?>
Онлайн: 2
Реклама