Zeile 44 | Zeile 44 |
---|
$num_activated = $num_deleted = 0; $users_to_delete = array();
|
$num_activated = $num_deleted = 0; $users_to_delete = array();
|
if($mybb->input['delete']) // Delete selected user(s)
| if(!empty($mybb->input['delete'])) // Delete selected user(s)
|
{ require_once MYBB_ROOT.'inc/datahandlers/user.php'; $userhandler = new UserDataHandler('delete');
| { require_once MYBB_ROOT.'inc/datahandlers/user.php'; $userhandler = new UserDataHandler('delete');
|
Zeile 121 | Zeile 121 |
---|
$per_page = 20;
|
$per_page = 20;
|
if($mybb->input['page'] && $mybb->input['page'] > 1)
| $mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);
if($mybb->input['page'] > 1)
|
{
|
{
|
$mybb->input['page'] = $mybb->get_input('page', MyBB::INPUT_INT);
| $mybb->input['page'] = $mybb->input['page'];
|
$start = ($mybb->input['page']*$per_page)-$per_page; $pages = ceil($total_rows / $per_page); if($mybb->input['page'] > $pages)
| $start = ($mybb->input['page']*$per_page)-$per_page; $pages = ceil($total_rows / $per_page); if($mybb->input['page'] > $pages)
|