Changeset 12 for pages/wss_partners.php


Ignore:
Timestamp:
Aug 2, 2009, 8:07:19 AM (15 years ago)
Author:
george
Message:
  • Opraveno: Počet serverů na stránku dle konfigurace.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/wss_partners.php

    r9 r12  
    4747 
    4848$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'];
    5050$pa->PageLinksDisplayed = 5;
    5151$pa->CountCommand = 'select count(*) as Count from `servers` where `wss_partner` =1';
     
    8686$pa->DrawPager();
    8787$tpl->output['pager'] = ob_get_contents();
    88 ob_clean(); 
     88ob_clean();
    8989?>
Note: See TracChangeset for help on using the changeset viewer.