Vergleich inc/class_session.php - 1.4.3 - 1.4.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: class_session.php 4092 2008-08-10 03:03:04Z Tikitiki $

 * $Id: class_session.php 4275 2008-11-19 03:34:19Z Tikitiki $

 */

class session

 */

class session

Zeile 47Zeile 47
			{
$this->sid = $session['sid'];
$this->uid = $session['uid'];

			{
$this->sid = $session['sid'];
$this->uid = $session['uid'];

				$this->logins = $session['loginattempts'];
$this->failedlogin = $session['failedlogin'];

 
			}
else
{

			}
else
{

Zeile 139Zeile 137
		");
$mybb->user = $db->fetch_array($query);


		");
$mybb->user = $db->fetch_array($query);


 
		$this->logins = $mybb->user['loginattempts'];
$this->failedlogin = $mybb->user['failedlogin'];

		
if($bannedcache[$uid])
{

		
if($bannedcache[$uid])
{

Zeile 241Zeile 241
			$mybb->settings['postsperpage'] = $mybb->user['ppp'];
}


			$mybb->settings['postsperpage'] = $mybb->user['ppp'];
}


		// DOes this user prefer posts in classic mode?

		// Does this user prefer posts in classic mode?

		if($mybb->user['classicpostbit'])
{
$mybb->settings['postlayout'] = 'classic';

		if($mybb->user['classicpostbit'])
{
$mybb->settings['postlayout'] = 'classic';

Zeile 522Zeile 522
		$onlinedata['location1'] = intval($speciallocs['1']);
$onlinedata['location2'] = intval($speciallocs['2']);
$onlinedata['nopermission'] = 0;

		$onlinedata['location1'] = intval($speciallocs['1']);
$onlinedata['location2'] = intval($speciallocs['2']);
$onlinedata['nopermission'] = 0;

		$db->insert_query("sessions", $onlinedata);

		$db->replace_query("sessions", $onlinedata, "sid", false);

		$this->sid = $onlinedata['sid'];
$this->uid = $onlinedata['uid'];
}

		$this->sid = $onlinedata['sid'];
$this->uid = $onlinedata['uid'];
}