Zeile 11 | Zeile 11 |
---|
define("IN_MYBB", 1); define('THIS_SCRIPT', 'stats.php');
|
define("IN_MYBB", 1); define('THIS_SCRIPT', 'stats.php');
|
$templatelist = "stats,stats_thread";
| $templatelist = "stats,stats_thread,stats_topforum";
|
require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php"; require_once MYBB_ROOT."inc/class_parser.php";
| require_once "./global.php"; require_once MYBB_ROOT."inc/functions_post.php"; require_once MYBB_ROOT."inc/class_parser.php";
|
Zeile 151 | Zeile 152 |
---|
else { $forum['name'] = htmlspecialchars_uni(strip_tags($forum['name']));
|
else { $forum['name'] = htmlspecialchars_uni(strip_tags($forum['name']));
|
$topforum = '<a href="'.get_forum_link($forum['fid'])."\">{$forum['name']}</a>";
| $forum['link'] = get_forum_link($forum['fid']); eval("\$topforum = \"".$templates->get("stats_topforum")."\";");
|
$topforumposts = $forum['posts']; $topforumthreads = $forum['threads']; }
| $topforumposts = $forum['posts']; $topforumthreads = $forum['threads']; }
|
Zeile 163 | Zeile 165 |
---|
// Only show this if we have anything more the 0 referrals if($statistics['top_referrer']['referrals'] > 0) {
|
// Only show this if we have anything more the 0 referrals if($statistics['top_referrer']['referrals'] > 0) {
|
$toprefuser = build_profile_link($statistics['top_referrer']['username'], $statistics['top_referrer']['uid']);
| $toprefuser = build_profile_link(htmlspecialchars_uni($statistics['top_referrer']['username']), $statistics['top_referrer']['uid']);
|
$top_referrer = $lang->sprintf($lang->top_referrer, $toprefuser, my_number_format($statistics['top_referrer']['referrals'])); } }
| $top_referrer = $lang->sprintf($lang->top_referrer, $toprefuser, my_number_format($statistics['top_referrer']['referrals'])); } }
|
Zeile 182 | Zeile 184 |
---|
} else {
|
} else {
|
$topposter = build_profile_link($statistics['top_poster']['username'], $statistics['top_poster']['uid']);
| $topposter = build_profile_link(htmlspecialchars_uni($statistics['top_poster']['username']), $statistics['top_poster']['uid']);
|
}
$topposterposts = $statistics['top_poster']['poststoday'];
| }
$topposterposts = $statistics['top_poster']['poststoday'];
|