defined('_IN_JOHNCMS') or die('Error: restricted access'); require_once ('incfiles/class_mainpage.php'); $mp = new mainpage(); echo '
' . ' '; function blog_count($prefix) { global $realtime; $count = mysql_result(mysql_query('SELECT COUNT(*) FROM `' . $prefix . 'blogs`;'), 0); $new = mysql_result(mysql_query('SELECT COUNT(*) FROM `' . $prefix . 'blogs` WHERE `time` > ' . strtotime(date('d.m.o',$realtime)) . ';'), 0); if ($new > 0) $count .= ' / +' . $new . ''; return $count; } include_once 'foto/lugaro/inc/count.php'; include_once $SERVER['DOCUMENT_ROOT'].'piramida/func_piramid.php'; echo '