Changeset 328 for trunk/statistic.php


Ignore:
Timestamp:
Feb 21, 2010, 12:04:54 AM (15 years ago)
Author:
maron
Message:

Oprava posledního nechtěného commitu 2 souborů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/statistic.php

    r327 r328  
    1313if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>');
    1414
    15 $SortList = $TranslationTree;
    1615
    17   $last = 1;
    18 
    19 for ($y = 0; $y < 1000; $y = $y + 1) {
    20   foreach($TranslationTree as $Group)
    21   { 
    22     $i = $Group['Id'];
    23     if ($i != 1)
    24      if ($SortList[$last]['BuffPercent'] > $SortList[$i]['BuffPercent']) {
    25        echo($SortList[$last]['BuffPercent'].'-'.$SortList[$i]['BuffPercent'].' ');
    26        $tmp = $SortList[$last];
    27        $SortList[$last] = $SortList[$i];
    28        $SortList[$i] = $tmp;
    29      }
    30      $last = $i;
    31   }
    32   $last = 1;
    33 }
    34 foreach($SortList as $Group)
     16foreach($TranslationTree as $Group)
    3517  if($Group['TablePrefix'] != '')
    3618  echo('<div class="state-image">
Note: See TracChangeset for help on using the changeset viewer.