Vergleich report.php - 1.2.1 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

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

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

 *

 *

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

 * $Id: report.php 3030 2007-04-26 00:19:47Z 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);
exit;

}


$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);
exit;

}

}

 


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


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


Zeile 83Zeile 90
		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")
{