Thread: NetManiack v1.6
View Single Post
  #92  
Old 6th January 2010, 14:54
Zuby's Avatar
Zuby Zuby is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 101
Default
just delete from browse.php

Code:
<td class=bottom>
        <table class=bottom>
        <tr>

<?
$i = 0;
foreach ($cats as $cat)
{
        $catsperrow = 7;
        print(($i && $i % $catsperrow == 0) ? "</tr><tr>" : "");
        print("<td class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></td>\n");
        $i++;
}

$alllink = "<div align=left>(<a href=browse.php?all=1><b>Show all</b></a>)</div>";

$ncats = count($cats);
$nrows = ceil($ncats/$catsperrow);
$lastrowcols = $ncats % $catsperrow;

if ($lastrowcols != 0)
{
        if ($catsperrow - $lastrowcols != 1)
                {
                        print("<td class=bottom rowspan=" . ($catsperrow  - $lastrowcols - 1) . ">&nbsp;</td>");
                }
        print("<td class=bottom style=\"padding-left: 5px\">$alllink</td>\n");
}
?>
        </tr>
        </table>
</td>
Reply With Quote