<% #include "head.tc" %>

Post <% printf("%d", id); %>: <%= post->subject %>

From: <%= user->full? user->full: "" %> <% if(user->full) printf("<"); %>id); %>"><%= user->name %><% if(user->full) printf(">"); %>
Date: <% printdate(post->created); %> <% if(post->edited){ printf("
Edited: "); printdate(post->edited); } %> <% if(post->parent){ %>
In Reply To: parent); %>"><% printf("%d", post->parent); %> <% } %>

<%= post->text %>
<% if(attachment = getattachment(stmt, 0)){ %>

Attachments

<% do{ %> <% }while(attachment = getattachment(stmt, 0)); %>
id); %>"><%= attachment->name %> <%= attachment->mime %> <%= attachment->description %>
<% } %> <% #include "foot.tc" %>