Thread: Deluxe Torrent
View Single Post
  #24  
Old 15th February 2013, 10:14
SaiDo-Sa SaiDo-Sa is offline
Member
 
Join Date: Feb 2013
P2P
Posts: 4
Default help
I've installed the files in C:\xampp\htdocs\Deluxe Torrent

then, and i made an DB with name Click the image to open in full size. Click the image to open in full size. "deluxe_torrent" , and i've uploaded "deluxe_torrent.sql" ,and this is a PIC : http://puu.sh/22QdI

also , i made an edit here , pic : http://puu.sh/22Qhr

by the way , i'm using port "808" for xampp


hmmmm , this is the issue , in this page : http://localhost:808/Deluxe%20Torrent/

PHP Code:
15) { stdhead();   stdmsg("FUCK OFF...""STOP CHEATING MOTHER FUCKER");   stdfoot();   exit; } loggedinorreturn(); maxsysop();  if ($_SERVER["REQUEST_METHOD"] == "POST") {   $choice $_POST["choice"];   if ($CURUSER && $choice != "" && $choice 256  && $choice == floor($choice))   {     $res mysql_query("SELECT * FROM polls ORDER BY added DESC LIMIT  1") or sqlerr();     $arr mysql_fetch_assoc($res) or die("No poll");     $pollid $arr["id"];     $userid $CURUSER["id"]; mysql_query("UPDATE users SET seedbonus = seedbonus+1.0 WHERE id =  $CURUSER[id]") or sqlerr(__FILE____LINE__);     $res mysql_query("SELECT * FROM pollanswers WHERE pollid=$pollid  && userid=$userid") or sqlerr();     $arr mysql_fetch_assoc($res);     if ($arr) die("Dupe vote");     mysql_query("INSERT INTO pollanswers VALUES(0, $pollid$userid,  $choice)") or sqlerr();     if (mysql_affected_rows() != 1)       stderr("Error""An error occured. Your vote has not been  counted.");     header("Location: $BASEURL/");     die;   }   else     stderr("Error""Please select an option."); }  $a = @mysql_fetch_assoc(@mysql_query("SELECT id,username FROM users  WHERE status='confirmed' ORDER BY id DESC LIMIT 1")) or  die(mysql_error()); if ($CURUSER)   $latestuser "" $a["username"] . ""; else    $latestuser $a['username'];  $male number_format(get_row_count("users""WHERE gender='Male'")); $female number_format(get_row_count("users""WHERE  gender='Female'")); $nobody number_format(get_row_count("users""WHERE gender='N/A'")); $invites number_format(get_row_count("users""WHERE  invited_by>'0'")); //$rated = number_format(get_row_count("torrents", "WHERE  numratings>'0'")); //$extern = number_format(get_row_count("torrents", "WHERE  extern='yes'")); $topics = number_format(get_row_count("topics")); $posts = number_format(get_row_count("posts")); $registered = number_format(get_row_count("users")); $todayreg = get_row_count('users', 'WHERE added > DATE_SUB(NOW(),  INTERVAL 1 DAY)'); $unverified = number_format(get_row_count("users", "WHERE  status='pending'")); $torrents = number_format(get_row_count("torrents")); $dead = number_format(get_row_count("torrents", "WHERE visible='no'")); $warnedu = number_format(get_row_count("users", "WHERE warned='yes'")); $disabled = number_format(get_row_count("users", "WHERE enabled='no'")); $NAT = number_format(get_row_count("peers", "WHERE connectable='no'"));  $r = mysql_query("SELECT value_u FROM avps WHERE arg='seeders'") or  sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $seeders = $a[0]; $r = mysql_query("SELECT value_u FROM avps WHERE arg='leechers'") or  sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = $a[0]; $seeders = (get_row_count("peers", "WHERE seeder='yes'")); $leechers = (get_row_count("peers", "WHERE seeder='no'")); $peers = ($seeders + $leechers); $uniqpeer = (get_row_count("peers", "WHERE connectable='yes'")*3); if ($leechers == 0) $tratio = 0; else $tratio = round(($seeders / $leechers), 2); if ($leechers == 0) $sratio = 0;  //$sratio = round(($seeders / $leechers) * 100); $sratio = round((($seeders + 1) / ($leechers + 1)) * 100);  $result = mysql_query("SELECT SUM(downloaded) AS totaldl, SUM(uploaded)  AS totalul FROM users") or sqlerr(__FILE__, __LINE__); $row = mysql_fetch_assoc($result); $totaldownloaded = $row["totaldl"]; $totaluploaded = $row["totalul"]; $totaldata = $totaldownloaded+$totaluploaded;  $dt = gmtime() - 3600; $dt = sqlesc(get_date_time($dt)); $result = mysql_query("SELECT SUM(last_access >= $dt) AS totalol FROM  users") or sqlerr(__FILE__, __LINE__);  while ($row = mysql_fetch_array ($result)) { $totalonline = $row["totalol"]; $rec = @mysql_fetch_array(@mysql_query("SELECT * FROM onlinerec LIMIT  1")); if ($rec[users] < $totalonline) mysql_query("UPDATE onlinerec SET  users=$totalonline, date='".get_date_time()."' WHERE  users=$rec[users]"); }  if (get_user_class() >= UC_UPLOADER) {     $activeuser_class = 15; } else {     $activeuser_class = 7; }  $dt = gmtime() - 3600; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, uploaded, downloaded,  avatar, added, donor, warned FROM users WHERE class <=  $activeuser_class AND last_access >= $dt ORDER BY class  DESC,username") or sqlerr(__FILE__, __LINE__); while ($arr = mysql_fetch_assoc($res))  { if ($activeusers) $activeusers .= ",\n";  $res2 = mysql_query("SELECT COUNT(*) FROM peers WHERE userid=" .  htmlspecialchars($arr["id"]) . " AND seeder='yes'") or  print(mysql_error());  $row = mysql_fetch_row($res2);  $activeseed = "$row[0]";  $res2 = mysql_query("SELECT COUNT(*) FROM peers WHERE userid=" .  htmlspecialchars($arr["id"]) . " AND seeder='no'") or  print(mysql_error());  $row = mysql_fetch_row($res2);  $activeleech = "$row[0]";  if ($arr[added] == "0000-00-00 00:00:00") $joindate = 'N/A'; else $joindate = "Jn: " . get_elapsed_time(sql_timestamp_to_unix_timestamp($arr["added"])) . " ago";  if ($arr["downloaded"] > 0) { $ratio = number_format($arr["uploaded"] / $arr["downloaded"], 3); $ratio = "$ratio"; } else if ($arr["uploaded"] > 0) $ratio = "Inf."; else $ratio = "---";  $uploaded = mksize($arr["uploaded"]); $downloaded = mksize($arr["downloaded"]); $username = "" . htmlspecialchars($arr['username']) . ""; //$username = $arr["username"]; $usrclass = "".get_user_class_name($arr['class']).""; if ($arr["avatar"]) $avatarover = "" . htmlspecialchars($arr['avatar']) . ""; //$avatarover = $arr["avatar"]; elseif (!$arr["avatar"]) $avatarover = "/pic/default_avatar.png";   switch ($arr["class"]) { case UC_OWNER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SVISOR: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SYSOP: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_ADMINISTRATOR: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MASTER_MODERATOR: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MODERATOR: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_PREMIUM_UPLOADER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_UPLOADER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_VIP: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_LEGEND_USER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_EXTREME_USER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_USER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_POWER_USER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_USER: $arr["username"] = "$joindate
 
Cl$usrclass

 UP
$uploaded
 DL
$downloaded
', CAPTION, '  R:$ratio [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowupp.gif[/IMG] $activeseed [IMG]http://127.0.0.1:808/pic/arrowdownn.gif[/IMG] $activeleech');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; }   $donator = $arr["donor"] === "yes"; if ($donator)  $activeusers .= ""; $warned = $arr["warned"] === "yes"; if ($warned)  $activeusers .= ""; if ($warned) $activeusers .= "[IMG]http://127.0.0.1:808/Deluxe%20Torrent/%7B$pic_base_url%7Dwarned.gif[/IMG]"; } if (!$activeusers) $activeusers = "There have been no active users in the last 15 minutes.";  stdhead("Home");  echo "Welcome to last user :   $latestuser\n";  // Extra //print("[B][IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/invite2.gif[/IMG][/B]

\n"); //print("[B][IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/star.gif[/IMG] //[IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/uploadapp.png[/IMG] //[IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/star.gif[/IMG] //[IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/staffapp.png[/IMG] //[IMG]http://127.0.0.1:808/Deluxe%20Torrent/extra/star.gif[/IMG][/B]

\n"); // End Extra  begin_main_frame ();  print("
");  if (get_user_class() >= UC_SVISOR){ print("
Tracker News  [New Item]"); print("\n"); } else{ print("Tracker News"); }  $res  = mysql_query("SELECT FROM news WHERE ADDDATE(addedINTERVAL 365  DAY) > NOW() ORDER BY added DESC LIMIT 5") or sqlerr(__FILE__,  __LINE__); if (mysql_num_rows($res) > 0) {     print("\n");     $news_flag = 0;      while($array = mysql_fetch_array($res))     {         $user = mysql_fetch_assoc(mysql_query("SELECT username FROM users WHERE id $array[userid]")) or sqlerr();         if ($news_flag == 0) {              print("
[IMG]http://127.0.0.1:808/Deluxe%20Torrent/%5C%22pic/minus.gif%5C%22[/IMG] " . gmdate("M-d-y",strtotime($array['added'])) . " - " ."". $array['title'] . "  ");  if (get_user_class() >= UC_MODERATOR)             {                 print("    [E]");                 print(" [D]");              }             print(" ".format_comment($array["body"],0)." 
 
");              $news_flag = 1;         }         else {              print("
[IMG]http://127.0.0.1:808/Deluxe%20Torrent/%5C%22pic/plus.gif%5C%22[/IMG] " . gmdate("M-d-y",strtotime($array['added'])) . " - " ."". $array['title'] . "  ");  if (get_user_class() >= UC_MODERATOR)             {                 print("    [E]");                 print(" [D]");              }             print(" ".format_comment($array["body"],0)." 
 
");         }            print(" ".str_replace(array("n", " "), array("n", " "), $array["body"])."");         print("");     }     print("\n"); }  //print("

\n"); //print("Partenerul si sursa noastra zilnica de jocuri bune!
\
n"); //print("[IMG]http://www.movies-vault.org/extra/gamer.png[/IMG]\n");  ?>    "); $query = "SELECT * FROM banners WHERE 1=1"; $sql = mysql_query($query); while ($row = mysql_fetch_array($sql)) { $link = $row['link']; $banner = $row['banner']; print("[IMG]http://127.0.0.1:808/Deluxe%20Torrent/$banner[/IMG]"); } print(" ");  ////////////////////////////////////////////////////////////////////////////////////// ?> 
           [B]Recent Poll");    if (get_user_class() >= UC_SYSOP)   {           print("");                 print(" - [New]\n");                 if($pollok) {                   print(" - [Edit]\n");                   //      print(" - [Delete]");                 }                 print("");         }         print("[/B]

\n");         if($pollok) {                 print("  \n");           print("");           print("[CENTER]$question[/CENTER]
\n");           $voted = $arr2;           if ($voted)           {             // display results             if ($arr["selection"])               $uservote = $arr["selection"];             else               $uservote = -1;                         // we reserve 255 for blank vote.             $res = mysql_query("SELECT selection FROM pollanswers WHERE pollid=$pollid AND selection < 20") or sqlerr();             $tvotes = mysql_num_rows($res);              $vs = array(); // array of             $os = array();              // Count votes             while ($arr2 = mysql_fetch_row($res))               $vs[$arr2[0]] += 1;              reset($o);             for ($i = 0; $i < count($o); ++$i)               if ($o[$i])                 $os[$i] = array($vs[$i], $o[$i]);              function srt($a,$b)             {               if ($a[0] > $b[0]) return -1;               if ($a[0] < $b[0]) return 1;               return 0;             }              // now os is an array like this: array(array(123, "Option 1"), array(45, "Option 2"))             if ($arr["sort"] == "yes")                     usort($os, srt);              print("\n");             $i = 0;             while ($a = $os[$i])             {               if ($i == $uservote)                 $a[1] .= " *";               if ($tvotes == 0)                       $p = 0;               else                       $p = round($a[0] / $tvotes * 100);               if ($i % 2)                 $c = "";               else                 $c = "";               print("\n");               ++$i;             }             print("" . $a[1] . "  " .                 "[IMG]http://127.0.0.1:808/pic/bar_left.gif[/IMG][IMG]http://127.0.0.1:808/pic/bar.gif[/IMG][IMG]http://127.0.0.1:808/pic/bar_right.gif[/IMG] $p%\n");                         $tvotes = number_format($tvotes);             print("[CENTER]Votes: $tvotes[/CENTER]
\n");           }           else           {             print("\n");             $i = 0;             while ($a = $o[$i])             {               print("$a
\n");               ++$i;             }             print("
");             print("Blank vote (a.k.a. \" Vreau doar sa vad rezultatele ! \")
\n");             print("");           } ?>  Anterioare | Sugestii\n"); ?>   \n";           echo "";           echo"[B]No Active Polls[/B]

\n";           echo "";         } } ?> = UC_USER) { ?>       "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "[IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/bold.png[/IMG][IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/italic.png[/IMG][IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/underline.png[/IMG][IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/url.png[/IMG][IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/image.png[/IMG]                           
        
         
"; } ?>   
[IMG]http://127.0.0.1:808/pic/themes/default/shoutbox.png[/IMG]                       = UC_USER) { ?> 
Useri Activi: 
Notice:  Undefined variable: totalonline in C:\xampp\htdocs\Deluxe Torrent\index.php on line 675
         

                                   [B]More Smilies[/B]

   
[IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/smile2.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/rofl.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/smile1.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/grin.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/laugh.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/cool1.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/noexpression.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/confused.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/sad.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/weep.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/hmmm.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/w00t.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/sly.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/greedy.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/sneaky.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/kiss.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/evil.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/crazy.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/wave.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/geek.gif[/IMG] [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/tongue.gif[/IMG]          
Notice:  Undefined variable: activeusers in C:\xampp\htdocs\Deluxe Torrent\index.php on line 680
    = UC_VIP) { ?>         [IMG]http://127.0.0.1:808/pic/themes/default/last10torrents.png[/IMG]  '' ORDER BY added DESC LIMIT 10"; $result=mysql_query($query);$num = mysql_num_rows($result); print(" "); while ($row = mysql_fetch_assoc($result))  { $id = $row['id']; $name = $row['name']; $poster = $row['poster']; $name = str_replace('_', ' ' , $name); $name = str_replace('.', ' ' , $name); $name = substr($name, 0, 50); if (!empty($poster)){ print("[IMG]http://127.0.0.1:808/Deluxe%20Torrent/$poster[/IMG]"); } else { print("[IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/poster.jpg[/IMG]"); } } print(""); //== End of Last X torrents with poster and marquee mod ==// ?>  = UC_USER) { ?> [IMG]http://127.0.0.1:808/pic/themes/default/Torrents-Statistics.png[/IMG] "); print(""); print(""); print(""); print("");  while( $arr = mysql_fetch_assoc($result) ){ $torrname = htmlspecialchars($arr['name']); if (strlen($torrname) > 50) $torrname = substr($torrname, 0,50) . "..."; $poster = $arr["poster"]; if (!empty($arr["poster"])){ $poster1 = "[IMG]http://127.0.0.1:808/Deluxe%20Torrent/$poster[/IMG]"; } else{ $poster1 = ""; } print(""); print(""); print(""); print(""); print(""); } print("  0) { print("\n"); print("\n");  while ($arr = mysql_fetch_assoc($res)) { $torrname = htmlspecialchars($arr['name']); if (strlen($torrname) > 50) $torrname = substr($torrname, 0,50) . "..."; $poster = $arr["poster"]; if (!empty($arr["poster"])){ $poster1 = "[IMG]http://127.0.0.1:808/Deluxe%20Torrent/$poster[/IMG]"; } else{ $poster1 = ""; } print("\n"); } print(" Top 10 torrents   [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowup.gif[/IMG]     [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowdown.gif[/IMG]  ".$torrname." ".$arr['seeders']." ".number_format($arr['leechers'])."\n"); } else print("Sorry pal, no torrents here...[IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/smilies/sad.gif[/IMG]"); ?>    "); print("Last 10 torrents  [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowup.gif[/IMG]    [IMG]http://127.0.0.1:808/Deluxe%20Torrent/pic/arrowdown.gif[/IMG]  ".$torrname."" . $arr['seeders'] . "" . $arr['leechers'] . ""); }?>    [IMG]http://127.0.0.1:808/pic/themes/default/Disclaimer.png[/IMG]  \n"); ?> ";  ?>  Niciunul dintre fisierele indexate nu este gazduit pe acest site.  Link-urile la fisiere sunt furnizate exclusiv de utilizatorii site-ului.  Administratorii site-ului nu sunt raspunzatori de actiunile userilor.  Utilizarea serviciului in scopuri ilegale nu este permisa si atrage  dezactivarea accesului.  "; ?> \n"); ?>  "; if ($CURUSER) $activeusers .= "{$arr["username"]}"; else $activeusers .= "{$arr["username"]}"; if ($donator) $activeusers .= "[IMG]http://127.0.0.1:808/Deluxe%20Torrent/%7B$pic_base_url%7Dstar.gif[/IMG] 
Reply With Quote