Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

[URL=https://imgbox.com/5VXQ7kU5]
— 2022-01-10 20:49:30 in
https://torrenttrader.uk/topic?topicid=10079&page=1 That’s how I got the mega upload link okay  😈
official beta test code for index to allow an update every time on reload/refresh to basically add seedbonus points as appointed by whomever edits the sql query

Okay!

TESTED NOW!!!

MySQL

CREATE TABLE IF NOT EXISTS `bonus` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`cost` decimal(10,1) unsigned NOT NULL DEFAULT '0.0',
`value` bigint(20) unsigned NOT NULL DEFAULT '0',
`descr` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`type` enum('traffic','invite','VIP','other','HnR') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'other',
PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7;

INSERT INTO `bonus` (`id`, `title`, `cost`, `value`, `descr`, `type`) VALUES
(1, '1GB Uploaded', '70.0', 1073741824, 'Exchange 70 points for 1 GB upload.', 'traffic'),
(2, '2 GB Uploaded', '100.0', 2147483648, 'Exchange 100 points for  GB upload.', 'traffic'),
(3, '5 GB Uploaded', '250.0', 5368709120, 'Exchange 250 points for 5 GB upload.', 'traffic'),
(4, '10 GB Uploaded', '500.0', 10737418240, 'Exchange 500 points for 10 GB upload.', 'traffic'),
(5, 'Invitations', '1000.0', 2, 'Receive 2 Invites for 1000.00 seedbonus points.', 'invite');




ALTER TABLE users ADD `seedbonus` decimal(10,1) NOT NULL DEFAULT '0.0';


header.php:


<!-- Start Infobar -->
       <div style='color:white;' class='infobar'>
         <?php
               if (!$CURUSER){
                   echo "[<a href=\"account-login.php\">".T_("LOGIN")."</a>]<b> ".T_("OR")." </b>[<a href=\"account-signup.php\">".T_("SIGNUP")."</a>]";
               }else{
$bonus=$CURUSER['seedbonus'];
                   print (T_("LOGGED_IN_AS").": ".$CURUSER["username"]."

<br>Seedbonus :<b><a href=mybonus.php>".$bonus."</a></b>");


                   echo " [<a href=\"account-logout.php\">".T_("LOGOUT")."</a>] ";
                   if ($CURUSER["control_panel"]=="yes") {
                       print("[<a href='admincp.php'>".T_("STAFFCP")."</a>] ");
                   }
           
                   //check for new pm's
                   $res = SQL_Query_exec("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')");
                   $arr = mysqli_fetch_row($res);
                   $unreadmail = $arr[0];
                   if ($unreadmail){
                       print("[<a href='mailbox.php?inbox'><b><font color='#ff0000'>$unreadmail</font> ".P_("NEWPM", $unreadmail)."</b></a>]");  
                   }else{
                       print("[<a href='mailbox.php'>".T_("YOUR_MESSAGES")."</a>] ");
                   }
                   //end check for pm's
               }
               ?>
       </div>
       <!-- End Infobar -->


now add into index.php

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus=".$CURUSER['seedbonus']."+2.0 where seedbonus = ".$CURUSER['seedbonus']." ");


That’s it now it should start to work don’t forget to add mybonus to main_dir okay! <3
Seedbonus 2.0 above is 5.0



$seedbonus = $CURUSER[“seedbonus”];

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = “.$CURUSER[“seedbonus”].”+2.0 WHERE id = ".$CURUSER["id"]."") ;
Would look something similar to this/


/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+5.0 WHERE id = ".$CURUSER["id"]."") ;


Updated:

$seedbonus = $CURUSER[“seedbonus”];

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = “.$CURUSER[“seedbonus”].”+5.0 WHERE id = ".$CURUSER["id"]."") ;

$seedbonus = $CURUSER[“seedbonus”];


Updated:

seedbonus = “.$seedbonus.”+2.0

NOT TESTED EDIT WHERE NEEDED.

Thank You/
Above that need:

$bonus = $CURUSER['seedbonus'];

<br>Seedbonus : <b><a href=mybonus.php>".$bonus."</a></b>


Now add to your header where username warnings donors staff upload download bar is
MyBonus.php upload into main_dir:

https://files.fm/u/a74evextm
Taken from u232 v3

ALTER TABLE users ADD `seedbonus` decimal(10,1) NOT NULL DEFAULT '200.0';
MySQL FOR SEEDBONUS!!


CREATE TABLE IF NOT EXISTS `bonus` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`cost` decimal(10,1) unsigned NOT NULL DEFAULT '0.0',
`value` bigint(20) unsigned NOT NULL DEFAULT '0',
`descr` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`type` enum('traffic','invite','VIP','other','HnR') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'other',
PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7;

INSERT INTO `bonus` (`id`, `title`, `cost`, `value`, `descr`, `type`) VALUES
(1, '1GB Uploaded', '70.0', 1073741824, 'Exchange 70 points for 1 GB upload.', 'traffic'),
(2, '2 GB Uploaded', '100.0', 2147483648, 'Exchange 100 points for  GB upload.', 'traffic'),
(3, '5 GB Uploaded', '250.0', 5368709120, 'Exchange 250 points for 5 GB upload.', 'traffic'),
(4, '10 GB Uploaded', '500.0', 10737418240, 'Exchange 500 points for 10 GB upload.', 'traffic'),
(5, 'Invitations', '1000.0', 2, 'Receive 2 Invites for 1000.00 seedbonus points.', 'invite');



ALTER TABLE users ADD `seedbonus` decimal(10,1) NOT NULL;
               
News with seedbonus hack 2.0 to 10.0 seedbonus per newsfeed posted shared within whom that are $CURSUSER & not just the person whom post gets 2.0 seedbonus also everyone whom goes to that page and sees the post.



//Site News
if ($site_config['NEWSON'] && $CURUSER['view_news'] == "yes"){
begin_frame(T_("NEWS"));
$res = SQL_Query_exec("SELECT news.id, news.title, news.added, news.body, users.username FROM news LEFT JOIN users ON news.userid = users.id ORDER BY added DESC LIMIT 10");
if (mysqli_num_rows($res) > 0){

/* seedbonus everytime a newsfeed is posted not just the person whom post gets a 2.0 bonus though also whom that login to read I guess is the best way to explain it. */
SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+2.0 WHERE id = ".$CURUSER["id"]."") ;

print("<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td>\n<ul>");
$news_flag = 0;

while($array = mysqli_fetch_assoc($res)){

           if (!$array["username"])
                $array["username"] = T_('UNKNOWN_USER');

$numcomm = get_row_count("comments", "WHERE news='".$array['id']."'");

// Show first 2 items expanded
if ($news_flag < 2) {
$disp = "block";
$pic = "minus";
} else {
$disp = "none";
$pic = "plus";
}

print("<br /><a href=\"javascript: klappe_news('a".$array['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/$pic.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\" />");
print("&nbsp;<b>". $array['title'] . "</b></a> - <b>".T_("POSTED").":</b> " . date("d-M-y", utc_to_tz_time($array['added'])) . " <b>".T_("BY").":</b> $array[username]");

print("<div id=\"ka".$array['id']."\" style=\"display: $disp;\"> ".format_comment($array["body"])." <br /><br />".T_("COMMENTS")." (<a href='comments.php?type=news&id=".$array['id']."'>".number_format($numcomm)."</a>)</div><br /> ");

$news_flag++;
}
print("</ul></td></tr></table>\n");
}else{
echo "<br /><b>".T_("NO_NEWS")."</b>";
}
end_frame();
}

On index.php you need:

//Site Notice
if ($site_config['SITENOTICEON']){
begin_frame(T_("NOTICE"));
echo $site_config['SITENOTICE'];
end_frame();
}


Then proceed to scroll under it and now place:

/* seedbonus everytime your on the index page or script :) */
SQL_Query_exec("UPDATE users SET seedbonus = seedbonus+5.0 WHERE id = ".$CURUSER["id"]."") ;


Your are required to install seedbonus hack to use this product it should just update your seedbonus when you login into index page just edit the 5.0 to be 2.0 or more up to your web developer at the time now as far as I understand it updates every refresh so text it at own risk remembering you need seedbonus hack to get it to run so read and install : https://torrenttrader.uk/topic?topicid=9722
Save As jquery-3.1.1.js



<?php
include('conn.php');
session_start();
if (!isset($_SESSION['userid']) ||(trim ($_SESSION['userid']) == '')) {
header('location:index.php');
   exit();
}

$uquery=mysqli_query($conn,"SELECT * FROM `user` WHERE userid='".$_SESSION['userid']."'");
$urow=mysqli_fetch_assoc($uquery);
?>
<!DOCTYPE html>
<html>
<head>
<title>chatME</title>
<link rel="stylesheet" href="css/home.css">
<script src="jquery-3.1.1.js"></script>
<script src="js/home.js"></script>
<script type="text/javascript">

$(document).keypress(function(e){ //using keyboard enter key
displayResult();
/* Send Message */

if(e.which === 13){
if($('#msg').val() == ""){
alert('Please write message first');
}else{
$msg = $('#msg').val();
$id = $('#id').val();
$.ajax({
type: "POST",
url: "send_message.php",
data: {
msg: $msg,
id: $id,
},
success: function(){
displayResult();
$('#msg').val(''); //clears the textarea after submit
}
});
}

/* $("form").submit();
alert('You press enter key!'); */
}
}
);


$(document).ready(function(){ //using send button
displayResult();
/* Send Message */

$('#send_msg').on('click', function(){
if($('#msg').val() == ""){
alert('Please write message first');
}else{
$msg = $('#msg').val();
$id = $('#id').val();
$.ajax({
type: "POST",
url: "send_message.php",
data: {
msg: $msg,
id: $id,
},
success: function(){
displayResult();
$('#msg').val(''); //clears the textarea after submit
}
});
}
});
/* END */
});

function displayResult(){
$id = $('#id').val();
$.ajax({
url: 'send_message.php',
type: 'POST',
async: false,
data:{
id: $id,
res: 1,
},
success: function(response){
$('#result').html(response);
}
});
}
</script>

</head>

<body>
<table id="chat_room" align="center">
<tr>
<th><h4>Hi, <a href="profile.php?userid=<?php echo $_SESSION['userid']; ?>"><?php echo $urow['your_name']; ?></a>  - <a href="logout.php" onclick="return confirm_logout();">Logout</a></h4></th>
</tr>
<?php
$query=mysqli_query($conn,"select * from `chat_room`");
$row=mysqli_fetch_array($query);
?>
<div>
<tr>
<td><?php echo $row['chat_room_name']; ?></td><br><br>
</tr>
</div>
<tr>
<td>
<div id="result" style="overflow-y:scroll; height:300px; width: 605px;"></div>
<form class="form">
<!--<input type="text" id="msg">--><br/>
<textarea id="msg" rows="4" cols="85"></textarea><br/>
<input type="hidden" value="<?php echo $row['chat_room_id']; ?>" id="id">
<button type="button" id="send_msg" class="button button2">Send</button>
</form>
</td>
</tr>

</table>

</body>
</html>



<?php
include('conn.php');
session_start();
if (!isset($_SESSION['userid']) ||(trim ($_SESSION['userid']) == '')) {
header('location:index.php');
   exit();
}

$uquery=mysqli_query($conn,"SELECT * FROM `user` WHERE userid='".$_SESSION['userid']."'");
$urow=mysqli_fetch_assoc($uquery);
?>
<!DOCTYPE html>
<html>
<head>
<title>chatME</title>
<link rel="stylesheet" href="css/home.css">
<script src="jquery-3.1.1.js"></script>
<script src="js/home.js"></script>
<script type="text/javascript">

$(document).keypress(function(e){ //using keyboard enter key
displayResult();
/* Send Message */

if(e.which === 13){
if($('#msg').val() == ""){
alert('Please write message first');
}else{
$msg = $('#msg').val();
$id = $('#id').val();
$.ajax({
type: "POST",
url: "send_message.php",
data: {
msg: $msg,
id: $id,
},
success: function(){
displayResult();
$('#msg').val(''); //clears the textarea after submit
}
});
}

/* $("form").submit();
alert('You press enter key!'); */
}
}
);


$(document).ready(function(){ //using send button
displayResult();
/* Send Message */

$('#send_msg').on('click', function(){
if($('#msg').val() == ""){
alert('Please write message first');
}else{
$msg = $('#msg').val();
$id = $('#id').val();
$.ajax({
type: "POST",
url: "send_message.php",
data: {
msg: $msg,
id: $id,
},
success: function(){
displayResult();
$('#msg').val(''); //clears the textarea after submit
}
});
}
});
/* END */
});

function displayResult(){
$id = $('#id').val();
$.ajax({
url: 'send_message.php',
type: 'POST',
async: false,
data:{
id: $id,
res: 1,
},
success: function(response){
$('#result').html(response);
}
});
}
</script>

</head>

<body>
<table id="chat_room" align="center">
<tr>
<th><h4>Hi, <a href="profile.php?userid=<?php echo $_SESSION['userid']; ?>"><?php echo $urow['your_name']; ?></a>  - <a href="logout.php" onclick="return confirm_logout();">Logout</a></h4></th>
</tr>
<?php
$query=mysqli_query($conn,"select * from `chat_room`");
$row=mysqli_fetch_array($query);
?>
<div>
<tr>
<td><?php echo $row['chat_room_name']; ?></td><br><br>
</tr>
</div>
<tr>
<td>
<div id="result" style="overflow-y:scroll; height:300px; width: 605px;"></div>
<form class="form">
<!--<input type="text" id="msg">--><br/>
<textarea id="msg" rows="4" cols="85"></textarea><br/>
<input type="hidden" value="<?php echo $row['chat_room_id']; ?>" id="id">
<button type="button" id="send_msg" class="button button2">Send</button>
</form>
</td>
</tr>

</table>

</body>
</html>



--
-- Table structure for table `users`
--

CREATE TABLE `users` (
 `id` int(10) UNSIGNED NOT NULL,
 `username` varchar(40) NOT NULL DEFAULT '',
 `password` varchar(40) NOT NULL DEFAULT '',
 `secret` varchar(20) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
 `email` varchar(80) NOT NULL DEFAULT '',
 `status` enum('pending','confirmed') NOT NULL DEFAULT 'pending',
 `added` datetime DEFAULT NULL,
 `last_login` datetime DEFAULT NULL,
 `last_access` datetime DEFAULT NULL,
 `editsecret` varchar(20) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
 `privacy` enum('strong','normal','low') NOT NULL DEFAULT 'normal',
 `stylesheet` int(10) DEFAULT 1,
 `language` varchar(20) NOT NULL DEFAULT '1',
 `info` text DEFAULT NULL,
 `acceptpms` enum('yes','no') NOT NULL DEFAULT 'yes',
 `ip` varchar(39) NOT NULL DEFAULT '',
 `class` tinyint(3) UNSIGNED NOT NULL DEFAULT 3,
 `avatar` varchar(100) NOT NULL DEFAULT '',
 `uploaded` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
 `downloaded` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
 `title` varchar(30) NOT NULL DEFAULT '',
 `donated` int(5) UNSIGNED NOT NULL DEFAULT 0,
 `country` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `notifs` varchar(100) NOT NULL DEFAULT '',
 `enabled` varchar(10) NOT NULL DEFAULT 'yes',
 `modcomment` text DEFAULT NULL,
 `gender` varchar(6) NOT NULL DEFAULT '',
 `client` varchar(25) NOT NULL DEFAULT '',
 `age` int(3) NOT NULL DEFAULT 0,
 `warned` char(3) NOT NULL DEFAULT 'no',
 `signature` text NOT NULL DEFAULT '',
 `last_browse` int(11) NOT NULL DEFAULT 0,
 `forumbanned` char(3) NOT NULL DEFAULT 'no',
 `invited_by` int(10) NOT NULL DEFAULT 0,
 `invitees` varchar(100) NOT NULL DEFAULT '',
 `invites` smallint(5) NOT NULL DEFAULT 0,
 `invitedate` datetime DEFAULT NULL,
 `commentpm` enum('yes','no') NOT NULL DEFAULT 'yes',
 `passkey` varchar(32) NOT NULL DEFAULT '',
 `page` text DEFAULT NULL,
 `team` int(10) UNSIGNED NOT NULL DEFAULT 0,
 `tzoffset` int(4) DEFAULT 0,
 `hideshoutbox` enum('yes','no') NOT NULL DEFAULT 'no'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 PACK_KEYS=0;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `username`, `password`, `secret`, `email`, `status`, `added`, `last_login`, `last_access`, `editsecret`, `privacy`, `stylesheet`, `language`, `info`, `acceptpms`, `ip`, `class`, `avatar`, `uploaded`, `downloaded`, `title`, `donated`, `country`, `notifs`, `enabled`, `modcomment`, `gender`, `client`, `age`, `warned`, `signature`, `last_browse`, `forumbanned`, `invited_by`, `invitees`, `invites`, `invitedate`, `commentpm`, `passkey`, `page`, `team`, `tzoffset`, `hideshoutbox`) VALUES
(1, 'xo', '7c222fb2927d828af22f592134e8932480637c0d', 'XgIipduzDl0W4y1ZjkDz', 'ljx4680@gmail.com', 'confirmed', '2021-12-22 10:17:04', '2022-01-02 16:56:34', '2022-01-02 17:57:11', '', 'normal', 1, '1', NULL, 'yes', '1.136.27.177', 7, 'https://images2.imgbox.com/7c/f6/vys2p7Wi_o.gif', 0, 0, '', 0, 35, '', 'yes', '', 'Female', 'Rutorrent', 42, 'yes', 'If you want to see MANY different ways to win a seedbox (30 seedboxes EVERY month), check THIS thread out!!!\r\nCLICK HERE TO CHECK OUT THE ★OFFICIAL TI.org SELLING STORE★\r\nCLICK HERE TO SEE MY FEEDBACKS AND BUY WITH CONFIDENCE FROM ME!!!\r\nCLICK HERE TO SEND ME A PM AND TELL ME THE TRACKER YOU ARE LOOKING FOR!!!\r\n\r\n\r\n 30 FREE SEEDBOXES FOR OUR USERS EVERY MONTH \r\n\r\n PROMOTE TI AND WIN MANY REPUTATION POINTS VERY EASILY \r\n\r\nWe\'ve had HDBits, BTN, PTP, What.cd + MANY MORE GiveAways in the VIP Forum so far', 1641146230, 'no', 0, '', 0, NULL, 'yes', '141c66fea7d8e09749b29b7f4ef226f6', 'Unknown Location...', 1, 0, 'no'),
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728