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 **/