Vergleich admin/users.php - 1.2.0 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: users.php 2172 2006-08-30 14:49:42Z Kilroy $

 * $Id: users.php 3317 2007-09-15 11:04:47Z CraKteR $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 338Zeile 338
		"timezone" => $mybb->input['timezoneoffset'],
"language" => $mybb->input['language'],
"profile_fields" => $mybb->input['profile_fields'],

		"timezone" => $mybb->input['timezoneoffset'],
"language" => $mybb->input['language'],
"profile_fields" => $mybb->input['profile_fields'],

 
		"profile_fields_editable" => true,

		"regip" => $mybb->input['ipaddress'],
"avatar" => $mybb->input['avatar'],
"website" => $mybb->input['website'],

		"regip" => $mybb->input['ipaddress'],
"avatar" => $mybb->input['avatar'],
"website" => $mybb->input['website'],

Zeile 404Zeile 405
		$emailmessage = sprintf($lang->email_activateaccount, $username, $mybb->settings['bbname'], $mybb->settings['bburl'], $uid, $activationcode);
my_mail($email, $emailsubject, $emailmessage);
}

		$emailmessage = sprintf($lang->email_activateaccount, $username, $mybb->settings['bbname'], $mybb->settings['bburl'], $uid, $activationcode);
my_mail($email, $emailsubject, $emailmessage);
}

	$cache->updatestats();

 
	cpredirect("users.php?".SID."&lastuid={$user_info['uid']}", $lang->user_added);
}


	cpredirect("users.php?".SID."&lastuid={$user_info['uid']}", $lang->user_added);
}


Zeile 452Zeile 452
		"timezone" => $mybb->input['timezoneoffset'],
"language" => $mybb->input['language'],
"profile_fields" => $mybb->input['profile_fields'],

		"timezone" => $mybb->input['timezoneoffset'],
"language" => $mybb->input['language'],
"profile_fields" => $mybb->input['profile_fields'],

 
		"profile_fields_editable" => true,

		"regip" => $mybb->input['ipaddress'],
"avatar" => $mybb->input['avatar'],
"website" => $mybb->input['website'],

		"regip" => $mybb->input['ipaddress'],
"avatar" => $mybb->input['avatar'],
"website" => $mybb->input['website'],

Zeile 507Zeile 508
	{
$user_info = $userhandler->update_user();
}

	{
$user_info = $userhandler->update_user();
}

	$cache->updatestats();

 

cpredirect("users.php?".SID."&lastuid={$mybb->input['uid']}", $lang->profile_updated);
}


cpredirect("users.php?".SID."&lastuid={$mybb->input['uid']}", $lang->profile_updated);
}

Zeile 532Zeile 532
		$db->query("DELETE FROM ".TABLE_PREFIX."forumsubscriptions WHERE uid='".intval($mybb->input['uid'])."'");
$db->query("DELETE FROM ".TABLE_PREFIX."favorites WHERE uid='".intval($mybb->input['uid'])."'");
$db->query("DELETE FROM ".TABLE_PREFIX."sessions WHERE uid='".intval($mybb->input['uid'])."'");

		$db->query("DELETE FROM ".TABLE_PREFIX."forumsubscriptions WHERE uid='".intval($mybb->input['uid'])."'");
$db->query("DELETE FROM ".TABLE_PREFIX."favorites WHERE uid='".intval($mybb->input['uid'])."'");
$db->query("DELETE FROM ".TABLE_PREFIX."sessions WHERE uid='".intval($mybb->input['uid'])."'");



		$db->query("DELETE FROM ".TABLE_PREFIX."banned WHERE uid='".intval($mybb->input['uid'])."'");

		// Update forum stats

		// Update forum stats

		$cache->updatestats();

		update_stats(array('numusers' => '-1'));


cpredirect("users.php?".SID, $lang->user_deleted);
}


cpredirect("users.php?".SID, $lang->user_deleted);
}

Zeile 551Zeile 551

if($search['username'])
{


if($search['username'])
{

		$conditions .= " AND username LIKE '%".$db->escape_string($search[username])."%'";

		$conditions .= " AND username LIKE '%".$db->escape_string($search['username'])."%'";

	}
if(is_array($search['usergroups']))
{

	}
if(is_array($search['usergroups']))
{

Zeile 568Zeile 568
		$conditions .= " AND email LIKE '%".$db->escape_string($search['email'])."%'";
}
if($search['website'])

		$conditions .= " AND email LIKE '%".$db->escape_string($search['email'])."%'";
}
if($search['website'])

	{

	{

		$conditions .= " AND website LIKE '%".$db->escape_string($search['website'])."%'";
}
if($search['icq'])

		$conditions .= " AND website LIKE '%".$db->escape_string($search['website'])."%'";
}
if($search['icq'])

Zeile 590Zeile 590
	if($search['signature'])
{
$conditions .= " AND signature LIKE '%".$db->escape_string($search['signature'])."%'";

	if($search['signature'])
{
$conditions .= " AND signature LIKE '%".$db->escape_string($search['signature'])."%'";

	}

	}

	if($search['usertitle'])

	if($search['usertitle'])

	{

	{

		$conditions .= " AND usertitle LIKE '%".$db->escape_string($search['usertitle'])."%'";
}
if($search['postsgreater'])

		$conditions .= " AND usertitle LIKE '%".$db->escape_string($search['usertitle'])."%'";
}
if($search['postsgreater'])

	{

	{

		$conditions .= " AND postnum>".intval($search['postsgreater']);
}
if($search['postsless'])
{
$conditions .= " AND postnum<".intval($search['postsless']);

		$conditions .= " AND postnum>".intval($search['postsgreater']);
}
if($search['postsless'])
{
$conditions .= " AND postnum<".intval($search['postsless']);

	}

	}

	if($search['overridenotice'] != 'yes')
{
$conditions .= " AND allownotices!='no'";

	if($search['overridenotice'] != 'yes')
{
$conditions .= " AND allownotices!='no'";

Zeile 625Zeile 625
	$searchop['page']++;

$plugins->run_hooks("admin_users_do_email");

	$searchop['page']++;

$plugins->run_hooks("admin_users_do_email");

 
	
if(!trim($mybb->input['searchop']['subject']))
{
cperror($lang->error_missing_subject);
}
if(!trim($mybb->input['searchop']['message']))
{
cperror($lang->error_missing_subject);
}


$query = $db->query("SELECT COUNT(*) AS results FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid");
$num = $db->fetch_array($query);


$query = $db->query("SELECT COUNT(*) AS results FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid");
$num = $db->fetch_array($query);

Zeile 644Zeile 653
		echo "<tr>\n<td class=\"$bgcolor\" valign=\"top\">\n";
@set_time_limit(0);
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid LIMIT ".intval($searchop['start']).", ".intval($searchop['perpage']));

		echo "<tr>\n<td class=\"$bgcolor\" valign=\"top\">\n";
@set_time_limit(0);
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE $conditions ORDER BY uid LIMIT ".intval($searchop['start']).", ".intval($searchop['perpage']));

    while($user = $db->fetch_array($query))

    	while($user = $db->fetch_array($query))

		{
$sendmessage = $searchop['message'];
$sendmessage = str_replace("{uid}", $user['uid'], $sendmessage);

		{
$sendmessage = $searchop['message'];
$sendmessage = str_replace("{uid}", $user['uid'], $sendmessage);

Zeile 671Zeile 680
					'receipt' => 'no'
);
$db->insert_query(TABLE_PREFIX."privatemessages", $insert_pm);

					'receipt' => 'no'
);
$db->insert_query(TABLE_PREFIX."privatemessages", $insert_pm);

 
				
// Update private message count (total, new and unread) for recipient
update_pm_count($user['uid'], 7, $user['lastactive']);

if($user['pmnotify'] == "yes")
{
$updated_user = array(
"pmnotice" => "new"
);
$db->update_query(TABLE_PREFIX."users", $updated_user, "uid='{$user['uid']}'");

if($user['language'] != "" && $lang->language_exists($user['language']))
{
$uselang = $user['language'];
}
elseif($mybb->settings['bblanguage'])
{
$uselang = $mybb->settings['bblanguage'];
}
else
{
$uselang = "english";
}

if($uselang == $mybb->settings['bblanguage'])
{
$lang->set_path(MYBB_ROOT."inc/languages");
$lang->set_language($uselang);
$lang->load("messages");
$emailsubject = $lang->emailsubject_newpm;
$emailmessage = $lang->email_newpm;
}
else
{
$userlang = new MyLanguage;
$userlang->set_path(MYBB_ROOT."inc/languages");
$userlang->set_language($uselang);
$userlang->load("messages");
$emailsubject = $userlang->emailsubject_newpm;
$emailmessage = $userlang->email_newpm;
}
$emailmessage = sprintf($emailmessage, $user['username'], $mybbadmin['username'], $mybb->settings['bbname'], $mybb->settings['bburl']);
$emailsubject = sprintf($emailsubject, $mybb->settings['bbname']);
my_mail($user['email'], $emailsubject, $emailmessage);
}


				echo sprintf($lang->pm_sent, $user['username']);
}
elseif($user['email'] != '')

				echo sprintf($lang->pm_sent, $user['username']);
}
elseif($user['email'] != '')

Zeile 679Zeile 734
				echo sprintf($lang->email_sent, $user['username']);
}
else

				echo sprintf($lang->email_sent, $user['username']);
}
else

			{

			{

				echo sprintf($lang->not_sent, $user['username']);
}
echo "<br />";

				echo sprintf($lang->not_sent, $user['username']);
}
echo "<br />";

Zeile 687Zeile 742
		echo $lang->done;
echo "</td>\n</tr>\n";
endtable();

		echo $lang->done;
echo "</td>\n</tr>\n";
endtable();

		startform("users.php", '', "do_email");
if(is_array($search))

		if($num['results'] > $searchop['perpage'])


		{

		{

			foreach($search as $key => $val)


			startform("users.php", '', "do_email");
if(is_array($search))

			{

			{

				if(is_array($val))

				foreach($search as $key => $val)

				{

				{

					foreach($val as $subkey => $subval)








					if(is_array($val))
{
foreach($val as $subkey => $subval)
{
$hiddens .= "\n<input type=\"hidden\" name=\"search[$key][$subkey]\" value=\"".htmlspecialchars_uni($subval)."\" />";
}
}
else

					{

					{

						$hiddens .= "\n<input type=\"hidden\" name=\"search[$key][$subkey]\" value=\"$subval\" />";

						$hiddens .= "\n<input type=\"hidden\" name=\"search[$key]\" value=\"".htmlspecialchars_uni($val)."\" />";

					}

					}

				}
else
{
$hiddens .= "\n<input type=\"hidden\" name=\"search[$key]\" value=\"$val\" />";

 
				}
}

				}
}

		}
foreach($searchop as $key => $val)
{
$hiddens .= "\n<input type=\"hidden\" name=\"searchop[$key]\" value=\"$val\" />";
}
echo $hiddens;
if($num['results'] > $searchop['perpage'])
{

			foreach($searchop as $key => $val)
{
$hiddens .= "\n<input type=\"hidden\" name=\"searchop[$key]\" value=\"".htmlspecialchars_uni($val)."\" />";
}
echo $hiddens;




			endform($lang->next_page, '');
}
cpfooter();

			endform($lang->next_page, '');
}
cpfooter();

Zeile 738Zeile 793
		cperror($lang->error_invalid_destination);
}
$plugins->run_hooks("admin_users_do_do_merge");

		cperror($lang->error_invalid_destination);
}
$plugins->run_hooks("admin_users_do_do_merge");

 
	$db->query("UPDATE ".TABLE_PREFIX."adminoptions SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."adminlog SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."announcements SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."events SET author='".$destuser['uid']."' WHERE author='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."favorites SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."adminlog SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."announcements SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."events SET author='".$destuser['uid']."' WHERE author='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."favorites SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."forums SET lastposter='".$destuser['username']."' WHERE lastposter='".$sourceuser['username']."'");

	$db->query("UPDATE ".TABLE_PREFIX."forums SET lastposter='".$db->escape_string($destuser['username'])."' WHERE lastposter='".$db->escape_string($sourceuser['username'])."'");

	$db->query("UPDATE ".TABLE_PREFIX."forumsubscriptions SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."moderatorlog SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."moderators SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."pollvotes SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."forumsubscriptions SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."moderatorlog SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."moderators SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."pollvotes SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."posts SET uid='".$destuser['uid']."', username='".$destuser['username']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."posts SET uid='".$destuser['uid']."', username='".$db->escape_string($destuser['username'])."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."posts SET edituid='".$destuser['uid']."' WHERE edituid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET toid='".$destuser['uid']."' WHERE toid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET fromid='".$destuser['uid']."' WHERE fromid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."reputation SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."threadratings SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."posts SET edituid='".$destuser['uid']."' WHERE edituid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET toid='".$destuser['uid']."' WHERE toid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."privatemessages SET fromid='".$destuser['uid']."' WHERE fromid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."reputation SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."threadratings SET uid='".$destuser['uid']."' WHERE uid='".$sourceuser['uid']."'");

	$db->query("UPDATE ".TABLE_PREFIX."threads SET uid='".$destuser['uid']."', username='".$destuser['username']."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."threads SET lastposter='".$destuser['username']."', username='".$destuser['username']."' WHERE lastposter='".$sourceuser['username']."'");

	$db->query("UPDATE ".TABLE_PREFIX."threads SET uid='".$destuser['uid']."', username='".$db->escape_string($destuser['username'])."' WHERE uid='".$sourceuser['uid']."'");
$db->query("UPDATE ".TABLE_PREFIX."threads SET lastposter='".$db->escape_string($destuser['username'])."', username='".$db->escape_string($destuser['username'])."' WHERE lastposter='".$db->escape_string($sourceuser['username'])."'");

	$db->query("DELETE FROM ".TABLE_PREFIX."users WHERE uid='".$sourceuser['uid']."'");
$db->query("DELETE FROM ".TABLE_PREFIX."banned WHERE uid='".$sourceuser['uid']."'");
$query = $db->query("SELECT COUNT(*) AS postnum FROM ".TABLE_PREFIX."posts WHERE uid='".$destuser['uid']."'");
$num = $db->fetch_array($query);
$db->query("UPDATE ".TABLE_PREFIX."users SET postnum='".$num['postnum']."' WHERE uid='".$destuser['uid']."'");

	$db->query("DELETE FROM ".TABLE_PREFIX."users WHERE uid='".$sourceuser['uid']."'");
$db->query("DELETE FROM ".TABLE_PREFIX."banned WHERE uid='".$sourceuser['uid']."'");
$query = $db->query("SELECT COUNT(*) AS postnum FROM ".TABLE_PREFIX."posts WHERE uid='".$destuser['uid']."'");
$num = $db->fetch_array($query);
$db->query("UPDATE ".TABLE_PREFIX."users SET postnum='".$num['postnum']."' WHERE uid='".$destuser['uid']."'");

 
	update_stats(array('numusers' => '-1'));

	$lang->users_merged = sprintf($lang->users_merged, $sourceuser['username'], $sourceuser['username'], $destuser['username']);
cpmessage($lang->users_merged);
}

	$lang->users_merged = sprintf($lang->users_merged, $sourceuser['username'], $sourceuser['username'], $destuser['username']);
cpmessage($lang->users_merged);
}

Zeile 833Zeile 890
	makelabelcode($lang->birthday, $birthday_dropdown);
make_profile_field_input();
tablesubheader($lang->account_prefs);

	makelabelcode($lang->birthday, $birthday_dropdown);
make_profile_field_input();
tablesubheader($lang->account_prefs);

 
	makeyesnocode($lang->enable_dst, "enabledst", 'no');

	makeyesnocode($lang->invisible_mode, "invisible", 'no');
makeyesnocode($lang->admin_emails, "allownotices", 'yes');
makeyesnocode($lang->hide_email, "hideemail", 'no');

	makeyesnocode($lang->invisible_mode, "invisible", 'no');
makeyesnocode($lang->admin_emails, "allownotices", 'yes');
makeyesnocode($lang->hide_email, "hideemail", 'no');

Zeile 867Zeile 925

cpheader();
starttable();


cpheader();
starttable();

	makelabelcode("<ul>\n<li><a href=\"users.php?".SID."&action=delete&uid=$uid\">$lang->delete_account</a></li>\n<li><a href=\"users.php?".SID."&action=misc&uid=$uid\">$lang->view_user_stats</a></li>\n</ul>");

	makelabelcode("<ul>\n<li><a href=\"users.php?".SID."&amp;action=delete&amp;uid=$uid\">$lang->delete_account</a></li>\n<li><a href=\"users.php?".SID."&amp;action=misc&amp;uid=$uid\">$lang->view_user_stats</a></li>\n</ul>");

	endtable();

starttable();

	endtable();

starttable();

Zeile 911Zeile 969
	makelabelcode($lang->birthday, $birthday_dropdown);
make_profile_field_input(0, $user['uid']);
tablesubheader($lang->account_prefs);

	makelabelcode($lang->birthday, $birthday_dropdown);
make_profile_field_input(0, $user['uid']);
tablesubheader($lang->account_prefs);

 
	makeyesnocode($lang->enable_dst, "enabledst", $user['dst']);

	makeyesnocode($lang->invisible_mode, "invisible", $user['invisible']);
makeyesnocode($lang->admin_emails, "allownotices", $user['allownotices']);
makeyesnocode($lang->hide_email, "hideemail", $user['hideemail']);
makeyesnocode($lang->email_notify, "emailnotify", $user['emailnotify']);
makeyesnocode($lang->enable_pms, "receivepms", $user['receivepms']);
makeyesnocode($lang->pm_popup, "pmpopup", $user['pmpopup']);

	makeyesnocode($lang->invisible_mode, "invisible", $user['invisible']);
makeyesnocode($lang->admin_emails, "allownotices", $user['allownotices']);
makeyesnocode($lang->hide_email, "hideemail", $user['hideemail']);
makeyesnocode($lang->email_notify, "emailnotify", $user['emailnotify']);
makeyesnocode($lang->enable_pms, "receivepms", $user['receivepms']);
makeyesnocode($lang->pm_popup, "pmpopup", $user['pmpopup']);

	makeyesnocode($lang->pm_notify, "pmnotify", $user['pmnotify']);

	makeyesnocode($lang->pm_notify, "emailpmnotify", $user['pmnotify']);

	makeinputcode($lang->time_offset, "timezoneoffset", $user['timezone']);
if(!$user['style'])
{
$user['style'] = 0;
}

	makeinputcode($lang->time_offset, "timezoneoffset", $user['timezone']);
if(!$user['style'])
{
$user['style'] = 0;
}

	makeselectcode($lang->style, "stylesel", "themes", "tid", "name", $user['style'], $lang->use_default, '', "tid>1");

	makeselectcode($lang->style, "style", "themes", "tid", "name", $user['style'], $lang->use_default, '', "tid>1");

	maketextareacode($lang->signature, "signature", $user['signature'], 6, 50);
if(!$user['regip']) { $user['regip'] = "&nbsp;"; }
makelabelcode($lang->reg_ip, $user['regip']);

	maketextareacode($lang->signature, "signature", $user['signature'], 6, 50);
if(!$user['regip']) { $user['regip'] = "&nbsp;"; }
makelabelcode($lang->reg_ip, $user['regip']);

Zeile 1122Zeile 1181
		{
$membday = mktime(0, 0, 0, $membday[1], $membday[0], 0);
$membday = gmdate("F j", $membday);

		{
$membday = mktime(0, 0, 0, $membday[1], $membday[0], 0);
$membday = gmdate("F j", $membday);

			$membdayage = '';

			$membdayage = $lang->not_specified;

		}
}
else

		}
}
else

Zeile 1494Zeile 1553
			echo "<td class=\"subheader\" align=\"center\">$lang->posts</td>\n";
}
if($searchdisp['birthday'] == 'yes')

			echo "<td class=\"subheader\" align=\"center\">$lang->posts</td>\n";
}
if($searchdisp['birthday'] == 'yes')

		{

		{

			echo "<td class=\"subheader\" align=\"center\">$lang->birthday</td>\n";
}
if($searchdisp['regip'] == 'yes')

			echo "<td class=\"subheader\" align=\"center\">$lang->birthday</td>\n";
}
if($searchdisp['regip'] == 'yes')

Zeile 1524Zeile 1583
				$options['activate'] = $lang->activate;
}
$bgcolor = getaltbg();

				$options['activate'] = $lang->activate;
}
$bgcolor = getaltbg();

			startform("users.php");
makehiddencode("uid", $user['uid']);
makehiddencode("auid", $user['uid']);

 
			echo "<tr>\n";
if($searchdisp['uid'] == 'yes')
{
echo "<td class=\"$bgcolor\">$user[uid]</td>\n";

			echo "<tr>\n";
if($searchdisp['uid'] == 'yes')
{
echo "<td class=\"$bgcolor\">$user[uid]</td>\n";

			}

			}

			if($searchdisp['username'] == 'yes')
{
echo "<td class=\"$bgcolor\">$user[username]</td>\n";

			if($searchdisp['username'] == 'yes')
{
echo "<td class=\"$bgcolor\">$user[username]</td>\n";

Zeile 1560Zeile 1616
			}
if($searchdisp['email'] == 'yes')
{

			}
if($searchdisp['email'] == 'yes')
{

				echo "<td class=\"$bgcolor\"><a href=\"mailto:$user[email]\">$user[email]</td>\n";

				echo "<td class=\"$bgcolor\"><a href=\"mailto:$user[email]\">$user[email]</a></td>\n";

			}
if($searchdisp['website'] == 'yes')
{

			}
if($searchdisp['website'] == 'yes')
{

Zeile 1578Zeile 1634
			{
echo "<td class=\"$bgcolor\">$user[yahoo]</td>\n";
}

			{
echo "<td class=\"$bgcolor\">$user[yahoo]</td>\n";
}

			if($searchdisp['msn'] == 'yes') {


			if($searchdisp['msn'] == 'yes') 
{

				echo "<td class=\"$bgcolor\">$user[msn]</td>\n";
}
if($searchdisp['signature'] == 'yes')

				echo "<td class=\"$bgcolor\">$user[msn]</td>\n";
}
if($searchdisp['signature'] == 'yes')

Zeile 1609Zeile 1666
			}
if($searchdisp['postnum'] == 'yes')
{

			}
if($searchdisp['postnum'] == 'yes')
{

				echo "<td class=\"$bgcolor\"><a href=\"../search.php?action=finduser&uid=$user[uid]\">$user[postnum]</a></td>\n";

				echo "<td class=\"$bgcolor\"><a href=\"../search.php?action=finduser&amp;uid=$user[uid]\">$user[postnum]</a></td>\n";

			}
if($searchdisp['birthday'] == 'yes')
{

			}
if($searchdisp['birthday'] == 'yes')
{

Zeile 1621Zeile 1678
			}
if($searchdisp['ops'] == 'yes')
{

			}
if($searchdisp['ops'] == 'yes')
{

				echo "<td class=\"$bgcolor\" align=\"right\">".makehopper("action", $options)."</td>\n";







				echo "<td class=\"$bgcolor\" align=\"right\">";
startform("users.php");
makehiddencode("uid", $user['uid']);
makehiddencode("auid", $user['uid']);
echo makehopper("action", $options);
endform();
echo"</td>\n";

			}
echo "</tr>\n";

			}
echo "</tr>\n";

			endform();

 
		}
endtable();


		}
endtable();


Zeile 1633Zeile 1695
		{
foreach($search as $key => $val)
{

		{
foreach($search as $key => $val)
{

				if($key != 'additionalgroups' && $key != "profilefields")

				if($key != 'usergroups' && $key != 'additionalgroups' && $key != "profilefields")

				{
$hiddens .= "<input type=\"hidden\" name=\"search[$key]\" value=\"$val\" />";
}
}
}

				{
$hiddens .= "<input type=\"hidden\" name=\"search[$key]\" value=\"$val\" />";
}
}
}

 
		if(is_array($search['usergroups']))
{
foreach($search['usergroups'] as $key => $val)
{
$hiddens .= "<input type=\"hidden\" name=\"search[usergroups][]\" value=\"$val\" />";
}
}
else if($search['usergroups'])
{
$hiddens .= "<input type=\"hidden\" name=\"search[usergroups]\" value=\"$val\" />";
}


		if(is_array($search['additionalgroups']))
{
foreach($search['additionalgroups'] as $key => $val)

		if(is_array($search['additionalgroups']))
{
foreach($search['additionalgroups'] as $key => $val)

Zeile 1713Zeile 1787
			echo '</div>';
}
echo $first_page_button.$prev_page_button.$next_page_button.$last_page_button;

			echo '</div>';
}
echo $first_page_button.$prev_page_button.$next_page_button.$last_page_button;

		echo '</div>';

 
		cpfooter();
}
}

		cpfooter();
}
}

Zeile 1781Zeile 1854
		$banneduser = array(
"admin" => $mybbadmin['uid'],
"dateline" => time(),

		$banneduser = array(
"admin" => $mybbadmin['uid'],
"dateline" => time(),

			"gid" => intval($mybb->input['gid']),

			"gid" => intval($mybb->input['usergroup']),

			"bantime" => $db->escape_string($mybb->input['liftafter']),
"lifted" => $liftdate,
"reason" => $db->escape_string($mybb->input['banreason'])

			"bantime" => $db->escape_string($mybb->input['liftafter']),
"lifted" => $liftdate,
"reason" => $db->escape_string($mybb->input['banreason'])

Zeile 1795Zeile 1868
		$banneduser = array(
"uid" => $user['uid'],
"admin" => $mybbadmin['uid'],

		$banneduser = array(
"uid" => $user['uid'],
"admin" => $mybbadmin['uid'],

			"gid" => $mybb->input['gid'],

			"gid" => intval($mybb->input['usergroup']),

			"oldgroup" => $user['usergroup'],
"dateline" => time(),
"bantime" => $db->escape_string($mybb->input['liftafter']),

			"oldgroup" => $user['usergroup'],
"dateline" => time(),
"bantime" => $db->escape_string($mybb->input['liftafter']),