|
|
|
|
34
|
LEFT JOIN torrents_group AS tg ON t.GroupID=tg.ID
|
34
|
LEFT JOIN torrents_group AS tg ON t.GroupID=tg.ID
|
35
|
LEFT JOIN torrents_artists AS ta ON t.GroupID=ta.GroupID
|
35
|
LEFT JOIN torrents_artists AS ta ON t.GroupID=ta.GroupID
|
36
|
LEFT JOIN artists_group AS ag ON ta.ArtistID=ag.ArtistID
|
36
|
LEFT JOIN artists_group AS ag ON ta.ArtistID=ag.ArtistID
|
37
|
- WHERE x.uid = $UserID AND x.active=1");
|
|
|
|
|
37
|
+ WHERE x.uid = $UserID AND x.active=1 AND x.remaining=0
|
|
|
38
|
+ GROUP BY x.fid, x.ip");
|
38
|
while ($result = $DB->next_record()) {
|
39
|
while ($result = $DB->next_record()) {
|
39
|
$activeTorrents[] = $result;
|
40
|
$activeTorrents[] = $result;
|
40
|
}
|
41
|
}
|
|
|
|
|
69
|
<td><?=$torrent['Artist'].' - '.$torrent['Album'].' - '.$torrent['Recorded'].' | '.$torrent['Codec'].' / '.$torrent['Media'].' / '.$torrent['Container'].' / '.$torrent['Resolution'].' / '.$torrent['AudioFormat']; ?></td>
|
70
|
<td><?=$torrent['Artist'].' - '.$torrent['Album'].' - '.$torrent['Recorded'].' | '.$torrent['Codec'].' / '.$torrent['Media'].' / '.$torrent['Container'].' / '.$torrent['Resolution'].' / '.$torrent['AudioFormat']; ?></td>
|
70
|
<td><?=Format::get_size($torrent['Size'])?></td>
|
71
|
<td><?=Format::get_size($torrent['Size'])?></td>
|
71
|
<td><?php echo $torrent['Seeders']; ?></td>
|
72
|
<td><?php echo $torrent['Seeders']; ?></td>
|
72
|
- <td><?php echo round($torrent['days'], 2); ?> days (<?=$torrent['hours']?>)</td>
|
|
|
|
|
73
|
+ <td><?php echo round($torrent['days'], 2); ?> days</td>
|
73
|
<td><?=round($points, 4)?></td>
|
74
|
<td><?=round($points, 4)?></td>
|
74
|
</tr>
|
75
|
</tr>
|
75
|
<?php } ?>
|
76
|
<?php } ?>
|