Zeile 6 | Zeile 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$
| * $Id: member.php 920 2005-12-05 03:28:01Z chris $
|
*/
define("KILL_GLOBALS", 1);
| */
define("KILL_GLOBALS", 1);
|
Zeile 390 | Zeile 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 991 | Zeile 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 1027 | Zeile 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 1097 | Zeile 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 1272 | Zeile 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;
|