Polish Bittorrent Tracker Support

  • Maj 18, 2012, 04:32:33
  • Witamy, Gość
Zaloguj się lub zarejestruj.

Zaloguj się podając nazwę użytkownika, hasło i długość sesji
Szukanie zaawansowane  

Aktualności:

Autor Wątek: Lista niewyseedowanych pozycji przez usera  (Przeczytany 2203 razy)

0 użytkowników i 1 Gość przegląda ten wątek.

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Lista niewyseedowanych pozycji przez usera
« dnia: Październik 26, 2009, 05:28:31 »

Witam przedstawiam moda na "Niewyseedowane Pozycje" mod został przerobiony przeze mnie przy wykorzystaniu moda autorstwa "created by OiNK, rightthere, thebrass, Cue, Sir_SnuggleBunny, and me (ScarS)." . To chyba tyle o modzie i ich autorach, czas teraz na troche pracy.

Dodaj do bazy/Zamień z twoja tabela:
CREATE TABLE `snatched` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `torrentid` int(10) unsigned NOT NULL default '0',
  `ip` varchar(15) NOT NULL default '',
  `port` smallint(5) unsigned NOT NULL default '0',
  `connectable` enum('yes','no') NOT NULL default 'no',
  `agent` varchar(60) NOT NULL default '',
  `peer_id` varchar(20) NOT NULL default '',
  `uploaded` bigint(20) unsigned NOT NULL default '0',
  `upspeed` bigint(20) NOT NULL default '0',
  `downloaded` bigint(20) unsigned NOT NULL default '0',
  `downspeed` bigint(20) NOT NULL default '0',
  `to_go` bigint(20) unsigned NOT NULL default '0',
  `seeder` enum('yes','no') NOT NULL default 'no',
  `seedtime` int(10) unsigned NOT NULL default '0',
  `leechtime` int(10) unsigned NOT NULL default '0',
  `start_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `last_action` datetime NOT NULL default '0000-00-00 00:00:00',
  `complete_date` datetime NOT NULL default '0000-00-00 00:00:00',
  `hitrun` datetime NOT NULL default '0000-00-00 00:00:00',
  `hitrunwarn` enum('yes','no') NOT NULL default 'no',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin2 AUTO_INCREMENT=4 ;


W pliku announce.php znajdź:
$dt = gmtime() - 180;
$dt = sqlesc(get_date_time($dt));
if ("text/html, */*" == $_SERVER["HTTP_ACCEPT"] || "Close" == $_SERVER["HTTP_CONNECTION"] && "gzip, deflate" != $_SERVER["HTTP_ACCEPT_ENCODING"])
{
$u = mysql_fetch_assoc(mysql_query("SELECT id, username FROM users WHERE id=".$userid));
$subject = sqlesc("Cheat - ".$u["username"]."");
$body = sqlesc("".$u["username"]." used RatioMaker.  UserAgent: ".$agent."  PeerID: ".substr($peer_id,0,7));

auto_post( $subject , $body );
benc_resp_raw("Zostałe¶ zanotowany za próbę oszukiwania!");
}
function portblacklisted($port)
{
    // direct connect
    if ($port >= 411 && $port <= 413) return true;

    // bittorrent
    if ($port >= 6881 && $port <= 6889) return true;

    // kazaa
    if ($port == 1214) return true;

    // gnutella
    if ($port >= 6346 && $port <= 6347) return true;

    // emule
    if ($port == 4662) return true;

    // winmx
    if ($port == 6699) return true;

    return false;
}

$updateset = array();

if ($event == "stopped")
{
    if (isset($self))
    {
        mysql_query("UPDATE snatched SET seeder = 'no', connectable='no' WHERE torrent = $torrentid AND userid = $userid");
        mysql_query("DELETE FROM peers WHERE $selfwhere");
        if (mysql_affected_rows())
        {
            if ($self["seeder"] == "yes")
                $updateset[] = "seeders = seeders - 1";
            else
                $updateset[] = "leechers = leechers - 1";
        }
    }
}
else
{
if ($event == "completed")
         {   
        mysql_query("UPDATE snatched SET  finished  = 'yes', completedat = $dt WHERE torrent = $torrentid AND userid = $userid");
  $updateset[] = "times_completed = times_completed + 1";
   
         }
    if (isset($self))
    {
        $res=mysql_query("SELECT uploaded, downloaded FROM snatched WHERE torrent = $torrentid AND userid = $userid");
    $row = mysql_fetch_array($res);
    $sockres = @fsockopen($ip, $port, $errno, $errstr, 5);
  if (!$sockres)
    $connectable = "no";
  else
 {
   $connectable = "yes";
   @fclose($sockres);
}
   $downloaded2=$downloaded - $self["downloaded"];
   $uploaded2=$uploaded - $self["uploaded"];
    mysql_query("UPDATE snatched SET uploaded = uploaded+$uploaded2, downloaded = downloaded+$downloaded2, port = $port, connectable = '$connectable', agent= " . sqlesc($agent) . ", to_go = $left, last_action = $dt, seeder = '$seeder' WHERE torrent = $torrentid AND userid = $userid");
        mysql_query("UPDATE peers SET uploaded = $uploaded, downloaded = $downloaded, to_go = $left, last_action = NOW(), seeder = '$seeder'"
            . ($seeder == "yes" && $self["seeder"] != $seeder ? ", finishedat = " . time() : "") . " WHERE $selfwhere");
        if (mysql_affected_rows() && $self["seeder"] != $seeder)
        {
            if ($seeder == "yes")
            {
                $updateset[] = "seeders = seeders + 1";
                $updateset[] = "leechers = leechers - 1";
            }
            else
            {
                $updateset[] = "seeders = seeders - 1";
                $updateset[] = "leechers = leechers + 1";
            }
        }
    }
    else
    {
        if ($az["parked"] == "yes")
            err("Bł±d, twoje konto zostało zaparkowane! Prosimy przeczytać FAQ!");
        if (portblacklisted($port))
            err("Port $port jest wci±gnięty na czarn± listę.");
        else
        {
            $sockres = @fsockopen($ip, $port, $errno, $errstr, 5);
            if (!$sockres)
                $connectable = "no";
            else
            {
                $connectable = "yes";
                @fclose($sockres);
            }
        }
        //Zbanowane klienty//
        if(ereg("^BitTorrent/S-", $agent)) err("Shadow's Experimental klient Zbanowany, Zaktualizuj wersję klienta do najnowszej."); //also earlier versions of ABC
        if(ereg("^ABC/ABC", $agent)) err ("ABC klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(ereg("^Python-urllib/2.4", $agent)) err ("Klient Zbanowany."); //G3 Torrent, maybe a few others
        if(ereg("^0P3R4H", $httpagent)) err ("IBrowser Opera is not a cool BT client.");
        if(substr($peer_id, 0, 5) == "-UT11") err("µTorrent 1.1 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 5) == "-UT12") err("µTorrent 1.2 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 5) == "-UT13") err("µTorrent 1.3 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 6) == "exbc�8") err("BitComet 0.56 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 6) == "-BC0056-") err("BitComet 0.56 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 4) == "FUTB") err("FUTB? Fuck You Too."); //patched version of BitComet 0.57 (FUTB- Fuck U TorrentBits)
        if(substr($peer_id, 0, 6) == "exbc�9") err("BitComet 0.57 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 6) == "-BC0057-") err("BitComet 0.57 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 6) == "exbc�:") err("BitComet 0.58 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 6) == "-BC0058-") err("BitComet 0.58 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0059-") err("BitComet 0.59 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0060-") err("BitComet 0.60 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0061-") err("BitComet 0.61 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0062-") err("BitComet 0.62 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0063-") err("BitComet 0.63 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0064-") err("BitComet 0.64 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0065-") err("BitComet 0.65 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0066-") err("BitComet 0.66 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0067-") err("BitComet 0.67 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0068-") err("BitComet 0.68 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0069-") err("BitComet 0.69 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0070-") err("BitComet 0.70 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0071-") err("BitComet 0.71 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0072-") err("BitComet 0.72 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0073-") err("BitComet 0.73 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0074-") err("BitComet 0.74 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0075-") err("BitComet 0.75 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "-BC0076-") err("BitComet 0.76 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 7) == "exbc�L") err("BitLord 1.0 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 8) == "exbcLORD") err ("BitLord został zbanowany.");
        if(substr($peer_id, 0, 2) == "BS") err ("BitSpirit został zbanowany.");
        if(substr($peer_id, 0, 3) == "-TS") err ("TorrentStorm klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 5) == "Mbrst") err ("Burst! klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 3) == "-BB") err ("BitBuddy iklient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 3) == "-SZ") err("Shareaza klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 3) == "XBT") err ("XBT klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(substr($peer_id, 0, 5) == "turbo") err ("TurboBT klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(preg_match("/^RAZA (.+)$/", $httpagent, $matches)) err ("Shareaza klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(preg_match("/MLDonkey/([0-9]+).([0-9]+).([0-9]+)*/", $httpagent, $matches)) err ("MLDonkey is not a BT client.");
        if(preg_match("/ed2k_plugin v([0-9]+.[0-9]+).*/", $httpagent, $matches)) err ("eDonkey is not a BT client.");
        if(preg_match("/^Python-urllib/([0-9]+.[0-9]+(.[0-9]+)*)/", $httpagent, $matches)) err ("G3 klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(preg_match("/Rufus/([0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("Rufus klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        if(preg_match("/CT([0-9]+)([0-9]+)([0-9]+)([0-9]+)/", $peer_id, $matches)) err ("cTorrent klient Zbanowany, Zaktualizuj wersję klienta do najnowszej.");
        //Koniec zbanowanych klientów//
        $res = mysql_query("SELECT torrent, userid FROM snatched WHERE torrent = $torrentid AND userid = $userid");
      $check = mysql_fetch_assoc($res);
   if (!$check)

      mysql_query("INSERT INTO snatched (torrent, torrentid, userid, port, startdat, last_action, agent, torrent_name, torrent_category) VALUES ($torrentid, $torrentid, $userid, $port, $dt, $dt, " . sqlesc($agent) . ", " . sqlesc($torrentname) . ", $torrentcategory)");

        $ret = mysql_query("INSERT INTO peers (connectable, torrent, peer_id, ip, port, uploaded, downloaded, to_go, started, last_action, seeder, userid, agent, uploadoffset, downloadoffset, passkey) VALUES ('$connectable', $torrentid, " . sqlesc($peer_id) . ", " . sqlesc($ip) . ", $port, $uploaded, $downloaded, $left, NOW(), NOW(), '$seeder', $userid, " . sqlesc($agent) . ", $uploaded, $downloaded, " . sqlesc($passkey) . ")");
        if ($ret)
        {
            if ($seeder == "yes")
                $updateset[] = "seeders = seeders + 1";
            else
                $updateset[] = "leechers = leechers + 1";
        }
    }
}

Teraz plik userdetails.php znajdź:
    $r = mysql_query("SELECT snatched.torrent_name as name, snatched.torrentid as id, snatched.torrent_category as category, snatched.uploaded, snatched.downloaded, snatched.completedat, snatched.last_action, torrents.seeders, torrents.leechers FROM snatched JOIN torrents ON torrents.id = snatched.torrentid WHERE snatched.finished='yes' AND userid=$id ORDER BY torrent_name") or sqlerr();

zmień na:
    $r = mysql_query("SELECT snatched.torrentid as id, snatched.uploaded, snatched.downloaded, snatched.complete_date, snatched.last_action, torrents.seeders, torrents.leechers FROM snatched JOIN torrents ON torrents.id = snatched.torrentid WHERE snatched.complete_date='yes' AND userid=$id ORDER BY torrentid") or sqlerr();

  if ($completed)
print("<tr valign=top><td class=rowhead>Kompletne torrenty</td><td align=left>$completed</td></tr> ");

dodaj pod:
if (get_user_class() >= UC_MODERATOR) {
print("<tr valign=top><td class=rowhead>Lista Pobrań</td><td align=left><a href=usersnatch.php?id=$user[id]>Show list[/url]</td></tr>");
} else {
print("<tr valign=top><td class=rowhead>Lista Pobrań</td><td align=left><a href=usersnatch.php?id=$CURUSER[id]>Show list[/url]</td></tr>");
}
« Ostatnia zmiana: Październik 29, 2009, 09:20:07 wysłana przez Eryk »
Zapisane

P2P

  • BTDEV Staff
  • Super zaawansowany
  • *****
  • Reputacja 45
  • Online Online
  • Płeć: Mężczyzna
  • Wiadomości: 471
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #1 dnia: Październik 26, 2009, 06:41:54 »

Cytuj
W pliku announce.php znajdź:

I co dalej?? co z plikiem announce??
Zapisane
Brazylijscy naukowcy odkryli, że ludzie czytający posty i trzymający rękę na myszce mają niższe IQ

Już za późno nie zdejmujcie

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #2 dnia: Październik 26, 2009, 07:03:24 »

Zamień na to:

$dt = gmtime() - 180;
$dt = sqlesc(get_date_time($dt));
if ("text/html, */*" == $_SERVER["HTTP_ACCEPT"] || "Close" == $_SERVER["HTTP_CONNECTION"] && "gzip, deflate" != $_SERVER["HTTP_ACCEPT_ENCODING"])
{
$u = mysql_fetch_assoc(mysql_query("SELECT id, username FROM users WHERE id=".$userid));
$subject = sqlesc("Cheat - ".$u["username"]."");
$body = sqlesc("".$u["username"]." used RatioMaker.  UserAgent: ".$agent."  PeerID: ".substr($peer_id,0,7));

auto_post( $subject , $body );
benc_resp_raw("Zostałe¶ zanotowany za próbę oszukiwania!");
}
function portblacklisted($port)
{
    // direct connect
    if ($port >= 411 && $port <= 413) return true;

    // bittorrent
    if ($port >= 6881 && $port <= 6889) return true;

    // kazaa
    if ($port == 1214) return true;

    // gnutella
    if ($port >= 6346 && $port <= 6347) return true;

    // emule
    if ($port == 4662) return true;

    // winmx
    if ($port == 6699) return true;

    return false;
}
                        if (portblacklisted($port))
            err("Port $port is blacklisted.");
        else
        {
            $sockres = @fsockopen($ip, $port, $errno, $errstr, 5);
            if (!$sockres)
                $connectable = "no";
            else
            {
                $connectable = "yes";
                @fclose($sockres);
            }
        }

    //Zbanowane klienty//
if (ereg("^BitTorrent\/S-", $agent)) err("Shadow's Experimental klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (ereg("^ABC\/ABC", $agent)) err ("ABC klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (ereg("^Python-urllib\/2.4", $agent)) err ("Klient Zbanowany.");
if (ereg("^0P3R4H", $httpagent)) err ("IBrowser Opera is not a cool BT client.");
if (substr($peer_id, 0, 5) == "-UT11") err("µTorrent 1.1 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 5) == "-UT12") err("µTorrent 1.2 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 5) == "-UT13") err("µTorrent 1.3 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 6) == "exbc�8") err("BitComet 0.56 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 6) == "-BC0056-") err("BitComet 0.56 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 4) == "FUTB") err("FUTB? Fuck You Too.");
if (substr($peer_id, 0, 6) == "exbc�9") err("BitComet 0.57 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 6) == "-BC0057-") err("BitComet 0.57 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 6) == "exbc�:") err("BitComet 0.58 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 6) == "-BC0058-") err("BitComet 0.58 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0059-") err("BitComet 0.59 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0060-") err("BitComet 0.60 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0061-") err("BitComet 0.61 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0062-") err("BitComet 0.62 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0063-") err("BitComet 0.63 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0064-") err("BitComet 0.64 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0065-") err("BitComet 0.65 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0066-") err("BitComet 0.66 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0067-") err("BitComet 0.67 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0068-") err("BitComet 0.68 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0069-") err("BitComet 0.69 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0070-") err("BitComet 0.70 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0071-") err("BitComet 0.71 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0072-") err("BitComet 0.72 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0073-") err("BitComet 0.73 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0074-") err("BitComet 0.74 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0075-") err("BitComet 0.75 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0076-") err("BitComet 0.76 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0077-") err("BitComet 0.77 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0078-") err("BitComet 0.78 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0079-") err("BitComet 0.79 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0080-") err("BitComet 0.80 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0081-") err("BitComet 0.81 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0082-") err("BitComet 0.82 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0083-") err("BitComet 0.83 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "-BC0084-") err("BitComet 0.84 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 7) == "exbc�L") err("BitLord 1.0 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 8) == "exbcLORD") err ("BitLord zosta3 zbanowany.");
if (substr($peer_id, 0, 2) == "BS") err ("BitSpirit zosta3 zbanowany.");
if (substr($peer_id, 0, 4) == "BS") err ("BitSpirit v2.x lient Zbanowany.");
if (substr($peer_id, 0, 4) == "BS") err ("BitSpirit v3.x lient Zbanowany.");
if (substr($peer_id, 0, 3) == "-TS") err ("TorrentStorm klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 5) == "Mbrst") err ("Burst! klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 3) == "-BB") err ("BitBuddy iklient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 3) == "-SZ") err("Shareaza klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 3) == "XBT") err ("XBT klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (substr($peer_id, 0, 5) == "turbo") err ("TurboBT klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (preg_match("/^RAZA (.+)$/", $httpagent, $matches)) err ("Shareaza klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (preg_match("/MLDonkey/([0-9]+).([0-9]+).([0-9]+)*/", $httpagent, $matches)) err ("MLDonkey is not a BT client.");
if (substr($peer_id, 0, 3) == "-TS") err ("TorrentStorm lient Zbanowany.");
if (preg_match("/ed2k_plugin v([0-9]+\.[0-9]+).*/", $httpagent, $matches)) err ("eDonkey is not a BT client.");
if (preg_match("/^Python-urllib\/([0-9]+\.[0-9]+(\.[0-9]+)*)/", $httpagent, $matches)) err ("G3 klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (preg_match("/Rufus/([0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("Rufus klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (preg_match("/CT([0-9]+)([0-9]+)([0-9]+)([0-9]+)/", $peer_id, $matches)) err ("cTorrent klient Zbanowany, Zaktualizuj wersje klienta do najnowszej.");
if (preg_match("/^Azureus ([0-9]+.[0-9]+.[0-9]+.[0-9]_B([0-9][0-9|*])(.+)$)/", $httpagent, $matches)) err ("Azureus");
if (preg_match("/^Azureus ([0-9]+.[0-9]+.[0-9]+.[0-9]_CVS)/", $httpagent, $matches)) err ("Azureus");
if (preg_match("/^Java/([0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("Azureus");
if (preg_match("/^Azureus ([0-9]+.[0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("Azureus");
if (preg_match("/BitTorrent/U-([0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("UPnP");
if (preg_match("/^BitTor(rent|nado)\/T-(.+)$/", $httpagent, $matches)) err ("BitTornado");
if (preg_match("/^BitTornado\/T-(.+)$/", $httpagent, $matches)) err ("BitTornado");
if (preg_match("/^BitTorrent/ABC-([0-9]+.[0-9]+(.[0-9]+)*)/", $httpagent, $matches)) err ("ABC");
if (preg_match("/^ABC ([0-9]+.[0-9]+(.[0-9]+)*)/ABC-([0-9]+.[0-9]+(.[0-9]+)*)/", $httpagent, $matches)) err ("ABC");
if (substr($peer_id, 0, 6) == "A310--") err ("ABC");
if (preg_match("/^ABC/Tribler_ABC-([0-9]+.[0-9]+(.[0-9]+)*)/", $httpagent, $matches)) err ("Tribler");
if (preg_match("/^Python-urllib/.+?, BitTorrent/([0-9]+.[0-9]+(.[0-9]+)*)/", $httpagent, $matches)) err ("BitTorrent");
if (ereg("^BitTorrent/BitSpirit$", $httpagent)) err ("BitSpirit");
if (ereg("^DansClient", $httpagent)) err ("XanTorrent");
if (preg_match("/^BitTorrent/brst(.+)/", $httpagent, $matches)) err ("Burst");
if (preg_match("/^RAZA (.+)$/", $httpagent, $matches)) err ("Shareaza");
if (substr($peer_id, 0, 8) == "-SZ2210-") err ("Shareaza/2.2.1.0");
if (preg_match("/Rufus/([0-9]+.[0-9]+.[0-9]+)/", $httpagent, $matches)) err ("Rufus");
if (preg_match("/^Python-urllib\/([0-9]+\.[0-9]+(\.[0-9]+)*)/", $httpagent, $matches)) err ("G3 Torrent");
if (preg_match("/MLDonkey/([0-9]+).([0-9]+).([0-9]+)*/", $httpagent, $matches)) err ("MLDonkey");
if (preg_match("/ed2k_plugin v([0-9]+\.[0-9]+).*/", $httpagent, $matches)) err ("eDonkey");
if (preg_match("/uTorrent/([0-9]+)([0-9]+)([0-9]+)([0-9A-Z]+)/", $httpagent, $matches)) err ("uTorrent");
if (preg_match("/CT([0-9]+)([0-9]+)([0-9]+)([0-9]+)/", $peer_id, $matches)) err ("cTorrent");
if (preg_match("/Transmission/([0-9]+).([0-9]+)/", $httpagent, $matches)) err ("Transmission");
if (preg_match("/KT([0-9]+)([0-9]+)([0-9]+)([0-9]+)/", $peer_id, $matches)) err ("KTorrent");
if (substr($peer_id, 0, 8) == "-MP130n-") err ("MooPolice");
        //Koniec zbanowanych klientów//
$updateset = array();

if (isset($self) && $event == "stopped") {
mysql_query("DELETE FROM peers WHERE $selfwhere");


if (mysql_affected_rows()) {
$updateset[] = ($self["seeder"] == "yes" ? "seeders = seeders - 1" : "leechers = leechers - 1");
mysql_query("UPDATE snatched SET ip = ".sqlesc($ip).", port = $port, connectable = '$connectable', uploaded = uploaded + $upthis, downloaded = downloaded + $downthis, to_go = $left, upspeed = $upspeed, downspeed = $downspeed, $announcetime, last_action = '".get_date_time()."', seeder = '$seeder', agent = ".sqlesc($agent)." WHERE torrentid = $torrentid AND userid = $userid") or err("SL Err 1");
}
} elseif (isset($self)) {

if ($event == "completed") {
$updateset[] = "times_completed = times_completed + 1";
$finished = ", finishedat = UNIX_TIMESTAMP()";
$finished1 = ", complete_date = '".get_date_time()."'";
}

mysql_query("UPDATE peers SET uploaded = $uploaded, downloaded = $downloaded, to_go = $left, last_action = NOW(), seeder = '$seeder'". ($seeder == "yes" && $self["seeder"] != $seeder ? ", finishedat = " . time() : "") . " WHERE $selfwhere");


if (mysql_affected_rows()) {
if ($seeder <> $self["seeder"])
$updateset[] = ($seeder == "yes" ? "seeders = seeders + 1, leechers = leechers - 1" : "seeders = seeders - 1, leechers = leechers + 1");
mysql_query("UPDATE snatched SET ip = ".sqlesc($ip).", port = $port, connectable = '$connectable', uploaded = uploaded + $upthis, downloaded = downloaded + $downthis, to_go = $left, upspeed = $upspeed, downspeed = $downspeed, $announcetime, last_action = '".get_date_time()."', seeder = '$seeder', agent = ".sqlesc($agent)." $finished1 WHERE torrentid = $torrentid AND userid = $userid") or err("SL Err 2");
}
} else {
// if ($az["parked"] == "yes")
// err("Your account is parked! (Read the FAQ)");
// elseif ($az["downloadpos"] == "no")
// err("Your downloading priviledges have been disabled! (Read the rules)");

mysql_query("INSERT INTO peers (torrent, userid, peer_id, ip, port, connectable, uploaded, downloaded, to_go, started, last_action, seeder, agent, downloadoffset, uploadoffset, passkey) VALUES ($torrentid, $userid, ".sqlesc($peer_id).", ".sqlesc($ip).", $port, '$connectable', $uploaded, $downloaded, $left, NOW(), NOW(), '$seeder', ".sqlesc($agent).", $downloaded, $uploaded, ".sqlesc(unesc($passkey)).")") or err("PL Err 2");

if (mysql_affected_rows()) {
$updateset[] = ($seeder == "yes" ? "seeders = seeders + 1" : "leechers = leechers + 1");
mysql_query("UPDATE snatched SET ip = ".sqlesc($ip).", port = $port, connectable = '$connectable', to_go = $left, last_action = '".get_date_time()."', seeder = '$seeder', agent = ".sqlesc($agent)." WHERE torrentid = $torrentid AND userid = $userid") or err("SL Err 3");

if (!mysql_affected_rows() && $seeder == "no")
mysql_query("INSERT INTO snatched (torrentid, userid, peer_id, ip, port, connectable, uploaded, downloaded, to_go, start_date, last_action, seeder, agent) VALUES ($torrentid, $userid, ".sqlesc($peer_id).", ".sqlesc($ip).", $port, '$connectable', $uploaded, $downloaded, $left, '".get_date_time()."', '".get_date_time()."', '$seeder', ".sqlesc($agent).")") or err("SL Err 4");
}
}
« Ostatnia zmiana: Październik 29, 2009, 09:21:25 wysłana przez Eryk »
Zapisane

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #3 dnia: Październik 26, 2009, 07:04:14 »

Na końcu potrzebny jest nam plik usersnatch.php
<?php
ob_start
();
require 
"include/bittorrent.php";

dbconn(false);
loggedinorreturn();

function 
bark($msg) {
    
genbark($msg"Wejscie nieudane!");
}


function 
snatchtable($res) {

$table "<table class=upload border=1 cellspacing=0 cellpadding=5>
<tr>
<td class=colhead-rm>K.</td>
<td class=colhead-rm>Torrents</td>
<td class=colhead-rm>Up/Speed.</td>
<td class=colhead-rm>Down/Speed.</td>
<td class=colhead-rm>Ratio</td>
<td class=colhead-rm>Required</td>
<td class=colhead-rm>Seed Time</td>
</tr>"
;

while (
$arr mysql_fetch_assoc($res)) {

$upspeed = ($arr["upspeed"] > mksize($arr["upspeed"]) : ($arr["seedtime"] > mksize($arr["uploaded"] / ($arr["seedtime"] + $arr["leechtime"])) : mksize(0)));
$downspeed = ($arr["downspeed"] > mksize($arr["downspeed"]) : ($arr["leechtime"] > mksize($arr["downloaded"] / $arr["leechtime"]) : mksize(0)));
$ratio = ($arr["downloaded"] > number_format($arr["uploaded"] / $arr["downloaded"], 3) : ($arr["uploaded"] > "Inf." "---"));
$freecolor = ($arr["free"] == "yes" " class="free" " "");


$godzina 3600;
if (
$ratio >= 0.3 )   {$ratio0 "36H"$czas $godzina*36$seedowac $czas $arr["seedtime"];}
elseif (
$ratio <= 0.3) {$ratio0 "24H"$czas $godzina*24$seedowac $czas $arr["seedtime"];}
elseif (
$ratio <= 0.5) {$ratio0 "12H"$czas $godzina*12$seedowac $czas $arr["seedtime"];}
elseif (
$ratio <= 0.7) {$ratio0 "6H"$czas $godzina*6$seedowac $czas $arr["seedtime"];}
elseif (
$ratio >= 1.0){$ratio0 "Your will"$czas 0$seedowac 0;}
if (
$czas >= $arr["seedtime"]) { $color " bgcolor=red";}
elseif (
$czas <= $arr["seedtime"]) { $color " bgcolor=green";}
 if (
$seedowac <= 0) { $seedowac "[br /]Seed OK:";}
 elseif (
$seedowac >=0) {$seedowac "&nbsp;".mkprettytime($seedowac)." z ";}

$table .= "<tr>
<td style='padding: 0px'$freecolor><img src='pic/kat/"
.htmlspecialchars($arr["catimg"])."' alt='".htmlspecialchars($arr["catname"])."' width=48 height=36></td>
<td$freecolor><a href=details.php?id=$arr[torrentid]>"
.(strlen($arr["name"]) > 30 substr($arr["name"], 030 3)."..." $arr["name"])."[/url]</td>
<td$freecolor>"
.mksize($arr["uploaded"])."[br /]$upspeed/s</td>
<td$freecolor>"
.mksize($arr["downloaded"])."[br /]$downspeed/s</td>
<td$freecolor>$ratio</td>
<td$color>$seedowac $ratio0 </td>
<td$color>"
.mkprettytime($arr["seedtime"])."</td>
</tr> "
;
}
$table .= "</table> ";

return 
$table;
}

$id $_GET["id"];

if (!
is_valid_id($id))
  
bark("Bad ID $id.");

  print(
"<center>$user[username]</center>");
$r = @mysql_query("SELECT * FROM users WHERE id=".mysql_real_escape_string($id)) or sqlerr();
$user mysql_fetch_array($r) or bark("No user with ID $id.");

stdhead("UserSnatch " $user["username"]);

if (
get_user_class() >= UC_MODERATOR || $user["id"] == $CURUSER["id"])
{
$res mysql_query("SELECT s.*, t.name AS name, c.name AS catname, c.image AS catimg, t.free AS free FROM snatched AS s INNER JOIN torrents AS t ON s.torrentid = t.id LEFT JOIN categories AS c ON t.category = c.id WHERE s.userid = $user[id] AND s.complete_date <> '0000-00-00 00:00:00' ORDER BY s.complete_date DESC") or sqlerr(__FILE____LINE__);
$numbcompleted mysql_num_rows($res);
if (
mysql_num_rows($res) > 0){
  
$snatches snatchtable($res);
if (
$snatches)
 print(
"$snatches");
} else {
 print(
"<table class=upload width=750 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded><tr><td class=text>");
print(
"No download's torrents.");
print(
"</td></tr></table>");
}
}
stdfoot();
?>

Dobra mod dodany na trzy posty bo inaczej się nie da, teraz możecie dać na swoje strony.
Pozdrawiam
Zapisane

P2P

  • BTDEV Staff
  • Super zaawansowany
  • *****
  • Reputacja 45
  • Online Online
  • Płeć: Mężczyzna
  • Wiadomości: 471
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #4 dnia: Październik 26, 2009, 11:15:24 »

Ok dzięki przyda się :)
Zapisane
Brazylijscy naukowcy odkryli, że ludzie czytający posty i trzymający rękę na myszce mają niższe IQ

Już za późno nie zdejmujcie

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #5 dnia: Październik 27, 2009, 07:41:52 »

cosik nie działa, myslalem na poczatku ze moja wina bo w announce mam sajgon ale nie nie wiadomojak bym nie modzil wgrywalem nawet czyste tb i lipniak ;]
Zapisane

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #6 dnia: Październik 27, 2009, 04:53:44 »

Jaki masz błąd w programie przez który ściągasz?

P.S

możliwe nie zmieniłeś tabeli w bazie bo u mnie działa.
Zapisane

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #7 dnia: Październik 27, 2009, 04:54:50 »

SL Err 1
Zapisane

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #8 dnia: Październik 27, 2009, 04:56:09 »

mysql_query("UPDATE snatched SET ip = ".sqlesc($ip).", port = $port, connectable = '$connectable', uploaded = uploaded + $upthis, downloaded = downloaded + $downthis, to_go = $left, upspeed = $upspeed, downspeed = $downspeed, $announcetime, last_action = '".get_date_time()."', seeder = '$seeder', agent = ".sqlesc($agent)." WHERE torrentid = $torrentid AND userid = $userid") or err("SL Err 1");
Tutaj masz błąd czyli dobrze napisałem zmieni tabele na tą co podałem wyżej i zadziała
Zapisane

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #9 dnia: Październik 27, 2009, 05:01:32 »

teraz bład: Tracker wysyła niepoprawne dane...

@edit:
a tabela jest ta co podales :)
« Ostatnia zmiana: Październik 27, 2009, 05:06:08 wysłana przez ramzes »
Zapisane

Eryk

  • Zaawansowany
  • *****
  • Reputacja 12
  • Offline Offline
  • Wiadomości: 143
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #10 dnia: Październik 29, 2009, 09:18:12 »

Poprawione w pierwszych postach. Mod Testowany.

P.S

Jak coś zmień tabele peers na tą:
CREATE TABLE `peers` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `torrent` int(10) unsigned NOT NULL default '0',
  `peer_id` varchar(20) character set latin2 collate latin2_bin NOT NULL default '',
  `ip` varchar(64) NOT NULL default '',
  `port` smallint(5) unsigned NOT NULL default '0',
  `uploaded` bigint(20) unsigned NOT NULL default '0',
  `downloaded` bigint(20) unsigned NOT NULL default '0',
  `to_go` bigint(20) unsigned NOT NULL default '0',
  `seeder` enum('yes','no') NOT NULL default 'no',
  `started` datetime NOT NULL default '0000-00-00 00:00:00',
  `last_action` datetime NOT NULL default '0000-00-00 00:00:00',
  `connectable` enum('yes','no') NOT NULL default 'yes',
  `userid` int(10) unsigned NOT NULL default '0',
  `agent` varchar(60) NOT NULL default '',
  `finishedat` int(10) unsigned NOT NULL default '0',
  `downloadoffset` bigint(20) unsigned NOT NULL default '0',
  `uploadoffset` bigint(20) unsigned NOT NULL default '0',
  `passkey` varchar(32) NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `torrent_peer_id` (`torrent`,`peer_id`),
  KEY `torrent` (`torrent`),
  KEY `torrent_seeder` (`torrent`,`seeder`),
  KEY `last_action` (`last_action`),
  KEY `connectable` (`connectable`),
  KEY `userid` (`userid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin2 AUTO_INCREMENT=69 ;

« Ostatnia zmiana: Październik 29, 2009, 09:22:29 wysłana przez Eryk »
Zapisane

Syriusz

  • Początkujący+
  • **
  • Reputacja 4
  • Offline Offline
  • Płeć: Mężczyzna
  • Wiadomości: 17
  • Użytkownik jest na liście obserwowanychObserwowany
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #11 dnia: Październik 29, 2009, 10:56:28 »

niedziała jest błąd tracker wysyła niepoprawne dane i w u torrencie mam na czerwono
Zapisane

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #12 dnia: Październik 29, 2009, 11:00:27 »

mowiłem :)
Zapisane

Pawel82

  • Zaawansowany
  • *****
  • Reputacja 2
  • Offline Offline
  • Wiadomości: 118
  • Użytkownik jest na liście obserwowanychObserwowany
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #13 dnia: Październik 29, 2009, 11:30:23 »

ehh wystarczy odpowiednie zapytanie w pliku niewyseedowane

$res = mysql_query("SELECT s.*, t.category, t.name, t.size, t.seeders, t.leechers FROM snatched AS s LEFT JOIN torrents AS t ON t.id = s.torrentid WHERE s.userid = $userid AND s.completedat != '0000-00-00 00:00:00' AND t.owner != $userid AND s.seedtime < 7 * 86400 ORDER BY s.id DESC") or sqlerr(__FILE__, __LINE__);
przerobic to na swoje zasady seedowania i tyle
zadne zmiany w annonce nie sa potrzebne
Zapisane

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #14 dnia: Październik 30, 2009, 07:20:45 »

jak zmiany w announce nie sa potrzebne xD
Zapisane

Pawel82

  • Zaawansowany
  • *****
  • Reputacja 2
  • Offline Offline
  • Wiadomości: 118
  • Użytkownik jest na liście obserwowanychObserwowany
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #15 dnia: Październik 30, 2009, 10:38:55 »

normalnie nie są potrzebne :) ... wszystko zalezy od zapytania i wyciągnięcia np. z snatches lub podobnej tabeli ... osobiście ja nie robiłem żadnych zmian w annonce.php ani w innych plikach ... zobacz sobie na zapytanie które podałem wyzej... zobacz z czego czyta itp.
Zapisane

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #16 dnia: Październik 30, 2009, 05:43:13 »

dobrze ale spojrz na to co zapodał Eryk zmiany w announce musza byc -spojrz w kod...
Zapisane

Pawel82

  • Zaawansowany
  • *****
  • Reputacja 2
  • Offline Offline
  • Wiadomości: 118
  • Użytkownik jest na liście obserwowanychObserwowany
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #17 dnia: Październik 30, 2009, 06:13:37 »

lecz nie działa ... nie wiem co tam dajecie w annonce.php bo nie lukałem ale jak pisałem mozna przeciesz to zrobić przez jeden plik np. niewyseedowane.php zrobic szate dodać podobne zapytanie ktore napisałem, dać jeszcze to co się chce mieć w tej tabeli i to wszystko...

wystarczy pobrać z bazy z tabeli snatched.
Zapisane

P2P

  • BTDEV Staff
  • Super zaawansowany
  • *****
  • Reputacja 45
  • Online Online
  • Płeć: Mężczyzna
  • Wiadomości: 471
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #18 dnia: Listopad 12, 2009, 08:28:09 »

Działa to czy nie...??
Zapisane
Brazylijscy naukowcy odkryli, że ludzie czytający posty i trzymający rękę na myszce mają niższe IQ

Już za późno nie zdejmujcie

ramzes

  • Zaawansowany
  • *****
  • Reputacja 6
  • Offline Offline
  • Wiadomości: 128
  • Użytkownik jest zbanowany i nie może wysyłać wiadomościWyciszony
Odp: Lista niewyseedowanych pozycji przez usera
« Odpowiedź #19 dnia: Listopad 12, 2009, 09:28:12 »

mi nie ani u mnie ani na czystym tb
Zapisane
 

Strona wygenerowana w 0.505 sekund z 22 zapytaniami.