2021-12-04 05:11:37 +00:00
|
|
|
% layout 'default';
|
2021-12-19 22:43:58 +00:00
|
|
|
% title 'View';
|
2021-12-05 07:52:31 +00:00
|
|
|
<h2>Messages from the World Wide Web</h2>
|
|
|
|
<table>
|
2021-12-19 22:20:58 +00:00
|
|
|
<% for my $row (@$view_posts) { %>
|
2021-12-19 05:59:36 +00:00
|
|
|
<tr>
|
|
|
|
<th>Date:</th>
|
|
|
|
<td><%= @$row[0] %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Name:</th>
|
|
|
|
<td><%= @$row[1] %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Message:</th>
|
|
|
|
<td><%= @$row[2] %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
2021-12-05 07:52:31 +00:00
|
|
|
<% } %>
|
2021-12-19 05:59:36 +00:00
|
|
|
</table>
|
2021-12-31 03:04:31 +00:00
|
|
|
<center>
|
|
|
|
<%= pagination($this_page, $last_page, '?page={page}') %>
|
|
|
|
</center>
|