query($q); $db->next_record(); $account_id = $db->f("order_account_id"); $billing_id = $db->f("order_billing_id"); if($db->num_rows()==0) { echo "You do not have permission to view this order!"; } else { ?>

Order No: | p("order_id"); ?> | Status: f("order_status"); ?> | f("order_status"); if ($status==1) { echo "Complete"; } if ($status==0) { echo "Processing"; } if ($status==2) { echo "Voided"; } if ($status==3) { echo "Canceled"; } if ($status==4) { echo "Declined"; } ?>
Total: | f("order_amount"); echo $currency; printf("%.2f",$amount); ?> | Date: | p("order_date"); ?>

Account Information: | edit account information

query($q); $db->next_record();?> p("account_name"); ?> f("account_company")) { echo " "; $db->p("account_company") ; } ?> p("account_address"); ?> p("account_city"); ?> , p("account_state"); ?> p("account_zip"); ?>

query($q); $db->next_record(); ?>

Billing Information: | ">edit billing information

Credit Card Number: | f("billing_cc_num"));?>
Expiration Date: | p("billing_cc_exp"); ?>

Domain & Hosting Ordered:

query($q); while($db->next_record()) { ?>

p("domain_name"); ?> | f("domain_years"); if ($length==0) { $years = "Hosting Only"; } else { $years = "$length Year(s)"; } echo $years; ?> | f("domain_host_id")); echo $host_name; ?> | ">edit/view