LeonardoMail::sendMail("[Leonardo] " . $CONF['site']['name'] . " - " . sprintf(_You_have_a_new_comment, $_SERVER['SERVER_NAME']), $email_body, $userEmail, addslashes($userEmail), '', '', true);
        // echo "<pre>$email_body</pre>";
    }
    include dirname(__FILE__) . '/INC_comment_row.php';
    echo $str;
    //echo " newCommentID=$newCommentID, flightID=$flightID
    //		parentID=$parentID, guestName=$guestName, userID=$userID,
    //		<hr> $commentText <BR>";
    //echo "OK";
} else {
    if ($op == 'edit') {
        $flightID = makeSane($_POST['flightID']);
        $commentID = makeSane($_POST['commentID']) + 0;
        $commentText = $_POST['commentText'];
        $flightComments = new flightComments($flightID);
        $result = $flightComments->changeComment(array('commentID' => $commentID, 'text' => $commentText));
        echo "Result: {$result}";
    } else {
        if ($op == 'delete') {
            $flightID = makeSane($_POST['flightID']);
            $commentID = makeSane($_POST['commentID']) + 0;
            $parentID = makeSane($_POST['parentID']) + 0;
            if (!$flightID || !$commentID) {
                echo "0:Bad paramters";
                return;
            }
            $flightComments = new flightComments($flightID);
            $result = $flightComments->deleteComment($commentID, $parentID);
            echo "Result: {$result}";
        } else {
            if ($op == 'setCommentsStatus') {