mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
01b4fa1300
commit
17a0c08279
@ -137,7 +137,9 @@ function transcode_parse_groups($Groups) {
|
|||||||
AND tg.CategoryID = 1
|
AND tg.CategoryID = 1
|
||||||
AND x.uid='$UserID'
|
AND x.uid='$UserID'
|
||||||
".($_GET['filter'] == 'seeding' ? "AND x.active=1 AND x.Remaining=0" : ""));
|
".($_GET['filter'] == 'seeding' ? "AND x.active=1 AND x.Remaining=0" : ""));
|
||||||
|
$Debug->set_flag('SELECTed ' . $_GET['filter'] . ' torrents');
|
||||||
$Snatched = $DB->to_array();
|
$Snatched = $DB->to_array();
|
||||||
|
$Debug->set_flag('Received data from DB');
|
||||||
shuffle($Snatched); // randomize results
|
shuffle($Snatched); // randomize results
|
||||||
while($ResultCount < TORRENTS_PER_PAGE && count($Snatched) > 0) {
|
while($ResultCount < TORRENTS_PER_PAGE && count($Snatched) > 0) {
|
||||||
// we throw TORRENTS_PER_PAGE results into Sphinx until we have at least TORRENTS_PER_PAGE results (or no snatches left)
|
// we throw TORRENTS_PER_PAGE results into Sphinx until we have at least TORRENTS_PER_PAGE results (or no snatches left)
|
||||||
|
@ -99,11 +99,12 @@
|
|||||||
}
|
}
|
||||||
$TorrentForm->foot();
|
$TorrentForm->foot();
|
||||||
}
|
}
|
||||||
|
if (check_perms('torrents_edit') && (check_perms('users_mod') || $Properties['CategoryID'] == 1)) {
|
||||||
|
|
||||||
if (check_perms('torrents_edit') && $Properties['CategoryID'] == 1) {
|
|
||||||
?>
|
?>
|
||||||
<div class="thin">
|
<div class="thin">
|
||||||
|
<?
|
||||||
|
if ($Properties['CategoryID'] == 1) {
|
||||||
|
?>
|
||||||
<h2>Change group</h2>
|
<h2>Change group</h2>
|
||||||
<form class="edit_form" name="torrent_group" action="torrents.php" method="post">
|
<form class="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||||
<input type="hidden" name="action" value="editgroupid" />
|
<input type="hidden" name="action" value="editgroupid" />
|
||||||
|
Loading…
Reference in New Issue
Block a user