'NULL', 'order_dt' => 'NOW()', 'order_type' => $type, 'contact_id' => $contact_id, 'ship_amount' => $ship_amount, 'ship_method' => $ship_method, 'ship_name' => $ship_name, 'ship_address1' => $ship_address1, 'ship_city' => $ship_city, 'ship_state' => $ship_state, 'ship_country' => $ship_country, 'ship_postal' => $ship_postal, 'ship_phone' => $ship_phone, 'salesperson1' => $salesperson1, 'salesperson2' => $salesperson2, 'ad_code' => $ad_code, 'promotion_id' => $promotion_id, 'notes' => $notes, 'order_status' => $order_status ); if(!$order_id = Database::_insert(Config::$db_tables['orders'], $insert_fields, 'Orders::_insert')) { return(FALSE); } else { return($order_id); } } } ?>