Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Downloads (https://www.bvlist.com/forumdisplay.php?f=16)
-   -   Deluxe Torrent (https://www.bvlist.com/showthread.php?t=8756)

firefly007 29th June 2013 15:58

Quote:

Originally Posted by GameMaster (Post 41302)
also this source is not english, any help on that too? :P

You will need to translate it, as far as I know there is no lang system.

GameMaster 29th June 2013 16:04

what kind of source code is that in your signature, the site link? :)

staff 29th June 2013 17:51

How Create user is Owner?
 
Quote:

Originally Posted by aeon-design (Post 38845)
Create an account and after the login !

How Create user is Owner?
http://image.ohozaa.com/i/7cd/1GOk2L.jpg

Timisoreanul 29th June 2013 18:22

In phpmyadmin , at users, your name ..click edit ..find Class , there replace/write : 15 ,click ok.. now you are owner. Good luck

staff 30th June 2013 07:57

Quote:

Originally Posted by Timisoreanul (Post 41308)
In phpmyadmin , at users, your name ..click edit ..find Class , there replace/write : 15 ,click ok.. now you are owner. Good luck

Change, then this message came up.>> Access Denied!
We come to believe you are using a fake account, therefore we've logged this action!
i try logout and new login one more the same
http://image.ohozaa.com/i/fc3/kKSxsJ.jpg

BlueZ98 30th June 2013 12:07

Resolve
 
Quote:

Originally Posted by staff (Post 41315)
Change, then this message came up.>> Access Denied!
We come to believe you are using a fake account, therefore we've logged this action!
i try logout and new login one more the same
http://image.ohozaa.com/i/fc3/kKSxsJ.jpg

You must to go to your phpmyadmin and to set to your username id 1 and class 15 and that its. For me it's works!

staff 30th June 2013 13:05

Quote:

Originally Posted by BlueZ98 (Post 41316)
You must to go to your phpmyadmin and to set to your username id 1 and class 15 and that its. For me it's works!

this scrip very problem.

firefly007 30th June 2013 16:47

You just need to add your Id's and username in bittorrent.php

looks for this...

$clasa =your id;
$glavnii = array("your username");


PHP Code:

    global $CURUSER;
    
$clasa  = 16; //number class of Owner
    
$glavnii = array("aeon_x32");
    
// Case sensitive. (example: array("adminname1","adminname2","adminname3","adminname4","so far")
    
if ($CURUSER["class"] >= $clasa)
        if (!
in_array($CURUSER["username"], $glavnii, true)) { // true for strict comparison
        
$msg = "[b]ATENTIE ! - un idiot incearca sa atace trackerul :[/b]
        
        [b]Username[/b]: "
.$CURUSER["username"]." ; 
        [b]User ID[/b]: "
.$CURUSER["id"]." ;
        [b]IP[/b]: "
.getip();
        
mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, '1', '" . get_date_time() . "', " .sqlesc($msg) . ")") or sqlerr(__FILE__, __LINE__);
mysql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]") or sqlerr(__FILE__, __LINE__);
mysql_query("UPDATE users set class='1' WHERE id=$CURUSER[id]") or sqlerr(__FILE__, __LINE__);
        
stderr("Acces Denied!","Your username not found in security code, your account will be DISABLED.");
}
} 

Also need to add that all of these sources from Chez and Aeon are all basically the same and its weird that there needs to be almost identical releases with different styling when I think it would be better to make alternative style sheets.

Also maybe concentrating on spending some time translating it to English too.

I'm also interested to find out how the copyright works ???

Gbpiclvdsmu 6th August 2013 15:46

Problem
 
I try to instal this source and i have that error

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  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SVISOR: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_SYSOP: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_ADMINISTRATOR: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ADMINISTRATOR: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MASTER_MODERATOR: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_MODERATOR: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_PREMIUM_UPLOADER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_UPLOADER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_VIP: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_LEGEND_USER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_EXTREME_USER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_ELITE_USER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_POWER_USER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; case UC_USER: $arr["username"] = "
$joindate
Cl: $usrclass

UP: $uploaded
DL: $downloaded
', CAPTION, '
R:$ratio  $activeseed  $activeleech
');\" onmouseout=\"return nd();\"> " . htmlspecialchars($arr["username"]) . ""; break; } $donator = $arr["donor"] === "yes"; if ($donator) $activeusers .= ""; $warned = $arr["warned"] === "yes"; if ($warned) $activeusers .= ""; if ($CURUSER) $activeusers .= "{$arr["username"]}"; else $activeusers .= "{$arr["username"]}"; if ($donator) $activeusers .= "Donated {$$arr["donor"]}"; if ($warned) $activeusers .= "Warned {$$arr["warned"]}"; } 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("


\n"); //print("
 // // // //

\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(added, INTERVAL 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("
\"Show/Hide\" " . 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("
\"Show/Hide\" " . 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("
Our partner and daily resource of games!

\n"); //print("

\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("

"); } print("
"); ////////////////////////////////////////////////////////////////////////////////////// ?>

Recent Poll"); if (get_user_class() >= UC_SYSOP) { print(""); print(" - [New]\n"); if($pollok) { print(" - [Edit]\n"); // print(" - [Delete]"); } print(""); } print("

\n"); if($pollok) { print("
\n"); print("
"); print("
$question

\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] . "      " . " $p%
\n"); $tvotes = number_format($tvotes); print("
Votes: $tvotes

\n"); } else { print("
\n"); $i = 0; while ($a = $o[$i]) { print("$a
\n"); ++$i; } print("
"); print("Blank vote (a.k.a. \" I just want to see the results ! \")
\n"); print("


"); } ?>
Older | Suggestions
\n"); ?>
\n"; echo "
"; echo"
No Active Polls

\n"; echo "
"; } } ?> = UC_USER) { ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
Bold    Italic    Underline    Url    Img           
"; } ?>

= UC_USER) { ?>
Useri Activi:
Notice: Undefined variable: totalonline in C:\xampp\htdocs\MerY\index.php on line 675


 
More Smilies


                   

Notice: Undefined variable: activeusers in C:\xampp\htdocs\MerY\index.php on line 680
= UC_VIP) { ?>

'' 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("$name"); } else { print("$name"); } } print("
"); //== End of Last X torrents with poster and marquee mod ==// ?> = UC_USER) { ?>

"); 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 = ""; } 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 = ""; } else{ $poster1 = ""; } print("\n"); } print("
Top 10 torrents               
".$torrname."    ".$arr['seeders']."    ".number_format($arr['leechers'])."
\n"); } else print("Sorry pal, no torrents here..."); ?>
"); print("
Last 10 torrents               
".$torrname."    " . $arr['seeders'] . "    " . $arr['leechers'] . "
"); }?>

\n"); ?>


joeroberts 6th August 2013 15:52

turn on allow short tags in your server settings in php.ini


All times are GMT +2. The time now is 00:23.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.