1 <table border class="table table-bordered table-striped">
3 <tr><th>ID<th>Problem<th>Date<th>Size<th>User<th>Result
5 <tmpl_loop log><tr><td><a href="/log/<tmpl_var id>"><tmpl_var id></a>
6 <td><a href="/pb/<tmpl_var problem>"><tmpl_var problem_name></a>
7 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{date}; %>
8 <td><a href="/log/src/<tmpl_var id>.<tmpl_var extension>"<tmpl_if private> data-private</tmpl_if>><%perl __OUT__ sprintf '%.2fKB', __CURRENT__->{size}/1024; %></a>
9 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var user></tmpl_if></a>
10 <td class="r<tmpl_var result>"><tmpl_var result_text>
15 <%perl if (__CURRENT__->{page} > 1) { %><li class="previous"><a href="<%perl __OUT__ __CURRENT__->{page} - 1; %>">Previous</a><%perl } %>
16 <%perl if (__CURRENT__->{page} < __CURRENT__->{pages} - 1) { %><li class="next"><a href="<%perl __OUT__ __CURRENT__->{page} + 1; %>">Next</a><%perl } %>