- Timestamp:
- Aug 2, 2009, 8:07:19 AM (15 years ago)
- Location:
- pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pages/a_servers.php
r9 r12 48 48 49 49 $pa = new CleverPager('select `id`,`wss_partner`,LEFT(`name`, 25) as `name`, `place`, `rating_sum`/`ratings` as `rating`, `version`, `type`, `xp`, `online`, `online_players_sum`/`player_checks` as `players`, `latency` from `servers` where `place`=2 '.$order, 'p'); 50 $pa->PageSize = 20;50 $pa->PageSize = $Config['DisplayServerCountPerPage']; 51 51 $pa->PageLinksDisplayed = 5; 52 52 $pa->CountCommand = 'select count(*) as Count from `servers` where `place`=2'; -
pages/wss_partners.php
r9 r12 47 47 48 48 $pa = new CleverPager('select `id`,`wss_partner`, LEFT(`name`, 25) as `name`, `place`, `rating_sum`/`ratings` as `rating`, `version`, `type`, `xp`, `online`, `online_players_sum`/`player_checks` as `players`,`latency` from `servers` where `wss_partner`=1 '.$order, 'p'); 49 $pa->PageSize = 20;49 $pa->PageSize = $Config['DisplayServerCountPerPage']; 50 50 $pa->PageLinksDisplayed = 5; 51 51 $pa->CountCommand = 'select count(*) as Count from `servers` where `wss_partner` =1'; … … 86 86 $pa->DrawPager(); 87 87 $tpl->output['pager'] = ob_get_contents(); 88 ob_clean(); 88 ob_clean(); 89 89 ?>
Note:
See TracChangeset
for help on using the changeset viewer.