Vergleich admin/global.php - 1.00 - 1.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 68Zeile 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])
{

Zeile 127Zeile 127
	}
cpheader("", 0, "javascript:document.loginform.username.focus();");
echo "<br />\n<br />\n<br />";

	}
cpheader("", 0, "javascript:document.loginform.username.focus();");
echo "<br />\n<br />\n<br />";

	echo "<form action=\"$_SERVER[PHP_SELF]\" method=\"post\" name=\"loginform\">\n";

	echo "<form action=\"".htmlspecialchars_uni($_SERVER['PHP_SELF'])."\" method=\"post\" name=\"loginform\">\n";

	echo "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"450\" align=\"center\">\n";
echo "<tr><td class=\"bordercolor\">\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" width=\"100%\">\n";

	echo "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"450\" align=\"center\">\n";
echo "<tr><td class=\"bordercolor\">\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" width=\"100%\">\n";