Changeset 12 for pages/a_servers.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/a_servers.php

    r9 r12  
    4848 
    4949$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'];
    5151$pa->PageLinksDisplayed = 5;
    5252$pa->CountCommand = 'select count(*) as Count from `servers` where `place`=2';
Note: See TracChangeset for help on using the changeset viewer.