Userdetails Issue

Started by Dolby, July 04, 2011, 12:08:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


function snatchtable covers snatchlist - function maketable covers seeding - leeching - uploaded - completed.


doh see it now missed /caticons from this line

<td style='padding: 0px'><img src='pic/caticons/".htmlspecialchars($arr["catimg"])."' alt='".htmlspecialchars($arr["catname"])."' /></td>


Nothing to do with that the cat images are defined in function snatchtable at the top.


hi have a little problem with recently snatched in userdetails the cat icons show as text

and here is the code snippet

    $res = sql_query("SELECT s.*, AS name, AS catname, c.image AS catimg FROM snatched AS s INNER JOIN torrents AS t ON s.torrentid = LEFT JOIN categories AS c ON t.category = WHERE s.userid = $user[id]") or sqlerr(__FILE__, __LINE__);
    if (mysql_num_rows($res) > 0)
    $snatches = snatchtable($res);                                                                                                           
    $numbsnatched = mysql_num_rows($res);
    if (isset($snatches))
    $HTMLOUT .= "<tr valign=\"top\"><td class=\"rowhead\" width=\"10%\">{$lang['userdetails_cur_snatched']}</td><td align=\"left\" width=\"90%\"><a href=\"javascript: klappe_news('a3')\"><img border=\"0\" src=\"pic/plus.gif\" id=\"pica3\" alt=\"Show/Hide\" /></a><b><font color=\"red\">&nbsp;&nbsp;$numbsnatched</font></b><div id=\"ka3\" style=\"display: none;\">$snatches</div></td></tr>\n";

any ideas plz guys ?