I have a solution to the issue where the Next Page, Prev Page, etc buttons are not working.
Open ars_report.php (the file you uploaded to your modCP directory). And go to line 119, or this statement:
PHP Code:
if ($vbulletin->GPC['page'] != 1)
Replace all of this
PHP Code:
if ($vbulletin->GPC['page'] != 1)
{
$prv = $vbulletin->GPC['page'] - 1;
$firstpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"« " . $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=1'\">";
$prevpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"< " . $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=$prv'\">";
}
if ($vbulletin->GPC['page'] != $totalpages)
{
$nxt = $vbulletin->GPC['page'] + 1;
$page_button = "ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open&perpage=" . $vbulletin->GPC['perpage'];
$nextpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['next_page'] . " >\" onclick=\"window.location='$page_button&page=$nxt'\">";
$lastpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['last_page'] . " »\" onclick=\"window.location='$page_button&page=$totalpages'\">";
}
With this:
PHP Code:
if ($_REQUEST['do'] == 'open')
{
if ($vbulletin->GPC['page'] != 1)
{
$prv = $vbulletin->GPC['page'] - 1;
$firstpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"« " . $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=1'\">";
$prevpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"< " . $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=$prv'\">";
}
if ($vbulletin->GPC['page'] != $totalpages)
{
$nxt = $vbulletin->GPC['page'] + 1;
$page_button = "ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=open&perpage=" . $vbulletin->GPC['perpage'];
$nextpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['next_page'] . " >\" onclick=\"window.location='$page_button&page=$nxt'\">";
$lastpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['last_page'] . " »\" onclick=\"window.location='$page_button&page=$totalpages'\">";
}
}
else
{
if ($vbulletin->GPC['page'] != 1)
{
$prv = $vbulletin->GPC['page'] - 1;
$firstpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"« " . $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=close" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=1'\">";
$prevpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"< " . $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=close" .
"&perpage=" . $vbulletin->GPC['perpage'] . "&page=$prv'\">";
}
if ($vbulletin->GPC['page'] != $totalpages)
{
$nxt = $vbulletin->GPC['page'] + 1;
$page_button = "ars_report.php?" . $vbulletin->session->vars['sessionurl'] . "do=close&perpage=" . $vbulletin->GPC['perpage'];
$nextpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['next_page'] . " >\" onclick=\"window.location='$page_button&page=$nxt'\">";
$lastpage = "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" . $vbphrase['last_page'] . " »\" onclick=\"window.location='$page_button&page=$totalpages'\">";
}
}