Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Sell & Buy
Reply
  #1  
Old 19th July 2022, 13:59
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Default Users can add new movies, series, and links to the site.
General Activities:

Users can add new movies, series, and links to the site. adding new movies and series will be added rewards to your account balance automatically. but to get rewards by adding links, want to get admin approval. If the admin, approved the user's links, then rewards will be added to the user's accounts.

Pay per view

Code:
if (!empty($_POST['poster']))
    $poster = unesc($_POST['poster']);

// upload code for streaming service
if(!empty($_POST['embedurl']))
  unesc($_POST['embedurl']);
Code:
$tmpname = $f["tmp_name"];
if (!is_uploaded_file($tmpname))
    stderr($lang['takeupload_failed'], $lang['takeupload_eek']);
if (!filesize($tmpname))
    stderr($lang['takeupload_failed'], $lang['takeupload_no_file']);

$dict = bdec_file($tmpname, $INSTALLER09['max_torrent_size']);
if (!isset($dict))
    stderr($lang['takeupload_failed'], $lang['takeupload_not_benc']);

// Replace punctuation characters with spaces
$torrent = str_replace("_", " ", $torrent);
$url     = unesc($_POST['url']);
$embedurl = $_POST['embedurl']; // movie code to obtain streaming services.
$poster  = unesc($_POST['poster']);

$ret = sql_query("INSERT INTO torrents (search_text, filename, owner, visible, poster, embedurl, anonymous, allow_comments, info_hash, name, size, numfiles, type, url, descr, ori_descr, category, free, save_as, added, last_action, nfo, client_created_by) VALUES (" . implode(",", array_map("sqlesc", array(
    searchfield("$shortfname $dname $torrent"),
    $fname,
    $CURUSER["id"],
    "no",
    $poster,
    $embedurl,
    $anonymous,
    $allow_comments,
    $infohash,
    $torrent,
    $totallen,
    count($filelist),
    $type,
    $url,
    $descr,
    $descr,
    0 + $_POST["type"],
    $free,
    $dname
))) . ", " . time() . ", " . time() . ", $nfo, $tmaker)");
if (!$ret) {
    if (((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_errno($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_errno()) ? $___mysqli_res : false)) == 1062)
        stderr($lang['takeupload_failed'], $lang['takeupload_already']);
    stderr($lang['takeupload_failed'], "mysql puked: " . ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)));
}

$id = ((is_null($___mysqli_res = mysqli_insert_id($GLOBALS["___mysqli_ston"]))) ? false : $___mysqli_res);

if ($CURUSER["anonymous"] == 'yes')
Users can share embed links and they will get rewards based on their visitor's country. Rewards are counted up to 1 within 24 hours per user.

//TorrentFreak ~ https://torrentfreak.com/

Code:
$s = htmlspecialchars( $row["name"], ENT_QUOTES ); //filename title
$HTMLOUT .= "<h1>$s</h1>\n"; //fratname
//streaming service code
//>> upload--displayvideo
$HTMLOUT .= '<iframe id="iframe-embed" width="100%" height="500" scrolling="no" frameborder="0" src="'.$tmdb_avi_code.'" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>'; //$_POST['movies'];

    /** free mod for TBDev 09 by pdq **/
Attached Files
File Type: zip TBDev-master.zip (2.55 MB, 9 views)
File Type: php forums.php (139.1 KB, 2 views)
File Type: php friends.php (8.3 KB, 3 views)
File Type: sql install.sql (71.6 KB, 3 views)
File Type: php config.sample.php (6.9 KB, 2 views)
File Type: php index.php (8.6 KB, 2 views)
File Type: php takeupload.php (13.1 KB, 4 views)

Last edited by BamBam0077; 19th July 2022 at 14:35.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 15:27. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.