From 7d65ce8c8e304dc8367f4492948514f2acc07a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 17 Sep 2021 23:47:58 +0200 Subject: Whatever --- t/front.t | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 't/front.t') diff --git a/t/front.t b/t/front.t index a9badb0..86b8fb5 100644 --- a/t/front.t +++ b/t/front.t @@ -1,20 +1,24 @@ +<% #include "head.tc" %>

<%= site.name %>

Thanks for the <%= getenv("REQUEST_METHOD") %> request!

- - - - <% - char *p, *v; - while(p = nextparam(GET, 512)){ - v = split(p); + struct post *post; + struct user *user; + + while(post = getpost(stmt, 0)){ + user = getuser(byid("users", post->user), 1); %> - - + + <% } %> -
KeyValue
<%= p %><%= v %>user); %>"><%= + user->name + %>id); %>"><%= + post->subject + %>
\ No newline at end of file + +<% #include "foot.tc" %> \ No newline at end of file -- cgit v1.2.3