<?php if($_icons_count = count($d['icons'])) {for ($_icons_i = 0; $_icons_i < $_icons_count; $_icons_i++){ ?>
<tr>
<td class="row1"><span class="gen"><b><?php $this->_echo($d['.'][0]['L_ICONS']); ?></b></span></td>
<td class="row2"><table cellpadding="2" cellspacing="1" border="0" width="1%">
<?php if($_row_count = count($d['icons'][$_icons_i]['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){ ?>
<tr>
<?php if($_cell_count = count($d['icons'][$_icons_i]['row'][$_row_i]['cell'])) {for ($_cell_i = 0; $_cell_i < $_cell_count; $_cell_i++){ ?>
<td nowrap="nowrap" width="10%"<?php $this->_echo($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['S_SPAN']); ?>><span class="gen">
<input type="radio" name="icon_id" value="<?php $this->_echo($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['ICON_ID']); ?>" <?php if($_selected_count = count($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['selected'])) {for ($_selected_i = 0; $_selected_i < $_selected_count; $_selected_i++){ ?>checked="checked"<?php }} ?> />
<?php if($_img_count = count($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['img'])) {for ($_img_i = 0; $_img_i < $_img_count; $_img_i++){ ?><img src="<?php $this->_echo($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['I_ICON']); ?>" border="0" title="<?php $this->_echo($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['L_ICON']); ?>" alt="" /><?php }} else {$this->_echo($d['icons'][$_icons_i]['row'][$_row_i]['cell'][$_cell_i]['L_ICON']);} ?>
</span></td>
<?php }} ?>
</tr>
<?php }} ?>
</table></td>
</tr>
<?php }} ?>