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: global.php 936 2005-12-09 02:10:43Z chris $
|
*/
// Lets pretend we're a level higher
| */
// Lets pretend we're a level higher
|
Zeile 68 | Zeile 68 |
---|
elseif($mybb->input['action'] != "logout") { $logon = explode("_", $_COOKIE['mybbadmin'], 2);
|
elseif($mybb->input['action'] != "logout") { $logon = explode("_", $_COOKIE['mybbadmin'], 2);
|
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE uid='$logon[0]'");
| $query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE uid='".addslashes($logon[0])."'");
|
$user = $db->fetch_array($query); if($user['loginkey'] != $logon[1]) {
| $user = $db->fetch_array($query); if($user['loginkey'] != $logon[1]) {
|