echo '<form name="options" action="' . oos_href_link_admin($aFilename['products_attributes'], 'action=add_product_options&option_page=' . $option_page, 'NONSSL') . '" method="post"><input type="hidden" name="products_options_id" value="' . $next_id . '">'; $inputs = ''; for ($i = 0, $n = count($languages); $i < $n; $i++) { $inputs .= $languages[$i]['id'] . ': <input type="text" name="option_name[' . $languages[$i]['id'] . ']" size="20"> <br />'; } ?> <td align="center" class="smallText"> <?php echo $next_id; ?> </td> <td class="smallText"><?php echo $inputs; ?> </td> <td class="smallText"><?php echo oos_draw_option_type_pull_down_menu('option_type'); ?> </td> <td class="smallText"> <?php echo oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT); ?> </td> <?php echo '</form>'; ?> </tr> <tr> <td colspan="4"><?php echo oos_black_line(); ?> </td>
<td colspan="4"><?php echo oos_black_line(); ?></td> </tr> <?php if ($action != 'update_option') { ?> <tr class="<?php echo (floor($rows/2) == ($rows/2) ? 'attributes-even' : 'attributes-odd'); ?>"> <?php echo '<form name="options" action="' . oos_href_link_admin($aFilename['products_attributes'], 'action=add_product_options&option_page=' . $option_page, 'NONSSL') . '" method="post"><input type="hidden" name="products_options_id" value="' . $next_id . '">'; $inputs = ''; for ($i = 0, $n = count($languages); $i < $n; $i ++) { $inputs .= $languages[$i]['id'] . ': <input type="text" name="option_name[' . $languages[$i]['id'] . ']" size="20"> <br />'; } ?> <td align="center" class="smallText"> <?php echo $next_id; ?> </td> <td class="smallText"><?php echo $inputs; ?></td> <td class="smallText"><?php echo oos_draw_option_type_pull_down_menu('option_type'); ?></td> <td class="smallText"> <?php echo oos_image_swap_submits('insert', 'insert_off.gif', IMAGE_INSERT); ?> </td> <?php echo '</form>'; ?> </tr> <tr> <td colspan="4"><?php echo oos_black_line(); ?></td> </tr> <?php } } ?> </table></td> <!-- options eof //--> <td valign="top" width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="2">