Zeile 850 | Zeile 850 |
---|
");
$plugins->run_hooks("xmlhttp_refresh_question");
|
");
$plugins->run_hooks("xmlhttp_refresh_question");
|
| require_once MYBB_ROOT."inc/class_parser.php"; $parser = new postParser; $parser_options = array( "allow_html" => 0, "allow_mycode" => 1, "allow_smilies" => 1, "allow_imgcode" => 1, "allow_videocode" => 1, "filter_badwords" => 1, "me_username" => 0, "shorten_urls" => 0, "highlight" => 0, );
|
if($db->num_rows($query) > 0) { $question = $db->fetch_array($query);
|
if($db->num_rows($query) > 0) { $question = $db->fetch_array($query);
|
echo json_encode(array("question" => htmlspecialchars_uni($question['question']), 'sid' => htmlspecialchars_uni($question['sid'])));
| echo json_encode(array("question" => $parser->parse_message($question['question'], $parser_options), 'sid' => htmlspecialchars_uni($question['sid'])));
|
exit; } else
| exit; } else
|
Zeile 1091 | Zeile 1106 |
---|
} else { foreach($referrals as $referral) {
|
} else { foreach($referrals as $referral) {
|
| $bg_color = alt_trow();
|
// Format user name link $username = htmlspecialchars_uni($referral['username']); $username = format_name($username, $referral['usergroup'], $referral['displaygroup']); $username = build_profile_link($username, $referral['uid']);
|
// Format user name link $username = htmlspecialchars_uni($referral['username']); $username = format_name($username, $referral['usergroup'], $referral['displaygroup']); $username = build_profile_link($username, $referral['uid']);
|
|
|
$regdate = my_date('normal', $referral['regdate']);
|
$regdate = my_date('normal', $referral['regdate']);
|
|
|
eval("\$referral_rows .= \"".$templates->get('member_referral_row')."\";");
|
eval("\$referral_rows .= \"".$templates->get('member_referral_row')."\";");
|
$bg_color = alt_trow();
| |
} }
| } }
|