Invalid or Completed Order

The current order appears to either be invalid or has been successfully completed. You will receive this message if you clicked the "Back" button on your browser after completing your order. If you placed an order online, you will know that it was successfully completed because a detailed order confirmation will be sent to the email address you gave in the order. No confirming e-mail is sent on offline orders.

To continue browsing the COMPANY Web site, or to make further purchases, please click here to return to the home page. Thank you! 0){echo " background=\"$tmp\"";} $tmp=odbc_result($wr,"webtext"); if(strlen($tmp)>0){echo " text=\"$tmp\"";} $tmp=odbc_result($wr,"weblink"); if(strlen($tmp)>0){echo " link=\"$tmp\"";} $tmp=odbc_result($wr,"webvlink"); if(strlen($tmp)>0){echo " vlink=\"$tmp\"";} $tmp=odbc_result($wr,"webalink"); if(strlen($tmp)>0){echo " alink=\"$tmp\"";} $tmp=odbc_result($wr,"webbg"); if(strlen($tmp)>0){echo " bgcolor=\"$tmp\"";} echo ">\n"; $olr=odbc_exec($sd,"select count(*) from ORDERLINE where orderid='$cartid'"); $olc=(int)odbc_result($olr,1); odbc_free_result($olr); if($olc==0&&$quantity<=0){?>

Shopping Cart Contents

Your shopping basket is empty! "; exit; } $geo=odbc_result($lr,"langgeo"); $show=odbc_result($lr,"langshow"); $ordr=odbc_result($lr,"langordr"); odbc_free_result($lr); $zr=odbc_exec($sd,"select zonecurrsym from ZONETABLE where zoneid=$zid"); $zc=odbc_fetch_row($zr); if($zc){ $csym=odbc_result($zr,"zonecurrsym"); $csym=stripslashes($csym); }else{ $csym=""; } odbc_free_result($zr); // add a product to the order? if(isset($product)){ $olr=odbc_exec($sd,"select qty from ORDERLINE ". "where orderid='$cartid' and sku='$product'"); $olc=(int)odbc_fetch_row($olr); if($olc){ $quantity+=(int)odbc_result($olr,"qty"); // see if there is sufficient inventory $pq=odbc_exec($sd,"select prodinvqty,produseinvq from PRODTABLE ". "where prodsku='$product'"); $pc=odbc_fetch_row($pq); $use=(int)odbc_result($pq,"produseinvq"); $inv=(int)odbc_result($pq,"prodinvqty"); odbc_free_result($pq); if($use && $quantity>$inv){ $res=odbc_exec($sd,"update ORDERLINE set qty=$inv, invover=1 ". "where orderid='$cartid' and sku='$product'"); }else{ $res=odbc_exec($sd,"update ORDERLINE set qty=$quantity, invover=0 ". "where orderid='$cartid' and sku='$product'"); } }else{ // see if there is sufficient inventory $pq=odbc_exec($sd,"select prodinvqty,produseinvq from PRODTABLE ". "where prodsku='$product'"); $pc=odbc_fetch_row($pq); $use=(int)odbc_result($pq,"produseinvq"); $inv=(int)odbc_result($pq,"prodinvqty"); odbc_free_result($pq); if($use && $quantity>0 && $quantity>$inv){ $res=odbc_exec($sd,"insert into ORDERLINE ". "(custid,olzone,ollang,orderid,sku,qty,invover) ". "values ('$custid',$zid,$lid,'$cartid','$product',$inv,0)"); }elseif($quantity>0){ $res=odbc_exec($sd,"insert into ORDERLINE ". "(custid,olzone,ollang,orderid,sku,qty,invover) ". "values ('$custid',$zid,$lid,'$cartid','$product',$quantity,0)"); } } odbc_free_result($olr); odbc_exec($sd,"commit work"); } // szid defined means we are coming back from showgeo if($szid!=0){ odbc_exec($sd,"update ORDERHEAD set subz=$szid where orderid='$cartid'"); odbc_exec($sd,"commit work"); $subz=$szid; } // see if a subzone has been chosen yet if($subz==0&&!$noproducts){ // header("Location: HOMEURL/DIRECTORY/$geo?cartid=$cartid&zid=$zid&lid=$lid"); include("$geo"); exit; } // can we find this combination? if($subz!=""){ $sr=odbc_exec($sd,"select * from SUBZONETABLE ". "where subzid=$zid and subzsid=$subz"); $sc=odbc_fetch_row($sr); if(!$sc){ odbc_exec($sd,"update ORDERHEAD set subz=0 where orderid='$cartid'"); odbc_exec($sd,"commit work"); header("Location: HOMEURL/DIRECTORY/$geo?cartid=$cartid&zid=$zid&lid=$lid"); exit; } } $vr=odbc_exec($sd,"select * from VENDORTABLE where vendzid=$zid"); $vc=odbc_fetch_row($vr); $olr=odbc_exec($sd,"select * from ORDERLINE where orderid='$cartid'"); $olc=(int)odbc_fetch_row($olr); if($olc>0){?>

Shopping Cart Contents

0){ // taxable shipping ?> \n"; exit; } // tc==0 $shipdescr=odbc_result($tr,"shipdescr"); ?> "; printf("%s%.2f
",$csym,$shamt); $taxper=(double)odbc_result($sr,"subztaxper"); if($taxper>0){?> "; printf("%s%.2f
",$csym,$tp); } // taxper>0 }elseif($taxship!=1 && $ttotal>0){ // non taxable shipping $taxper=(double)odbc_result($sr,"subztaxper"); if($taxper>0){?> \n"; exit; } $shipdescr=odbc_result($tr,"shipdescr"); ?>
To modify a field, enter the new value and click "Modify Your Order".
To delete an item, enter a 0 quantity and click "Modify Your Order".
Product Description Quantity Unit Price Total
";?> 0){echo"*** ";$invshort=1;} echo "
\n"; echo "\n"; ?>
",$csym,(double)$price); // nmb echo $tmp; printf("%s%.2f
",$csym,$price); odbc_free_result($pr); ?>
",$csym,$tpr); // nmb echo $tmp; printf("%s%.2f
",$csym,$tpr); $ltotal=rnd((double)$tpr+$ltotal); $stotal=rnd((double)$tpr+$stotal); $ttotal=rnd((double)$tpr+$ttotal); ?>
Free Shipping and Handling.
Allow 4 to 5 weeks for delivery.
",$csym,$shamt); // nmb echo "$tmp\n
Sales Tax:
",$csym,$tp); // nmb echo "$tmp\n
Sales Tax:
",$csym,$tp); // nmb echo $tmp; printf("%s%.2f
",$csym,$tp); ?>
Free Shipping and Handling.
Allow 4 to 5 weeks for delivery.
",$csym,$shamt); // nmb echo $tmp; printf("%s%.2f
",$csym,$shamt); ?>
Additional Voluntary Contribution:

\n"; printf("
\n",$contamt); $ttotal=rnd((double)$contamt+$ttotal); ?>
Total:
",$csym,$ttotal); // nmb echo $tmp; printf("%s%.2f
",$csym,$ttotal); ?>
*** quantity exceeded available inventory, set to maximum available
0) odbc_free_result($ohr); odbc_free_result($olr); odbc_free_result($sr); odbc_free_result($tr); odbc_free_result($wr); odbc_free_result($vr); odbc_close($sd); $product=urlencode($product); ?>

Shopping Cart Front Page | Return to Product Page
| Select Geographical Area | Check Out