Vergleich misc.php - 1.6.3 - 1.6.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: misc.php 5440 2011-04-15 10:18:35Z Tomm $

 * $Id: misc.php 5476 2011-06-24 14:49:59Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 326Zeile 326
	if($mybb->user['buddylist'] != "")
{
$timecut = TIME_NOW - $mybb->settings['wolcutoff'];

	if($mybb->user['buddylist'] != "")
{
$timecut = TIME_NOW - $mybb->settings['wolcutoff'];

		$query = $db->query("
SELECT u.*, g.canusepms
FROM ".TABLE_PREFIX."users u
LEFT JOIN ".TABLE_PREFIX."usergroups g ON (g.gid=u.usergroup)
WHERE u.uid IN ({$mybb->user['buddylist']})
ORDER BY u.lastactive
");

		$query = $db->simple_select("users", "*", "uid IN ({$mybb->user['buddylist']})", array('order_by' => 'lastactive'));







		while($buddy = $db->fetch_array($query))
{
$buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']);
$profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank', 'if(window.opener) { window.opener.location = this.href; return false; }');

		while($buddy = $db->fetch_array($query))
{
$buddy_name = format_name($buddy['username'], $buddy['usergroup'], $buddy['displaygroup']);
$profile_link = build_profile_link($buddy_name, $buddy['uid'], '_blank', 'if(window.opener) { window.opener.location = this.href; return false; }');

			if($mybb->user['receivepms'] != 0 && $buddy['receivepms'] != 0 && $buddy['canusepms'] != 0)



if($mybb->user['receivepms'] != 0 && $buddy['receivepms'] != 0 && $groupscache[$buddy['usergroup']]['canusepms'] != 0)

			{
eval("\$send_pm = \"".$templates->get("misc_buddypopup_user_sendpm")."\";");
}

			{
eval("\$send_pm = \"".$templates->get("misc_buddypopup_user_sendpm")."\";");
}