SELECT ID, TopicID, ReplyIDs, NumReplies, TSCreated, Title, Author, Username, Email, Body
FROM Threads
WHERE (TopicID = #attributes.TopicID# OR ID = #attributes.TopicID#) AND Deleted =0
ORDER BY ID
topic_thread[GetTopicThreads.ID] = StructNew();
topic_thread[GetTopicThreads.ID].ReplyIDs = GetTopicThreads.ReplyIDs;
topic_thread[GetTopicThreads.ID].NumReplies = GetTopicThreads.NumReplies;
topic_thread[GetTopicThreads.ID].Title = GetTopicThreads.Title;
topic_thread[GetTopicThreads.ID].Author = GetTopicThreads.Author;
topic_thread[GetTopicThreads.ID].TSCreated = GetTopicThreads.TSCreated;
topic_thread[GetTopicThreads.ID].Username = GetTopicThreads.Username;
topic_thread[GetTopicThreads.ID].Email = GetTopicThreads.Email;
topic_thread[GetTopicThreads.ID].Body = GetTopicThreads.Body;
Select USERNAME, EMAIL, #biosketch_field# from Users
where ID > 100
order by USERNAME;
// show/hide thread table?
// NO LONGER USED, the rest of the code needs the printed_ID_list which is created during the printing of this table
if(attributes.ShowThreadTable){
show_dsp = "[ #HeaderFont#hide ]";
} else {
show_dsp = "[ #HeaderFont#show ]";
}
#HeaderFont# #ThreadLabelPlural# For This #TopicLabel#