$comment_by = $session_userinfo['username'];
         if ($source == Order::ORDER_TYPE_JULIE_GRACE) {
             $comment_id = $class_o->insertComment($order_id, $comment, $comment_by);
         } elseif ($source == Order::ORDER_TYPE_SALES_PARTNER) {
             $comment_id = $class_jo->insertComment($order_id, $comment, $comment_by);
         }
         $result = drawSingleComment($comment_id, $comment_by, time(), $comment);
         echo utf8_encode($result);
         exit;
     } elseif ($_POST['me_action'] == 'DELETECOMMENT') {
         $order_id = tep_db_prepare_input($_POST['order_id']);
         $comment_id = tep_db_prepare_input($_POST['comment_id']);
         if ($source == Order::ORDER_TYPE_JULIE_GRACE) {
             $class_o->deleteComment($order_id, $comment_id);
         } elseif ($source == Order::ORDER_TYPE_SALES_PARTNER) {
             $class_jo->deleteComment($order_id, $comment_id);
         }
         echo utf8_encode($comment_id);
         exit;
     }
 }
 $order_detail = array();
 $address_shipping = '';
 $address_billing = '';
 if ($source == Order::ORDER_TYPE_JULIE_GRACE) {
     $order_object = new Order(Order::ORDER_TYPE_JULIE_GRACE, $order_id);
     $order = $class_o->retrieveDetail($order_id, true);
     $order_int_comments = $class_jo->retrieveComments($order_id);
     $comments = $class_jo->drawComments($order_int_comments, 'Internal Comments', 'h2');
     $items = $class_o->retrieveProducts($order_id);
     $items_colname_id = 'orders_products_id';