printLong(); } else { $db = new DB_Comment; $query = "SELECT * FROM comment WHERE pid is NULL;"; $db->query( $query ); while( $db->next_record() ) { $ob = new Comment( $db->f("cid"), "default" ); $ob->printLong(); } } ?>