Changeset 9


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

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

Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • lang/cs.php

    r8 r9  
    4949'th_version' => 'Verze',
    5050'th_rating' => 'Známka',
     51'th_created' => 'Přidáno',
    5152'info_servers' =>'Servery',
    5253'info_num_of_servers' => 'Počet serverů',
  • lang/en.php

    r8 r9  
    4949  'th_version' => 'Version',
    5050  'th_rating' => 'Rating',
     51  'th_created' => 'Added',
    5152  'info_servers' => 'Servers',
    5253  'info_num_of_servers' => 'Number of servers',
  • pages/a_servers.php

    r8 r9  
    1111$tpl->output['th_rating'] = $text['th_rating'];
    1212$tpl->output['th_recommend'] = $text['th_recommend'];
     13$tpl->output['th_created'] = $text['th_created'];
    1314$tpl->output['order_by'] = $text['order_by'];
    1415$tpl->output['place'] = $text['info_place'];
     
    2526  case 5: $order = ' order by `players` desc '; break;
    2627  case 6: $order = ' order by `online` desc '; break;
    27   case 7: $order = ' order by `online` desc,`latency`'; break;
     28  case 7: $order = ' order by ceil(`online` / 100) desc, `latency`'; break;
     29  case 8: $order = ' order by `created` desc'; break;
    2830  }
    2931$tpl->output['s0'] = '';
     
    3537$tpl->output['s6'] = '';
    3638$tpl->output['s7'] = '';
     39$tpl->output['s8'] = '';
    3740if (empty($order_index))
    3841  {
  • pages/servers.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'];
     
    2324  case 5: $order = ' order by `players` desc '; break;
    2425  case 6: $order = ' order by `online` desc '; break;
    25   case 7: $order = ' order by `online` desc,`latency`'; break;
     26  case 7: $order = ' order by ceil(`online` / 100) desc, `latency`'; break;
     27  case 8: $order = ' order by `created` desc'; break;
    2628}
    2729$tpl->output['s0'] = '';
     
    3335$tpl->output['s6'] = '';
    3436$tpl->output['s7'] = '';
     37$tpl->output['s8'] = '';
    3538if (empty($order_index))
    3639{
  • 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  {
  • templates/a_servers.html

    r8 r9  
    1010    <option {s6}>{th_online_state}</option>
    1111    <option {s7}>{th_latency}</option>
     12    <option {s8}>{th_created}</option>
    1213  </select>
    1314</div>
  • templates/index.html

    r1 r9  
    44  <base href="{url}">
    55  <meta http-equiv="content-type" content="text/html; charset=utf-8">
    6   <meta name="generator" content="PSPad editor, www.pspad.com">
    7   <meta name="author" content="illi (Jakub Sochor)">
    86  <meta http-equiv="Content-Language" content="{lang}" >
    97  <script type="text/javascript" src="./includes/global.js"></script>
  • templates/servers.html

    r8 r9  
    1010    <option {s6}>{th_online_state}</option>
    1111    <option {s7}>{th_latency}</option>
     12    <option {s8}>{th_created}</option>
    1213  </select>
    1314</div>
  • templates/wss_partners.html

    r8 r9  
    1010    <option {s6}>{th_online_state}</option>
    1111    <option {s7}>{th_latency}</option>
     12    <option {s8}>{th_created}</option>
    1213  </select>
    1314</div>
Note: See TracChangeset for help on using the changeset viewer.