yesss :D thanks coco
SQL_Query_exec(sprintf("UPDATE `torrents` SET thanks = CONCAT_WS(',', `thanks`, %s) WHERE `id`=%d", sqlesc($CURUSER['username']), $id));SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+10.0 WHERE id = ".$CURUSER["id"]."") ;
SQL_Query_exec("UPDATE torrents SET comments = comments + 1 WHERE id = $id");
// Points Seedbonus By spiritblue
$commentaire = get_row_count("comments", "WHERE torrent = $id AND user = $CURUSER[id]");
if ($commentaire < 1) {
SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+50.0 WHERE id = ".$CURUSER["id"]."") ;
}
// End Points Seedbonus
ALTER TABLE `torrents` ADD `thanks_magnet` LONGTEXT;$res = SQL_Query_exec("SELECT filename, banned, external, announce, thanks,thanks_magnet, $name = $row['filename'];// START THANKS MAGNETIC
$site_config["LEFTNAV"] = $site_config["RIGHTNAV"] = false; //Activate=true OR false
if ($CURUSER["id"] != $row["owner"] && !in_array($CURUSER["username"], explode(',', $row["thanks_magnet"])))
error_download('β Error download β ','
<br/>
<div style="vertical-align: middle;font-size: 1.4em;"> You Haven\'t Thanked The Sharer Yet, Watch The Video β΄</div><hr class="barre" width="850" style="height:20px"/>
<video controls width="640">
<source src="/media/cc0-videos/flower.webm"
type="video/webm">
<source src="https://www.MY_NAME_SITE.com/infostelechargementtorrent.mp4"
type="video/mp4">
Sorry, your browser does not support embedded videos
</video>
<br/><a class="stylebouton" href="'.$site_config["SITEURL"].'/torrents-details.php?id='.$id.'' . ".$torrent." . '&hit=1">Back to my choice</a>
',1);
// END THANKS$res = SQL_Query_exec("SELECT torrents.anon, torrents.safe, torrents.markedby, torrents.tube, torrents.recommended, torrents.exclusif, torrents.thanks,torrents.thanks_magnet, //End Torrent Externe//START THANKS MAGNETIC\\\\
$thanksl = explode(",", $row['thanks_magnet']);
if ($CURUSER['username'] == $row['username']) {
$leftthanks = true;
$leftthanks2 = true;
} else {
foreach ($thanksl as $u) {
$thanks_magnet .= ($i > 0) ? ", $u" : $u;
if ($u == class_user($CURUSER['username'])) {
$leftthanks2 = true;
$leftthanks = true;
}
$i++;
}
}
if (!$leftthanks2) {
$button='<input type="button" name="thanks_magnet" value=" Say Thanks For Downloading " id="refresh">';
} else {
$button='<hr/>';
}
echo '<center><div id="Bouton_thanck"><p colspan="4"><hr class="barre"/> β Les Remerciments Magnetic β <div id="thankput"></div>'.$button.'<script type="text/javascript" src="'.$site_config["SITEURL"].'/js/thanks_magnet.js"></script>
<script type="text/javascript">
var $s = jQuery.noConflict();
$s("#thankput").load("thanks_magnet.php?id='.$id.'");
$s(function() {
$s("#refresh").click(function() {
$s("#thankput").empty().html(\'<center><img src="'.$site_config["SITEURL"].'/images/ajax-loader.gif" width="40" height="40"></center>\');
$s("#thankput").load("thanks_magnet.php?id='.$id.'&to=give&torrent='.$id.'")
return false;
})
})
</script></p></div></center><br/>';
////END THANKS MAGNETIC\\\\\
No users online
Torrents
Members
Online