Zeile 59 | Zeile 59 |
---|
$query = $db->simple_select("mailerrors", "*", "eid='".$mybb->get_input('eid', MyBB::INPUT_INT)."'"); $log = $db->fetch_array($query);
|
$query = $db->simple_select("mailerrors", "*", "eid='".$mybb->get_input('eid', MyBB::INPUT_INT)."'"); $log = $db->fetch_array($query);
|
if(!$log['eid'])
| if(!$log)
|
{ exit; }
| { exit; }
|
Zeile 138 | Zeile 138 |
---|
$per_page = 20;
|
$per_page = 20;
|
if(!empty($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);
| |
$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)
|
Zeile 251 | Zeile 251 |
---|
$form->end();
|
$form->end();
|
echo "<br />".draw_admin_pagination($mybb->get_input('page'), $per_page, $total_rows, "index.php?module=tools-mailerrors&page={page}{$additional_criteria}");
| echo "<br />".draw_admin_pagination($mybb->input['page'], $per_page, $total_rows, "index.php?module=tools-mailerrors&page={page}{$additional_criteria}");
|
$form = new Form("index.php?module=tools-mailerrors", "post"); $form_container = new FormContainer($lang->filter_system_email_log);
| $form = new Form("index.php?module=tools-mailerrors", "post"); $form_container = new FormContainer($lang->filter_system_email_log);
|