Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Sell & Buy (http://www.bvlist.com/forumdisplay.php?f=37)
-   -   Users can add new movies, series, and links to the site. (http://www.bvlist.com/showthread.php?t=12565)

BamBam0077 19th July 2022 13:59

Users can add new movies, series, and links to the site.
 
7 Attachment(s)
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 .= "

$s

\n"; //fratname
//streaming service code
//>> upload--displayvideo
$HTMLOUT .= ''; //$_POST['movies'];

    /** free mod for TBDev 09 by pdq **/



All times are GMT +2. The time now is 06:48.

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