#include "head.tc" 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
id); printf("\">"); printf("%s", attachment->name ); printf(" | \n"); printf("%s", attachment->mime ); printf(" | \n"); printf("%s", attachment->description ); printf(" | \n