Starting at line 150
- Code: Select all
if ($start > 0)
{
$prev = '<a href="'.getlink($module_name.'&start=0'.$sort_part).'"><<</a> <a href="'.getlink($module_name.'&start='.max($start-30,0).$sort_part).'"><</a> ';
}
if (($start+30) < $max)
{
$lastpage = ceil($max/30)*30;
$listing = '<small>['.$start.' - '.($start+30).'] of '.$max.'</small>';
$next = ' <a href="'.getlink($module_name.'&start='.($start+30).$sort_part).'">></a> <a href="'.getlink($module_name.'&start='.($lastpage-30).$sort_part).'">>></a>';
}
else
{
$listing = ' <small>['.$start.' - '.($max).'] of '.$max.'</small>';
}
Should be
- Code: Select all
if ($start > 0)
{
$prev = '<a href="'.getlink($module_name.'&file=memberlog&start=0'.$sort_part).'"><<</a> <a href="'.getlink($module_name.'&file=memberlog&start='.max($start-30,0).$sort_part).'"><</a> ';
}
if (($start+30) < $max)
{
$lastpage = ceil($max/30)*30;
$listing = '<small>['.$start.' - '.($start+30).'] of '.$max.'</small>';
$next = ' <a href="'.getlink($module_name.'&file=memberlog&start='.($start+30).$sort_part).'">></a> <a href="'.getlink($module_name.'&file=memberlog&start='.($lastpage-30).$sort_part).'">>></a>';
}
else
{
$listing = ' <small>['.$start.' - '.($max).'] of '.$max.'</small>';
}