Location: PHPKode > projects > board-tnk > board-tnk/include/icons_board.inc
<table border="1">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="5">

<?
if(!isset($icon_post)){$icon_post="12";}
for ($i=0;$i<$nb_icons_rows;$i++){
        print("<tr>\n");
        for($j=1;$j<=$nb_icons_inline;$j++){
                $k=$i*$nb_icons_inline+$j;
                if($k==$icon_post){
                        print("<td align=\"center\"><img src=\"icons_board/icon$k.gif\" alt=\"icon\"></img><br><input type=\"radio\" name=\"icon_post\" value=\"$k\" checked></td>\n");
                        }else{
                        print("<td align=\"center\"><img src=\"icons_board/icon$k.gif\" alt=\"icon\"></img><br><input type=\"radio\" name=\"icon_post\" value=\"$k\"></td>\n");
                        }
                }
         print("</tr>\n");
        }
?>

</table>
</td>
</tr>
</table>
Return current item: board-tnk