I don't show in userdetails.php snatched torrentrs :( in one user have donwload:87gb but in snatched torrents 0 .... Where is a mistake ?
This is the code what is wrong >
PHP Code:
{
if ($torrents)
print("<tr valign=top><td class=rowhead>Upload torrents<b>($numbuploaded)</b></td><td align=left><a href=\"javascript: klappe_news('a1')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\"><div id=\"ka1\" style=\"display: none;\"><p>$torrents</div></td></tr>\n");
if ($seeding)
print("<tr valign=top><td class=rowhead>Seeding<b>($numbseeding)</b></td><td align=left><a href=\"javascript: klappe_news('a2')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\"><div id=\"ka2\" style=\"display: none;\"><p>$seeding</div></td></tr>\n");
if ($leeching)
print("<tr valign=top><td class=rowhead>Leeching<b>($numbleeching)</b></td><td align=left><a href=\"javascript: klappe_news('a3')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica".$array['id']."\"><div id=\"ka3\" style=\"display: none;\"><p>$leeching</div></td></tr>\n");
if ($completed)
print("<tr valign=top><td class=rowhead width=20%>Complete torrents</td><td class=row1 align=left width=90%><a href=\"javascript: klappe_news('a4".$array['id']."')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica3".$array['id']."\" alt=\"Show/Hide\"></a><div id=\"ka4".$array['id']."\" style=\"display: none;\"><p>$completed</div></td></tr>\n");
}