Changeset 328 for trunk/statistic.php
- Timestamp:
- Feb 21, 2010, 12:04:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r327 r328 13 13 if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>'); 14 14 15 $SortList = $TranslationTree;16 15 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) 16 foreach($TranslationTree as $Group) 35 17 if($Group['TablePrefix'] != '') 36 18 echo('<div class="state-image">
Note:
See TracChangeset
for help on using the changeset viewer.