$batch[$i],$prod[$i],$man[$i],$pn[$i],$pd[$i],$dc[$i],$priceu[$i],$free[$i],$pack[$i],$amber[$i],$green[$i],$bqty[$i]
";*/ // Checks to see if they already have that product in their list $d1=0; if(isset($ShoppingCart)==1) {$d1=$ShoppingCart;} else {$d1=$session;} $password="redorchil5429"; mysql_connect("localhost","componentWeb",$password); $result = mysql("componentforum","SELECT * FROM selections WHERE session=/*'$ShoppingCart'*/'$d1'AND bref='$batch[$i]'"); $num_rows = mysql_num_rows($result); // they don't have that product in their cart? Put it in. if($num_rows == 0) { mysql_connect("localhost","componentWeb",$password); $result=mysql("componentforum","INSERT INTO selections (session,bref,prod_type,mfr,part_no,part_desc,date_code,packsize,price_each,ordqty,amberacem_flag,greenacem_flag,date)VALUES(/*'$ShoppingCart'*//*'$session'*/ '$d1','$batch[$i]','$prod[$i]','$man[$i]','$pn[$i]','$pd[$i]','$dc[$i]','$pack[$i]','$priceu[$i]','$bqty[$i]','$amber[$i]','$green[$i]',\N)"); } // They have the product in their cart already? Add the quantity they specified // to the product they have in their cart else { /*$row = mysql_fetch_array($result); $quantity = $quantity + $row[quantity];*/ $result=mysql("componentforum","UPDATE selections SET ordqty='$bqty[$i]' WHERE session='$ShoppingCart' AND bref='$batch[$i]'"); } } } ?> COMPONENT FORUM Order Status

Component Forum Ltd


Current Order Status


Your order presently contains the items shown below. Please scroll down, check the details and quantities and make any changes you require by re-searching for the item to be changed using our search page and by changing the quantity.

If you are not ready to submit your order please press this button to close this window.
To proceed with your order now, please read on, complete the form below and press the "Submit Order" button at the bottom. Your Order will be encrypted and transmitted to us using our secure server, so you can place your order with complete confidence.

All orders are in UK Pounds Sterling, are accepted subject to availability and subject to our terms and conditions(please click for details). Orders will be confirmed within two days. UK and EU orders will be subject to the addition of VAT. Prices and shipping costs exclude import duties and taxes.

Minimum order value is £40 (excluding p & p and VAT where applicable). All orders are covered by our 16-day money back guarantee period. No returns will be accepted unless we have been notified within the guarantee period.

Order List
"; mysql_connect("localhost","componentWeb",$password); $result=mysql("componentforum","SELECT session,bref,prod_type,mfr,part_no,part_desc,date_code,packsize,price_each,ordqty,amberacem_flag,greenacem_flag from selections where /*session='$ShoppingCart'*/session='$d2' "); echo""; $total_rows=mysql_numrows($result); $counter=0; /*echo "$ShoppingCart
"; echo "$session";*/ echo ""; echo "\n"; while($counter<$total_rows){ echo "\n"; $bref=mysql_result($result,$counter,"bref"); $prod=mysql_result($result,$counter,"prod_type"); $man=mysql_result($result,$counter,"mfr"); $part=mysql_result($result,$counter,"part_no"); $partdesc=mysql_result($result,$counter,"part_desc"); $dcode=mysql_result($result,$counter,"date_code"); $pack=mysql_result($result,$counter,"packsize"); $o=mysql_result($result,$counter,"ordqty"); $e=mysql_result($result,$counter,"price_each"); $amber=mysql_result($result,$counter,"amberacem_flag"); $green=mysql_result($result,$counter,"greenacem_flag"); $v=$o*$e; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo"\n"; $counter=$counter + 1; } echo ""; echo ""; echo ""; echo ""; echo "
Product
Type
Manuf
Name
Part
No
Description Pack
Size
Date
Code
Price
Each
Order
Qty
Order
Value
\n"; echo mysql_result($result,$counter,"prod_type"); echo"\n"; echo mysql_result($result,$counter,"mfr"); echo"\n"; echo mysql_result($result,$counter,"part_no"); echo"\n"; echo mysql_result($result,$counter,"part_desc"); echo"\n"; echo mysql_result($result,$counter,"packsize"); echo"\n"; echo mysql_result($result,$counter,"date_code"); echo"\n"; echo mysql_result($result,$counter,"price_each"); echo"\n"; echo mysql_result($result,$counter,"ordqty"); echo"$v"; if (mysql_result($result,$counter,"amberacem_flag")=="yes"){echo "AMBER ";$val=$v;} if (mysql_result($result,$counter,"greenacem_flag")=="yes"){echo "GREEN";} $z=$z+$v; echo"
Order Subtotal: £"; echo "$z"; /*$z=0; for($i=0;$i<=$total_rows;$i++){ echo"$ord[$i]"; $z=$z + $ord[$i]; } echo "$z";*/ echo "
"; if ($val>0){echo" Less Amber Items";}echo""; echo "-$val"; echo "
"; $y=$z-$val; echo""; echo""; echo ""; ?>
Order Subtotal: £
Add Shipping Cost: Enter Destination
Please note: if your order contains heavy items, a shipping surcharge may apply. In every instance however you will be informed of any additional cost prior to comfirmation and shipment of your order.
Net Order Value (excl VAT): £
UK and EU Customers add VAT @17.5%.
Please select if based in UK or EU. £
Select to reset VAT to zero
TOTAL ORDER VALUE: £


CUSTOMER INFORMATION

Title:

First Name:
Last Name:

Company Name:

Company Address:

City:

County or State:

Country:

Post or ZIP code:

Phone No:
Fax No:

E mail:
Please note it is important you give us your email address
as we will use it to acknowledge your order!

EU Buyer's VAT No:
Buyer's resident in the EU please enter your VAT reference.

SHIPPING ADDRESS
(if different from above)

Address:

City:

County or State:
Country:

Post or ZIP code:

COMMENTS & REQUESTS

If you have any additional comments that may assist with your order please provide them here in this comments box. Also, if you would like to leave us with your impressions of our site, or you have any special requests, please type your message here, or send us an email.



TELL US HOW YOU WANT TO PAY

1. Credit Card (VISA or MasterCard) by E-mail

Enter your card details and press the send order now button

Card Type:

Card Number:

Expiry Date:

Full Name as printed on card:

Card Holder Address (if different from above):




Component Forum will confirm your order by return e-mail within two days.

2. Post or Fax

To send by post or fax, first fill in this form, and print it out.
Then sign your name in the space below to confirm your authorisation
Signature:

For fax, send to

+44-(0)1908-543909
(omit the zero if faxing from outside the UK)

By Post, send to:


Component Forum Ltd
P.O.Box 20,
Yardley Gobion
Towcester
Northamptonshire
United Kingdom
NN12 7XJ

If you would rather not pay by credit card, we will accept
an international money order (in pounds sterling) or a UK cheque.
Please note that orders will not be shipped until payment has been
received (and cleared through the bank).


Thank you for visiting our site!