Changeset 9 for pages/wss_partners.php


Ignore:
Timestamp:
Jun 6, 2008, 7:47:22 AM (16 years ago)
Author:
george
Message:

Přidáno: Řazení podle času přidání serveru.
Opraveno: Řazení podle odezvy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/wss_partners.php

    r8 r9  
    99$tpl->output['th_rating'] = $text['th_rating'];
    1010$tpl->output['th_recommend'] = $text['th_recommend'];
     11$tpl->output['th_created'] = $text['th_created'];
    1112$tpl->output['order_by'] = $text['order_by'];
    1213$tpl->output['place'] = $text['info_place'];
     
    2425  case 5: $order = ' order by `players` desc '; break;
    2526  case 6: $order = ' order by `online` desc '; break;
    26   case 7: $order = ' order by `online` desc,`latency`'; break;
     27  case 7: $order = ' order by ceil(`online` / 100) desc, `latency`'; break;
     28  case 8: $order = ' order by `created` desc'; break;
    2729  }
    2830$tpl->output['s0'] = '';
     
    3436$tpl->output['s6'] = '';
    3537$tpl->output['s7'] = '';
     38$tpl->output['s8'] = '';
    3639if (empty($order_index))
    3740  {
Note: See TracChangeset for help on using the changeset viewer.