Screamer89
Пользователь
При сортировке по скачанному и отданному. Сортируется по числу а не по объему, то есть 1 гб меньше чем 100 мб. Как пофиксить?
R446
R446
'TOR_RATIO' => ($up_ratio) ? "UL/DL ratio: $up_ratio" : '',
'UP_TOTAL_RAW' => $peer['uploaded'],
'DOWN_TOTAL_RAW' => $peer['downloaded'],
'SPEED_UP_RAW' => $peer['speed_up'],
'SPEED_DOWN_RAW' => $peer['speed_down'],
<td>{sfull.srow.UP_TOTAL}</td>
<td>{sfull.srow.DOWN_TOTAL}</td>
<td class="seedmed">{sfull.srow.SPEED_UP}</td>
<td class="leechmed">{sfull.srow.SPEED_DOWN}</td>
<td><u>{sfull.srow.UP_TOTAL_RAW}</u>{sfull.srow.UP_TOTAL}</td>
<td><u>{sfull.srow.DOWN_TOTAL_RAW}</u>{sfull.srow.DOWN_TOTAL}</td>
<td class="seedmed"><u>{sfull.srow.SPEED_UP_RAW}</u>{sfull.srow.SPEED_UP}</td>
<td class="leechmed"><u>{sfull.srow.SPEED_DOWN_RAW}</u>{sfull.srow.SPEED_DOWN}</td>
<td>{lfull.lrow.UP_TOTAL}</td>
<td>{lfull.lrow.DOWN_TOTAL}</td>
<td class="seedmed">{lfull.lrow.SPEED_UP}</td>
<td class="leechmed">{lfull.lrow.SPEED_DOWN}</td>
<td><u>{lfull.lrow.UP_TOTAL_RAW}</u>{lfull.lrow.UP_TOTAL}</td>
<td><u>{lfull.lrow.DOWN_TOTAL_RAW}</u>{lfull.lrow.DOWN_TOTAL}</td>
<td class="seedmed"><u>{lfull.lrow.SPEED_UP_RAW}</u>{lfull.lrow.SPEED_UP}</td>
<td class="leechmed"><u>{lfull.lrow.SPEED_DOWN_RAW}</u>{lfull.lrow.SPEED_DOWN}</td>