#include "head.tc" printf("\n

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

\n

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

\n");
printf("%s",  post->text );
printf("\n
\n"); struct attachment *attachment; if(attachment = getattachment(stmt, 0)){ printf("\n

Attachments

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