2 <h1>Running contests</h1>
3 <table border class="table table-bordered table-striped">
5 <tr><th>Name<th>Start date<th>Stop date<th>Owner
7 <tmpl_loop running><tr><td><a href="/ct/<tmpl_var id>"><tmpl_var name></a>
8 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
9 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
10 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
16 <h1>Pending contests</h1>
17 <table border class="table table-bordered table-striped">
19 <tr><th>Name<th>Start date<th>Stop date<th>Owner
21 <tmpl_loop pending><tr><td><a href="/ct/<tmpl_var id>"><tmpl_var name></a>
22 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
23 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
24 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>
30 <h1>Finished contests</h1>
31 <table border class="table table-bordered table-striped">
33 <tr><th>Name<th>Start date<th>Stop date<th>Owner
35 <tmpl_loop finished><tr><td><a href="/ct/<tmpl_var id>"><tmpl_var name></a>
36 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{start}; %>
37 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{stop}; %>
38 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a>