View Single Post
  #7  
Old 26th September 2019, 21:44
elvira's Avatar
elvira elvira is offline
Senior Member
 
Join Date: Jan 2008
Slovenia
Posts: 153
Default
Quote:
if ($torrent['free'] == 'yes')
$downthis = 0;
if ($torrent['dupla_seed'] == 'yes')
$upthis = $upthis * 2;
if ($torrent['silver']=='yes')
$downthis=$downthis * 2;
$upthis = $upthis * 2;
if ($upthis > 0 || $downthis > 0)
mysql_query("UPDATE users SET uploaded = uploaded + $upthis, downloaded = downloaded + $downthis WHERE id=$userid") or err("Tracker error 3");

think this must work
Reply With Quote