From ba15532e941c267a69b662937a955a0f91898ab8 Mon Sep 17 00:00:00 2001 From: Git Date: Wed, 9 Jan 2013 08:00:34 +0000 Subject: [PATCH] Empty commit --- sections/tools/data/common_snatches.php | 70 -------------- sections/tools/managers/eb.php | 116 +++++++++++++----------- sections/torrents/details.php | 5 +- static/functions/browse.js | 31 ------- 4 files changed, 67 insertions(+), 155 deletions(-) delete mode 100644 sections/tools/data/common_snatches.php diff --git a/sections/tools/data/common_snatches.php b/sections/tools/data/common_snatches.php deleted file mode 100644 index 2706f923..00000000 --- a/sections/tools/data/common_snatches.php +++ /dev/null @@ -1,70 +0,0 @@ - -
-

Common Snatches

-
- - - - - - - - - - - - - - - - -
User AUser BLimit
- - - - - - - -
- -query("SELECT g.ID, g.Name FROM torrents AS t INNER JOIN torrents_group AS g ON g.ID = t.GroupID JOIN xbt_snatched AS xs ON xs.fid=t.ID WHERE xs.uid IN ($UserIDA,$UserIDB) HAVING COUNT(xs.fid) > 1 ORDER BY xs.tstamp DESC $LIMIT"); -?> - - - - - -next_record()) { -?> - - - - -
Torrent
- -
- diff --git a/sections/tools/managers/eb.php b/sections/tools/managers/eb.php index d3da8997..14a30ac5 100644 --- a/sections/tools/managers/eb.php +++ b/sections/tools/managers/eb.php @@ -1,67 +1,81 @@ query("SELECT +$DB->query("SELECT + SQL_CALC_FOUND_ROWS eb.ID, eb.UserID, eb.Time, eb.Email, eb.Comment FROM email_blacklist AS eb - ORDER BY eb.Time DESC"); + ORDER BY eb.Time DESC LIMIT $Limit"); +$Results = $DB->to_array(false, MYSQLI_ASSOC, false); +$DB->query("SELECT FOUND_ROWS()"); +list($NumResults) = $DB->next_record(); ?>
-

Email Blacklist

+

Email Blacklist

+
+ - - - - - - - - - - - - - - - - - - - next_record()) { + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + +
EmailCommentAddedSubmit
Add Email or Domain to Blacklist
- - - - - -
EmailCommentAddedSubmit
Add Email or Domain to Blacklist
+ + + + + +
- - - - - - -
- - -
+ + + + + + +
+ + +
- + diff --git a/sections/torrents/details.php b/sections/torrents/details.php index 4aa1c6f4..a5ef26e2 100644 --- a/sections/torrents/details.php +++ b/sections/torrents/details.php @@ -585,7 +585,7 @@ function filelist($Str) { (View snatch list) (View file list) - + (View report information) @@ -593,8 +593,7 @@ function filelist($Str) { - - + Loading..." - $('#spectrals_' + TorrentID).show().raw().innerHTML=html; - if(json['status']['state'] == 'success') { - for (var i = 0; i < json['count']; i++) { - html += "" + json["; - html += "

"; - } - } - else { - html = "
Error: " + json['status']['reason'] + "" - } - $('#spectrals_' + TorrentID).show().raw().innerHTML=html; - }); - } function add_tag(tag) {