?> </strong>.</div> <? } elseif ( isValidQty($arr_data["speed_order_temp.qty"][$x]) == false ) {?> <div class='long2' style="vertical-align: middle;color:red;font-weight:bold;">Invalid quantity for part number <strong><?php echo $arr_data["speed_order_temp.part_number"][$x]; ?> </strong>.</div> <? }?> <div class='line' style="border:none;"></div> <div class="clnr"></div> </div> <? } else { // valid parts?> <div style="border:none;padding:4px 0 4px 0px;margin:4px;"> <!--<div style="border:4px solid green;padding:4px 0 4px 0;margin:4px;">--> <? $arr_part_data = getPartData($arr_data["speed_order_temp.part_number"][$x],$pl);?> <div class='long1'><input type="text" name="part<?php echo $x; ?> " class="field" style="width:140px;" value="<?php echo $arr_data["speed_order_temp.part_number"][$x]; ?> " TABINDEX="<?php echo $x * 2 + 2; ?> "></div> <div class='short'><input type="text" name="qty<?php echo $x; ?> " class="field" style="width:50px;" value="<?php echo $arr_data["speed_order_temp.qty"][$x];
//echo "<HR>\n"; } //var_dump($arr_item_data); if ($b_error == false) { //echo "good"; //exit; $querystring = "tc=1&add_to_order=1&pl=$pl&component=$component"; for($x=0;$x<=$count;$x++){ //if ($pl == "2") { // $arr_part_data = getPartData($arr_item_data["part_number"][$x],$pl); // $key_name = $arr_part_data["parts.id"][0]; //} else { $arr_part_data = getPartData($arr_item_data["part_number"][$x],$pl); $key_name = $arr_part_data["parts.id"][0]; //} //var_dump($arr_part_data); //exit; $querystring .= "&".$key_name."=".str_replace(",","",$arr_item_data["qty"][$x]); } //echo "1"; //exit; header("Location: add_to_quote_cart.php?".$querystring); exit; } else { //echo "bad";