if(!isset($_GET['logresult']) && !isset($nuser)) header("Location:login.php"); include "common.php"; dbconnect(); if(isset($_GET['logresult']) && $_GET['logresult']=="0") { $orderno = ""; $customer_lastname = ""; $customer_initial = ""; $customer_firstname = ""; $customer_address = ""; $customer_state = ""; $customer_city = ""; $customer_zip = ""; $customer_phone = ""; $customer_fax = ""; $customer_email = ""; $customer_card_type = ""; $customer_card_no = ""; $year = ""; $month = ""; $customer_card_name = ""; $customer_card_code = ""; } elseif((isset($_GET['logresult']) && $_GET['logresult']=="1") || isset($CCode) ) { $sql = "select * from cust_profile where cust_Code='$CCode'"; $result = mysql_query($sql); $row = mysql_fetch_object($result); $orderno = ""; $customer_lastname = $row->last_Name; $customer_initial = $row->middle_Initial; $customer_firstname = $row->first_Name; $customer_address = $row->address; $customer_state = $row->state; $customer_city = $row->city; $customer_zip = $row->zip; $customer_phone = $row->tel_No; $customer_fax = $row->fax_No; $customer_email = $row->email; $customer_card_type = $row->card_Type; $customer_card_no = $row->card_Number; $expdt = explode("-",$row->expiry_Date); $year = $expdt[0]; $month = $expdt[1]; $customer_card_name = $row->card_Name; $customer_card_code = $row->card_Code; } else { $orderno = ""; $customer_lastname = ""; $customer_initial = ""; $customer_firstname = ""; $customer_address = ""; $customer_state = ""; $customer_city = ""; $customer_zip = ""; $customer_phone = ""; $customer_fax = ""; $customer_email = ""; $customer_card_type = ""; $customer_card_no = ""; $year = ""; $month = ""; $customer_card_name = ""; $customer_card_code = ""; } include "head.inc"; if(!isset($_POST["Submit"])) { $usstates = array("AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"); ?>
::. ORDER FORM |
ORDER FORM { Order no:$customer_orderno / Customer code : $customer_code } | |
Order
Number : |
$customer_orderno |
Last
Name : |
$customer_lastname |
Middle
Initial : |
$customer_initial |
First
Name : |
$customer_firstname |
Address
1 : |
$customer_address |
City
: |
$customer_city |
State
: |
$customer_state |
Zip
: |
$customer_zip |
Tel.
No. : |
$customer_phone |
Fax
No : |
$customer_fax |
Email
Id : |
$customer_email |
Credit
Card Type : |
$customer_card_type |
Credit
Card No. : |
$customer_card_no |
Expiration
Date : |
$month / $year |
Credit
Card Name : |
$customer_card_name |
Card
Code : |
$customer_card_code |