repair the bug of record_order.php--can	 creat the correct form of order,and optimize the control flow