Vergleich admin/modules/user/awaiting_activation.php - 1.8.12 - 1.8.20

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 110Zeile 110
if(!$mybb->input['action']) 
{
$plugins->run_hooks("admin_user_awaiting_activation_start");

if(!$mybb->input['action']) 
{
$plugins->run_hooks("admin_user_awaiting_activation_start");

 

$query = $db->simple_select("users", "COUNT(uid) AS users", "usergroup='5'");
$total_rows = $db->fetch_field($query, "users");


$per_page = 20;



$per_page = 20;


Zeile 117Zeile 120
	{
$mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);
$start = ($mybb->input['page']*$per_page)-$per_page;

	{
$mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);
$start = ($mybb->input['page']*$per_page)-$per_page;

 
		$pages = ceil($total_rows / $per_page);
if($mybb->input['page'] > $pages)
{
$mybb->input['page'] = 1;
$start = 0;
}

	}
else
{
$mybb->input['page'] = 1;
$start = 0;

	}
else
{
$mybb->input['page'] = 1;
$start = 0;

	}

	}


$page->output_header($lang->manage_awaiting_activation);



$page->output_header($lang->manage_awaiting_activation);


Zeile 170Zeile 179
		}

if(empty($user['regip']))

		}

if(empty($user['regip']))

		{

		{

			$user['regip'] = $lang->na;
}
else

			$user['regip'] = $lang->na;
}
else

Zeile 203Zeile 212
	}

$form->end();

	}

$form->end();


$query = $db->simple_select("users", "COUNT(uid) AS users", "usergroup='5'");
$total_rows = $db->fetch_field($query, "users");

 

echo "<br />".draw_admin_pagination($mybb->input['page'], $per_page, $total_rows, "index.php?module=user-awaiting_activation&amp;page={page}");



echo "<br />".draw_admin_pagination($mybb->input['page'], $per_page, $total_rows, "index.php?module=user-awaiting_activation&amp;page={page}");