aboutsummaryrefslogtreecommitdiff
path: root/t/post.tc
blob: 2f81de0f771f15396325750eed8611078c3eda59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
printf("<h1>Post ");
printf("%d", id); 
printf(": ");
printf("%s",  post->subject );
printf("</h1>\n<p>From: ");
printf("%s",  user->full );
printf("\n&lt;<a href=\"?user=");
printf("%d", user->id); 
printf("\">");
printf("%s",  user->name );
printf("</a>&gt;\n<br>Date: ");
PFREE(date(post->created)); 
printf("\n<pre>\n");
printf("%s",  post->text );
printf("\n</pre>");