Vergleich report.php - 1.8.18 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 74Zeile 74
		else
{
$verified = true;

		else
{
$verified = true;

 
			$button = '#post_'.$id.' .postbit_report';

		}

// Password protected forums ......... yhummmmy!

		}

// Password protected forums ......... yhummmmy!

Zeile 95Zeile 96
		$report_type_db = "type = 'profile'";
$id2 = $id3 = 0; // We don't use these on the profile
$id = $checkid = $user['uid']; // id is the profile user

		$report_type_db = "type = 'profile'";
$id2 = $id3 = 0; // We don't use these on the profile
$id = $checkid = $user['uid']; // id is the profile user

 
		$button = '.report_user_button';

	}
}
else if($report_type == 'reputation')

	}
}
else if($report_type == 'reputation')

Zeile 114Zeile 116
		$id2 = $checkid = $reputation['adduid']; // id2 is the user who gave the comment
$id3 = $reputation['uid']; // id3 is the user who received the comment
$report_type_db = "type = 'reputation'";

		$id2 = $checkid = $reputation['adduid']; // id2 is the user who gave the comment
$id3 = $reputation['uid']; // id3 is the user who received the comment
$report_type_db = "type = 'reputation'";

 
		$button = '#rid'.$id.' .postbit_report';

	}
}

	}
}

 

$plugins->run_hooks("report_type");


$permissions = user_permissions($checkid);
if(empty($permissions['canbereported']))
{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}


$permissions = user_permissions($checkid);
if(empty($permissions['canbereported']))
{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}


$plugins->run_hooks("report_type");

 

// Check for an existing report
if(!empty($report_type_db))


// Check for an existing report
if(!empty($report_type_db))

Zeile 162Zeile 165

eval("\$report_thanks = \"".$templates->get("report_thanks")."\";");
echo $report_thanks;


eval("\$report_thanks = \"".$templates->get("report_thanks")."\";");
echo $report_thanks;

 
		echo sprintf("<script type='text/javascript'>$('%s').remove();</script>", $button);

		exit;
}
else

		exit;
}
else

Zeile 220Zeile 224

eval("\$report_thanks = \"".$templates->get("report_thanks")."\";");
echo $report_thanks;


eval("\$report_thanks = \"".$templates->get("report_thanks")."\";");
echo $report_thanks;

 
			echo sprintf("<script type='text/javascript'>$('%s').remove();</script>", $button);

			exit;
}
}

			exit;
}
}