Vergleich usercp.php - 1.8.36 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 427Zeile 427
		eval('$contactfields = "'.$templates->get('usercp_profile_contact_fields').'";');
}


		eval('$contactfields = "'.$templates->get('usercp_profile_contact_fields').'";');
}


 
	$awaysection = '';

	if($mybb->settings['allowaway'] != 0)
{
$awaycheck = array('', '');

	if($mybb->settings['allowaway'] != 0)
{
$awaycheck = array('', '');

Zeile 746Zeile 747
		$customtitle = "";
}


		$customtitle = "";
}


 
	$website = '';

	if($mybb->usergroup['canchangewebsite'] == 1)
{
eval("\$website = \"".$templates->get("usercp_profile_website")."\";");

	if($mybb->usergroup['canchangewebsite'] == 1)
{
eval("\$website = \"".$templates->get("usercp_profile_website")."\";");

Zeile 3641Zeile 3643
		$query = $db->simple_select("joinrequests", "*", "uid='".$mybb->user['uid']."' AND gid='".$mybb->get_input('joingroup', MyBB::INPUT_INT)."'");
$joinrequest = $db->fetch_array($query);


		$query = $db->simple_select("joinrequests", "*", "uid='".$mybb->user['uid']."' AND gid='".$mybb->get_input('joingroup', MyBB::INPUT_INT)."'");
$joinrequest = $db->fetch_array($query);


		if(!empty($joinrequest['rid']))

		if($joinrequest)

		{
error($lang->already_sent_join_request);
}

		{
error($lang->already_sent_join_request);
}

Zeile 3717Zeile 3719

$query = $db->simple_select("joinrequests", "*", "uid='".$mybb->user['uid']."' AND gid='".$mybb->get_input('acceptinvite', MyBB::INPUT_INT)."' AND invite='1'");
$joinrequest = $db->fetch_array($query);


$query = $db->simple_select("joinrequests", "*", "uid='".$mybb->user['uid']."' AND gid='".$mybb->get_input('acceptinvite', MyBB::INPUT_INT)."' AND invite='1'");
$joinrequest = $db->fetch_array($query);

		if($joinrequest['rid'])

		if($joinrequest)

		{
join_usergroup($mybb->user['uid'], $mybb->get_input('acceptinvite', MyBB::INPUT_INT));
$db->delete_query("joinrequests", "uid='{$mybb->user['uid']}' AND gid='".$mybb->get_input('acceptinvite', MyBB::INPUT_INT)."'");

		{
join_usergroup($mybb->user['uid'], $mybb->get_input('acceptinvite', MyBB::INPUT_INT));
$db->delete_query("joinrequests", "uid='{$mybb->user['uid']}' AND gid='".$mybb->get_input('acceptinvite', MyBB::INPUT_INT)."'");

Zeile 4600Zeile 4602
		foreach($threadcache as $thread)
{
$plugins->run_hooks("usercp_latest_threads_thread");

		foreach($threadcache as $thread)
{
$plugins->run_hooks("usercp_latest_threads_thread");

			if($thread['tid'])

			if(!empty($thread['tid']))

			{
$bgcolor = alt_trow();
$folder = '';

			{
$bgcolor = alt_trow();
$folder = '';