Vergleich report.php - 1.2.1 - 1.2.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: report.php 2202 2006-09-07 04:01:17Z Tikitiki $

 * $Id: report.php 2747 2007-02-10 09:35:57Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 31Zeile 31

if(!$post['pid'])
{


if(!$post['pid'])
{

	error($lang->error_invalidpost);



	$error = $lang->error_invalidpost;
eval("\$report_error = \"".$templates->get("report_error")."\";");
output_page($report_error);

}


$forum = get_forum($post['fid']);
if(!$forum)
{

}


$forum = get_forum($post['fid']);
if(!$forum)
{

	error($lang->error_invalidforum);



	$error = $lang->error_invalidforum;
eval("\$report_error = \"".$templates->get("report_error")."\";");
output_page($report_error);

}

}

 


// Password protected forums ......... yhummmmy!
check_forum_password($forum['fid'], $forum['password']);


// Password protected forums ......... yhummmmy!
check_forum_password($forum['fid'], $forum['password']);


Zeile 83Zeile 88
		while($mod = $db->fetch_array($query))
{
$emailsubject = sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

		while($mod = $db->fetch_array($query))
{
$emailsubject = sprintf($lang->emailsubject_reportpost, $mybb->settings['bbname']);

			$emailmessage = sprintf($lang->email_reportpost, $mod['username'], $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], $thread['tid'], $pid, $thread['subject'], $mybb->input['reason']);

			$emailmessage = sprintf($lang->email_reportpost, $mod['username'], $mybb->user['username'], $mybb->settings['bbname'], $post['subject'], $mybb->settings['bburl'], $thread['tid'], $post['pid'], $thread['subject'], $mybb->input['reason']);

			
if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != "no" && $mybb->settings['enablepms'] != "no")
{

			
if($mybb->settings['reportmethod'] == "pms" && $mod['receivepms'] != "no" && $mybb->settings['enablepms'] != "no")
{