} echo "</td>"; if ($optionTypeInstalled == '1') { extraValues($current_value_id, $_POST['current_product_id']); echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_prefix\" value=\"" . $attribute_prefix . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_type\">"; displayOptionTypes($attribute_type); echo "</SELECT></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_qty\" value=\"" . $attribute_qty . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_order\" value=\"" . $attribute_order . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_linked\" value=\"" . $attribute_linked . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\">" . $current_value_id . "</td>"; } else { echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_prefix\"> <option value=\"+\"" . $posCheck . ">+<option value=\"-\"" . $negCheck . ">-</SELECT></td>"; if ($optionSortCopyInstalled == '1') { getSortCopyValues($current_value_id, $_POST['current_product_id']); echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_weight\" value=\"" . $attribute_weight . "\" size=\"10\"></td>"; echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_weight_prefix\">"; sortCopyWeightPrefix($attribute_weight_prefix); echo "</SELECT></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_sort\" value=\"" . $attribute_sort . "\" size=\"4\"></td>"; } } echo "</tr>"; if ($optionTypeTextInstalled == '1' && $current_value_id_old == $optionTypeTextInstalledID) { $tempTextID++; } } if ($i == $matches2) { $i = '0'; }
echo "</td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_price\" value=\"" . tep_output_string($attribute_value_price) . "\" size=\"10\"></td>"; if ($optionTypeInstalled == "1") { extraValues($current_value_id, $current_product_id); echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_prefix\" value=\"" . tep_output_string($attribute_prefix) . "\" size=\"4\"></TD>"; echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_type\">"; displayOptionTypes($attribute_type); echo "</select></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_qty\" value=\"" . tep_output_string($attribute_qty) . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_order\" value=\"" . tep_output_string($attribute_order) . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_linked\" value=\"" . tep_output_string($attribute_linked) . "\" size=\"4\"></td>"; echo "<td class=\"main\" align=\"left\">" . $current_value_id . "</td>"; } else { echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_prefix\"> <option value=\"+\"" . $posCheck . ">+<OPTION value=\"-\"" . $negCheck . ">-</select></td>"; if ($optionSortCopyInstalled == "1") { getSortCopyValues($current_value_id, $current_product_id); echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_weight\" value=\"" . tep_output_string($attribute_weight) . "\" size=\"10\"></TD>"; echo "<td class=\"main\" align=\"left\"><select name=\"" . $current_value_id . "_weight_prefix\">"; sortCopyWeightPrefix($attribute_weight_prefix); echo "</select></td>"; echo "<td class=\"main\" align=\"left\"><input type=\"text\" name=\"" . $current_value_id . "_sort\" value=\"" . tep_output_string($attribute_sort) . "\" size=\"4\"></td>"; } } echo "</tr>"; if ($optionTypeTextInstalled == "1" && $current_value_id_old == $optionTypeTextInstalledID) { $tempTextID++; } } if ($i == $matches2) { $i = "0"; }