diff --git a/classes/class_debug.php b/classes/class_debug.php
index 98d8a513..1991159c 100644
--- a/classes/class_debug.php
+++ b/classes/class_debug.php
@@ -1,6 +1,6 @@
// Debug info for developers
-
+ini_set('max_execution_time',600);
define('MAX_TIME', 20000); //Maximum execution time in ms
define('MAX_ERRORS', 0); //Maxmimum errors, warnings, notices we will allow in a page
define('MAX_MEMORY', 80*1024*1024); //Maximum memory used per pageload
diff --git a/sections/blog/index.php b/sections/blog/index.php
index fb2c7227..bf2f7eac 100644
--- a/sections/blog/index.php
+++ b/sections/blog/index.php
@@ -76,6 +76,10 @@
$DB->query("INSERT IGNORE INTO users_subscriptions VALUES ('$LoggedUser[ID]', $ThreadID)");
$Cache->delete_value('subscriptions_user_'.$LoggedUser['ID']);
}
+ $Tweet = trim($_POST['tweet']);
+ if(!empty($Tweet)) {
+ send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet);
+ }
header('Location: blog.php');
break;
@@ -105,6 +109,19 @@
tabindex="2" />
+
+
Tweet
+
+
+
diff --git a/sections/reportsv2/takeresolve.php b/sections/reportsv2/takeresolve.php
index 7293d0e4..76d259a7 100644
--- a/sections/reportsv2/takeresolve.php
+++ b/sections/reportsv2/takeresolve.php
@@ -178,9 +178,12 @@
if(isset($Escaped['log_message']) && $Escaped['log_message'] != "") {
$Log .= " ( ".$Escaped['log_message']." )";
}
- $DB->query("SELECT GroupID FROM torrents WHERE ID = ".$TorrentID);
- list($GroupID) = $DB->next_record();
+ $DB->query("SELECT GroupID, hex(info_hash) FROM torrents WHERE ID = ".$TorrentID);
+ list($GroupID, $InfoHash) = $DB->next_record();
delete_torrent($TorrentID, 0, $ResolveType['reason']);
+
+ //$InfoHash = unpack("H*", $InfoHash);
+ $Log .= " (".strtoupper($InfoHash).")";
write_log($Log);
$Log = "deleted torrent for the reason: ".$ResolveType['title'].". ( ".$Escaped['log_message']." )";
write_group_log($GroupID, $TorrentID, $LoggedUser['ID'], $Log, 0);
diff --git a/sections/tools/data/registration_log.php b/sections/tools/data/registration_log.php
index 3637a4c6..288f4a6a 100644
--- a/sections/tools/data/registration_log.php
+++ b/sections/tools/data/registration_log.php
@@ -9,6 +9,7 @@
SQL_CALC_FOUND_ROWS
m.ID,
m.IP,
+ m.ipcc,
m.Email,
m.Username,
m.PermissionID,
@@ -21,6 +22,7 @@
(SELECT COUNT(h1.UserID) FROM users_history_ips AS h1 WHERE h1.IP=m.IP) AS Uses,
im.ID,
im.IP,
+ im.ipcc,
im.Email,
im.Username,
im.PermissionID,
@@ -55,11 +57,12 @@
Ratio |
Email |
IP |
+ Country |
Host |
Registered |
- while(list($UserID, $IP, $Email, $Username, $PermissionID, $Uploaded, $Downloaded, $Enabled, $Donor, $Warned, $Joined, $Uses, $InviterID, $InviterIP, $InviterEmail, $InviterUsername, $InviterPermissionID, $InviterUploaded, $InviterDownloaded, $InviterEnabled, $InviterDonor, $InviterWarned, $InviterJoined, $InviterUses)=$DB->next_record()) {
+ while(list($UserID, $IP, $IPCC, $Email, $Username, $PermissionID, $Uploaded, $Downloaded, $Enabled, $Donor, $Warned, $Joined, $Uses, $InviterID, $InviterIP, $InviterIPCC, $InviterEmail, $InviterUsername, $InviterPermissionID, $InviterUploaded, $InviterDownloaded, $InviterEnabled, $InviterDonor, $InviterWarned, $InviterJoined, $InviterUses)=$DB->next_record()) {
$Row = ($IP == $InviterIP) ? 'a' : 'b';
?>
@@ -77,6 +80,10 @@
=display_str($InviterIP)?>
=display_str($InviterUses)?> [H|S]
+
+ =$IPCC?>
+ =$InviterIPCC?>
+ |
=get_host($IP)?>
=get_host($InviterIP)?>
diff --git a/sections/tools/managers/news.php b/sections/tools/managers/news.php
index 657a61c8..a484ce38 100644
--- a/sections/tools/managers/news.php
+++ b/sections/tools/managers/news.php
@@ -15,6 +15,10 @@
$DB->query("UPDATE news SET Title='".db_string($_POST['title'])."', Body='".db_string($_POST['body'])."' WHERE ID='".db_string($_POST['newsid'])."'");
$Cache->delete_value('news');
$Cache->delete_value('feed_news');
+ $Tweet = trim($_POST['tweet']);
+ if(!empty($Tweet)) {
+ send_irc("PRIVMSG #what.cd-twitter !tweet ".$Tweet);
+ }
}
header('Location: index.php');
break;
@@ -41,6 +45,20 @@
Body
+
+ Tweet
+
+
+
+
|