"PyhaJumal, post: 89936":Cause sometimes an hit an run might be an accident.. also you dont want your site being so strict and not caring about members.. I personally cant stand sites with fully auto hit and run scripts some times internet delays and what not happen its just an fact of being on well the net..If your site gets so strict and people stop using it then is it really any better then not having an script? Its an tricky situation if you ask me.. Need seeds on things but again with tooooooo many seeders and NO leechers whats the point?? My site have hit and run thing myself but its only triggered manual by select people. And before people ask NO you cant have it its fully integrated in my sites code only, no way to share it if I wanted to , not that I do.How to remove H&R ban
30% users is banned :D
begin_frame("<b>Thank You To The Following Members For Supporting Us</b>");
//$res = SQL_Query_exec("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10");
$i = 0;
if ($i == 0)
print("<marquee scrollAmount=3 onmouseover=this.scrollAmount=0 onmouseout=this.scrollAmount=3 scrolldelay=0 direction=MARQUEE BEHAVIOR=ALTERNATE><table align=center cellpadding=0 cellspacing=0 width=100% border=0><tr><td>");
// $i=20;
$sql = "SELECT id, username, donated FROM users WHERE donated != '' && enabled='yes' ORDER BY donated DESC ";
$mysql_result = SQL_Query_exec($sql);
while ($row = mysql_fetch_array($mysql_result)) {
$id = $row['id'];
$username = $row['username'];
$donated = $row['donated'];
echo "<a href="account-details.php?id=$id">" . class_user($row[username]) . "</a>";
$i++;
}
print("</td></tr></table></marquee>");
end_frame();$res = SQL_Query_exec("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10");end_frame();
if ($nfo=='yes') {
$descr = @file_get_contents($nfofilename);
} else {
$descr = $_POST["descr"];
}
print ("<tr><td align='center' colspan='2'>" . T_("DESCRIPTION") . "</td></tr></table>");print ("<tr><td align='center' colspan='2'>" . T_("DESCRIPTION") . "<br />If you include an nfo above you dont have to put an description in.</td></tr></table>");
if ($nfo=='yes') {
$descr = @file_get_contents($nfofilename);
} else {
$descr = $_POST["descr"];
}
if ($nfo=='yes') {
$descr1 = @file_get_contents($nfofilename);
for ($i=0;$i<strlen($descr1);$i++) {
//echo "$nfo[$i] =>".ord($nfo[$i])."<br>";
if ( ((ord($descr1[$i]) >= 32) && (ord($descr1[$i]) <= 127)) || (ord($descr1[$i]) == 228) || (ord($descr1[$i]) == 229) || (ord($descr1[$i]) == 246) || (ord($descr1[$i]) == 197) || (ord($descr1[$i]) == 196) || (ord($descr1[$i]) == 214) ) {
$parsed_nfo.=$descr1[$i];
} elseif (ord($descr1[$i]) == 13) {
$parsed_nfo.="n";
}
}
$descr = $parsed_nfo;
} else {
$descr = $_POST["descr"];
}
$registered = number_format(get_row_count("users"));
to
$registered = (int) get_row_count("users");
then change
<?echo "" . $registered . ""; ?>
to
<?php echo number_format($registered); ?>
and
<?echo "" . $liko . ""; ?>
to
<?php echo number_format($liko); ?> $peerfields = "seeder, UNIX_TIMESTAMP(last_action) AS ez, peer_id, ip, port, uploaded, downloaded, userid, passkey"; //peers details to getor something along those lines.. I made an live seedtime display on my sites peers and it seems to be right..
"BigMax1, post: 89497":THEN YOU PUT IT IN THE WRONG PLACE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!And ArcticWolf, I'm sorry but your code multiplies extra time added for about 10 times. On my tracker this is the result...
"McGyver, post: 89485":no I dont use the that 1 i only use the the i said.But the code you use it too?
For me in my annonce.php I do like this
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
if ( $_GET[ 'event' ] != 'stopped' )
{
$elapsed = ($self['seeder'] == 'yes') ? $torrentconfig['announce_interval'] - floor(($self['ez'] - time()) / 60) : 0;
}
$upthis = max(0, $uploaded - $self["uploaded"]);
$downthis = max(0, $downloaded - $self["downloaded"]);
Or can I put them???
sorry for my english
$elapsed = ($self['seeder'] == 'yes') ? (gmtime() - $self['ez']) : 0;
before
$upthis = max(0, $uploaded - $self["uploaded"]); require_once("languages/english.lang");