Vergleich member.php - 1.01 - 1.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 390Zeile 390
			"regdate" => $timenow,
"lastactive" => $timenow,
"lastvisit" => intval($lastvisit),

			"regdate" => $timenow,
"lastactive" => $timenow,
"lastvisit" => intval($lastvisit),

			"website" => addslashes($website),

			"website" => addslashes(htmlspecialchars($website)),

			"icq" => intval($mybb->input['icq']),

			"icq" => intval($mybb->input['icq']),

			"aim" => addslashes($mybb->input['aim']),
"yahoo" => addslashes($mybb->input['yahoo']),
"msn" => addslashes($mybb->input['msn']),

			"aim" => addslashes(htmlspecialchars($mybb->input['aim'])),
"yahoo" => addslashes(htmlspecialchars($mybb->input['yahoo'])),
"msn" => addslashes(htmlspecialchars($mybb->input['msn'])),

			"birthday" => $bday,
"allownotices" => $allownotices,
"hideemail" => $hideemail,

			"birthday" => $bday,
"allownotices" => $allownotices,
"hideemail" => $hideemail,

Zeile 991Zeile 991
else if($mybb->input['action'] == "login")
{
$plugins->run_hooks("member_login");

else if($mybb->input['action'] == "login")
{
$plugins->run_hooks("member_login");

 

$HTTP_REFERER = htmlentities($_SERVER['HTTP_REFERRER']);


eval("\$login = \"".$templates->get("member_login")."\";");
outputpage($login);


eval("\$login = \"".$templates->get("member_login")."\";");
outputpage($login);

Zeile 1027Zeile 1029

if($mybb->input['url'])
{


if($mybb->input['url'])
{

		redirect($mybb->input['url'], $lang->redirect_loggedin);

		redirect(htmlentities($mybb->input['url']), $lang->redirect_loggedin);

	}
else
{

	}
else
{

Zeile 1097Zeile 1099
				}
$flist .= ",".$forum['fid'];
}

				}
$flist .= ",".$forum['fid'];
}

			$query = $db->query("SELECT * FROM ".TABLE_PREFIX."threads WHERE fid IN (0$flist) ORDER BY lastpost DESC LIMIT 0, 1");

			$query = $db->query("SELECT tid FROM ".TABLE_PREFIX."threads WHERE fid IN (0$flist) AND visible = 1 ORDER BY lastpost DESC LIMIT 0, 1");

			$thread = $db->fetch_array($query);
$tid = $thread['tid'];
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."posts WHERE tid='$tid' ORDER BY dateline DESC LIMIT 0, 1");

			$thread = $db->fetch_array($query);
$tid = $thread['tid'];
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."posts WHERE tid='$tid' ORDER BY dateline DESC LIMIT 0, 1");

Zeile 1272Zeile 1274
			{
$bdayformat = fixmktime($mybb->settings['dateformat'], $membday[2]);
$membday = mktime(0, 0, 0, $membday[1], $membday[0], $membday[2]);

			{
$bdayformat = fixmktime($mybb->settings['dateformat'], $membday[2]);
$membday = mktime(0, 0, 0, $membday[1], $membday[0], $membday[2]);

				$membday = gmdate($bdayformat, $membday);

				$membday = date($bdayformat, $membday);

			}
$lang->membdayage = sprintf($lang->membdayage, get_age($memprofile['birthday']));
$membdayage = $lang->membdayage;

			}
$lang->membdayage = sprintf($lang->membdayage, get_age($memprofile['birthday']));
$membdayage = $lang->membdayage;