$emailsubject = $lang->sprintf($lang->$lang_string_subject, $mybb->settings['bbname']); $emailmessage = $lang->sprintf($lang->$lang_string_message, $mybb->user['username'], $mybb->settings['bbname'], $send_report_subject, $mybb->settings['bburl'], $send_report_url, $report_reason);
|
$emailsubject = $lang->sprintf($lang->$lang_string_subject, $mybb->settings['bbname']); $emailmessage = $lang->sprintf($lang->$lang_string_message, $mybb->user['username'], $mybb->settings['bbname'], $send_report_subject, $mybb->settings['bburl'], $send_report_url, $report_reason);
|
while($mod = $db->fetch_array($query)) { if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != 0 && $mybb->settings['enablepms'] != 0) { $pm_recipients[] = $mod['uid'];
|
while($mod = $db->fetch_array($query)) { if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != 0 && $mybb->settings['enablepms'] != 0) { $pm_recipients[] = $mod['uid'];
|
else { my_mail($mod['email'], $emailsubject, $emailmessage); } }
|
else { my_mail($mod['email'], $emailsubject, $emailmessage); } }
|
"toid" => $pm_recipients, "ipaddress" => $mybb->session->packedip );
|
"toid" => $pm_recipients, "ipaddress" => $mybb->session->packedip );
|